diff --git a/stage0/src/kernel/inductive.h b/stage0/src/kernel/inductive.h index a7b2864624..307c828f45 100644 --- a/stage0/src/kernel/inductive.h +++ b/stage0/src/kernel/inductive.h @@ -92,7 +92,7 @@ inline optional inductive_reduce_rec(environment const & env, expr const & if (is_nat_lit(major)) major = nat_lit_to_constructor(major); else if (is_string_lit(major)) - major = string_lit_to_constructor(major); + major = whnf(string_lit_to_constructor(major)); else major = to_cnstr_when_structure(env, rec_val.get_major_induct(), major, whnf, infer_type); optional rule = get_rec_rule_for(rec_val, major); diff --git a/stage0/src/kernel/type_checker.cpp b/stage0/src/kernel/type_checker.cpp index 2b95ed535c..36a039e6ff 100644 --- a/stage0/src/kernel/type_checker.cpp +++ b/stage0/src/kernel/type_checker.cpp @@ -391,7 +391,7 @@ expr type_checker::whnf_fvar(expr const & e, bool cheap_rec, bool cheap_proj) { /* Auxiliary method for `reduce_proj` */ optional type_checker::reduce_proj_core(expr c, unsigned idx) { if (is_string_lit(c)) - c = string_lit_to_constructor(c); + c = whnf(string_lit_to_constructor(c)); buffer args; expr const & mk = get_app_args(c, args); if (!is_constant(mk)) @@ -1053,7 +1053,7 @@ static expr * g_string_mk = nullptr; lbool type_checker::try_string_lit_expansion_core(expr const & t, expr const & s) { if (is_string_lit(t) && is_app(s) && app_fn(s) == *g_string_mk) { - return to_lbool(is_def_eq_core(string_lit_to_constructor(t), s)); + return to_lbool(is_def_eq_core(whnf(string_lit_to_constructor(t)), s)); } return l_undef; } diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index f4d5f7ddae..79a0e58edd 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -1,7 +1,5 @@ #include "util/options.h" -// please update stage0 - namespace lean { options get_default_options() { options opts; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c index 9ff3e980c2..2ce588ee0d 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c @@ -43,7 +43,7 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_Compiler_LCNF_ToLCNF_bindCases_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(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_Compiler_LCNF_ToLCNF_etaReduceImplicit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0; @@ -124,7 +124,7 @@ static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_Element_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(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_Compiler_LCNF_ToLCNF_pushElement(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1; @@ -284,7 +284,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_ static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedOfMonad___redArg(lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_isRuntimeBuiltinType(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__2_spec__3(lean_object*, lean_object*); @@ -394,7 +394,7 @@ LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstInfo___ lean_object* l_Lean_Compiler_LCNF_eraseCode___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_seqToCode_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_toCtorIfLit(lean_object*); +lean_object* l_Lean_Expr_toCtorIfLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__4; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1; @@ -417,7 +417,7 @@ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0; lean_object* l_Lean_Compiler_LCNF_getCasesInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_isLCProof___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__5___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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* l_Lean_Compiler_LCNF_instMonadCompilerM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__10___redArg___closed__1; 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_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*); @@ -538,7 +538,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_ 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_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__2_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__7; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); @@ -16486,15 +16486,15 @@ return x_217; block_17: { lean_object* x_12; uint8_t x_13; -x_12 = lean_st_ref_set(x_10, x_11, x_8); -lean_dec(x_10); +x_12 = lean_st_ref_set(x_9, x_11, x_10); +lean_dec(x_9); x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { lean_object* x_14; x_14 = lean_ctor_get(x_12, 0); lean_dec(x_14); -lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 0, x_8); return x_12; } else @@ -16504,7 +16504,7 @@ x_15 = lean_ctor_get(x_12, 1); lean_inc(x_15); lean_dec(x_12); x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 0, x_8); lean_ctor_set(x_16, 1, x_15); return x_16; } @@ -16523,9 +16523,9 @@ lean_dec_ref(x_1); x_24 = lean_ctor_get(x_21, 1); lean_inc(x_24); lean_dec_ref(x_21); -x_8 = x_24; -x_9 = x_18; -x_10 = x_19; +x_8 = x_18; +x_9 = x_19; +x_10 = x_24; x_11 = x_22; goto block_17; } @@ -16543,9 +16543,9 @@ x_27 = lean_ctor_get(x_22, 1); lean_inc(x_18); x_28 = l_Lean_PersistentHashMap_insert___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(x_27, x_1, x_18); lean_ctor_set(x_22, 1, x_28); -x_8 = x_25; -x_9 = x_18; -x_10 = x_19; +x_8 = x_18; +x_9 = x_19; +x_10 = x_25; x_11 = x_22; goto block_17; } @@ -16575,9 +16575,9 @@ lean_ctor_set(x_36, 3, x_32); lean_ctor_set(x_36, 4, x_33); lean_ctor_set(x_36, 5, x_34); lean_ctor_set_uint8(x_36, sizeof(void*)*6, x_23); -x_8 = x_25; -x_9 = x_18; -x_10 = x_19; +x_8 = x_18; +x_9 = x_19; +x_10 = x_25; x_11 = x_36; goto block_17; } @@ -21773,30 +21773,30 @@ x_10 = l_Lean_Meta_forallTelescope___at_____private_Lean_Compiler_LCNF_ToLCNF_0_ return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_21; uint8_t x_22; -x_21 = lean_array_get_size(x_5); -x_22 = lean_nat_dec_le(x_4, x_3); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_21; uint8_t x_22; +x_11 = lean_unsigned_to_nat(0u); +x_21 = lean_array_get_size(x_4); +x_22 = lean_nat_dec_le(x_3, x_11); if (x_22 == 0) { -x_12 = x_4; +x_12 = x_3; x_13 = x_21; goto block_20; } else { -lean_dec(x_4); -lean_inc(x_3); -x_12 = x_3; +lean_dec(x_3); +x_12 = x_11; x_13 = x_21; goto block_20; } block_20: { 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 = l_Array_toSubarray___redArg(x_5, x_12, x_13); +x_14 = l_Array_toSubarray___redArg(x_4, x_12, x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 2); @@ -21806,79 +21806,78 @@ lean_ctor_set(x_17, 0, x_15); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); -x_19 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__0___redArg(x_14, x_1, x_2, x_18, x_3, x_7, x_8, x_9, x_10, x_11); +x_19 = l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__0___redArg(x_14, x_1, x_2, x_18, x_11, x_6, x_7, x_8, x_9, x_10); lean_dec_ref(x_14); return x_19; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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) { _start: { -lean_object* x_12; -lean_inc(x_10); -lean_inc_ref(x_9); -x_12 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(x_1, x_5, x_6, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +lean_object* x_11; +lean_inc(x_9); +lean_inc_ref(x_8); +x_11 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(x_1, x_4, x_5, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_22; uint8_t x_23; -x_13 = lean_ctor_get(x_12, 0); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_21; lean_object* x_22; uint8_t x_23; +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_12, 1); -lean_inc(x_14); -lean_dec_ref(x_12); +lean_dec_ref(x_11); +x_21 = lean_unsigned_to_nat(0u); x_22 = lean_array_get_size(x_2); -x_23 = lean_nat_dec_le(x_3, x_4); +x_23 = lean_nat_dec_le(x_3, x_21); if (x_23 == 0) { -lean_dec(x_4); -x_15 = x_3; -x_16 = x_22; -goto block_21; +x_14 = x_3; +x_15 = x_22; +goto block_20; } else { lean_dec(x_3); -x_15 = x_4; -x_16 = x_22; -goto block_21; +x_14 = x_21; +x_15 = x_22; +goto block_20; } -block_21: +block_20: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = l_Array_toSubarray___redArg(x_2, x_15, x_16); -x_18 = l_Array_ofSubarray___redArg(x_17); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = l_Array_toSubarray___redArg(x_2, x_14, x_15); +x_17 = l_Array_ofSubarray___redArg(x_16); +lean_dec_ref(x_16); +x_18 = l_Lean_mkAppN(x_12, x_17); lean_dec_ref(x_17); -x_19 = l_Lean_mkAppN(x_13, x_18); -lean_dec_ref(x_18); -x_20 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_19, x_6, x_7, x_8, x_9, x_10, x_14); -return x_20; +x_19 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_18, x_5, x_6, x_7, x_8, x_9, x_13); +return x_19; } } else { uint8_t 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(x_4); +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); lean_dec_ref(x_2); -x_24 = !lean_is_exclusive(x_12); +x_24 = !lean_is_exclusive(x_11); if (x_24 == 0) { -return x_12; +return x_11; } else { lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_12, 0); -x_26 = lean_ctor_get(x_12, 1); +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); lean_inc(x_26); lean_inc(x_25); -lean_dec(x_12); +lean_dec(x_11); x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); @@ -21887,43 +21886,46 @@ return x_27; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(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) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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) { _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; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_14 = lean_st_ref_get(x_8, x_13); -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_st_mk_ref(x_1, x_16); +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; +x_11 = lean_st_ref_get(x_5, 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 = lean_box(1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; +x_17 = lean_st_mk_ref(x_16, x_13); 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_15, 0); +x_20 = lean_ctor_get(x_12, 0); lean_inc_ref(x_20); -lean_dec(x_15); +lean_dec(x_12); x_21 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; -x_22 = lean_mk_empty_array_with_capacity(x_2); +x_22 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; x_23 = lean_box(0); x_24 = lean_alloc_ctor(0, 7, 3); lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_4); +lean_ctor_set(x_24, 1, x_14); lean_ctor_set(x_24, 2, x_20); lean_ctor_set(x_24, 3, x_22); lean_ctor_set(x_24, 4, x_23); -lean_ctor_set(x_24, 5, x_2); +lean_ctor_set(x_24, 5, x_15); lean_ctor_set(x_24, 6, x_23); -lean_ctor_set_uint8(x_24, sizeof(void*)*7, x_3); -lean_ctor_set_uint8(x_24, sizeof(void*)*7 + 1, x_3); -lean_ctor_set_uint8(x_24, sizeof(void*)*7 + 2, x_3); -lean_inc(x_12); -lean_inc_ref(x_11); +lean_ctor_set_uint8(x_24, sizeof(void*)*7, x_1); +lean_ctor_set_uint8(x_24, sizeof(void*)*7 + 1, x_1); +lean_ctor_set_uint8(x_24, sizeof(void*)*7 + 2, x_1); +lean_inc(x_9); +lean_inc_ref(x_8); lean_inc(x_18); -x_25 = l_Lean_Meta_forallTelescope___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__1___redArg(x_5, x_6, x_3, x_24, x_18, x_11, x_12, x_19); +x_25 = l_Lean_Meta_forallTelescope___at_____private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__1___redArg(x_2, x_3, x_1, x_24, x_18, x_8, x_9, x_19); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; @@ -21937,7 +21939,7 @@ lean_dec(x_18); x_29 = lean_ctor_get(x_28, 1); lean_inc(x_29); lean_dec_ref(x_28); -x_30 = lean_apply_7(x_7, x_26, x_8, x_9, x_10, x_11, x_12, x_29); +x_30 = lean_apply_7(x_4, x_26, x_5, x_6, x_7, x_8, x_9, x_29); return x_30; } else @@ -21951,18 +21953,18 @@ lean_inc(x_31); x_32 = lean_ctor_get(x_25, 1); lean_inc(x_32); lean_dec_ref(x_25); -x_33 = lean_apply_7(x_7, x_31, x_8, x_9, x_10, x_11, x_12, x_32); +x_33 = lean_apply_7(x_4, x_31, x_5, x_6, x_7, x_8, x_9, x_32); return x_33; } else { uint8_t 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_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 = !lean_is_exclusive(x_25); if (x_34 == 0) { @@ -22005,84 +22007,84 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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, 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_28; lean_object* x_29; 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_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_122; lean_object* x_123; 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; uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_153 = lean_st_ref_get(x_10, x_15); -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_box(1); -x_157 = lean_unsigned_to_nat(0u); -x_158 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; -x_159 = lean_st_mk_ref(x_158, x_155); -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_162 = lean_ctor_get(x_154, 0); -lean_inc_ref(x_162); -lean_dec(x_154); -x_163 = lean_nat_add(x_7, x_8); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_28; lean_object* x_29; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_176; lean_object* x_177; 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; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_205 = lean_st_ref_get(x_10, x_15); +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); +lean_dec_ref(x_205); +x_208 = lean_box(1); +x_209 = lean_unsigned_to_nat(0u); +x_210 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; +x_211 = lean_st_mk_ref(x_210, x_207); +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_211, 1); +lean_inc(x_213); +lean_dec_ref(x_211); +x_214 = lean_ctor_get(x_206, 0); +lean_inc_ref(x_214); +lean_dec(x_206); +x_215 = lean_nat_add(x_7, x_8); lean_inc_ref(x_5); -x_164 = lean_array_get_borrowed(x_5, x_6, x_163); -lean_dec(x_163); -x_165 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; -x_166 = 0; -x_167 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; -x_168 = lean_box(0); -x_169 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_169, 0, x_165); -lean_ctor_set(x_169, 1, x_156); -lean_ctor_set(x_169, 2, x_162); -lean_ctor_set(x_169, 3, x_167); -lean_ctor_set(x_169, 4, x_168); -lean_ctor_set(x_169, 5, x_157); -lean_ctor_set(x_169, 6, x_168); -lean_ctor_set_uint8(x_169, sizeof(void*)*7, x_166); -lean_ctor_set_uint8(x_169, sizeof(void*)*7 + 1, x_166); -lean_ctor_set_uint8(x_169, sizeof(void*)*7 + 2, x_166); +x_216 = lean_array_get_borrowed(x_5, x_6, x_215); +lean_dec(x_215); +x_217 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; +x_218 = 0; +x_219 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; +x_220 = lean_box(0); +x_221 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_221, 0, x_217); +lean_ctor_set(x_221, 1, x_208); +lean_ctor_set(x_221, 2, x_214); +lean_ctor_set(x_221, 3, x_219); +lean_ctor_set(x_221, 4, x_220); +lean_ctor_set(x_221, 5, x_209); +lean_ctor_set(x_221, 6, x_220); +lean_ctor_set_uint8(x_221, sizeof(void*)*7, x_218); +lean_ctor_set_uint8(x_221, sizeof(void*)*7 + 1, x_218); +lean_ctor_set_uint8(x_221, sizeof(void*)*7 + 2, x_218); lean_inc(x_14); lean_inc_ref(x_13); -lean_inc(x_160); -lean_inc_ref(x_164); -x_170 = lean_whnf(x_164, x_169, x_160, x_13, x_14, x_161); -if (lean_obj_tag(x_170) == 0) +lean_inc(x_212); +lean_inc_ref(x_216); +x_222 = lean_whnf(x_216, x_221, x_212, x_13, x_14, x_213); +if (lean_obj_tag(x_222) == 0) { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_171 = lean_ctor_get(x_170, 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_st_ref_get(x_160, x_172); -lean_dec(x_160); -x_174 = lean_ctor_get(x_173, 1); -lean_inc(x_174); -lean_dec_ref(x_173); -x_122 = x_171; -x_123 = x_174; -goto block_152; +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +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); +x_225 = lean_st_ref_get(x_212, x_224); +lean_dec(x_212); +x_226 = lean_ctor_get(x_225, 1); +lean_inc(x_226); +lean_dec_ref(x_225); +x_176 = x_223; +x_177 = x_226; +goto block_204; } else { -lean_dec(x_160); -if (lean_obj_tag(x_170) == 0) +lean_dec(x_212); +if (lean_obj_tag(x_222) == 0) { -lean_object* x_175; lean_object* x_176; -x_175 = lean_ctor_get(x_170, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_170, 1); -lean_inc(x_176); -lean_dec_ref(x_170); -x_122 = x_175; -x_123 = x_176; -goto block_152; +lean_object* x_227; lean_object* x_228; +x_227 = lean_ctor_get(x_222, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_222, 1); +lean_inc(x_228); +lean_dec_ref(x_222); +x_176 = x_227; +x_177 = x_228; +goto block_204; } else { -uint8_t x_177; +uint8_t x_229; lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -22094,23 +22096,23 @@ lean_dec_ref(x_5); lean_dec(x_3); lean_dec_ref(x_2); lean_dec(x_1); -x_177 = !lean_is_exclusive(x_170); -if (x_177 == 0) +x_229 = !lean_is_exclusive(x_222); +if (x_229 == 0) { -return x_170; +return x_222; } else { -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; +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_222, 0); +x_231 = lean_ctor_get(x_222, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_222); +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; } } } @@ -22183,17 +22185,11 @@ return x_37; } } } -block_88: +block_85: { -if (lean_obj_tag(x_45) == 0) +if (lean_obj_tag(x_39) == 0) { -lean_dec(x_46); -lean_dec(x_44); -lean_dec(x_43); -lean_dec_ref(x_42); -lean_dec(x_41); -lean_dec_ref(x_40); -lean_dec(x_39); +lean_dec(x_40); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_6); @@ -22203,20 +22199,14 @@ lean_dec_ref(x_2); x_16 = x_12; x_17 = x_13; x_18 = x_14; -x_19 = x_47; +x_19 = x_41; goto block_27; } else { -if (lean_obj_tag(x_46) == 0) +if (lean_obj_tag(x_40) == 0) { -lean_dec_ref(x_45); -lean_dec(x_44); -lean_dec(x_43); -lean_dec_ref(x_42); -lean_dec(x_41); -lean_dec_ref(x_40); -lean_dec(x_39); +lean_dec_ref(x_39); lean_dec_ref(x_11); lean_dec(x_10); lean_dec_ref(x_6); @@ -22226,280 +22216,252 @@ lean_dec_ref(x_2); x_16 = x_12; x_17 = x_13; x_18 = x_14; -x_19 = x_47; +x_19 = x_41; goto block_27; } else { -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; uint8_t x_56; +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_dec(x_1); -x_48 = lean_ctor_get(x_45, 0); -lean_inc(x_48); -lean_dec_ref(x_45); -x_49 = lean_ctor_get(x_48, 0); -lean_inc_ref(x_49); -x_50 = lean_ctor_get(x_46, 0); -lean_inc(x_50); -lean_dec_ref(x_46); -x_51 = lean_ctor_get(x_50, 0); -lean_inc_ref(x_51); -lean_dec(x_50); -x_52 = lean_ctor_get(x_48, 3); -lean_inc(x_52); -lean_dec(x_48); -x_53 = lean_ctor_get(x_49, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_49, 2); -lean_inc_ref(x_54); -lean_dec_ref(x_49); -x_55 = lean_ctor_get(x_51, 0); -lean_inc(x_55); -lean_dec_ref(x_51); -x_56 = lean_name_eq(x_53, x_55); -lean_dec(x_55); -lean_dec(x_53); -if (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; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec_ref(x_54); -lean_dec(x_52); -lean_dec(x_41); +x_42 = lean_ctor_get(x_39, 0); +lean_inc(x_42); +lean_dec_ref(x_39); +x_43 = lean_ctor_get(x_42, 0); +lean_inc_ref(x_43); +x_44 = lean_ctor_get(x_40, 0); +lean_inc(x_44); lean_dec_ref(x_40); -lean_dec(x_39); +x_45 = lean_ctor_get(x_44, 0); +lean_inc_ref(x_45); +lean_dec(x_44); +x_46 = lean_ctor_get(x_42, 3); +lean_inc(x_46); +lean_dec(x_42); +x_47 = lean_ctor_get(x_43, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_43, 2); +lean_inc_ref(x_48); +lean_dec_ref(x_43); +x_49 = lean_ctor_get(x_45, 0); +lean_inc(x_49); +lean_dec_ref(x_45); +x_50 = lean_name_eq(x_47, x_49); +lean_dec(x_49); +lean_dec(x_47); +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; 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_dec_ref(x_48); +lean_dec(x_46); lean_dec_ref(x_6); lean_dec_ref(x_5); lean_dec(x_3); -x_57 = lean_st_ref_get(x_10, x_47); +x_51 = lean_st_ref_get(x_10, x_41); +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_54 = lean_box(1); +x_55 = lean_unsigned_to_nat(0u); +x_56 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; +x_57 = lean_st_mk_ref(x_56, x_53); 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_st_mk_ref(x_42, x_59); -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_ctor_get(x_58, 0); -lean_inc_ref(x_63); +x_60 = lean_ctor_get(x_52, 0); +lean_inc_ref(x_60); +lean_dec(x_52); +x_61 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; +x_62 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; +x_63 = lean_box(0); +x_64 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_54); +lean_ctor_set(x_64, 2, x_60); +lean_ctor_set(x_64, 3, x_62); +lean_ctor_set(x_64, 4, x_63); +lean_ctor_set(x_64, 5, x_55); +lean_ctor_set(x_64, 6, x_63); +lean_ctor_set_uint8(x_64, sizeof(void*)*7, x_50); +lean_ctor_set_uint8(x_64, sizeof(void*)*7 + 1, x_50); +lean_ctor_set_uint8(x_64, sizeof(void*)*7 + 2, x_50); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_58); +x_65 = lean_infer_type(x_2, x_64, x_58, x_13, x_14, x_59); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +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 = lean_st_ref_get(x_58, x_67); lean_dec(x_58); -x_64 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; -x_65 = lean_mk_empty_array_with_capacity(x_44); -x_66 = lean_box(0); -x_67 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_43); -lean_ctor_set(x_67, 2, x_63); -lean_ctor_set(x_67, 3, x_65); -lean_ctor_set(x_67, 4, x_66); -lean_ctor_set(x_67, 5, x_44); -lean_ctor_set(x_67, 6, x_66); -lean_ctor_set_uint8(x_67, sizeof(void*)*7, x_56); -lean_ctor_set_uint8(x_67, sizeof(void*)*7 + 1, x_56); -lean_ctor_set_uint8(x_67, sizeof(void*)*7 + 2, x_56); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_61); -x_68 = lean_infer_type(x_2, x_67, x_61, x_13, x_14, x_62); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_69 = lean_ctor_get(x_68, 0); +x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_dec_ref(x_68); +x_28 = x_66; +x_29 = x_69; +goto block_38; +} +else +{ +lean_dec(x_58); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_ctor_get(x_65, 0); lean_inc(x_70); -lean_dec_ref(x_68); -x_71 = lean_st_ref_get(x_61, x_70); -lean_dec(x_61); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec_ref(x_71); -x_28 = x_69; -x_29 = x_72; +x_71 = lean_ctor_get(x_65, 1); +lean_inc(x_71); +lean_dec_ref(x_65); +x_28 = x_70; +x_29 = x_71; goto block_38; } else { -lean_dec(x_61); -if (lean_obj_tag(x_68) == 0) +uint8_t x_72; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +x_72 = !lean_is_exclusive(x_65); +if (x_72 == 0) { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_68, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_68, 1); +return x_65; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_65, 0); +x_74 = lean_ctor_get(x_65, 1); lean_inc(x_74); -lean_dec_ref(x_68); -x_28 = x_73; -x_29 = x_74; -goto block_38; -} -else -{ -uint8_t x_75; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -x_75 = !lean_is_exclusive(x_68); -if (x_75 == 0) -{ -return x_68; -} -else -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_68, 0); -x_77 = lean_ctor_get(x_68, 1); -lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_68); -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_inc(x_73); +lean_dec(x_65); +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 { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -lean_dec(x_44); -lean_dec(x_43); -lean_dec_ref(x_42); -x_79 = lean_box(x_56); -lean_inc(x_39); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_76 = lean_box(x_50); lean_inc(x_3); -x_80 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0___boxed), 11, 4); +x_77 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0___boxed), 10, 3); +lean_closure_set(x_77, 0, x_76); +lean_closure_set(x_77, 1, x_3); +lean_closure_set(x_77, 2, x_46); +x_78 = lean_nat_add(x_4, x_3); +lean_dec(x_3); +x_79 = lean_array_get(x_5, x_6, x_4); +lean_inc(x_78); +x_80 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1), 10, 3); lean_closure_set(x_80, 0, x_79); -lean_closure_set(x_80, 1, x_3); -lean_closure_set(x_80, 2, x_39); -lean_closure_set(x_80, 3, x_52); -x_81 = lean_nat_add(x_4, x_3); -lean_dec(x_3); -x_82 = lean_array_get(x_5, x_6, x_4); -lean_inc(x_39); -lean_inc(x_81); -x_83 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1), 11, 4); +lean_closure_set(x_80, 1, x_6); +lean_closure_set(x_80, 2, x_78); +x_81 = 0; +x_82 = lean_box(x_81); +x_83 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2___boxed), 10, 4); lean_closure_set(x_83, 0, x_82); -lean_closure_set(x_83, 1, x_6); -lean_closure_set(x_83, 2, x_81); -lean_closure_set(x_83, 3, x_39); -x_84 = 0; -x_85 = lean_box(x_84); -x_86 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2___boxed), 13, 7); -lean_closure_set(x_86, 0, x_40); -lean_closure_set(x_86, 1, x_39); -lean_closure_set(x_86, 2, x_85); -lean_closure_set(x_86, 3, x_41); -lean_closure_set(x_86, 4, x_54); -lean_closure_set(x_86, 5, x_80); -lean_closure_set(x_86, 6, x_83); -x_87 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_2, x_81, x_86, x_10, x_11, x_12, x_13, x_14, x_47); -lean_dec(x_81); -return x_87; +lean_closure_set(x_83, 1, x_48); +lean_closure_set(x_83, 2, x_77); +lean_closure_set(x_83, 3, x_80); +x_84 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_2, x_78, x_83, x_10, x_11, x_12, x_13, x_14, x_41); +lean_dec(x_78); +return x_84; } } } } -block_121: +block_115: { -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; -x_98 = lean_st_ref_get(x_10, x_97); -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_ref(x_93); -x_101 = lean_st_mk_ref(x_93, x_100); -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); -x_104 = lean_ctor_get(x_99, 0); -lean_inc_ref(x_104); -lean_dec(x_99); -x_105 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; -x_106 = 0; -x_107 = lean_mk_empty_array_with_capacity(x_95); -x_108 = lean_box(0); -lean_inc(x_95); -lean_inc(x_94); -x_109 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_109, 0, x_105); -lean_ctor_set(x_109, 1, x_94); -lean_ctor_set(x_109, 2, x_104); -lean_ctor_set(x_109, 3, x_107); -lean_ctor_set(x_109, 4, x_108); -lean_ctor_set(x_109, 5, x_95); -lean_ctor_set(x_109, 6, x_108); -lean_ctor_set_uint8(x_109, sizeof(void*)*7, x_106); -lean_ctor_set_uint8(x_109, sizeof(void*)*7 + 1, x_106); -lean_ctor_set_uint8(x_109, sizeof(void*)*7 + 2, x_106); +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_89 = lean_st_ref_get(x_10, x_88); +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec_ref(x_89); +x_92 = lean_box(1); +x_93 = lean_unsigned_to_nat(0u); +x_94 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; +x_95 = lean_st_mk_ref(x_94, x_91); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec_ref(x_95); +x_98 = lean_ctor_get(x_90, 0); +lean_inc_ref(x_98); +lean_dec(x_90); +x_99 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; +x_100 = 0; +x_101 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; +x_102 = lean_box(0); +x_103 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_103, 0, x_99); +lean_ctor_set(x_103, 1, x_92); +lean_ctor_set(x_103, 2, x_98); +lean_ctor_set(x_103, 3, x_101); +lean_ctor_set(x_103, 4, x_102); +lean_ctor_set(x_103, 5, x_93); +lean_ctor_set(x_103, 6, x_102); +lean_ctor_set_uint8(x_103, sizeof(void*)*7, x_100); +lean_ctor_set_uint8(x_103, sizeof(void*)*7 + 1, x_100); +lean_ctor_set_uint8(x_103, sizeof(void*)*7 + 2, x_100); lean_inc(x_14); lean_inc_ref(x_13); -lean_inc(x_102); -x_110 = l_Lean_Meta_isConstructorApp_x3f(x_92, x_109, x_102, x_13, x_14, x_103); -if (lean_obj_tag(x_110) == 0) +lean_inc(x_96); +x_104 = l_Lean_Meta_isConstructorApp_x3f(x_86, x_103, x_96, x_13, x_14, x_97); +if (lean_obj_tag(x_104) == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -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 = lean_st_ref_get(x_102, x_112); -lean_dec(x_102); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec_ref(x_113); -x_39 = x_89; -x_40 = x_90; -x_41 = x_91; -x_42 = x_93; -x_43 = x_94; -x_44 = x_95; -x_45 = x_96; -x_46 = x_111; -x_47 = x_114; -goto block_88; -} -else -{ -lean_dec(x_102); -if (lean_obj_tag(x_110) == 0) -{ -lean_object* x_115; lean_object* x_116; -x_115 = lean_ctor_get(x_110, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_110, 1); -lean_inc(x_116); -lean_dec_ref(x_110); -x_39 = x_89; -x_40 = x_90; -x_41 = x_91; -x_42 = x_93; -x_43 = x_94; -x_44 = x_95; -x_45 = x_96; -x_46 = x_115; -x_47 = x_116; -goto block_88; -} -else -{ -uint8_t x_117; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +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 = lean_st_ref_get(x_96, x_106); lean_dec(x_96); -lean_dec(x_95); -lean_dec(x_94); -lean_dec_ref(x_93); -lean_dec(x_91); -lean_dec_ref(x_90); -lean_dec(x_89); +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); +lean_dec_ref(x_107); +x_39 = x_87; +x_40 = x_105; +x_41 = x_108; +goto block_85; +} +else +{ +lean_dec(x_96); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_104, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_104, 1); +lean_inc(x_110); +lean_dec_ref(x_104); +x_39 = x_87; +x_40 = x_109; +x_41 = x_110; +goto block_85; +} +else +{ +uint8_t x_111; +lean_dec(x_87); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -22510,119 +22472,105 @@ lean_dec_ref(x_5); lean_dec(x_3); lean_dec_ref(x_2); lean_dec(x_1); -x_117 = !lean_is_exclusive(x_110); -if (x_117 == 0) +x_111 = !lean_is_exclusive(x_104); +if (x_111 == 0) { -return x_110; +return x_104; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_110, 0); -x_119 = lean_ctor_get(x_110, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_110); -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_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_104, 0); +x_113 = lean_ctor_get(x_104, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_104); +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; } } } } -block_152: +block_145: { -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; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_124 = lean_st_ref_get(x_10, x_123); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); +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; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_119 = lean_st_ref_get(x_10, x_118); +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_box(1); +x_123 = lean_unsigned_to_nat(0u); +x_124 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; +x_125 = lean_st_mk_ref(x_124, x_121); +x_126 = lean_ctor_get(x_125, 0); lean_inc(x_126); -lean_dec_ref(x_124); -x_127 = lean_box(1); -x_128 = lean_unsigned_to_nat(0u); -x_129 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; -x_130 = lean_st_mk_ref(x_129, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec_ref(x_130); -x_133 = lean_ctor_get(x_125, 0); -lean_inc_ref(x_133); -lean_dec(x_125); -x_134 = l_Lean_Expr_toCtorIfLit(x_9); -x_135 = l_Lean_Expr_toCtorIfLit(x_122); -x_136 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; -x_137 = 0; -x_138 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; -x_139 = lean_box(0); -x_140 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_140, 0, x_136); -lean_ctor_set(x_140, 1, x_127); -lean_ctor_set(x_140, 2, x_133); -lean_ctor_set(x_140, 3, x_138); -lean_ctor_set(x_140, 4, x_139); -lean_ctor_set(x_140, 5, x_128); -lean_ctor_set(x_140, 6, x_139); -lean_ctor_set_uint8(x_140, sizeof(void*)*7, x_137); -lean_ctor_set_uint8(x_140, sizeof(void*)*7 + 1, x_137); -lean_ctor_set_uint8(x_140, sizeof(void*)*7 + 2, x_137); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec_ref(x_125); +x_128 = lean_ctor_get(x_120, 0); +lean_inc_ref(x_128); +lean_dec(x_120); +x_129 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; +x_130 = 0; +x_131 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; +x_132 = lean_box(0); +x_133 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_133, 0, x_129); +lean_ctor_set(x_133, 1, x_122); +lean_ctor_set(x_133, 2, x_128); +lean_ctor_set(x_133, 3, x_131); +lean_ctor_set(x_133, 4, x_132); +lean_ctor_set(x_133, 5, x_123); +lean_ctor_set(x_133, 6, x_132); +lean_ctor_set_uint8(x_133, sizeof(void*)*7, x_130); +lean_ctor_set_uint8(x_133, sizeof(void*)*7 + 1, x_130); +lean_ctor_set_uint8(x_133, sizeof(void*)*7 + 2, x_130); lean_inc(x_14); lean_inc_ref(x_13); -lean_inc(x_131); -x_141 = l_Lean_Meta_isConstructorApp_x3f(x_134, x_140, x_131, x_13, x_14, x_132); -if (lean_obj_tag(x_141) == 0) +lean_inc(x_126); +x_134 = l_Lean_Meta_isConstructorApp_x3f(x_116, x_133, x_126, x_13, x_14, x_127); +if (lean_obj_tag(x_134) == 0) { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec_ref(x_141); -x_144 = lean_st_ref_get(x_131, x_143); -lean_dec(x_131); -x_145 = lean_ctor_get(x_144, 1); -lean_inc(x_145); -lean_dec_ref(x_144); -x_89 = x_128; -x_90 = x_129; -x_91 = x_127; -x_92 = x_135; -x_93 = x_129; -x_94 = x_127; -x_95 = x_128; -x_96 = x_142; -x_97 = x_145; -goto block_121; +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec_ref(x_134); +x_137 = lean_st_ref_get(x_126, x_136); +lean_dec(x_126); +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec_ref(x_137); +x_86 = x_117; +x_87 = x_135; +x_88 = x_138; +goto block_115; } else { -lean_dec(x_131); -if (lean_obj_tag(x_141) == 0) +lean_dec(x_126); +if (lean_obj_tag(x_134) == 0) { -lean_object* x_146; lean_object* x_147; -x_146 = lean_ctor_get(x_141, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_141, 1); -lean_inc(x_147); -lean_dec_ref(x_141); -x_89 = x_128; -x_90 = x_129; -x_91 = x_127; -x_92 = x_135; -x_93 = x_129; -x_94 = x_127; -x_95 = x_128; -x_96 = x_146; -x_97 = x_147; -goto block_121; +lean_object* x_139; lean_object* x_140; +x_139 = lean_ctor_get(x_134, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_134, 1); +lean_inc(x_140); +lean_dec_ref(x_134); +x_86 = x_117; +x_87 = x_139; +x_88 = x_140; +goto block_115; } else { -uint8_t x_148; -lean_dec_ref(x_135); +uint8_t x_141; +lean_dec_ref(x_117); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -22633,23 +22581,241 @@ lean_dec_ref(x_5); lean_dec(x_3); lean_dec_ref(x_2); lean_dec(x_1); -x_148 = !lean_is_exclusive(x_141); -if (x_148 == 0) +x_141 = !lean_is_exclusive(x_134); +if (x_141 == 0) { -return x_141; +return x_134; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_141, 0); -x_150 = lean_ctor_get(x_141, 1); +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_134, 0); +x_143 = lean_ctor_get(x_134, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_134); +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; +} +} +} +} +block_175: +{ +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; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_149 = lean_st_ref_get(x_10, x_148); +x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); -lean_inc(x_149); -lean_dec(x_141); -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; +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec_ref(x_149); +x_152 = lean_box(1); +x_153 = lean_unsigned_to_nat(0u); +x_154 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; +x_155 = lean_st_mk_ref(x_154, x_151); +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); +x_158 = lean_ctor_get(x_150, 0); +lean_inc_ref(x_158); +lean_dec(x_150); +x_159 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; +x_160 = 0; +x_161 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; +x_162 = lean_box(0); +x_163 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_163, 0, x_159); +lean_ctor_set(x_163, 1, x_152); +lean_ctor_set(x_163, 2, x_158); +lean_ctor_set(x_163, 3, x_161); +lean_ctor_set(x_163, 4, x_162); +lean_ctor_set(x_163, 5, x_153); +lean_ctor_set(x_163, 6, x_162); +lean_ctor_set_uint8(x_163, sizeof(void*)*7, x_160); +lean_ctor_set_uint8(x_163, sizeof(void*)*7 + 1, x_160); +lean_ctor_set_uint8(x_163, sizeof(void*)*7 + 2, x_160); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_156); +x_164 = l_Lean_Expr_toCtorIfLit(x_146, x_163, x_156, x_13, x_14, x_157); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +lean_dec_ref(x_164); +x_167 = lean_st_ref_get(x_156, x_166); +lean_dec(x_156); +x_168 = lean_ctor_get(x_167, 1); +lean_inc(x_168); +lean_dec_ref(x_167); +x_116 = x_147; +x_117 = x_165; +x_118 = x_168; +goto block_145; +} +else +{ +lean_dec(x_156); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_169; lean_object* x_170; +x_169 = lean_ctor_get(x_164, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_164, 1); +lean_inc(x_170); +lean_dec_ref(x_164); +x_116 = x_147; +x_117 = x_169; +x_118 = x_170; +goto block_145; +} +else +{ +uint8_t x_171; +lean_dec_ref(x_147); +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_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_171 = !lean_is_exclusive(x_164); +if (x_171 == 0) +{ +return x_164; +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_164, 0); +x_173 = lean_ctor_get(x_164, 1); +lean_inc(x_173); +lean_inc(x_172); +lean_dec(x_164); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; +} +} +} +} +block_204: +{ +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; uint8_t x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_178 = lean_st_ref_get(x_10, x_177); +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 = lean_box(1); +x_182 = lean_unsigned_to_nat(0u); +x_183 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; +x_184 = lean_st_mk_ref(x_183, x_180); +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 = lean_ctor_get(x_179, 0); +lean_inc_ref(x_187); +lean_dec(x_179); +x_188 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__6; +x_189 = 0; +x_190 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__7; +x_191 = lean_box(0); +x_192 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_192, 0, x_188); +lean_ctor_set(x_192, 1, x_181); +lean_ctor_set(x_192, 2, x_187); +lean_ctor_set(x_192, 3, x_190); +lean_ctor_set(x_192, 4, x_191); +lean_ctor_set(x_192, 5, x_182); +lean_ctor_set(x_192, 6, x_191); +lean_ctor_set_uint8(x_192, sizeof(void*)*7, x_189); +lean_ctor_set_uint8(x_192, sizeof(void*)*7 + 1, x_189); +lean_ctor_set_uint8(x_192, sizeof(void*)*7 + 2, x_189); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_185); +x_193 = l_Lean_Expr_toCtorIfLit(x_9, x_192, x_185, x_13, x_14, x_186); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +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 = lean_st_ref_get(x_185, x_195); +lean_dec(x_185); +x_197 = lean_ctor_get(x_196, 1); +lean_inc(x_197); +lean_dec_ref(x_196); +x_146 = x_176; +x_147 = x_194; +x_148 = x_197; +goto block_175; +} +else +{ +lean_dec(x_185); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_198; lean_object* x_199; +x_198 = lean_ctor_get(x_193, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_193, 1); +lean_inc(x_199); +lean_dec_ref(x_193); +x_146 = x_176; +x_147 = x_198; +x_148 = x_199; +goto block_175; +} +else +{ +uint8_t x_200; +lean_dec_ref(x_176); +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_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_200 = !lean_is_exclusive(x_193); +if (x_200 == 0) +{ +return x_193; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_193, 0); +x_202 = lean_ctor_get(x_193, 1); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_193); +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; } } } @@ -25235,7 +25401,7 @@ block_62: { lean_object* x_48; lean_inc_ref(x_46); -x_48 = l_Lean_Compiler_LCNF_mkAuxParam(x_46, x_38, x_41, x_43, x_42, x_44, x_47); +x_48 = l_Lean_Compiler_LCNF_mkAuxParam(x_46, x_38, x_44, x_39, x_42, x_41, x_47); 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; @@ -25247,13 +25413,13 @@ lean_dec_ref(x_48); x_51 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_51, 0, x_30); lean_ctor_set(x_51, 1, x_46); -lean_ctor_set(x_51, 2, x_39); +lean_ctor_set(x_51, 2, x_40); lean_ctor_set(x_51, 3, x_45); lean_inc(x_49); x_52 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_52, 0, x_49); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(x_52, x_40, x_50); +x_53 = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(x_52, x_43, x_50); x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec_ref(x_53); @@ -25267,7 +25433,7 @@ if (lean_is_scalar(x_35)) { lean_ctor_set_tag(x_56, 1); } lean_ctor_set(x_56, 0, x_55); -x_57 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(x_56, x_4, x_5, x_40, x_41, x_43, x_42, x_44, x_54); +x_57 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(x_56, x_4, x_5, x_43, x_44, x_39, x_42, x_41, x_54); lean_dec_ref(x_4); return x_57; } @@ -25276,10 +25442,10 @@ else uint8_t x_58; lean_dec_ref(x_46); lean_dec_ref(x_45); -lean_dec(x_44); +lean_dec_ref(x_44); lean_dec(x_43); lean_dec_ref(x_42); -lean_dec_ref(x_41); +lean_dec(x_41); lean_dec(x_40); lean_dec(x_39); lean_dec(x_35); @@ -25329,12 +25495,12 @@ lean_dec(x_74); lean_dec_ref(x_63); lean_dec_ref(x_34); lean_dec_ref(x_6); -x_39 = x_66; -x_40 = x_67; -x_41 = x_68; +x_39 = x_69; +x_40 = x_66; +x_41 = x_71; x_42 = x_70; -x_43 = x_69; -x_44 = x_71; +x_43 = x_67; +x_44 = x_68; x_45 = x_64; x_46 = x_65; x_47 = x_72; @@ -25381,12 +25547,12 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_88, 1); lean_inc(x_91); lean_dec(x_88); -x_39 = x_66; -x_40 = x_67; -x_41 = x_68; +x_39 = x_69; +x_40 = x_66; +x_41 = x_71; x_42 = x_70; -x_43 = x_69; -x_44 = x_71; +x_43 = x_67; +x_44 = x_68; x_45 = x_90; x_46 = x_91; x_47 = x_89; @@ -25447,12 +25613,12 @@ lean_dec(x_96); lean_dec_ref(x_63); lean_dec_ref(x_34); lean_dec_ref(x_6); -x_39 = x_66; -x_40 = x_67; -x_41 = x_68; +x_39 = x_69; +x_40 = x_66; +x_41 = x_71; x_42 = x_70; -x_43 = x_69; -x_44 = x_71; +x_43 = x_67; +x_44 = x_68; x_45 = x_64; x_46 = x_65; x_47 = x_72; @@ -25500,12 +25666,12 @@ lean_inc(x_113); x_114 = lean_ctor_get(x_111, 1); lean_inc(x_114); lean_dec(x_111); -x_39 = x_66; -x_40 = x_67; -x_41 = x_68; +x_39 = x_69; +x_40 = x_66; +x_41 = x_71; x_42 = x_70; -x_43 = x_69; -x_44 = x_71; +x_43 = x_67; +x_44 = x_68; x_45 = x_113; x_46 = x_114; x_47 = x_112; @@ -28361,24 +28527,24 @@ x_11 = l_Lean_Meta_forallTelescope___at_____private_Lean_Compiler_LCNF_ToLCNF_0_ return x_11; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_1); -x_13 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_ref(x_6); +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +x_12 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_5); lean_dec(x_2); -return x_13; +return x_12; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); -x_15 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(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); -return x_15; +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +x_12 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(x_11, x_2, 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_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___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) { diff --git a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c index 9a2cd9580b..5b8f5e4af0 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c +++ b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c @@ -33,6 +33,7 @@ static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14(lean_object*, lean_object*); static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0; +LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(lean_object*); LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4_spec__4(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities; @@ -130,6 +131,7 @@ static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17; lean_object* l_Lean_Lsp_instFromJsonCompletionOptions_fromJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8; +static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61; static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49; @@ -218,6 +220,7 @@ static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed_ static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3; static lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0; static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8; +static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson(lean_object*); @@ -277,6 +280,7 @@ static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at_ static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerCapabilities; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60; +static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26; static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9; lean_object* l_Lean_Lsp_instToJsonSemanticTokensOptions_toJson(lean_object*); @@ -307,6 +311,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJso static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1; static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4; static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0; +static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71; static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18; static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9; @@ -335,11 +340,14 @@ lean_object* l_Lean_Lsp_instFromJsonCodeActionClientCapabilities_fromJson(lean_o static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0; static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23; +static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___boxed(lean_object*); LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5; static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3; static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6; +static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11; static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6; static lean_object* l_Lean_Lsp_instToJsonServerCapabilities___closed__0; static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3; @@ -353,6 +361,7 @@ static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed_ static lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2; static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_LeanClientCapabilities_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport; static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6; @@ -406,6 +415,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonCompletionCli LEAN_EXPORT lean_object* l_Lean_Lsp_LeanServerCapabilities_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4(lean_object*); lean_object* l_Lean_Lsp_instToJsonCompletionOptions_toJson(lean_object*); +lean_object* l_Lean_Lsp_instToJsonRpcOptions_toJson(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*); @@ -421,6 +431,7 @@ static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceClientCapabilities_ctorIdx(lean_object*); static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29; static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6; @@ -537,6 +548,8 @@ static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___cl static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6; static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4; static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40; +static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10; +lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2___boxed(lean_object*, lean_object*); @@ -5928,7 +5941,7 @@ _start: { lean_object* x_2; x_2 = l_Lean_Lsp_LeanServerCapabilities_ctorIdx(x_1); -lean_dec(x_1); +lean_dec_ref(x_1); return x_2; } } @@ -6013,6 +6026,86 @@ lean_dec(x_3); return x_4; } } +static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson(x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_3, 0, x_9); +return x_3; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(x_3); +return x_4; +} +} static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0() { _start: { @@ -6107,15 +6200,72 @@ x_3 = lean_string_append(x_2, x_1); return x_3; } } +static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("rpcProvider", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("rpcProvider\?", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 1; +x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12; +x_3 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13; +x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4; +x_3 = lean_string_append(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11; +x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14; +x_3 = lean_string_append(x_2, x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0; +lean_inc(x_1); x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; +lean_dec(x_1); x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) { @@ -6146,6 +6296,7 @@ else if (lean_obj_tag(x_3) == 0) { uint8_t x_12; +lean_dec(x_1); x_12 = !lean_is_exclusive(x_3); if (x_12 == 0) { @@ -6165,22 +6316,93 @@ return x_14; } else { -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; +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +lean_dec_ref(x_3); +x_16 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10; +x_17 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(x_1, x_16); +if (lean_obj_tag(x_17) == 0) { -return x_3; +uint8_t x_18; +lean_dec(x_15); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +lean_ctor_set(x_17, 0, x_21); +return x_17; } else { -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_3, 0); -lean_inc(x_16); -lean_dec(x_3); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_16); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +lean_dec(x_17); +x_23 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15; +x_24 = lean_string_append(x_23, x_22); +lean_dec(x_22); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +} +else +{ +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_26; +lean_dec(x_15); +x_26 = !lean_is_exclusive(x_17); +if (x_26 == 0) +{ +lean_ctor_set_tag(x_17, 0); return x_17; } +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +lean_dec(x_17); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_17); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_17, 0); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_15); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_17, 0, x_31); +return x_17; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_17, 0); +lean_inc(x_32); +lean_dec(x_17); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_15); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +return x_34; +} +} +} } } } @@ -6203,6 +6425,15 @@ lean_dec_ref(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(x_1, x_2); +lean_dec_ref(x_2); +return x_3; +} +} static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0() { _start: { @@ -6247,20 +6478,84 @@ return x_8; } } } +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec_ref(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec_ref(x_2); +x_5 = l_Lean_Lsp_instToJsonRpcOptions_toJson(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanServerCapabilities_toJson(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 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0; -x_3 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_2, x_1); -x_4 = lean_box(0); -x_5 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_5, 0, x_3); -lean_ctor_set(x_5, 1, x_4); -x_6 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1; -x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_5, x_6); -x_8 = l_Lean_Json_mkObj(x_7); -return x_8; +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0; +x_6 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_5, x_3); +x_7 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10; +x_8 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(x_7, x_4); +x_9 = lean_box(0); +lean_ctor_set_tag(x_1, 1); +lean_ctor_set(x_1, 1, x_9); +lean_ctor_set(x_1, 0, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_1); +x_11 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1; +x_12 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_10, x_11); +x_13 = l_Lean_Json_mkObj(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; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_14 = lean_ctor_get(x_1, 0); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_1); +x_16 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0; +x_17 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_16, x_14); +x_18 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10; +x_19 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(x_18, x_15); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1; +x_24 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_22, x_23); +x_25 = l_Lean_Json_mkObj(x_24); +return x_25; +} } } static lean_object* _init_l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0() { @@ -10395,6 +10690,8 @@ l_Lean_Lsp_instFromJsonClientCapabilities = _init_l_Lean_Lsp_instFromJsonClientC lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities); l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0(); lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0); +l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0(); +lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0); l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0(); lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0); l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1(); @@ -10415,6 +10712,18 @@ l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8 = _init_l_Lea lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8); l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9(); lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9); +l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10); +l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11); +l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12); +l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13); +l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14); +l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15); l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0(); lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0); l_Lean_Lsp_instFromJsonLeanServerCapabilities = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities(); diff --git a/stage0/stdlib/Lean/Data/Lsp/Extra.c b/stage0/stdlib/Lean/Data/Lsp/Extra.c index fd381f59b6..60e09a3838 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Extra.c +++ b/stage0/stdlib/Lean/Data/Lsp/Extra.c @@ -21,13 +21,16 @@ static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__13; static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__14; static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__4; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImportKind_fromJson_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcOptions; static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__12; static lean_object* l_Lean_Lsp_instToJsonDependencyBuildMode_toJson___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonModuleHierarchyOptions_fromJson(lean_object*); LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonPlainGoal_fromJson_spec__0_spec__0(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0; static lean_object* l_Lean_Lsp_instFromJsonRpcCallParams_fromJson___closed__11; static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__8; static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__0; +static lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModule_toJson___boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams_fromJson___closed__5; static lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson___closed__2; @@ -74,6 +77,7 @@ lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonWaitForILeansParams_fromJson___closed__6; static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__4; static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams_fromJson___closed__5; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDependencyBuildMode_toJson(uint8_t); static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__13; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanImport; @@ -81,6 +85,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_ctorElim___redArg(lean_o LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedDependencyBuildMode_default; LEAN_EXPORT lean_object* l_Lean_Lsp_LineRange_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanImport_toJson(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonRpcOptions_toJson_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanImportMetaKind_fromJson___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanPrepareModuleHierarchyParams_fromJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_toCtorIdx___boxed(lean_object*); @@ -95,6 +100,8 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___clo static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcReleaseParams_fromJson_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1; static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___closed__7; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_noConfusion(lean_object*, uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams_fromJson___closed__6; @@ -106,6 +113,7 @@ static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoal_fromJson___closed__1; static lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportedByParams_fromJson___closed__1; static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__10; static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressParams___closed__0; +LEAN_EXPORT lean_object* l_Lean_Lsp_RpcOptions_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__1; static lean_object* l_Lean_Lsp_instToJsonRpcReleaseParams___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -130,6 +138,7 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJso static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__7; static lean_object* l_Lean_Lsp_instFromJsonRpcCallParams_fromJson___closed__8; static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcCallParams_fromJson_spec__0(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams___closed__0; static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__3; @@ -147,6 +156,7 @@ static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__5 LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonModuleHierarchyOptions; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanPrepareModuleHierarchyParams_toJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForILeans_ctorIdx(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_never_elim___redArg(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDependencyBuildMode_fromJson___lam__0___closed__0; static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind___closed__0; @@ -158,6 +168,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_full_elim___redArg(lean_o static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoal_fromJson___closed__9; static lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportsParams_fromJson___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_noConfusion___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6; static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams_fromJson___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_processing_elim(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0(uint8_t); @@ -171,26 +182,36 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fr static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__11; static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__4; static lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson___closed__4; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcOptions; static lean_object* l_Lean_Lsp_instFromJsonRpcConnectParams_fromJson___closed__0; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5; static lean_object* l_Lean_Lsp_instToJsonLeanImportKind___closed__0; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8; LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_never_elim(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcKeepAliveParams_toJson___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson(lean_object*); static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___closed__0; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_nonMeta_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__7; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModuleHierarchyImportedByParams_toJson___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_toCtorIdx(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson___closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_always_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModule_toJson(lean_object*); static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_RpcConnectParams_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanPrepareModuleHierarchyParams_fromJson___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForDiagnostics_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams_fromJson___closed__1; static lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___closed__3; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions___closed__0; static lean_object* l_Lean_Lsp_instToJsonDependencyBuildMode___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanModuleHierarchyImportsParams_toJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressKind; @@ -212,6 +233,7 @@ static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__8; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcCallParams; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_fatalError_elim(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonRpcConnected_fromJson___closed__3; +LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonRpcConnected_fromJson___closed__4; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImport_fromJson_spec__0___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__3; @@ -378,6 +400,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_ctorElim___boxed(lean_ob LEAN_EXPORT lean_object* l_Lean_Lsp_RpcReleaseParams_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__9; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_full_elim(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonRpcOptions___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLineRange; static lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportedByParams_fromJson___closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_toCtorIdx(uint8_t); @@ -391,6 +414,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJso static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__13; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__10; +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonWaitForILeansParams_fromJson___closed__7; static lean_object* l_Lean_Lsp_instToJsonLeanImport___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_PlainGoalParams_ctorIdx___boxed(lean_object*); @@ -406,6 +430,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics___lam__0(lean LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWaitForILeansParams_toJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_full_elim___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorIdx(uint8_t); static lean_object* l_Lean_Lsp_instToJsonRpcCallParams___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPlainGoal; @@ -423,6 +448,7 @@ lean_object* l_Except_orElseLazy___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_PlainGoal_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_PlainTermGoalParams_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_toCtorIdx(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanModule; static lean_object* l_Lean_Lsp_instFromJsonPlainTermGoal_fromJson___closed__2; static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__0; @@ -443,6 +469,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorIdx___boxed(lean_obje LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImportKind_fromJson_spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanImport_fromJson___closed__9; static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson___closed__6; +static lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0; static lean_object* l_Lean_Lsp_instFromJsonLeanImportMetaKind_fromJson___lam__1___closed__1; static lean_object* l_Lean_Lsp_instFromJsonRpcConnectParams_fromJson___closed__4; static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson___closed__9; @@ -481,6 +508,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressProcessingInfo_toJ LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressParams_ctorIdx(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__11; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorElim___redArg___boxed(lean_object*); +static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1; static lean_object* l_Lean_Lsp_instFromJsonLeanImportMetaKind_fromJson___lam__0___closed__0; lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonPosition_toJson(lean_object*); @@ -503,6 +531,7 @@ static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instReprLineRange_repr___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_RpcReleaseParams_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson_spec__1_spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions; static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__11; LEAN_EXPORT lean_object* l_Lean_Lsp_RpcCallParams_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportKind_ctorIdx___boxed(lean_object*); @@ -549,6 +578,7 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams___close static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__11; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_ctorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForDiagnostics_toCtorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_RpcOptions_ctorIdx(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__10; LEAN_EXPORT lean_object* l_Lean_Lsp_RpcKeepAliveParams_ctorIdx(lean_object*); static lean_object* l_Lean_Lsp_instToJsonRpcConnectParams___closed__0; @@ -559,19 +589,23 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJso static lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson___closed__0; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressParams_fromJson_spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonRpcReleaseParams_fromJson___closed__1; +static lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7; LEAN_EXPORT lean_object* l_Nat_cast___at___Lean_Lsp_instReprLineRange_repr_spec__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcOptions_toJson(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__0; lean_object* l_Lean_Lsp_instToJsonTextDocumentItem_toJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqLeanFileProgressKind; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson_spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams_fromJson___closed__7; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonWaitForDiagnosticsParams_fromJson_spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__10; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanModuleHierarchyImportedByParams_fromJson(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__2; LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedLeanFileProgressKind; +static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2; static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__3; static lean_object* l_Lean_Lsp_instFromJsonWaitForILeans___closed__0; static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__16; @@ -680,23 +714,28 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___lam__0___bo static lean_object* l_Lean_Lsp_instFromJsonPlainGoal_fromJson___closed__5; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPlainTermGoalParams_toJson(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson___closed__9; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__8; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_RpcKeepAliveParams_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_ctorIdx(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Lsp_instFromJsonLeanPrepareModuleHierarchyParams_fromJson___closed__1; +static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForILeans_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instReprLineRange_repr___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressParams; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_nonMeta_elim(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWaitForILeans; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLineRange_toJson(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDependencyBuildMode_fromJson___lam__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_DependencyBuildMode_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__4; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanImportKind_fromJson_spec__0(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions; LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqLeanFileProgressKind_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_LeanDidOpenTextDocumentParams_ctorIdx(lean_object*); @@ -729,6 +768,7 @@ static lean_object* l_Lean_Lsp_instFromJsonLeanImportKind_fromJson___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_LeanImportMetaKind_noConfusion___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo___closed__0; static lean_object* l_Lean_Lsp_instFromJsonRpcKeepAliveParams_fromJson___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson(lean_object*); lean_object* l_Lean_Lsp_instToJsonRpcRef_toJson(size_t); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo_fromJson_spec__0(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson___closed__5; @@ -6338,6 +6378,406 @@ x_1 = l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0; return x_1; } } +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_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_Lsp_HighlightMatchesOptions_toCtorIdx(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_Lsp_HighlightMatchesOptions_noConfusion___redArg(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_inc(x_5); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_HighlightMatchesOptions_noConfusion___redArg(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_HighlightMatchesOptions_noConfusion___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_Lsp_HighlightMatchesOptions_noConfusion(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0; +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_instToJsonWaitForILeans_toJson___closed__1; +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_RpcOptions_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_Lsp_RpcOptions_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_RpcOptions_ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___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_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2; +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(x_3); +lean_dec(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("highlightMatchesProvider", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("RpcOptions", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1; +x_2 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__2; +x_3 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__1; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 1; +x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2; +x_3 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__6; +x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3; +x_3 = lean_string_append(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("highlightMatchesProvider\?", 25, 25); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 1; +x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6; +x_3 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7; +x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4; +x_3 = lean_string_append(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Lsp_instFromJsonLeanDidOpenTextDocumentParams_fromJson___closed__11; +x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8; +x_3 = lean_string_append(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0; +x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(x_1, x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0(x_1, x_2); +lean_dec_ref(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonRpcOptions_fromJson), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRpcOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonRpcOptions___closed__0; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Lsp_instToJsonRpcOptions_toJson_spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec_ref(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec_ref(x_2); +x_5 = l_Lean_Lsp_instToJsonHighlightMatchesOptions_toJson(x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRpcOptions_toJson(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 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0; +x_3 = l_Lean_Json_opt___at___Lean_Lsp_instToJsonRpcOptions_toJson_spec__0(x_2, x_1); +x_4 = lean_box(0); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = l_Lean_Lsp_instToJsonLeanDidOpenTextDocumentParams_toJson___closed__0; +x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Lsp_instToJsonLeanDidOpenTextDocumentParams_toJson_spec__1(x_5, x_6); +x_8 = l_Lean_Json_mkObj(x_7); +return x_8; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonRpcOptions___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonRpcOptions_toJson), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonRpcOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonRpcOptions___closed__0; +return x_1; +} +} LEAN_EXPORT lean_object* l_Lean_Lsp_LeanModule_ctorIdx(lean_object* x_1) { _start: { @@ -12299,6 +12739,50 @@ l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0 = _init_l_Lean_Lsp_instT lean_mark_persistent(l_Lean_Lsp_instToJsonModuleHierarchyOptions___closed__0); l_Lean_Lsp_instToJsonModuleHierarchyOptions = _init_l_Lean_Lsp_instToJsonModuleHierarchyOptions(); lean_mark_persistent(l_Lean_Lsp_instToJsonModuleHierarchyOptions); +l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonHighlightMatchesOptions_fromJson___closed__0); +l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0 = _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonHighlightMatchesOptions___closed__0); +l_Lean_Lsp_instFromJsonHighlightMatchesOptions = _init_l_Lean_Lsp_instFromJsonHighlightMatchesOptions(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonHighlightMatchesOptions); +l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0 = _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0(); +lean_mark_persistent(l_Lean_Lsp_instToJsonHighlightMatchesOptions___closed__0); +l_Lean_Lsp_instToJsonHighlightMatchesOptions = _init_l_Lean_Lsp_instToJsonHighlightMatchesOptions(); +lean_mark_persistent(l_Lean_Lsp_instToJsonHighlightMatchesOptions); +l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0(); +lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__0); +l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1(); +lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__1); +l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2(); +lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonRpcOptions_fromJson_spec__0_spec__0___closed__2); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__0); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__1); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__2); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__3); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__4); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__5); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__6); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__7); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__8); +l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions_fromJson___closed__9); +l_Lean_Lsp_instFromJsonRpcOptions___closed__0 = _init_l_Lean_Lsp_instFromJsonRpcOptions___closed__0(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions___closed__0); +l_Lean_Lsp_instFromJsonRpcOptions = _init_l_Lean_Lsp_instFromJsonRpcOptions(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRpcOptions); +l_Lean_Lsp_instToJsonRpcOptions___closed__0 = _init_l_Lean_Lsp_instToJsonRpcOptions___closed__0(); +lean_mark_persistent(l_Lean_Lsp_instToJsonRpcOptions___closed__0); +l_Lean_Lsp_instToJsonRpcOptions = _init_l_Lean_Lsp_instToJsonRpcOptions(); +lean_mark_persistent(l_Lean_Lsp_instToJsonRpcOptions); l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanModule_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanModule_fromJson_spec__0_spec__0___closed__0(); lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Lsp_instFromJsonLeanModule_fromJson_spec__0_spec__0___closed__0); l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanModule_fromJson___closed__0(); diff --git a/stage0/stdlib/Lean/Elab/ComputedFields.c b/stage0/stdlib/Lean/Elab/ComputedFields.c index 9769006c53..779b76d554 100644 --- a/stage0/stdlib/Lean/Elab/ComputedFields.c +++ b/stage0/stdlib/Lean/Elab/ComputedFields.c @@ -2262,7 +2262,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfHeadPred___at___Lean_Elab_ComputedFields_getComputedFieldValue_spec__0_spec__0_spec__1___closed__2; x_2 = lean_unsigned_to_nat(22u); -x_3 = lean_unsigned_to_nat(370u); +x_3 = lean_unsigned_to_nat(382u); x_4 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfHeadPred___at___Lean_Elab_ComputedFields_getComputedFieldValue_spec__0_spec__0_spec__1___closed__1; x_5 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfHeadPred___at___Lean_Elab_ComputedFields_getComputedFieldValue_spec__0_spec__0_spec__1___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c index e031e0437b..6a78890d78 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Eqns.c @@ -16,26 +16,26 @@ extern "C" { LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_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_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___Lean_Elab_Structural_mkEqns_spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_EqnInfo_ctorIdx(lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__38; -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_eqnThmSuffixBasePrefix; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__0___redArg(lean_object*, lean_object*, lean_object*); -static double l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__5; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___closed__2; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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_EXPORT lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1___lam__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__11(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Eqns_instInhabitedEqnInfoCore_default; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__21; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1___lam__0___closed__1; double lean_float_div(double, double); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn___lam__0____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__1; static lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1_spec__1___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkUnfoldEq_doRealize___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___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -50,30 +50,27 @@ LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at__ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__12____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__8_spec__8(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkEqns___lam__0(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_Eqns_simpMatch_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___closed__0; LEAN_EXPORT lean_object* lean_get_structural_rec_arg_pos(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_registerEqnsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__28; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__2; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__0___closed__1; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__17; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_registerEqnsInfo___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__12; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_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_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); uint8_t lean_float_decLt(double, double); extern lean_object* l_Lean_Meta_tactic_hygienic; -static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7_spec__7(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkUnfoldEq_doRealize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_registerGetUnfoldEqnFn(lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_tryContradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -84,17 +81,13 @@ lean_object* l_Lean_inferDefEqAttr(lean_object*, lean_object*, lean_object*, lea lean_object* lean_io_get_num_heartbeats(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_trace_profiler_useHeartbeats; +static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__0; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__11____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkMapDeclarationExtension___redArg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepth; -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__10___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__18____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__36; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__32; -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__18; LEAN_EXPORT lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1_spec__1___redArg___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__29____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; @@ -105,250 +98,266 @@ static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_ LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Elab_Structural_mkEqns_spec__0(lean_object*, lean_object*); lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Option_set___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__0(lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_registerEqnsInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__11; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__33; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__25; uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__0___closed__0; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__8____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; uint8_t l_Lean_Expr_hasMVar(lean_object*); -static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__6; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__7____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo_default___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__4____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7(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*); -LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__0; -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static double l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_eqnInfoExt; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__28____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__29; static lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1_spec__1___redArg___closed__2; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__19; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkUnfoldEq_doRealize___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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__10; lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__14; static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___redArg___closed__2; +static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__6; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__25____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; static lean_object* l_Lean_Elab_Structural_initFn___closed__3____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__9; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__9___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__21____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; lean_object* l_Lean_Elab_Eqns_mkUnfoldProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__17; lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l_Array_empty(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go2___lam__0___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__39; -static lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__27; static lean_object* l_Lean_Elab_Structural_initFn___lam__1___closed__0____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__37; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__0___closed__1; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__20; LEAN_EXPORT uint8_t l_Lean_Elab_Structural_initFn___lam__0____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___redArg___closed__4; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__4; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__26____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; double lean_float_of_nat(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__1; -lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f(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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__33; -static lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__2; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__6; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__0; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__10; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__16____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; lean_object* lean_io_mono_nanos_now(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__2; static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo_default___closed__3; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__13; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___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* l_Lean_Meta_mkEqLikeNameFor(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_initFn___closed__0____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__4; lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__19; +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, 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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__10____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___Lean_Elab_Structural_mkEqns_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___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___Lean_Elab_Structural_mkEqns_spec__1___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_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static double l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__2; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2(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*); lean_object* l_Lean_PersistentArray_append___redArg(lean_object*, lean_object*); static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___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*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__5; +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize___closed__0; -LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__7___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__14; +LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_trace_profiler_threshold; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_EqnInfo_ctorIdx___boxed(lean_object*); extern lean_object* l_Lean_diagnostics; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__24____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___closed__4; lean_object* l_Lean_Elab_Eqns_simpIf_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__24; LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__0___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_mkEqnTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___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_Structural_mkEqns___lam__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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__0; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__9___redArg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_splitTarget_x3f(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__11; -static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__6; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__3(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_object* l_Lean_Meta_realizeConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); -static double l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__0; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__25; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__18; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getEqnsFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo_default___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_mkEqns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___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_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg(lean_object*, lean_object*); +static double l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5(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___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go2___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__15____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__23; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__4(lean_object*, lean_object*, size_t, size_t, 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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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_Elab_Structural_instInhabitedEqnInfo_default; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__31; +static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__0; lean_object* l_Lean_Meta_registerGetEqnsFn(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_initFn___closed__1____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_; static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___redArg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__0___closed__0; static lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1_spec__1___redArg___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__15; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_toArray___redArg(lean_object*); -static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__2; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__8; lean_object* l_Lean_indentExpr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__29; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___closed__1; lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__1_spec__1___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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__30; lean_object* l_Lean_MapDeclarationExtension_find_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getStructuralRecArgPosImp_x3f___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__31; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go2___lam__0___closed__0; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__27____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn___lam__1____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__3____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; static lean_object* l_Lean_Elab_Structural_instInhabitedEqnInfo_default___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7___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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__2____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; lean_object* l_List_reverse___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1___lam__1___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___Lean_Elab_Structural_mkEqns_spec__1___redArg(lean_object*, lean_object*, uint8_t, 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_Option_set___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_spec__0___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__22; lean_object* l_Lean_KVMap_insert(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__1; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2___redArg(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* l_Lean_Meta_ensureEqnReservedNamesAvailable(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_nextPowerOfTwo(lean_object*); +static double l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__0; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_Meta_letToHave(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__2; extern lean_object* l_Lean_Meta_unfoldThmSuffix; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getStructuralRecArgPosImp_x3f___redArg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__26; -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__16; +LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___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*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__22; +static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_initFn___lam__1____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Eqns_whnfReducibleLHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__32; lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___Lean_Elab_Structural_mkEqns_spec__1___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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__9; -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__6____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; size_t lean_usize_add(size_t, size_t); extern lean_object* l_Lean_Meta_Simp_defaultMaxSteps; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__34; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__20; LEAN_EXPORT lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_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_Lean_instantiateMVars___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__30; size_t lean_array_size(lean_object*); lean_object* l_Lean_Meta_casesOnStuckLHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_trace_profiler; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__6___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__10___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___closed__3; +LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_simpTargetStar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg(lean_object*, lean_object*, lean_object*, uint8_t, 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_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__5; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_spec__0___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__20____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; static lean_object* l_Lean_Elab_Structural_initFn___closed__4____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__15; lean_object* l_Lean_Elab_Eqns_tryURefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___Lean_withoutExporting___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize_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_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2___boxed(lean_object**); lean_object* lean_string_append(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__7(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedFixedParamPerms_default; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__13; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__14____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_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_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2_(lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__10___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__22____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___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*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__1____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__35; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_getUnfoldFor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__0____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; +static lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__1; lean_object* l_Lean_MVarId_intros(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_exceptEmoji___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__11___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__23____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; static lean_object* l_Lean_Elab_Structural_mkUnfoldEq___closed__0; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2__spec__0(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__28; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__23; lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); lean_object* l_Lean_Elab_Eqns_deltaLHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__16; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___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_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__10(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__3; static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___redArg___lam__0___closed__0; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__9(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___Lean_Elab_Structural_initFn____x40_Lean_Elab_PreDefinition_Structural_Eqns_1099251603____hygCtx___hyg_2__spec__0_spec__0___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__24; lean_object* l_Lean_mkLevelParam(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__5____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at___Lean_Elab_Structural_mkEqns_spec__2_spec__2___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__0; lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___closed__3; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__21; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof___lam__0___closed__1; -static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go___lam__1___closed__27; static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkEqns_doRealize___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__7; double lean_float_sub(double, double); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_initFn___closed__9____x40_Lean_Elab_PreDefinition_Structural_Eqns_3103347903____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go1___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3___lam__1___closed__26; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_EqnInfo_ctorIdx(lean_object* x_1) { _start: { @@ -422,7 +431,7 @@ x_1 = l_Lean_Elab_Structural_instInhabitedEqnInfo_default; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__0___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; lean_object* x_7; lean_object* x_8; @@ -436,15 +445,15 @@ lean_ctor_set(x_8, 1, x_3); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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 lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__0___redArg(x_1, x_4, x_6); +x_7 = l_Lean_isTracingEnabledFor___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__0___redArg(x_1, x_4, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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) { _start: { lean_object* x_7; uint8_t x_8; @@ -561,7 +570,7 @@ return x_38; } } } -static double _init_l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__0() { +static double _init_l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__0() { _start: { lean_object* x_1; double x_2; @@ -570,7 +579,7 @@ x_2 = lean_float_of_nat(x_1); return x_2; } } -static lean_object* _init_l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__1() { +static lean_object* _init_l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__1() { _start: { lean_object* x_1; @@ -578,7 +587,7 @@ x_1 = lean_mk_string_unchecked("", 0, 0); return x_1; } } -static lean_object* _init_l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__2() { +static lean_object* _init_l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -587,12 +596,12 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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; 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_8 = lean_ctor_get(x_5, 5); -x_9 = l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1_spec__1(x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1_spec__1(x_2, x_3, x_4, x_5, x_6, x_7); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); @@ -621,16 +630,16 @@ if (x_20 == 0) { lean_object* x_21; double 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_28; lean_object* x_29; uint8_t x_30; x_21 = lean_ctor_get(x_14, 0); -x_22 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__0; +x_22 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__0; x_23 = 0; -x_24 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__1; +x_24 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__1; x_25 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_25, 0, x_1); lean_ctor_set(x_25, 1, x_24); lean_ctor_set_float(x_25, sizeof(void*)*2, x_22); lean_ctor_set_float(x_25, sizeof(void*)*2 + 8, x_22); lean_ctor_set_uint8(x_25, sizeof(void*)*2 + 16, x_23); -x_26 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__2; +x_26 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__2; x_27 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_10); @@ -671,16 +680,16 @@ x_36 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); x_37 = lean_ctor_get(x_14, 0); lean_inc(x_37); lean_dec(x_14); -x_38 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__0; +x_38 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__0; x_39 = 0; -x_40 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__1; +x_40 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__1; x_41 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_41, 0, x_1); lean_ctor_set(x_41, 1, x_40); lean_ctor_set_float(x_41, sizeof(void*)*2, x_38); lean_ctor_set_float(x_41, sizeof(void*)*2 + 8, x_38); lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 16, x_39); -x_42 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__2; +x_42 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__2; x_43 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_43, 0, x_41); lean_ctor_set(x_43, 1, x_10); @@ -745,16 +754,16 @@ if (lean_is_exclusive(x_14)) { lean_dec_ref(x_14); x_61 = lean_box(0); } -x_62 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__0; +x_62 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__0; x_63 = 0; -x_64 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__1; +x_64 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__1; x_65 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_65, 0, x_1); lean_ctor_set(x_65, 1, x_64); lean_ctor_set_float(x_65, sizeof(void*)*2, x_62); lean_ctor_set_float(x_65, sizeof(void*)*2 + 8, x_62); lean_ctor_set_uint8(x_65, sizeof(void*)*2 + 16, x_63); -x_66 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__2; +x_66 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__2; x_67 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_10); @@ -849,16 +858,16 @@ if (lean_is_exclusive(x_14)) { lean_dec_ref(x_14); x_88 = lean_box(0); } -x_89 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__0; +x_89 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__0; x_90 = 0; -x_91 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__1; +x_91 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__1; x_92 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_92, 0, x_1); lean_ctor_set(x_92, 1, x_91); lean_ctor_set_float(x_92, sizeof(void*)*2, x_89); lean_ctor_set_float(x_92, sizeof(void*)*2 + 8, x_89); lean_ctor_set_uint8(x_92, sizeof(void*)*2 + 16, x_90); -x_93 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1___closed__2; +x_93 = l_Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1___closed__2; x_94 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_94, 0, x_92); lean_ctor_set(x_94, 1, x_10); @@ -912,12 +921,12 @@ return x_103; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6); x_9 = !lean_is_exclusive(x_8); if (x_9 == 0) { @@ -950,69 +959,15 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_throwError___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7); return x_8; } } -LEAN_EXPORT lean_object* l_List_forM___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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) { -_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); -lean_dec(x_1); -x_8 = lean_box(0); -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); -lean_inc(x_10); -x_11 = lean_ctor_get(x_2, 1); -lean_inc(x_11); -lean_dec_ref(x_2); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -lean_inc(x_1); -x_12 = l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go(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, 1); -lean_inc(x_13); -lean_dec_ref(x_12); -x_2 = x_11; -x_7 = x_13; -goto _start; -} -else -{ -lean_dec(x_11); -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; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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) { _start: { uint8_t x_11; @@ -1026,7 +981,7 @@ lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); lean_inc(x_1); -x_13 = l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go(x_1, x_12, x_6, x_7, x_8, x_9, x_10); +x_13 = l___private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3(x_1, x_12, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; @@ -1067,7 +1022,7 @@ return x_19; } } } -static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__0() { +static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__0() { _start: { lean_object* x_1; lean_object* x_2; @@ -1076,24 +1031,24 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__1() { +static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__0; +x_1 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___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_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__2() { +static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___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___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__0; -x_4 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__1; +x_3 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__0; +x_4 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___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); @@ -1103,7 +1058,7 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___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_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -1139,7 +1094,7 @@ 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_10, 0); lean_dec(x_15); -x_16 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__2; +x_16 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__2; lean_ctor_set(x_10, 0, x_16); x_17 = lean_st_ref_set(x_1, x_9, x_11); x_18 = !lean_is_exclusive(x_17); @@ -1168,7 +1123,7 @@ else uint64_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; x_22 = lean_ctor_get_uint64(x_10, sizeof(void*)*1); lean_dec(x_10); -x_23 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__2; +x_23 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__2; x_24 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_24, 0, x_23); lean_ctor_set_uint64(x_24, sizeof(void*)*1, x_22); @@ -1222,7 +1177,7 @@ if (lean_is_exclusive(x_10)) { lean_dec_ref(x_10); x_38 = lean_box(0); } -x_39 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg___closed__2; +x_39 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg___closed__2; if (lean_is_scalar(x_38)) { x_40 = lean_alloc_ctor(0, 1, 8); } else { @@ -1262,15 +1217,15 @@ return x_45; } } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_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_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_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_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__6___redArg(x_4, x_5); +x_6 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__5___redArg(x_4, x_5); return x_6; } } -LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__7(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__6(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -1306,7 +1261,7 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__8_spec__8(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_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7_spec__7(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -1333,7 +1288,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_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_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_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) { _start: { uint8_t x_10; @@ -1361,12 +1316,12 @@ x_18 = l_Lean_PersistentArray_toArray___redArg(x_16); lean_dec_ref(x_16); x_19 = lean_array_size(x_18); x_20 = 0; -x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__8_spec__8(x_19, x_20, x_18); +x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7_spec__7(x_19, x_20, x_18); x_22 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_22, 0, x_2); lean_ctor_set(x_22, 1, x_4); lean_ctor_set(x_22, 2, x_21); -x_23 = l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1_spec__1(x_22, x_5, x_6, x_7, x_8, x_15); +x_23 = l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1_spec__1(x_22, x_5, x_6, x_7, x_8, x_15); lean_dec_ref(x_7); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); @@ -1690,12 +1645,12 @@ x_114 = l_Lean_PersistentArray_toArray___redArg(x_111); lean_dec_ref(x_111); x_115 = lean_array_size(x_114); x_116 = 0; -x_117 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__8_spec__8(x_115, x_116, x_114); +x_117 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7_spec__7(x_115, x_116, x_114); x_118 = lean_alloc_ctor(9, 3, 0); lean_ctor_set(x_118, 0, x_2); lean_ctor_set(x_118, 1, x_4); lean_ctor_set(x_118, 2, x_117); -x_119 = l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__1_spec__1(x_118, x_5, x_6, x_113, x_8, x_110); +x_119 = l_Lean_addMessageContextFull___at___Lean_addTrace___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__1_spec__1(x_118, x_5, x_6, x_113, x_8, x_110); lean_dec_ref(x_113); x_120 = lean_ctor_get(x_119, 0); lean_inc(x_120); @@ -1808,7 +1763,7 @@ return x_146; } } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__10___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__9___redArg(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1833,15 +1788,15 @@ return x_6; } } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_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_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_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) { _start: { lean_object* x_8; -x_8 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__10___redArg(x_2, x_7); +x_8 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__9___redArg(x_2, x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__11(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__10(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -1876,19 +1831,19 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___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_EXPORT lean_object* l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___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; lean_object* x_14; -x_12 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__8(x_1, x_5, x_2, x_3, x_7, x_8, x_9, x_10, x_11); +x_12 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__7(x_1, x_5, x_2, x_3, x_7, x_8, x_9, x_10, x_11); x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec_ref(x_12); -x_14 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6_spec__10___redArg(x_4, x_13); +x_14 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5_spec__9___redArg(x_4, x_13); return x_14; } } -static lean_object* _init_l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go_spec__6___redArg___closed__0() { +static lean_object* _init_l_Lean_withTraceNode___at_____private_Lean_Elab_PreDefinition_Structural_Eqns_0__Lean_Elab_Structural_mkProof_go3_spec__5___redArg___closed__0() { _start: { lean_object* x_1; @@ -1896,16 +1851,16 @@ x_1 = lean_mk_string_unchecked(" #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -18,16 +18,17 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTa static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__15; lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__8(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_Lean_Meta_Split_applyMatchSplitter___closed__17; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___Lean_Meta_splitLocalDecl_x3f_spec__2___redArg___lam__0___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceRecMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___Lean_Meta_Split_simpMatchTarget_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17___lam__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0___closed__0; +static size_t l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__1; lean_object* l_Lean_MVarId_replaceTargetDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__1___closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___Lean_Meta_splitLocalDecl_x3f_spec__2___redArg___lam__1___boxed(lean_object*, lean_object*); lean_object* l_List_lengthTR___redArg(lean_object*); lean_object* l_Lean_Core_instMonadCoreM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -40,15 +41,15 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_initFn____x40_Lean_Meta_Tactic_Split_ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_simpMatch___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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*); size_t lean_usize_shift_right(size_t, size_t); uint8_t l_Lean_ExprStructEq_beq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___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_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_spec__0_spec__0(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17___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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___lam__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__23_spec__23___redArg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__23___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__25___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___Lean_Meta_splitLocalDecl_x3f_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Split_throwDiscrGenError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,30 +61,31 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_T LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs___boxed(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_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__1___closed__2; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__9; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_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_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___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* l_Lean_Environment_header(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__1; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__5; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1___redArg___boxed(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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__3; LEAN_EXPORT lean_object* l_List_foldlM___at___Lean_Meta_Split_applyMatchSplitter_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_instantiateMVars___at___Lean_Meta_Split_simpMatchTarget_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__11; static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__11____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; static lean_object* l_Lean_Meta_Split_isDiscrGenException___closed__0; size_t lean_uint64_to_usize(uint64_t); uint64_t lean_uint64_lor(uint64_t, uint64_t); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__12____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; uint8_t l_Lean_instBEqMVarId_beq(lean_object*, lean_object*); @@ -94,14 +96,14 @@ lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__2____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; lean_object* l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___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_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17___lam__0___boxed(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_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs(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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_object*); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_mul(size_t, size_t); static double l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12___closed__0; static lean_object* l_Lean_Meta_Split_initFn___closed__1____x40_Lean_Meta_Tactic_Split_806046213____hygCtx___hyg_2_; @@ -115,17 +117,14 @@ extern lean_object* l_Lean_unknownIdentifierMessageTag; uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Meta_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__28_spec__28___redArg___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__2; lean_object* l_Lean_Meta_generalizeTargetsEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___Lean_Meta_Split_applyMatchSplitter_spec__2___closed__0; lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1___redArg___closed__2; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__0; -static size_t l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__1; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_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_anyMUnsafe_any___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__9___boxed(lean_object*, lean_object*, lean_object*); @@ -150,7 +149,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwI LEAN_EXPORT lean_object* l_List_foldlM___at___Lean_Meta_Split_splitMatch_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_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___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*); @@ -165,7 +164,6 @@ lean_object* lean_array_fget_borrowed(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*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static uint64_t l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchCore_pre___closed__1; -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___Lean_Expr_withAppAux___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__21_spec__21(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_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___closed__0; @@ -173,51 +171,57 @@ static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___clo LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30_spec__30(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at___Lean_Meta_splitTarget_x3f_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_simpMatch___closed__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_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30_spec__31_spec__31_spec__31(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__28___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_note(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatch_pre(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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__5; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__20; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__15___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_generalize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_splitTarget_x3f___boxed(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_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Meta_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__28_spec__28___redArg___closed__5; +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__4; static lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__23____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insertIfNew___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go_spec__0_spec__1(lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); lean_object* l_ReaderT_instMonad___redArg(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go_spec__0___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__2; -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__6; +static size_t l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__0; uint8_t l_Lean_Expr_hasMVar(lean_object*); +static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__16; +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_List_forIn_x27_loop___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lam__0___closed__2; size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___Lean_Meta_withLocalDeclD___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go_spec__0_spec__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___Lean_Meta_withLocalDeclD___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go_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_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__19___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__2; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__1(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_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__1___closed__4; static lean_object* l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17___closed__3; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__1___closed__3; +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__4; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insertIfNew___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__2; lean_object* l_Lean_Meta_getSimpCongrTheorems___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__2; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__19___redArg(lean_object*, lean_object*); -static lean_object* l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__26_spec__26___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1___redArg___closed__3; @@ -238,6 +242,7 @@ LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnkn LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0(lean_object*, uint8_t, 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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__3; static lean_object* l_Lean_Meta_Split_simpMatch___closed__4; static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___Lean_Expr_withAppAux___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__21_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -255,13 +260,13 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___Lean_Meta_matchMatcherApp_ lean_object* l_Array_empty(lean_object*); uint8_t l_Lean_Expr_isEq(lean_object*); static lean_object* l_List_foldlM___at___Lean_Meta_Split_applyMatchSplitter_spec__2___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__8___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcherApp___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatch_pre_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lam__0___boxed(lean_object**); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Meta_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__28_spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__2; lean_object* l_Lean_Meta_mkHEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lam__1___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DHashMap_Internal_Raw_u2080_insert___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30_spec__34(lean_object*, lean_object*, lean_object*, lean_object*); @@ -277,6 +282,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter(lean_object*, lean LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(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_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30_spec__30___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___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_MessageData_ofFormat(lean_object*); lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -291,7 +297,6 @@ lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__2; static lean_object* l_Lean_Meta_Split_applyMatchSplitter___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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_splitTarget_x3f___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__0; @@ -316,12 +321,10 @@ lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_obj static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__2; lean_object* l_Lean_Meta_splitIfLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__1; lean_object* l_ST_Prim_mkRef___boxed(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_insertIfNew___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go_spec__0_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchCore___closed__0; @@ -335,7 +338,6 @@ static lean_object* l_Lean_Meta_Split_getSimpMatchContext___redArg___closed__0; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__17; lean_object* l_Lean_MVarId_revert(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Meta_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__28_spec__28___redArg___closed__4; -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at___Lean_Meta_Split_splitMatch_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_Meta_splitLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); @@ -346,7 +348,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_mkDiscrGenErrorMsg(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_insertIfNew___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go_spec__0_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__18(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__3; -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__3; LEAN_EXPORT uint8_t l_Lean_exprDependsOn___at___Lean_Meta_splitLocalDecl_x3f_spec__2___redArg___lam__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___Lean_Meta_withLocalDeclD___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go_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*); uint64_t l_Lean_Expr_hash(lean_object*); @@ -361,28 +362,26 @@ static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__6; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___Lean_Meta_withLocalDeclD___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go_spec__0_spec__0___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___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLetFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___Lean_Meta_Split_simpMatchTarget_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_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_Split_splitMatch(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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__0____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__4; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___Lean_Meta_Split_simpMatchTarget_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lam__0(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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchCore_pre(lean_object*, lean_object*, 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_extract___redArg(lean_object*, lean_object*, lean_object*); @@ -391,6 +390,8 @@ lean_object* l_Lean_Meta_isRflTheorem(lean_object*, lean_object*, lean_object*, static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_splitLocalDecl_x3f___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___Lean_Meta_splitLocalDecl_x3f_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__26___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -401,6 +402,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_obje LEAN_EXPORT lean_object* l_panic___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_mkContext___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_splitTarget_x3f___lam__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__26____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__26___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*); @@ -408,7 +410,7 @@ static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____pr LEAN_EXPORT lean_object* l_Lean_throwError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go_spec__0_spec__0___redArg___boxed(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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_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_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_object*); lean_object* l_Lean_Meta_substCore_x3f(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, 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_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Meta_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__28_spec__28___redArg___closed__3; @@ -439,8 +441,7 @@ lean_object* l_Lean_Meta_SplitIf_mkDischarge_x3f___redArg(uint8_t, lean_object*, static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__16; LEAN_EXPORT lean_object* l_Lean_Meta_isMatcherApp___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatch_pre_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_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*); -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatchTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -474,6 +475,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t l_Lean_instBEqFVarId_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__23(lean_object*, 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_Lean_Meta_Split_applyMatchSplitter___closed__9; +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2(lean_object*, lean_object*, lean_object*, uint8_t, 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_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30_spec__30___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -484,9 +486,9 @@ lean_object* l_Lean_Expr_replaceFVars(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_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30_spec__31_spec__31_spec__31___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__7___closed__4; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3(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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_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_Expr_withAppAux___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___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_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17___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_Meta_withLocalDecl___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__23_spec__23___redArg___lam__0(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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__13; @@ -506,12 +508,16 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHas LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___Lean_Meta_splitLocalDecl_x3f_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_findSplit_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___redArg(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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0___closed__0; static lean_object* l_Lean_Meta_Split_simpMatch___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___boxed__const__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at___Lean_Meta_splitTarget_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); uint8_t l_Lean_Meta_isMatcherAppCore(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -519,6 +525,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___Lean_Meta_withLocalDec lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__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_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); @@ -538,6 +545,7 @@ uint64_t lean_uint64_xor(uint64_t, uint64_t); static lean_object* l_panic___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__7___closed__2; lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__5____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Meta_saveState___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30___redArg(lean_object*, lean_object*, lean_object*); @@ -551,7 +559,6 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__2; lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__2; static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lam__0___closed__1; lean_object* l_Array_append___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___Lean_Meta_Split_applyMatchSplitter_spec__1(lean_object*, lean_object*); @@ -565,22 +572,20 @@ static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownId uint8_t l_Lean_isPrivateName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__15___redArg___lam__0(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_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__19_spec__19(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLambda___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_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_object*, lean_object*); lean_object* l_Nat_nextPowerOfTwo(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__26_spec__26___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_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -static size_t l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12___boxed(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*); -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go_spec__0___redArg___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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__6; lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); uint8_t l_Lean_instBEqInternalExceptionId_beq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___lam__0(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*); @@ -603,8 +608,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___redArg___boxed( 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__7; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___Lean_Meta_splitLocalDecl_x3f_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg___boxed(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_insertIfNew___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go_spec__0_spec__0___redArg(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Meta_Split_applyMatchSplitter_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_simpMatch___closed__1; @@ -612,8 +619,10 @@ static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___clo LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___lam__0(lean_object*, size_t, size_t, 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_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__19_spec__19___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_tryTheorem_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_FVarId_hasForwardDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_splitLocalDecl_x3f___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -629,12 +638,14 @@ lean_object* l_Lean_Core_instMonadCoreM___lam__1(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitForall___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__25(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* l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchCore___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Split_simpMatch___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_Meta_getMatcherInfo_x3f___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___closed__18; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEqTrans(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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__4; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatch_pre___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_Split_splitMatch___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_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -668,8 +679,9 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint uint64_t l_Lean_Meta_TransparencyMode_toUInt64(uint8_t); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__7; static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__25____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5; LEAN_EXPORT uint8_t l_Lean_Meta_Split_isDiscrGenException(lean_object*); lean_object* l_Lean_Meta_applySimpResultToTarget(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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -681,11 +693,11 @@ static lean_object* l_Lean_Meta_Split_simpMatch___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Split_discrGenExId; lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_Split_isDiscrGenException___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1(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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1(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*); uint8_t l_Lean_Expr_isFVar(lean_object*); +LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1(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_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1_spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___Lean_Meta_splitLocalDecl_x3f_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_InductiveVal_numCtors(lean_object*); @@ -703,19 +715,23 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Meta_transformW LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___redArg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__1; size_t lean_usize_land(size_t, size_t); -static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_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_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___Std_DHashMap_Internal_Raw_u2080_insert___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__30_spec__31(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs(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_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17_spec__17_spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__22____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__0(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*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__1____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__12; static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__15____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__6; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_Split_getSimpMatchContext___redArg___closed__0() { _start: { @@ -3358,6 +3374,379 @@ x_6 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseE return x_6; } } +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_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) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_16; +x_16 = lean_usize_dec_lt(x_3, x_2); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_4); +lean_ctor_set(x_17, 1, x_9); +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_26; +x_18 = lean_ctor_get(x_4, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_4, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + x_20 = x_4; +} else { + lean_dec_ref(x_4); + x_20 = lean_box(0); +} +x_21 = lean_array_uget(x_1, x_3); +x_26 = l_Lean_Expr_isFVar(x_21); +if (x_26 == 0) +{ +lean_object* x_27; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_21); +x_27 = l_Lean_Meta_isProof(x_21, x_5, x_6, x_7, x_8, x_9); +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_22 = x_30; +goto block_25; +} +else +{ +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_37; +lean_dec(x_20); +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +lean_dec_ref(x_27); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_32); +x_34 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0___closed__0; +x_35 = lean_array_push(x_34, x_33); +x_36 = 3; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_37 = l_Lean_MVarId_generalize(x_19, x_35, x_36, x_5, x_6, x_7, x_8, x_31); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec_ref(x_37); +x_40 = !lean_is_exclusive(x_38); +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; +x_41 = lean_ctor_get(x_38, 0); +x_42 = lean_box(0); +x_43 = lean_unsigned_to_nat(0u); +x_44 = lean_array_get(x_42, x_41, x_43); +lean_dec(x_41); +x_45 = l_Lean_mkFVar(x_44); +x_46 = lean_array_push(x_18, x_45); +lean_ctor_set(x_38, 0, x_46); +x_10 = x_38; +x_11 = x_39; +goto block_15; +} +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; +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_box(0); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_array_get(x_49, x_47, x_50); +lean_dec(x_47); +x_52 = l_Lean_mkFVar(x_51); +x_53 = lean_array_push(x_18, 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_48); +x_10 = x_54; +x_11 = x_39; +goto block_15; +} +} +else +{ +uint8_t x_55; +lean_dec(x_18); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_55 = !lean_is_exclusive(x_37); +if (x_55 == 0) +{ +return x_37; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_37, 0); +x_57 = lean_ctor_get(x_37, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_37); +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_ref(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_59 = !lean_is_exclusive(x_27); +if (x_59 == 0) +{ +return x_27; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_27, 0); +x_61 = lean_ctor_get(x_27, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_27); +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 +{ +x_22 = x_9; +goto block_25; +} +block_25: +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_array_push(x_18, x_21); +if (lean_is_scalar(x_20)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_20; +} +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +x_10 = x_24; +x_11 = x_22; +goto block_15; +} +} +block_15: +{ +size_t x_12; size_t x_13; +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_3 = x_13; +x_4 = x_10; +x_9 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___lam__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) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +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, 0); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_10; +} +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(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_10, 0, x_16); +return x_10; +} +} +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; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_10); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + lean_ctor_release(x_17, 1); + x_21 = x_17; +} else { + lean_dec_ref(x_17); + x_21 = lean_box(0); +} +if (lean_is_scalar(x_21)) { + x_22 = lean_alloc_ctor(0, 2, 0); +} else { + x_22 = x_21; +} +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_18); +return x_23; +} +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_10); +if (x_24 == 0) +{ +return x_10; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_10, 0); +x_26 = lean_ctor_get(x_10, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_10); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs(lean_object* x_1, 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; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_8 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs___redArg___closed__0; +lean_inc(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_1); +x_10 = lean_array_size(x_2); +x_11 = lean_box_usize(x_10); +x_12 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___boxed__const__1; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___lam__0___boxed), 9, 4); +lean_closure_set(x_13, 0, x_2); +lean_closure_set(x_13, 1, x_11); +lean_closure_set(x_13, 2, x_12); +lean_closure_set(x_13, 3, x_9); +x_14 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_1, x_13, x_3, x_4, x_5, x_6, x_7); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_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: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___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: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___lam__0(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_1); +return x_12; +} +} LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___Lean_throwError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go_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: { @@ -6049,19 +6438,19 @@ if (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; x_49 = lean_ctor_get(x_47, 0); x_50 = lean_array_mk(x_13); -x_51 = l_Array_ofSubarray___redArg(x_41); -lean_dec_ref(x_41); -x_52 = l_Array_ofSubarray___redArg(x_40); -lean_dec_ref(x_40); -x_53 = l_Array_ofSubarray___redArg(x_44); -lean_dec_ref(x_44); -x_54 = l_Array_ofSubarray___redArg(x_43); +x_51 = l_Array_ofSubarray___redArg(x_42); +lean_dec_ref(x_42); +x_52 = l_Array_ofSubarray___redArg(x_43); lean_dec_ref(x_43); +x_53 = l_Array_ofSubarray___redArg(x_40); +lean_dec_ref(x_40); +x_54 = l_Array_ofSubarray___redArg(x_44); +lean_dec_ref(x_44); x_55 = lean_alloc_ctor(0, 10, 0); lean_ctor_set(x_55, 0, x_12); lean_ctor_set(x_55, 1, x_50); lean_ctor_set(x_55, 2, x_45); -lean_ctor_set(x_55, 3, x_42); +lean_ctor_set(x_55, 3, x_41); lean_ctor_set(x_55, 4, x_51); lean_ctor_set(x_55, 5, x_39); lean_ctor_set(x_55, 6, x_52); @@ -6087,19 +6476,19 @@ lean_inc(x_58); lean_inc(x_57); lean_dec(x_47); x_59 = lean_array_mk(x_13); -x_60 = l_Array_ofSubarray___redArg(x_41); -lean_dec_ref(x_41); -x_61 = l_Array_ofSubarray___redArg(x_40); -lean_dec_ref(x_40); -x_62 = l_Array_ofSubarray___redArg(x_44); -lean_dec_ref(x_44); -x_63 = l_Array_ofSubarray___redArg(x_43); +x_60 = l_Array_ofSubarray___redArg(x_42); +lean_dec_ref(x_42); +x_61 = l_Array_ofSubarray___redArg(x_43); lean_dec_ref(x_43); +x_62 = l_Array_ofSubarray___redArg(x_40); +lean_dec_ref(x_40); +x_63 = l_Array_ofSubarray___redArg(x_44); +lean_dec_ref(x_44); x_64 = lean_alloc_ctor(0, 10, 0); lean_ctor_set(x_64, 0, x_12); lean_ctor_set(x_64, 1, x_59); lean_ctor_set(x_64, 2, x_45); -lean_ctor_set(x_64, 3, x_42); +lean_ctor_set(x_64, 3, x_41); lean_ctor_set(x_64, 4, x_60); lean_ctor_set(x_64, 5, x_39); lean_ctor_set(x_64, 6, x_61); @@ -6169,12 +6558,12 @@ if (x_89 == 0) { lean_object* x_90; x_90 = l_Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0___closed__2; -x_39 = x_79; -x_40 = x_78; -x_41 = x_80; -x_42 = x_81; -x_43 = x_86; -x_44 = x_82; +x_39 = x_78; +x_40 = x_79; +x_41 = x_81; +x_42 = x_80; +x_43 = x_82; +x_44 = x_86; x_45 = x_90; goto block_71; } @@ -6182,12 +6571,12 @@ else { lean_object* x_91; x_91 = lean_box(0); -x_39 = x_79; -x_40 = x_78; -x_41 = x_80; -x_42 = x_81; -x_43 = x_86; -x_44 = x_82; +x_39 = x_78; +x_40 = x_79; +x_41 = x_81; +x_42 = x_80; +x_43 = x_82; +x_44 = x_86; x_45 = x_91; goto block_71; } @@ -6201,11 +6590,11 @@ x_106 = lean_unsigned_to_nat(0u); x_107 = lean_nat_dec_le(x_97, x_106); if (x_107 == 0) { -x_78 = x_100; -x_79 = x_99; +x_78 = x_99; +x_79 = x_105; x_80 = x_101; -x_81 = x_102; -x_82 = x_105; +x_81 = x_100; +x_82 = x_102; x_83 = x_97; x_84 = x_98; goto block_92; @@ -6213,11 +6602,11 @@ goto block_92; else { lean_dec(x_97); -x_78 = x_100; -x_79 = x_99; +x_78 = x_99; +x_79 = x_105; x_80 = x_101; -x_81 = x_102; -x_82 = x_105; +x_81 = x_100; +x_82 = x_102; x_83 = x_106; x_84 = x_98; goto block_92; @@ -6228,9 +6617,9 @@ block_115: if (x_109 == 0) { lean_inc(x_98); -x_99 = x_111; -x_100 = x_110; -x_101 = x_112; +x_99 = x_110; +x_100 = x_112; +x_101 = x_111; x_102 = x_113; x_103 = x_114; x_104 = x_98; @@ -6239,9 +6628,9 @@ goto block_108; else { lean_inc(x_97); -x_99 = x_111; -x_100 = x_110; -x_101 = x_112; +x_99 = x_110; +x_100 = x_112; +x_101 = x_111; x_102 = x_113; x_103 = x_114; x_104 = x_97; @@ -6261,20 +6650,20 @@ x_124 = lean_unsigned_to_nat(0u); x_125 = lean_nat_dec_le(x_95, x_124); if (x_125 == 0) { -x_110 = x_120; -x_111 = x_116; -x_112 = x_117; -x_113 = x_123; +x_110 = x_116; +x_111 = x_117; +x_112 = x_123; +x_113 = x_120; x_114 = x_95; goto block_115; } else { lean_dec(x_95); -x_110 = x_120; -x_111 = x_116; -x_112 = x_117; -x_113 = x_123; +x_110 = x_116; +x_111 = x_117; +x_112 = x_123; +x_113 = x_120; x_114 = x_124; goto block_115; } @@ -6428,19 +6817,19 @@ if (lean_is_exclusive(x_155)) { x_158 = lean_box(0); } x_159 = lean_array_mk(x_13); -x_160 = l_Array_ofSubarray___redArg(x_149); -lean_dec_ref(x_149); -x_161 = l_Array_ofSubarray___redArg(x_148); -lean_dec_ref(x_148); -x_162 = l_Array_ofSubarray___redArg(x_152); -lean_dec_ref(x_152); -x_163 = l_Array_ofSubarray___redArg(x_151); +x_160 = l_Array_ofSubarray___redArg(x_150); +lean_dec_ref(x_150); +x_161 = l_Array_ofSubarray___redArg(x_151); lean_dec_ref(x_151); +x_162 = l_Array_ofSubarray___redArg(x_148); +lean_dec_ref(x_148); +x_163 = l_Array_ofSubarray___redArg(x_152); +lean_dec_ref(x_152); x_164 = lean_alloc_ctor(0, 10, 0); lean_ctor_set(x_164, 0, x_12); lean_ctor_set(x_164, 1, x_159); lean_ctor_set(x_164, 2, x_153); -lean_ctor_set(x_164, 3, x_150); +lean_ctor_set(x_164, 3, x_149); lean_ctor_set(x_164, 4, x_160); lean_ctor_set(x_164, 5, x_147); lean_ctor_set(x_164, 6, x_161); @@ -6515,12 +6904,12 @@ if (x_189 == 0) { lean_object* x_190; x_190 = l_Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0___closed__2; -x_147 = x_179; -x_148 = x_178; -x_149 = x_180; -x_150 = x_181; -x_151 = x_186; -x_152 = x_182; +x_147 = x_178; +x_148 = x_179; +x_149 = x_181; +x_150 = x_180; +x_151 = x_182; +x_152 = x_186; x_153 = x_190; goto block_171; } @@ -6528,12 +6917,12 @@ else { lean_object* x_191; x_191 = lean_box(0); -x_147 = x_179; -x_148 = x_178; -x_149 = x_180; -x_150 = x_181; -x_151 = x_186; -x_152 = x_182; +x_147 = x_178; +x_148 = x_179; +x_149 = x_181; +x_150 = x_180; +x_151 = x_182; +x_152 = x_186; x_153 = x_191; goto block_171; } @@ -6547,11 +6936,11 @@ x_206 = lean_unsigned_to_nat(0u); x_207 = lean_nat_dec_le(x_197, x_206); if (x_207 == 0) { -x_178 = x_200; -x_179 = x_199; +x_178 = x_199; +x_179 = x_205; x_180 = x_201; -x_181 = x_202; -x_182 = x_205; +x_181 = x_200; +x_182 = x_202; x_183 = x_197; x_184 = x_198; goto block_192; @@ -6559,11 +6948,11 @@ goto block_192; else { lean_dec(x_197); -x_178 = x_200; -x_179 = x_199; +x_178 = x_199; +x_179 = x_205; x_180 = x_201; -x_181 = x_202; -x_182 = x_205; +x_181 = x_200; +x_182 = x_202; x_183 = x_206; x_184 = x_198; goto block_192; @@ -6574,9 +6963,9 @@ block_215: if (x_209 == 0) { lean_inc(x_198); -x_199 = x_211; -x_200 = x_210; -x_201 = x_212; +x_199 = x_210; +x_200 = x_212; +x_201 = x_211; x_202 = x_213; x_203 = x_214; x_204 = x_198; @@ -6585,9 +6974,9 @@ goto block_208; else { lean_inc(x_197); -x_199 = x_211; -x_200 = x_210; -x_201 = x_212; +x_199 = x_210; +x_200 = x_212; +x_201 = x_211; x_202 = x_213; x_203 = x_214; x_204 = x_197; @@ -6607,20 +6996,20 @@ x_224 = lean_unsigned_to_nat(0u); x_225 = lean_nat_dec_le(x_195, x_224); if (x_225 == 0) { -x_210 = x_220; -x_211 = x_216; -x_212 = x_217; -x_213 = x_223; +x_210 = x_216; +x_211 = x_217; +x_212 = x_223; +x_213 = x_220; x_214 = x_195; goto block_215; } else { lean_dec(x_195); -x_210 = x_220; -x_211 = x_216; -x_212 = x_217; -x_213 = x_223; +x_210 = x_216; +x_211 = x_217; +x_212 = x_223; +x_213 = x_220; x_214 = x_224; goto block_215; } @@ -6826,9 +7215,9 @@ lean_ctor_set(x_279, 2, x_267); lean_ctor_set(x_279, 3, x_268); lean_ctor_set(x_279, 4, x_271); lean_ctor_set(x_279, 5, x_273); -lean_ctor_set(x_279, 6, x_274); +lean_ctor_set(x_279, 6, x_275); lean_ctor_set(x_279, 7, x_266); -lean_ctor_set(x_279, 8, x_275); +lean_ctor_set(x_279, 8, x_274); lean_ctor_set(x_279, 9, x_278); if (lean_is_scalar(x_254)) { x_280 = lean_alloc_ctor(1, 1, 0); @@ -6852,19 +7241,19 @@ lean_inc_ref(x_260); x_287 = l_Array_toSubarray___redArg(x_260, x_285, x_286); x_288 = l_Array_ofSubarray___redArg(x_287); lean_dec_ref(x_287); -x_289 = lean_nat_dec_le(x_284, x_270); +x_289 = lean_nat_dec_le(x_283, x_270); if (x_289 == 0) { -x_274 = x_283; -x_275 = x_288; -x_276 = x_284; +x_274 = x_288; +x_275 = x_284; +x_276 = x_283; goto block_282; } else { -lean_dec(x_284); -x_274 = x_283; -x_275 = x_288; +lean_dec(x_283); +x_274 = x_288; +x_275 = x_284; x_276 = x_270; goto block_282; } @@ -6872,7 +7261,7 @@ goto block_282; block_295: { uint8_t x_294; -x_294 = lean_nat_dec_le(x_292, x_261); +x_294 = lean_nat_dec_le(x_291, x_261); if (x_294 == 0) { lean_inc(x_261); @@ -6884,11 +7273,11 @@ goto block_290; } else { -lean_inc(x_292); +lean_inc(x_291); x_283 = x_291; x_284 = x_292; x_285 = x_293; -x_286 = x_292; +x_286 = x_291; goto block_290; } } @@ -6906,16 +7295,16 @@ lean_dec(x_302); x_304 = lean_nat_dec_le(x_297, x_270); if (x_304 == 0) { -x_291 = x_301; -x_292 = x_303; +x_291 = x_303; +x_292 = x_301; x_293 = x_297; goto block_295; } else { lean_dec(x_297); -x_291 = x_301; -x_292 = x_303; +x_291 = x_303; +x_292 = x_301; x_293 = x_270; goto block_295; } @@ -8152,7 +8541,7 @@ return x_3; LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__1(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, lean_object* x_8, 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; 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_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_48; uint8_t x_49; lean_object* x_50; uint8_t 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_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_86; uint8_t x_94; lean_object* x_102; uint8_t x_103; +lean_object* x_18; lean_object* x_19; 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; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t 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_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_86; uint8_t x_94; lean_object* x_102; uint8_t x_103; x_102 = lean_array_get_size(x_11); x_103 = lean_nat_dec_lt(x_102, x_6); if (x_103 == 0) @@ -8177,16 +8566,16 @@ x_29 = l_Array_ofSubarray___redArg(x_28); lean_dec_ref(x_28); x_30 = lean_box(x_1); x_31 = lean_box(x_2); -x_32 = lean_box(x_18); +x_32 = lean_box(x_20); lean_inc_ref(x_29); x_33 = lean_alloc_closure((void*)(l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__16___redArg___lam__0___boxed), 13, 6); -lean_closure_set(x_33, 0, x_19); +lean_closure_set(x_33, 0, x_18); lean_closure_set(x_33, 1, x_29); -lean_closure_set(x_33, 2, x_20); +lean_closure_set(x_33, 2, x_19); lean_closure_set(x_33, 3, x_30); lean_closure_set(x_33, 4, x_31); lean_closure_set(x_33, 5, x_32); -x_34 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs(x_4, x_5, x_29, x_33, x_22, x_24, x_21, x_23, x_25); +x_34 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs(x_4, x_5, x_29, x_33, x_25, x_22, x_21, x_24, x_23); lean_dec_ref(x_5); lean_dec_ref(x_4); return x_34; @@ -8194,33 +8583,33 @@ return x_34; block_47: { uint8_t x_46; -x_46 = lean_nat_dec_le(x_6, x_44); +x_46 = lean_nat_dec_le(x_6, x_42); if (x_46 == 0) { lean_dec(x_6); x_18 = x_36; x_19 = x_37; x_20 = x_38; -x_21 = x_40; -x_22 = x_39; +x_21 = x_39; +x_22 = x_40; x_23 = x_41; -x_24 = x_42; -x_25 = x_43; +x_24 = x_43; +x_25 = x_44; x_26 = x_45; -x_27 = x_44; +x_27 = x_42; goto block_35; } else { -lean_dec(x_44); +lean_dec(x_42); x_18 = x_36; x_19 = x_37; x_20 = x_38; -x_21 = x_40; -x_22 = x_39; +x_21 = x_39; +x_22 = x_40; x_23 = x_41; -x_24 = x_42; -x_25 = x_43; +x_24 = x_43; +x_25 = x_44; x_26 = x_45; x_27 = x_6; goto block_35; @@ -8241,30 +8630,30 @@ x_62 = lean_array_get_size(x_11); x_63 = lean_nat_dec_le(x_54, x_60); if (x_63 == 0) { -x_36 = x_49; -x_37 = x_50; -x_38 = x_59; +x_36 = x_48; +x_37 = x_59; +x_38 = x_50; x_39 = x_52; x_40 = x_53; -x_41 = x_55; -x_42 = x_56; -x_43 = x_48; -x_44 = x_62; +x_41 = x_49; +x_42 = x_62; +x_43 = x_55; +x_44 = x_56; x_45 = x_54; goto block_47; } else { lean_dec(x_54); -x_36 = x_49; -x_37 = x_50; -x_38 = x_59; +x_36 = x_48; +x_37 = x_59; +x_38 = x_50; x_39 = x_52; x_40 = x_53; -x_41 = x_55; -x_42 = x_56; -x_43 = x_48; -x_44 = x_62; +x_41 = x_49; +x_42 = x_62; +x_43 = x_55; +x_44 = x_56; x_45 = x_60; goto block_47; } @@ -8279,11 +8668,11 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); x_64 = l_Array_ofSubarray___redArg(x_59); lean_dec_ref(x_59); -x_65 = l_Lean_Meta_mkLambdaFVars(x_64, x_50, x_1, x_2, x_1, x_2, x_51, x_52, x_56, x_53, x_55, x_48); +x_65 = l_Lean_Meta_mkLambdaFVars(x_64, x_48, x_1, x_2, x_1, x_2, x_51, x_56, x_53, x_52, x_55, x_49); lean_dec(x_55); -lean_dec_ref(x_53); -lean_dec(x_56); lean_dec_ref(x_52); +lean_dec(x_53); +lean_dec_ref(x_56); lean_dec_ref(x_64); return x_65; } @@ -8296,7 +8685,7 @@ x_75 = l_Array_toSubarray___redArg(x_11, x_73, x_74); x_76 = l_Array_ofSubarray___redArg(x_75); lean_dec_ref(x_75); x_77 = 1; -x_78 = l_Lean_Meta_mkLambdaFVars(x_76, x_67, x_1, x_2, x_1, x_2, x_77, x_69, x_72, x_68, x_70, x_71); +x_78 = l_Lean_Meta_mkLambdaFVars(x_76, x_71, x_1, x_2, x_1, x_2, x_77, x_72, x_69, x_67, x_70, x_68); lean_dec_ref(x_76); if (lean_obj_tag(x_78) == 0) { @@ -8312,12 +8701,12 @@ x_83 = lean_array_get_size(x_11); x_84 = lean_nat_dec_le(x_81, x_83); if (x_84 == 0) { -x_48 = x_80; -x_49 = x_77; -x_50 = x_79; +x_48 = x_79; +x_49 = x_80; +x_50 = x_77; x_51 = x_77; -x_52 = x_69; -x_53 = x_68; +x_52 = x_67; +x_53 = x_69; x_54 = x_81; x_55 = x_70; x_56 = x_72; @@ -8329,12 +8718,12 @@ else { lean_dec(x_83); lean_inc(x_81); -x_48 = x_80; -x_49 = x_77; -x_50 = x_79; +x_48 = x_79; +x_49 = x_80; +x_50 = x_77; x_51 = x_77; -x_52 = x_69; -x_53 = x_68; +x_52 = x_67; +x_53 = x_69; x_54 = x_81; x_55 = x_70; x_56 = x_72; @@ -8345,10 +8734,10 @@ goto block_66; } else { -lean_dec(x_72); +lean_dec_ref(x_72); lean_dec(x_70); -lean_dec_ref(x_69); -lean_dec_ref(x_68); +lean_dec(x_69); +lean_dec_ref(x_67); lean_dec_ref(x_11); lean_dec(x_6); lean_dec_ref(x_5); @@ -8382,24 +8771,24 @@ x_92 = lean_nat_dec_le(x_6, x_90); if (x_92 == 0) { lean_inc(x_6); -x_67 = x_88; -x_68 = x_15; -x_69 = x_13; +x_67 = x_15; +x_68 = x_89; +x_69 = x_14; x_70 = x_16; -x_71 = x_89; -x_72 = x_14; +x_71 = x_88; +x_72 = x_13; x_73 = x_6; x_74 = x_91; goto block_85; } else { -x_67 = x_88; -x_68 = x_15; -x_69 = x_13; +x_67 = x_15; +x_68 = x_89; +x_69 = x_14; x_70 = x_16; -x_71 = x_89; -x_72 = x_14; +x_71 = x_88; +x_72 = x_13; x_73 = x_90; x_74 = x_91; goto block_85; @@ -12591,7 +12980,33 @@ lean_dec_ref(x_2); return x_7; } } -static lean_object* _init_l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0___closed__0() { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0(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_Expr_fvarId_x21(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; +} +} +} +static lean_object* _init_l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___closed__0() { _start: { lean_object* x_1; @@ -12599,17 +13014,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___lam__0___boxed return x_1; } } -LEAN_EXPORT lean_object* l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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 lean_object* l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0___closed__0; +x_7 = l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___closed__0; x_8 = lean_panic_fn(x_7, x_1); x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___redArg(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_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(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; uint8_t x_10; lean_object* x_11; lean_object* x_12; @@ -12664,15 +13079,15 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1(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_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2(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) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___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_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { _start: { uint8_t x_5; @@ -12776,32 +13191,32 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { _start: { lean_object* x_6; -x_6 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2_spec__2___redArg(x_2, x_3, x_4, x_5); +x_6 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3___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_unsigned_to_nat(0u); -x_5 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2_spec__2___redArg(x_1, x_4, x_2, x_3); +x_5 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_4, x_2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__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_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2___redArg(x_2, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___redArg(size_t 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_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___redArg(size_t 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; @@ -12830,22 +13245,22 @@ x_18 = lean_nat_add(x_4, x_13); lean_dec(x_4); lean_inc(x_9); lean_inc(x_8); -x_19 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(x_5, x_17, x_1, x_8, x_9); +x_19 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(x_5, x_17, x_1, x_8, x_9); x_4 = x_18; x_5 = x_19; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4(lean_object* 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_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5(lean_object* 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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___redArg(x_2, x_3, x_4, x_6, x_7); +x_8 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___redArg(x_2, x_3, x_4, x_6, x_7); return x_8; } } -static size_t _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__0() { +static size_t _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__0() { _start: { size_t x_1; size_t x_2; size_t x_3; @@ -12855,17 +13270,17 @@ x_3 = lean_usize_shift_left(x_2, x_1); return x_3; } } -static size_t _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__1() { +static size_t _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__1() { _start: { size_t x_1; size_t x_2; size_t x_3; x_1 = 1; -x_2 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__0; +x_2 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__0; x_3 = lean_usize_sub(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__2() { +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__2() { _start: { lean_object* x_1; @@ -12873,7 +13288,7 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -12882,7 +13297,7 @@ lean_object* x_6; size_t x_7; size_t x_8; size_t x_9; size_t x_10; lean_object* x_6 = lean_ctor_get(x_1, 0); x_7 = 5; x_8 = 1; -x_9 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__1; +x_9 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__1; x_10 = lean_usize_land(x_2, x_9); x_11 = lean_usize_to_nat(x_10); x_12 = lean_array_get_size(x_6); @@ -12981,7 +13396,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; x_35 = lean_ctor_get(x_15, 0); x_36 = lean_usize_shift_right(x_2, x_7); x_37 = lean_usize_add(x_3, x_8); -x_38 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(x_35, x_36, x_37, x_4, x_5); +x_38 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_18 = x_15; goto block_21; @@ -12994,7 +13409,7 @@ lean_inc(x_39); lean_dec(x_15); x_40 = lean_usize_shift_right(x_2, x_7); x_41 = lean_usize_add(x_3, x_8); -x_42 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(x_39, x_40, x_41, x_4, x_5); +x_42 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(x_39, x_40, x_41, x_4, x_5); x_43 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_43, 0, x_42); x_18 = x_43; @@ -13033,7 +13448,7 @@ x_45 = !lean_is_exclusive(x_1); if (x_45 == 0) { lean_object* x_46; uint8_t x_47; size_t x_54; uint8_t x_55; -x_46 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2___redArg(x_1, x_4, x_5); +x_46 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3___redArg(x_1, x_4, x_5); x_54 = 7; x_55 = lean_usize_dec_le(x_54, x_3); if (x_55 == 0) @@ -13062,8 +13477,8 @@ x_49 = lean_ctor_get(x_46, 1); lean_inc_ref(x_49); lean_dec_ref(x_46); x_50 = lean_unsigned_to_nat(0u); -x_51 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__2; -x_52 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___redArg(x_3, x_48, x_49, x_50, x_51); +x_51 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__2; +x_52 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___redArg(x_3, x_48, x_49, x_50, x_51); lean_dec_ref(x_49); lean_dec_ref(x_48); return x_52; @@ -13085,7 +13500,7 @@ lean_dec(x_1); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_59); lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__2___redArg(x_61, x_4, x_5); +x_62 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__3___redArg(x_61, x_4, x_5); x_70 = 7; x_71 = lean_usize_dec_le(x_70, x_3); if (x_71 == 0) @@ -13114,8 +13529,8 @@ x_65 = lean_ctor_get(x_62, 1); lean_inc_ref(x_65); lean_dec_ref(x_62); x_66 = lean_unsigned_to_nat(0u); -x_67 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__2; -x_68 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___redArg(x_3, x_64, x_65, x_66, x_67); +x_67 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__2; +x_68 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___redArg(x_3, x_64, x_65, x_66, x_67); lean_dec_ref(x_65); lean_dec_ref(x_64); return x_68; @@ -13129,34 +13544,34 @@ return x_62; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_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) { _start: { lean_object* x_7; -x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(x_2, x_3, x_4, x_5, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint64_t x_4; size_t x_5; size_t x_6; lean_object* x_7; x_4 = l_Lean_instHashableMVarId_hash(x_2); x_5 = lean_uint64_to_usize(x_4); x_6 = 1; -x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(x_1, x_5, x_6, x_2, x_3); +x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(x_1, x_5, x_6, x_2, x_3); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__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_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2___redArg(x_2, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___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; uint8_t x_9; @@ -13179,7 +13594,7 @@ 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_7, 7); -x_13 = l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2___redArg(x_12, x_1, x_2); +x_13 = l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3___redArg(x_12, x_1, x_2); lean_ctor_set(x_7, 7, x_13); x_14 = lean_st_ref_set(x_3, x_6, x_8); x_15 = !lean_is_exclusive(x_14); @@ -13227,7 +13642,7 @@ lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_dec(x_7); -x_30 = l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2___redArg(x_28, x_1, x_2); +x_30 = l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3___redArg(x_28, x_1, x_2); x_31 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_31, 0, x_21); lean_ctor_set(x_31, 1, x_22); @@ -13306,7 +13721,7 @@ if (lean_is_exclusive(x_7)) { lean_dec_ref(x_7); x_50 = lean_box(0); } -x_51 = l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2___redArg(x_48, x_1, x_2); +x_51 = l_Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3___redArg(x_48, x_1, x_2); if (lean_is_scalar(x_50)) { x_52 = lean_alloc_ctor(0, 9, 0); } else { @@ -13350,40 +13765,14 @@ return x_58; } } } -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(x_1, x_2, x_4, x_7); +x_8 = l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___redArg(x_1, x_2, x_4, x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l_Lean_Expr_fvarId_x21(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 uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__9(lean_object* x_1, size_t x_2, size_t x_3) { _start: { @@ -13427,23 +13816,6 @@ return x_11; static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__0() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Internal error in `split` tactic: Failed to find match-expression discriminants", 79, 79); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_Meta_Split_isDiscrGenException___closed__0; @@ -13453,292 +13825,865 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_box(x_1); -x_16 = lean_st_mk_ref(x_15, x_14); -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_Lean_MVarId_getType(x_2, x_10, x_11, x_12, x_13, x_18); -if (lean_obj_tag(x_19) == 0) +lean_object* x_7; lean_object* x_8; +x_7 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__0; +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; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__0() { +_start: { -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_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_17); -lean_inc_ref(x_8); +lean_object* x_1; +x_1 = lean_mk_string_unchecked("targetNew not type correct:", 27, 27); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\n", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Internal error in `split` tactic: Failed to find match-expression discriminants", 79, 79); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__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, lean_object* x_7, lean_object* x_8, 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_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_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_71 = lean_box(x_1); +x_72 = lean_st_mk_ref(x_71, x_15); +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); +x_75 = l_Lean_MVarId_getType(x_2, x_11, x_12, x_13, x_14, x_74); +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_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_73); +lean_inc_ref(x_9); lean_inc_ref(x_7); -x_22 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget(x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_20, x_10, x_11, x_12, x_13, x_21); -if (lean_obj_tag(x_22) == 0) +x_78 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget(x_3, x_4, x_5, x_6, x_7, x_9, x_73, x_76, x_11, x_12, x_13, x_14, x_77); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t 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); -x_25 = lean_st_ref_get(x_17, x_24); -lean_dec(x_17); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_unbox(x_26); -if (x_27 == 0) +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); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec_ref(x_78); +x_81 = lean_st_ref_get(x_73, x_80); +lean_dec(x_73); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_unbox(x_82); +if (x_83 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_dec(x_26); -lean_dec(x_23); +lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_dec(x_82); +lean_dec(x_79); +lean_dec_ref(x_10); lean_dec_ref(x_9); lean_dec_ref(x_8); lean_dec_ref(x_7); -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec_ref(x_25); -x_29 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__1; -x_30 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go_spec__0___redArg(x_29, x_10, x_11, x_12, x_13, x_28); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec_ref(x_81); +x_85 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__5; +x_86 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go_spec__0___redArg(x_85, x_11, x_12, x_13, x_14, x_84); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +x_87 = !lean_is_exclusive(x_86); +if (x_87 == 0) { -return x_30; +return x_86; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_30); -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_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_86, 0); +x_89 = lean_ctor_get(x_86, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_86); +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_35; -x_35 = !lean_is_exclusive(x_25); -if (x_35 == 0) +lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; lean_object* x_96; +x_91 = lean_ctor_get(x_81, 1); +lean_inc(x_91); +lean_dec_ref(x_81); +x_92 = l_Array_append___redArg(x_7, x_9); +lean_dec_ref(x_9); +x_93 = 1; +x_94 = lean_unbox(x_82); +x_95 = lean_unbox(x_82); +lean_dec(x_82); +x_96 = l_Lean_Meta_mkForallFVars(x_92, x_79, x_1, x_94, x_95, x_93, x_11, x_12, x_13, x_14, x_91); +lean_dec_ref(x_92); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; -x_36 = lean_ctor_get(x_25, 1); -x_37 = lean_ctor_get(x_25, 0); -lean_dec(x_37); -x_38 = l_Array_append___redArg(x_7, x_8); +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec_ref(x_96); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_97); +x_99 = l_Lean_Meta_check(x_97, x_11, x_12, x_13, x_14, x_98); +if (lean_obj_tag(x_99) == 0) +{ +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); lean_dec_ref(x_8); -x_39 = 1; -x_40 = lean_unbox(x_26); -x_41 = lean_unbox(x_26); -lean_dec(x_26); -x_42 = l_Lean_Meta_mkForallFVars(x_38, x_23, x_1, x_40, x_41, x_39, x_10, x_11, x_12, x_13, x_36); -lean_dec_ref(x_38); -if (lean_obj_tag(x_42) == 0) +x_16 = x_97; +x_17 = x_99; +goto block_28; +} +else { -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_inc(x_44); -lean_dec_ref(x_42); -lean_inc(x_43); -x_45 = l_Lean_Meta_isTypeCorrect(x_43, x_10, x_11, x_12, x_13, x_44); -if (lean_obj_tag(x_45) == 0) +lean_object* x_100; lean_object* x_101; uint8_t 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); +x_102 = l_Lean_Exception_isInterrupt(x_100); +if (x_102 == 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) +uint8_t x_103; +x_103 = l_Lean_Exception_isRuntime(x_100); +x_29 = x_101; +x_30 = x_14; +x_31 = x_99; +x_32 = x_97; +x_33 = x_12; +x_34 = x_100; +x_35 = x_11; +x_36 = x_13; +x_37 = x_103; +goto block_70; +} +else { -uint8_t x_48; -lean_dec(x_43); -lean_free_object(x_25); +x_29 = x_101; +x_30 = x_14; +x_31 = x_99; +x_32 = x_97; +x_33 = x_12; +x_34 = x_100; +x_35 = x_11; +x_36 = x_13; +x_37 = x_102; +goto block_70; +} +} +} +else +{ +uint8_t x_104; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_8); +x_104 = !lean_is_exclusive(x_96); +if (x_104 == 0) +{ +return x_96; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_96, 0); +x_106 = lean_ctor_get(x_96, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_96); +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 +{ +uint8_t x_108; +lean_dec(x_73); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); lean_dec_ref(x_9); -x_48 = !lean_is_exclusive(x_45); -if (x_48 == 0) +lean_dec_ref(x_8); +lean_dec_ref(x_7); +x_108 = !lean_is_exclusive(x_78); +if (x_108 == 0) { -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_45, 0); -lean_dec(x_49); -x_50 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__2; -lean_ctor_set_tag(x_45, 1); -lean_ctor_set(x_45, 0, x_50); -return x_45; +return x_78; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_45, 1); -lean_inc(x_51); -lean_dec(x_45); -x_52 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__2; -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -return x_53; -} -} -else -{ -uint8_t x_54; -x_54 = !lean_is_exclusive(x_45); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_ctor_get(x_45, 0); -lean_dec(x_55); -lean_ctor_set(x_25, 1, x_9); -lean_ctor_set(x_25, 0, x_43); -lean_ctor_set(x_45, 0, x_25); -return x_45; -} -else -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_45, 1); -lean_inc(x_56); -lean_dec(x_45); -lean_ctor_set(x_25, 1, x_9); -lean_ctor_set(x_25, 0, x_43); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_25); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_78, 0); +x_110 = lean_ctor_get(x_78, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_78); +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 { -uint8_t x_58; -lean_dec(x_43); -lean_free_object(x_25); +uint8_t x_112; +lean_dec(x_73); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); lean_dec_ref(x_9); -x_58 = !lean_is_exclusive(x_45); -if (x_58 == 0) +lean_dec_ref(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +x_112 = !lean_is_exclusive(x_75); +if (x_112 == 0) { -return x_45; +return x_75; } else { -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_dec(x_45); -x_61 = lean_alloc_ctor(1, 2, 0); +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_75, 0); +x_114 = lean_ctor_get(x_75, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_75); +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_28: +{ +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_16); +lean_ctor_set(x_20, 1, x_10); +lean_ctor_set(x_17, 0, x_20); +return x_17; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_16); +lean_ctor_set(x_22, 1, x_10); +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 +{ +uint8_t x_24; +lean_dec_ref(x_16); +lean_dec_ref(x_10); +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) +{ +return x_17; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_17); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +block_70: +{ +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec_ref(x_31); +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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__3; +x_39 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_38, x_36, x_29); +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; lean_object* x_43; lean_object* x_44; +lean_dec_ref(x_34); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_dec_ref(x_39); +x_43 = lean_box(0); +x_44 = lean_apply_6(x_8, x_43, x_35, x_33, x_36, x_30, x_42); +x_16 = x_32; +x_17 = x_44; +goto block_28; +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_39); +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; lean_object* x_56; lean_object* x_57; +x_46 = lean_ctor_get(x_39, 1); +x_47 = lean_ctor_get(x_39, 0); +lean_dec(x_47); +x_48 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__1; +lean_inc_ref(x_32); +x_49 = l_Lean_indentExpr(x_32); +lean_ctor_set_tag(x_39, 7); +lean_ctor_set(x_39, 1, x_49); +lean_ctor_set(x_39, 0, x_48); +x_50 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_39); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Exception_toMessageData(x_34); +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_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_38, x_53, x_35, x_33, x_36, x_30, x_46); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec_ref(x_54); +x_56 = lean_box(0); +x_57 = lean_apply_6(x_8, x_56, x_35, x_33, x_36, x_30, x_55); +x_16 = x_32; +x_17 = x_57; +goto block_28; +} +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; +x_58 = lean_ctor_get(x_39, 1); +lean_inc(x_58); +lean_dec(x_39); +x_59 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__1; +lean_inc_ref(x_32); +x_60 = l_Lean_indentExpr(x_32); +x_61 = lean_alloc_ctor(7, 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_62; -lean_free_object(x_25); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -x_62 = !lean_is_exclusive(x_42); -if (x_62 == 0) -{ -return x_42; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_42, 0); -x_64 = lean_ctor_get(x_42, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_42); -x_65 = lean_alloc_ctor(1, 2, 0); +x_62 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3; +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_Exception_toMessageData(x_34); +x_65 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); -return x_65; +x_66 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_38, x_65, x_35, x_33, x_36, x_30, x_58); +x_67 = lean_ctor_get(x_66, 1); +lean_inc(x_67); +lean_dec_ref(x_66); +x_68 = lean_box(0); +x_69 = lean_apply_6(x_8, x_68, x_35, x_33, x_36, x_30, x_67); +x_16 = x_32; +x_17 = x_69; +goto block_28; } } } else { -lean_object* x_66; lean_object* x_67; uint8_t x_68; uint8_t x_69; uint8_t x_70; lean_object* x_71; -x_66 = lean_ctor_get(x_25, 1); -lean_inc(x_66); -lean_dec(x_25); -x_67 = l_Array_append___redArg(x_7, x_8); +lean_dec_ref(x_36); +lean_dec_ref(x_35); +lean_dec_ref(x_34); +lean_dec(x_33); +lean_dec(x_30); lean_dec_ref(x_8); -x_68 = 1; -x_69 = lean_unbox(x_26); -x_70 = lean_unbox(x_26); -lean_dec(x_26); -x_71 = l_Lean_Meta_mkForallFVars(x_67, x_23, x_1, x_69, x_70, x_68, x_10, x_11, x_12, x_13, x_66); -lean_dec_ref(x_67); -if (lean_obj_tag(x_71) == 0) +x_16 = x_32; +x_17 = x_31; +goto block_28; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_box(x_1); +lean_inc_ref(x_8); +lean_inc_ref(x_4); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___boxed), 15, 8); +lean_closure_set(x_16, 0, x_15); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_3); +lean_closure_set(x_16, 3, x_4); +lean_closure_set(x_16, 4, x_5); +lean_closure_set(x_16, 5, x_6); +lean_closure_set(x_16, 6, x_8); +lean_closure_set(x_16, 7, x_7); +x_17 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs___redArg(x_4, x_8, x_16, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___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_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.Meta.Tactic.Split", 22, 22); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private.Lean.Meta.Tactic.Split.0.Lean.Meta.Split.generalizeMatchDiscrs", 71, 71); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___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_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__8_spec__8___redArg___closed__2; +x_2 = lean_unsigned_to_nat(59u); +x_3 = lean_unsigned_to_nat(154u); +x_4 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__2; +x_5 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__1; +x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("targetNew:\n", 11, 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("no need to generalize discriminants, all are fvars", 50, 50); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__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; +if (x_1 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_inc(x_2); +x_21 = l_Lean_Meta_getMatcherInfo_x3f___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__0___redArg(x_2, x_10, x_11); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec_ref(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__3; +x_25 = l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1(x_24, x_7, x_8, x_9, x_10, x_23); +return x_25; +} +else +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec_ref(x_21); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 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_22, 0); +x_29 = l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(x_28); +x_30 = lean_box(x_1); +lean_inc_ref(x_4); +lean_inc(x_3); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___boxed), 14, 7); +lean_closure_set(x_31, 0, x_30); +lean_closure_set(x_31, 1, x_3); +lean_closure_set(x_31, 2, x_2); +lean_closure_set(x_31, 3, x_4); +lean_closure_set(x_31, 4, x_28); +lean_closure_set(x_31, 5, x_29); +lean_closure_set(x_31, 6, x_5); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_32 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(x_6, x_31, x_1, x_7, x_8, x_9, x_10, x_26); +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; +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(x_35); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +lean_inc(x_3); +x_37 = l_Lean_MVarId_getTag(x_3, x_7, x_8, x_9, x_10, x_34); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec_ref(x_37); +lean_inc_ref(x_7); +x_40 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_35, x_38, x_7, x_8, x_9, x_10, x_39); +if (lean_obj_tag(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_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec_ref(x_40); +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_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__3; +x_90 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_89, x_9, x_42); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_unbox(x_91); +lean_dec(x_91); +if (x_92 == 0) +{ +lean_object* x_93; +lean_free_object(x_22); +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); +lean_dec_ref(x_90); +x_43 = x_7; +x_44 = x_8; +x_45 = x_9; +x_46 = x_10; +x_47 = x_93; +goto block_88; +} +else +{ +uint8_t x_94; +x_94 = !lean_is_exclusive(x_90); +if (x_94 == 0) +{ +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_95 = lean_ctor_get(x_90, 1); +x_96 = lean_ctor_get(x_90, 0); +lean_dec(x_96); +x_97 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5; +x_98 = l_Lean_Expr_mvarId_x21(x_41); +lean_ctor_set(x_22, 0, x_98); +lean_ctor_set_tag(x_90, 7); +lean_ctor_set(x_90, 1, x_22); +lean_ctor_set(x_90, 0, x_97); +x_99 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_89, x_90, x_7, x_8, x_9, x_10, x_95); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec_ref(x_99); +x_43 = x_7; +x_44 = x_8; +x_45 = x_9; +x_46 = x_10; +x_47 = x_100; +goto block_88; +} +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; +x_101 = lean_ctor_get(x_90, 1); +lean_inc(x_101); +lean_dec(x_90); +x_102 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5; +x_103 = l_Lean_Expr_mvarId_x21(x_41); +lean_ctor_set(x_22, 0, x_103); +x_104 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_22); +x_105 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_89, x_104, x_7, x_8, x_9, x_10, x_101); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +lean_dec_ref(x_105); +x_43 = x_7; +x_44 = x_8; +x_45 = x_9; +x_46 = x_10; +x_47 = x_106; +goto block_88; +} +} +block_88: +{ +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_55; lean_object* x_56; +lean_inc(x_41); +x_48 = l_Lean_mkAppN(x_41, x_4); +x_49 = l_Lean_mkAppN(x_48, x_36); +lean_dec(x_36); +x_50 = l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___redArg(x_3, x_49, x_44, x_47); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec_ref(x_50); +x_52 = l_Lean_Expr_mvarId_x21(x_41); +lean_dec(x_41); +x_53 = lean_array_get_size(x_4); +lean_dec_ref(x_4); +x_54 = lean_box(0); +x_55 = 1; +lean_inc(x_46); +lean_inc_ref(x_45); +lean_inc(x_44); +lean_inc_ref(x_43); +lean_inc(x_53); +x_56 = l_Lean_Meta_introNCore(x_52, x_53, x_54, x_1, x_55, x_43, x_44, x_45, x_46, x_51); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +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_is_exclusive(x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_57, 0); +x_61 = lean_ctor_get(x_57, 1); +x_62 = l_Lean_Meta_introNCore(x_61, x_53, x_54, x_1, x_55, x_43, x_44, x_45, x_46, x_58); +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_ctor_set(x_57, 1, x_64); +lean_ctor_set(x_62, 0, x_57); +return x_62; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_62, 0); +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_62); +lean_ctor_set(x_57, 1, x_65); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_57); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +else +{ +uint8_t x_68; +lean_free_object(x_57); +lean_dec(x_60); +x_68 = !lean_is_exclusive(x_62); +if (x_68 == 0) +{ +return x_62; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_62, 0); +x_70 = lean_ctor_get(x_62, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_62); +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; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); +x_72 = lean_ctor_get(x_57, 0); +x_73 = lean_ctor_get(x_57, 1); lean_inc(x_73); -lean_dec_ref(x_71); lean_inc(x_72); -x_74 = l_Lean_Meta_isTypeCorrect(x_72, x_10, x_11, x_12, x_13, x_73); +lean_dec(x_57); +x_74 = l_Lean_Meta_introNCore(x_73, x_53, x_54, x_1, x_55, x_43, x_44, x_45, x_46, x_58); if (lean_obj_tag(x_74) == 0) { -lean_object* x_75; uint8_t x_76; +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_74, 0); lean_inc(x_75); -x_76 = lean_unbox(x_75); -lean_dec(x_75); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec(x_72); -lean_dec_ref(x_9); -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); if (lean_is_exclusive(x_74)) { lean_ctor_release(x_74, 0); lean_ctor_release(x_74, 1); - x_78 = x_74; + x_77 = x_74; } else { lean_dec_ref(x_74); - x_78 = lean_box(0); + x_77 = lean_box(0); } -x_79 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__2; -if (lean_is_scalar(x_78)) { - x_80 = lean_alloc_ctor(1, 2, 0); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_72); +lean_ctor_set(x_78, 1, x_75); +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 2, 0); } else { - x_80 = x_78; - lean_ctor_set_tag(x_80, 1); + x_79 = x_77; } -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_77); -return x_80; +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_76); +return x_79; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_dec(x_72); +x_80 = lean_ctor_get(x_74, 0); +lean_inc(x_80); x_81 = lean_ctor_get(x_74, 1); lean_inc(x_81); if (lean_is_exclusive(x_74)) { @@ -13749,1166 +14694,610 @@ if (lean_is_exclusive(x_74)) { lean_dec_ref(x_74); x_82 = lean_box(0); } -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_72); -lean_ctor_set(x_83, 1, x_9); if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 2, 0); + x_83 = lean_alloc_ctor(1, 2, 0); } else { - x_84 = x_82; + x_83 = x_82; } -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_81); -return x_84; +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_81); +return x_83; } } -else -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_72); -lean_dec_ref(x_9); -x_85 = lean_ctor_get(x_74, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_74, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_87 = x_74; -} else { - lean_dec_ref(x_74); - 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; -} -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -x_89 = lean_ctor_get(x_71, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_71, 1); -lean_inc(x_90); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_91 = x_71; -} else { - lean_dec_ref(x_71); - x_91 = lean_box(0); -} -if (lean_is_scalar(x_91)) { - x_92 = lean_alloc_ctor(1, 2, 0); -} else { - x_92 = x_91; -} -lean_ctor_set(x_92, 0, x_89); -lean_ctor_set(x_92, 1, x_90); -return x_92; -} -} -} -} -else -{ -uint8_t x_93; -lean_dec(x_17); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -lean_dec_ref(x_8); -lean_dec_ref(x_7); -x_93 = !lean_is_exclusive(x_22); -if (x_93 == 0) -{ -return x_22; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_22, 0); -x_95 = lean_ctor_get(x_22, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_22); -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; -} -} -} -else -{ -uint8_t x_97; -lean_dec(x_17); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -lean_dec_ref(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -x_97 = !lean_is_exclusive(x_19); -if (x_97 == 0) -{ -return x_19; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_19, 0); -x_99 = lean_ctor_get(x_19, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_19); -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; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__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, lean_object* x_7, 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_box(x_1); -lean_inc_ref(x_7); -lean_inc_ref(x_4); -x_15 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___boxed), 14, 7); -lean_closure_set(x_15, 0, x_14); -lean_closure_set(x_15, 1, x_2); -lean_closure_set(x_15, 2, x_3); -lean_closure_set(x_15, 3, x_4); -lean_closure_set(x_15, 4, x_5); -lean_closure_set(x_15, 5, x_6); -lean_closure_set(x_15, 6, x_7); -x_16 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs___redArg(x_4, x_7, x_15, x_9, x_10, x_11, x_12, x_13); -return x_16; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean.Meta.Tactic.Split", 22, 22); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("_private.Lean.Meta.Tactic.Split.0.Lean.Meta.Split.generalizeMatchDiscrs", 71, 71); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__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_List_forIn_x27_loop___at___List_forIn_x27_loop___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__8_spec__8___redArg___closed__2; -x_2 = lean_unsigned_to_nat(59u); -x_3 = lean_unsigned_to_nat(134u); -x_4 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__1; -x_5 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__0; -x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); -return x_6; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("targetNew:\n", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__5() { -_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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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) { -_start: -{ -if (x_1 == 0) -{ -lean_object* x_11; lean_object* x_12; -lean_inc(x_2); -x_11 = l_Lean_Meta_getMatcherInfo_x3f___at___Lean_Meta_matchMatcherApp_x3f___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__0_spec__0___redArg(x_2, x_9, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec_ref(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec_ref(x_11); -x_14 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__2; -x_15 = l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0(x_14, x_6, x_7, x_8, x_9, x_13); -return x_15; -} -else -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); -lean_dec_ref(x_11); -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) -{ -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_12, 0); -x_19 = l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(x_18); -x_20 = lean_box(x_1); -lean_inc_ref(x_4); -lean_inc(x_3); -x_21 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___boxed), 13, 6); -lean_closure_set(x_21, 0, x_20); -lean_closure_set(x_21, 1, x_3); -lean_closure_set(x_21, 2, x_2); -lean_closure_set(x_21, 3, x_4); -lean_closure_set(x_21, 4, x_18); -lean_closure_set(x_21, 5, x_19); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_22 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___redArg(x_5, x_21, x_1, x_6, x_7, x_8, x_9, x_16); -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; -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_ctor_get(x_23, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -lean_inc(x_3); -x_27 = l_Lean_MVarId_getTag(x_3, x_6, x_7, x_8, x_9, x_24); -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); -lean_inc_ref(x_6); -x_30 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_25, x_28, x_6, x_7, x_8, x_9, x_29); -if (lean_obj_tag(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_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -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); -x_79 = 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__3; -x_80 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_79, x_8, x_32); -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_free_object(x_12); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -lean_dec_ref(x_80); -x_33 = x_6; -x_34 = x_7; -x_35 = x_8; -x_36 = x_9; -x_37 = x_83; -goto block_78; } else { uint8_t x_84; -x_84 = !lean_is_exclusive(x_80); +lean_dec(x_53); +lean_dec(x_46); +lean_dec_ref(x_45); +lean_dec(x_44); +lean_dec_ref(x_43); +x_84 = !lean_is_exclusive(x_56); 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; -x_85 = lean_ctor_get(x_80, 1); -x_86 = lean_ctor_get(x_80, 0); -lean_dec(x_86); -x_87 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4; -x_88 = l_Lean_Expr_mvarId_x21(x_31); -lean_ctor_set(x_12, 0, x_88); -lean_ctor_set_tag(x_80, 7); -lean_ctor_set(x_80, 1, x_12); -lean_ctor_set(x_80, 0, x_87); -x_89 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_79, x_80, x_6, x_7, x_8, x_9, x_85); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec_ref(x_89); -x_33 = x_6; -x_34 = x_7; -x_35 = x_8; -x_36 = x_9; -x_37 = x_90; -goto block_78; +return x_56; } else { -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_91 = lean_ctor_get(x_80, 1); -lean_inc(x_91); -lean_dec(x_80); -x_92 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4; -x_93 = l_Lean_Expr_mvarId_x21(x_31); -lean_ctor_set(x_12, 0, x_93); -x_94 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_12); -x_95 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_79, x_94, x_6, x_7, x_8, x_9, x_91); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec_ref(x_95); -x_33 = x_6; -x_34 = x_7; -x_35 = x_8; -x_36 = x_9; -x_37 = x_96; -goto block_78; +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_56, 0); +x_86 = lean_ctor_get(x_56, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_56); +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; } } -block_78: -{ -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; lean_object* x_46; -lean_inc(x_31); -x_38 = l_Lean_mkAppN(x_31, x_4); -x_39 = l_Lean_mkAppN(x_38, x_26); -lean_dec(x_26); -x_40 = l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(x_3, x_39, x_34, x_37); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec_ref(x_40); -x_42 = l_Lean_Expr_mvarId_x21(x_31); -lean_dec(x_31); -x_43 = lean_array_get_size(x_4); -lean_dec_ref(x_4); -x_44 = lean_box(0); -x_45 = 1; -lean_inc(x_36); -lean_inc_ref(x_35); -lean_inc(x_34); -lean_inc_ref(x_33); -lean_inc(x_43); -x_46 = l_Lean_Meta_introNCore(x_42, x_43, x_44, x_1, x_45, x_33, x_34, x_35, x_36, x_41); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; -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_is_exclusive(x_47); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_47, 0); -x_51 = lean_ctor_get(x_47, 1); -x_52 = l_Lean_Meta_introNCore(x_51, x_43, x_44, x_1, x_45, x_33, x_34, x_35, x_36, x_48); -if (lean_obj_tag(x_52) == 0) -{ -uint8_t x_53; -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; -x_54 = lean_ctor_get(x_52, 0); -lean_ctor_set(x_47, 1, x_54); -lean_ctor_set(x_52, 0, x_47); -return x_52; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_52, 0); -x_56 = lean_ctor_get(x_52, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_52); -lean_ctor_set(x_47, 1, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_47); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -else -{ -uint8_t x_58; -lean_free_object(x_47); -lean_dec(x_50); -x_58 = !lean_is_exclusive(x_52); -if (x_58 == 0) -{ -return x_52; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_52, 0); -x_60 = lean_ctor_get(x_52, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_52); -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_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_47, 0); -x_63 = lean_ctor_get(x_47, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_47); -x_64 = l_Lean_Meta_introNCore(x_63, x_43, x_44, x_1, x_45, x_33, x_34, x_35, x_36, x_48); -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; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_67 = x_64; -} else { - lean_dec_ref(x_64); - x_67 = lean_box(0); -} -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_62); -lean_ctor_set(x_68, 1, x_65); -if (lean_is_scalar(x_67)) { - x_69 = lean_alloc_ctor(0, 2, 0); -} else { - x_69 = x_67; -} -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_66); -return x_69; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_62); -x_70 = lean_ctor_get(x_64, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_64, 1); -lean_inc(x_71); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_72 = x_64; -} else { - lean_dec_ref(x_64); - 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 -{ -uint8_t x_74; -lean_dec(x_43); +uint8_t x_107; lean_dec(x_36); -lean_dec_ref(x_35); -lean_dec(x_34); -lean_dec_ref(x_33); -x_74 = !lean_is_exclusive(x_46); -if (x_74 == 0) -{ -return x_46; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_46, 0); -x_76 = lean_ctor_get(x_46, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_46); -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 -{ -uint8_t x_97; -lean_dec(x_26); -lean_free_object(x_12); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_free_object(x_22); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec_ref(x_4); lean_dec(x_3); -x_97 = !lean_is_exclusive(x_30); -if (x_97 == 0) +x_107 = !lean_is_exclusive(x_40); +if (x_107 == 0) { -return x_30; +return x_40; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_30, 0); -x_99 = lean_ctor_get(x_30, 1); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_30); -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_101; -lean_dec(x_26); -lean_dec(x_25); -lean_free_object(x_12); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_4); -lean_dec(x_3); -x_101 = !lean_is_exclusive(x_27); -if (x_101 == 0) -{ -return x_27; -} -else -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_27, 0); -x_103 = lean_ctor_get(x_27, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_27); -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_free_object(x_12); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_4); -lean_dec(x_3); -x_105 = !lean_is_exclusive(x_22); -if (x_105 == 0) -{ -return x_22; -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_22, 0); -x_107 = lean_ctor_get(x_22, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_22); -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; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_109 = lean_ctor_get(x_12, 0); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_40, 0); +x_109 = lean_ctor_get(x_40, 1); lean_inc(x_109); -lean_dec(x_12); -x_110 = l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(x_109); -x_111 = lean_box(x_1); +lean_inc(x_108); +lean_dec(x_40); +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_36); +lean_dec(x_35); +lean_free_object(x_22); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_4); +lean_dec(x_3); +x_111 = !lean_is_exclusive(x_37); +if (x_111 == 0) +{ +return x_37; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_37, 0); +x_113 = lean_ctor_get(x_37, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_37); +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; +} +} +} +else +{ +uint8_t x_115; +lean_free_object(x_22); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_4); +lean_dec(x_3); +x_115 = !lean_is_exclusive(x_32); +if (x_115 == 0) +{ +return x_32; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_32, 0); +x_117 = lean_ctor_get(x_32, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_32); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_119 = lean_ctor_get(x_22, 0); +lean_inc(x_119); +lean_dec(x_22); +x_120 = l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(x_119); +x_121 = lean_box(x_1); lean_inc_ref(x_4); lean_inc(x_3); -x_112 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___boxed), 13, 6); -lean_closure_set(x_112, 0, x_111); -lean_closure_set(x_112, 1, x_3); -lean_closure_set(x_112, 2, x_2); -lean_closure_set(x_112, 3, x_4); -lean_closure_set(x_112, 4, x_109); -lean_closure_set(x_112, 5, x_110); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_113 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___redArg(x_5, x_112, x_1, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_113) == 0) +x_122 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___boxed), 14, 7); +lean_closure_set(x_122, 0, x_121); +lean_closure_set(x_122, 1, x_3); +lean_closure_set(x_122, 2, x_2); +lean_closure_set(x_122, 3, x_4); +lean_closure_set(x_122, 4, x_119); +lean_closure_set(x_122, 5, x_120); +lean_closure_set(x_122, 6, x_5); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_123 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(x_6, x_122, x_1, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_123) == 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); -lean_dec_ref(x_113); -x_116 = lean_ctor_get(x_114, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_114, 1); -lean_inc(x_117); -lean_dec(x_114); -lean_inc(x_3); -x_118 = l_Lean_MVarId_getTag(x_3, x_6, x_7, x_8, x_9, x_115); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -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); -lean_inc_ref(x_6); -x_121 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_116, x_119, x_6, x_7, x_8, x_9, x_120); -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_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -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_158 = 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__3; -x_159 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_158, x_8, x_123); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_unbox(x_160); -lean_dec(x_160); -if (x_161 == 0) -{ -lean_object* x_162; -x_162 = lean_ctor_get(x_159, 1); -lean_inc(x_162); -lean_dec_ref(x_159); -x_124 = x_6; -x_125 = x_7; -x_126 = x_8; -x_127 = x_9; -x_128 = x_162; -goto block_157; -} -else -{ -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_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 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4; -x_166 = l_Lean_Expr_mvarId_x21(x_122); -x_167 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_167, 0, x_166); -if (lean_is_scalar(x_164)) { - x_168 = lean_alloc_ctor(7, 2, 0); -} else { - x_168 = x_164; - lean_ctor_set_tag(x_168, 7); -} -lean_ctor_set(x_168, 0, x_165); -lean_ctor_set(x_168, 1, x_167); -x_169 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_158, x_168, x_6, x_7, x_8, x_9, x_163); -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec_ref(x_169); -x_124 = x_6; -x_125 = x_7; -x_126 = x_8; -x_127 = x_9; -x_128 = x_170; -goto block_157; -} -block_157: -{ -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_137; -lean_inc(x_122); -x_129 = l_Lean_mkAppN(x_122, x_4); -x_130 = l_Lean_mkAppN(x_129, x_117); -lean_dec(x_117); -x_131 = l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(x_3, x_130, x_125, x_128); -x_132 = lean_ctor_get(x_131, 1); -lean_inc(x_132); -lean_dec_ref(x_131); -x_133 = l_Lean_Expr_mvarId_x21(x_122); -lean_dec(x_122); -x_134 = lean_array_get_size(x_4); -lean_dec_ref(x_4); -x_135 = lean_box(0); -x_136 = 1; -lean_inc(x_127); -lean_inc_ref(x_126); +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); lean_inc(x_125); -lean_inc_ref(x_124); -lean_inc(x_134); -x_137 = l_Lean_Meta_introNCore(x_133, x_134, x_135, x_1, x_136, x_124, x_125, x_126, x_127, x_132); -if (lean_obj_tag(x_137) == 0) +lean_dec_ref(x_123); +x_126 = lean_ctor_get(x_124, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_124, 1); +lean_inc(x_127); +lean_dec(x_124); +lean_inc(x_3); +x_128 = l_Lean_MVarId_getTag(x_3, x_7, x_8, x_9, x_10, x_125); +if (lean_obj_tag(x_128) == 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; -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_ctor_get(x_138, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_138, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_142 = x_138; -} else { - lean_dec_ref(x_138); - x_142 = lean_box(0); -} -x_143 = l_Lean_Meta_introNCore(x_141, x_134, x_135, x_1, x_136, x_124, x_125, x_126, x_127, x_139); -if (lean_obj_tag(x_143) == 0) +lean_object* x_129; lean_object* x_130; lean_object* x_131; +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); +lean_inc_ref(x_7); +x_131 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_126, x_129, x_7, x_8, x_9, x_10, x_130); +if (lean_obj_tag(x_131) == 0) { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); -lean_inc(x_145); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - lean_ctor_release(x_143, 1); - x_146 = x_143; -} else { - lean_dec_ref(x_143); - x_146 = lean_box(0); -} -if (lean_is_scalar(x_142)) { - x_147 = lean_alloc_ctor(0, 2, 0); -} else { - x_147 = x_142; -} -lean_ctor_set(x_147, 0, x_140); -lean_ctor_set(x_147, 1, x_144); -if (lean_is_scalar(x_146)) { - x_148 = lean_alloc_ctor(0, 2, 0); -} else { - x_148 = x_146; -} -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_145); -return x_148; -} -else +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_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec_ref(x_131); +x_168 = 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__3; +x_169 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_168, x_9, x_133); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_unbox(x_170); +lean_dec(x_170); +if (x_171 == 0) { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -lean_dec(x_142); -lean_dec(x_140); -x_149 = lean_ctor_get(x_143, 0); -lean_inc(x_149); -x_150 = lean_ctor_get(x_143, 1); -lean_inc(x_150); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - lean_ctor_release(x_143, 1); - x_151 = x_143; -} else { - lean_dec_ref(x_143); - x_151 = lean_box(0); -} -if (lean_is_scalar(x_151)) { - x_152 = lean_alloc_ctor(1, 2, 0); -} else { - x_152 = x_151; -} -lean_ctor_set(x_152, 0, x_149); -lean_ctor_set(x_152, 1, x_150); -return x_152; -} -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -lean_dec(x_134); -lean_dec(x_127); -lean_dec_ref(x_126); -lean_dec(x_125); -lean_dec_ref(x_124); -x_153 = lean_ctor_get(x_137, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_137, 1); -lean_inc(x_154); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_155 = x_137; -} else { - lean_dec_ref(x_137); - x_155 = lean_box(0); -} -if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(1, 2, 0); -} else { - x_156 = x_155; -} -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_154); -return x_156; -} -} -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -lean_dec(x_117); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_4); -lean_dec(x_3); -x_171 = lean_ctor_get(x_121, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_121, 1); +lean_object* x_172; +x_172 = lean_ctor_get(x_169, 1); lean_inc(x_172); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_173 = x_121; -} else { - lean_dec_ref(x_121); - x_173 = lean_box(0); -} -if (lean_is_scalar(x_173)) { - x_174 = lean_alloc_ctor(1, 2, 0); -} else { - x_174 = x_173; -} -lean_ctor_set(x_174, 0, x_171); -lean_ctor_set(x_174, 1, x_172); -return x_174; -} +lean_dec_ref(x_169); +x_134 = x_7; +x_135 = x_8; +x_136 = x_9; +x_137 = x_10; +x_138 = x_172; +goto block_167; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -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_ref(x_4); -lean_dec(x_3); -x_175 = lean_ctor_get(x_118, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_118, 1); -lean_inc(x_176); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_177 = x_118; +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; +x_173 = lean_ctor_get(x_169, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_174 = x_169; } else { - lean_dec_ref(x_118); - x_177 = lean_box(0); + lean_dec_ref(x_169); + x_174 = lean_box(0); } -if (lean_is_scalar(x_177)) { - x_178 = lean_alloc_ctor(1, 2, 0); +x_175 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5; +x_176 = l_Lean_Expr_mvarId_x21(x_132); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_176); +if (lean_is_scalar(x_174)) { + x_178 = lean_alloc_ctor(7, 2, 0); } else { - x_178 = x_177; + x_178 = x_174; + lean_ctor_set_tag(x_178, 7); } lean_ctor_set(x_178, 0, x_175); -lean_ctor_set(x_178, 1, x_176); -return x_178; +lean_ctor_set(x_178, 1, x_177); +x_179 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_168, x_178, x_7, x_8, x_9, x_10, x_173); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +lean_dec_ref(x_179); +x_134 = x_7; +x_135 = x_8; +x_136 = x_9; +x_137 = x_10; +x_138 = x_180; +goto block_167; +} +block_167: +{ +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; uint8_t x_146; lean_object* x_147; +lean_inc(x_132); +x_139 = l_Lean_mkAppN(x_132, x_4); +x_140 = l_Lean_mkAppN(x_139, x_127); +lean_dec(x_127); +x_141 = l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___redArg(x_3, x_140, x_135, x_138); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec_ref(x_141); +x_143 = l_Lean_Expr_mvarId_x21(x_132); +lean_dec(x_132); +x_144 = lean_array_get_size(x_4); +lean_dec_ref(x_4); +x_145 = lean_box(0); +x_146 = 1; +lean_inc(x_137); +lean_inc_ref(x_136); +lean_inc(x_135); +lean_inc_ref(x_134); +lean_inc(x_144); +x_147 = l_Lean_Meta_introNCore(x_143, x_144, x_145, x_1, x_146, x_134, x_135, x_136, x_137, x_142); +if (lean_obj_tag(x_147) == 0) +{ +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_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec_ref(x_147); +x_150 = lean_ctor_get(x_148, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_148, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_148)) { + lean_ctor_release(x_148, 0); + lean_ctor_release(x_148, 1); + x_152 = x_148; +} else { + lean_dec_ref(x_148); + x_152 = lean_box(0); +} +x_153 = l_Lean_Meta_introNCore(x_151, x_144, x_145, x_1, x_146, x_134, x_135, x_136, x_137, x_149); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_156 = x_153; +} else { + lean_dec_ref(x_153); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_152)) { + x_157 = lean_alloc_ctor(0, 2, 0); +} else { + x_157 = x_152; +} +lean_ctor_set(x_157, 0, x_150); +lean_ctor_set(x_157, 1, x_154); +if (lean_is_scalar(x_156)) { + x_158 = lean_alloc_ctor(0, 2, 0); +} else { + x_158 = x_156; +} +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_155); +return x_158; +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec(x_152); +lean_dec(x_150); +x_159 = lean_ctor_get(x_153, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_153, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_161 = x_153; +} else { + lean_dec_ref(x_153); + 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_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_144); +lean_dec(x_137); +lean_dec_ref(x_136); +lean_dec(x_135); +lean_dec_ref(x_134); +x_163 = lean_ctor_get(x_147, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_147, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_165 = x_147; +} else { + lean_dec_ref(x_147); + 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_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_127); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); lean_dec_ref(x_4); lean_dec(x_3); -x_179 = lean_ctor_get(x_113, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_113, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_113)) { - lean_ctor_release(x_113, 0); - lean_ctor_release(x_113, 1); - x_181 = x_113; +x_181 = lean_ctor_get(x_131, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_131, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + lean_ctor_release(x_131, 1); + x_183 = x_131; } else { - lean_dec_ref(x_113); - x_181 = lean_box(0); + lean_dec_ref(x_131); + x_183 = lean_box(0); } -if (lean_is_scalar(x_181)) { - x_182 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); } else { - x_182 = x_181; + x_184 = x_183; } -lean_ctor_set(x_182, 0, x_179); -lean_ctor_set(x_182, 1, x_180); -return x_182; +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_127); +lean_dec(x_126); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_4); +lean_dec(x_3); +x_185 = lean_ctor_get(x_128, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_128, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_187 = x_128; +} else { + lean_dec_ref(x_128); + 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 +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_4); +lean_dec(x_3); +x_189 = lean_ctor_get(x_123, 0); +lean_inc(x_189); +x_190 = lean_ctor_get(x_123, 1); +lean_inc(x_190); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_191 = x_123; +} else { + lean_dec_ref(x_123); + x_191 = lean_box(0); +} +if (lean_is_scalar(x_191)) { + x_192 = lean_alloc_ctor(1, 2, 0); +} else { + x_192 = x_191; +} +lean_ctor_set(x_192, 0, x_189); +lean_ctor_set(x_192, 1, x_190); +return x_192; } } } } else { -size_t x_183; size_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); +lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; lean_dec_ref(x_6); lean_dec_ref(x_5); lean_dec(x_2); -x_183 = lean_array_size(x_4); -x_184 = 0; -x_185 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__8(x_183, x_184, x_4); -x_186 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__5; -x_187 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_3); -x_188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_188, 0, x_185); -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_10); -return x_189; +x_193 = 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__13_spec__13___closed__3; +x_194 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_193, x_9, x_11); +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +x_196 = lean_unbox(x_195); +lean_dec(x_195); +if (x_196 == 0) +{ +lean_object* x_197; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_197 = lean_ctor_get(x_194, 1); +lean_inc(x_197); +lean_dec_ref(x_194); +x_12 = x_197; +goto block_20; +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_198 = lean_ctor_get(x_194, 1); +lean_inc(x_198); +lean_dec_ref(x_194); +x_199 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__7; +x_200 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_193, x_199, x_7, x_8, x_9, x_10, x_198); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_201 = lean_ctor_get(x_200, 1); +lean_inc(x_201); +lean_dec_ref(x_200); +x_12 = x_201; +goto block_20; +} +} +block_20: +{ +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; +x_13 = lean_array_size(x_4); +x_14 = 0; +x_15 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0(x_13, x_14, x_4); +x_16 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___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_3); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_15); +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_12); +return x_19; } } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_array_get_size(x_4); -x_19 = lean_nat_dec_lt(x_17, x_18); -if (x_19 == 0) +lean_object* x_10; uint8_t x_11; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_10 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___boxed), 6, 0); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_get_size(x_4); +x_20 = lean_nat_dec_lt(x_18, x_19); +if (x_20 == 0) { -lean_dec(x_18); -goto block_16; +lean_dec(x_19); +goto block_17; } else { -if (x_19 == 0) +if (x_20 == 0) { -lean_dec(x_18); -goto block_16; +lean_dec(x_19); +goto block_17; } else { -size_t x_20; size_t x_21; uint8_t x_22; -x_20 = 0; -x_21 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_22 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__9(x_4, x_20, x_21); -if (x_22 == 0) +size_t x_21; size_t x_22; uint8_t x_23; +x_21 = 0; +x_22 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_23 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__9(x_4, x_21, x_22); +if (x_23 == 0) { -goto block_16; +goto block_17; } else { -uint8_t x_23; -x_23 = 0; -x_10 = x_23; -goto block_14; +uint8_t x_24; +x_24 = 0; +x_11 = x_24; +goto block_15; } } } -block_14: +block_15: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_box(x_10); +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_box(x_11); lean_inc(x_1); -x_12 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___boxed), 10, 5); -lean_closure_set(x_12, 0, x_11); -lean_closure_set(x_12, 1, x_2); -lean_closure_set(x_12, 2, x_1); -lean_closure_set(x_12, 3, x_4); -lean_closure_set(x_12, 4, x_3); -x_13 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_1, x_12, x_5, x_6, x_7, x_8, x_9); -return x_13; +x_13 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___boxed), 11, 6); +lean_closure_set(x_13, 0, x_12); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_1); +lean_closure_set(x_13, 3, x_4); +lean_closure_set(x_13, 4, x_10); +lean_closure_set(x_13, 5, x_3); +x_14 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_1, x_13, x_5, x_6, x_7, x_8, x_9); +return x_14; } -block_16: +block_17: { -uint8_t x_15; -x_15 = 1; -x_10 = x_15; -goto block_14; +uint8_t x_16; +x_16 = 1; +x_11 = x_16; +goto block_15; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_3); -x_10 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___redArg(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_4); -x_11 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___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; lean_object* x_7; -x_6 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_7 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4___redArg(x_6, x_2, x_3, x_4, x_5); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_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) { -_start: -{ -size_t x_8; lean_object* x_9; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2_spec__4(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -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_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg(x_1, x_6, x_7, x_4, x_5); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2(x_1, x_2, x_7, x_8, x_5, x_6); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___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_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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: -{ -lean_object* x_8; -x_8 = l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__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); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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; @@ -14916,10 +15305,97 @@ 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_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__8(x_4, x_5, x_3); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0(x_4, x_5, x_3); return x_6; } } +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +x_10 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2___redArg(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_4); +x_11 = l_Lean_Meta_forallTelescope___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___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; lean_object* x_7; +x_6 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_7 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5___redArg(x_6, x_2, x_3, x_4, x_5); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_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: +{ +size_t x_8; lean_object* x_9; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3_spec__5(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +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_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3(x_1, x_2, x_7, x_8, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___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_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3___redArg(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_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_Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__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); +return x_8; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -14934,32 +15410,44 @@ x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_1); +x_17 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1(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); +return x_17; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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: { uint8_t x_15; lean_object* x_16; x_15 = lean_unbox(x_1); -x_16 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0(x_15, 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_16 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2(x_15, 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_9); return x_16; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_1); -x_15 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__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, x_13); -lean_dec_ref(x_8); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___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: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -x_12 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_1); +x_13 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3(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; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs_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) { @@ -16663,7 +17151,7 @@ static lean_object* _init_l_Lean_Meta_Split_applyMatchSplitter___closed__14() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("applyMatchSplitter\n", 19, 19); +x_1 = lean_mk_string_unchecked("after generalizeMatchPropDiscrs\n", 32, 32); return x_1; } } @@ -16676,6 +17164,23 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } +static lean_object* _init_l_Lean_Meta_Split_applyMatchSplitter___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("applyMatchSplitter\n", 19, 19); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Split_applyMatchSplitter___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Split_applyMatchSplitter___closed__16; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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: { @@ -16798,7 +17303,7 @@ lean_inc_ref(x_6); x_42 = l_Lean_Meta_whnfForall(x_40, x_6, x_7, x_8, x_9, x_41); 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; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t 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_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; size_t 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_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_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_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_240; +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_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_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; size_t x_82; uint8_t 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_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_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_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_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_276; x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); x_44 = lean_ctor_get(x_42, 1); @@ -16819,39 +17324,39 @@ if (lean_is_exclusive(x_46)) { x_49 = lean_box(0); } x_50 = lean_unsigned_to_nat(0u); -x_160 = l_Lean_Expr_bindingDomain_x21(x_43); +x_161 = l_Lean_Expr_bindingDomain_x21(x_43); lean_dec(x_43); -x_240 = lean_unbox(x_47); +x_276 = lean_unbox(x_47); lean_dec(x_47); -if (x_240 == 0) +if (x_276 == 0) { -x_204 = x_6; -x_205 = x_7; -x_206 = x_8; -x_207 = x_9; -x_208 = x_48; -goto block_239; +x_244 = x_6; +x_245 = x_7; +x_246 = x_8; +x_247 = x_9; +x_248 = x_48; +goto block_275; } else { -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_241 = l_Lean_Meta_Split_applyMatchSplitter___closed__15; +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; +x_277 = l_Lean_Meta_Split_applyMatchSplitter___closed__17; lean_inc(x_1); -x_242 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_242, 0, x_1); -x_243 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set(x_243, 1, x_242); -x_244 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_243, x_6, x_7, x_8, x_9, x_48); -x_245 = lean_ctor_get(x_244, 1); -lean_inc(x_245); -lean_dec_ref(x_244); -x_204 = x_6; -x_205 = x_7; -x_206 = x_8; -x_207 = x_9; -x_208 = x_245; -goto block_239; +x_278 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_278, 0, x_1); +x_279 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_279, 0, x_277); +lean_ctor_set(x_279, 1, x_278); +x_280 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_279, x_6, x_7, x_8, x_9, x_48); +x_281 = lean_ctor_get(x_280, 1); +lean_inc(x_281); +lean_dec_ref(x_280); +x_244 = x_6; +x_245 = x_7; +x_246 = x_8; +x_247 = x_9; +x_248 = x_281; +goto block_275; } block_75: { @@ -16862,32 +17367,32 @@ x_66 = l_Lean_mkConst(x_35, x_65); x_67 = l_Lean_mkAppN(x_66, x_4); x_68 = 1; x_69 = 1; -x_70 = lean_box(x_53); +x_70 = lean_box(x_55); x_71 = lean_box(x_68); x_72 = lean_box(x_69); x_73 = lean_alloc_closure((void*)(l_Lean_Meta_Split_applyMatchSplitter___lam__0___boxed), 19, 14); -lean_closure_set(x_73, 0, x_55); -lean_closure_set(x_73, 1, x_56); +lean_closure_set(x_73, 0, x_54); +lean_closure_set(x_73, 1, x_52); lean_closure_set(x_73, 2, x_70); lean_closure_set(x_73, 3, x_71); lean_closure_set(x_73, 4, x_72); lean_closure_set(x_73, 5, x_67); lean_closure_set(x_73, 6, x_45); lean_closure_set(x_73, 7, x_33); -lean_closure_set(x_73, 8, x_54); +lean_closure_set(x_73, 8, x_56); lean_closure_set(x_73, 9, x_50); -lean_closure_set(x_73, 10, x_52); +lean_closure_set(x_73, 10, x_57); lean_closure_set(x_73, 11, x_30); lean_closure_set(x_73, 12, x_51); -lean_closure_set(x_73, 13, x_57); +lean_closure_set(x_73, 13, x_53); x_74 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_58, x_73, x_60, x_61, x_62, x_63, x_64); return x_74; } block_121: { lean_object* x_90; -lean_inc(x_83); -x_90 = l_Lean_MVarId_getType(x_83, x_85, x_86, x_87, x_88, x_89); +lean_inc(x_84); +x_90 = l_Lean_MVarId_getType(x_84, x_85, x_86, x_87, x_88, x_89); if (lean_obj_tag(x_90) == 0) { lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; @@ -16903,8 +17408,8 @@ lean_inc(x_88); lean_inc_ref(x_87); lean_inc(x_86); lean_inc_ref(x_85); -lean_inc(x_83); -x_94 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_83, x_93, x_85, x_86, x_87, x_88, x_92); +lean_inc(x_84); +x_94 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_84, x_93, x_85, x_86, x_87, x_88, x_92); if (lean_obj_tag(x_94) == 0) { lean_object* x_95; lean_object* x_96; lean_object* x_97; size_t x_98; lean_object* x_99; @@ -16914,8 +17419,8 @@ x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); lean_dec_ref(x_94); x_97 = lean_ctor_get(x_30, 3); -x_98 = lean_array_size(x_84); -x_99 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Meta_Split_applyMatchSplitter_spec__0(x_98, x_82, x_84); +x_98 = lean_array_size(x_81); +x_99 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Meta_Split_applyMatchSplitter_spec__0(x_98, x_82, x_81); if (lean_obj_tag(x_97) == 0) { uint8_t x_100; @@ -16926,17 +17431,17 @@ if (x_100 == 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; uint8_t x_107; lean_dec_ref(x_99); lean_dec(x_91); -lean_dec(x_83); -lean_dec_ref(x_80); +lean_dec(x_84); +lean_dec(x_80); lean_dec(x_79); -lean_dec(x_78); +lean_dec_ref(x_77); lean_dec(x_76); lean_inc(x_35); lean_dec(x_33); lean_dec(x_30); lean_dec_ref(x_3); x_101 = l_Lean_Meta_Split_applyMatchSplitter___closed__5; -x_102 = l_Lean_MessageData_ofConstName(x_35, x_81); +x_102 = l_Lean_MessageData_ofConstName(x_35, x_83); if (lean_is_scalar(x_49)) { x_103 = lean_alloc_ctor(7, 2, 0); } else { @@ -16983,13 +17488,13 @@ else lean_dec(x_49); lean_dec(x_29); x_51 = x_76; -x_52 = x_78; +x_52 = x_91; x_53 = x_77; -x_54 = x_79; -x_55 = x_99; -x_56 = x_91; +x_54 = x_99; +x_55 = x_78; +x_56 = x_79; x_57 = x_80; -x_58 = x_83; +x_58 = x_84; x_59 = x_3; x_60 = x_85; x_61 = x_86; @@ -17007,13 +17512,13 @@ lean_dec(x_29); x_111 = lean_ctor_get(x_97, 0); x_112 = lean_array_set(x_3, x_111, x_95); x_51 = x_76; -x_52 = x_78; +x_52 = x_91; x_53 = x_77; -x_54 = x_79; -x_55 = x_99; -x_56 = x_91; +x_54 = x_99; +x_55 = x_78; +x_56 = x_79; x_57 = x_80; -x_58 = x_83; +x_58 = x_84; x_59 = x_112; x_60 = x_85; x_61 = x_86; @@ -17031,11 +17536,11 @@ lean_dec(x_88); lean_dec_ref(x_87); lean_dec(x_86); lean_dec_ref(x_85); -lean_dec_ref(x_84); -lean_dec(x_83); -lean_dec_ref(x_80); +lean_dec(x_84); +lean_dec_ref(x_81); +lean_dec(x_80); lean_dec(x_79); -lean_dec(x_78); +lean_dec_ref(x_77); lean_dec(x_76); lean_dec(x_49); lean_dec(x_33); @@ -17069,11 +17574,11 @@ lean_dec(x_88); lean_dec_ref(x_87); lean_dec(x_86); lean_dec_ref(x_85); -lean_dec_ref(x_84); -lean_dec(x_83); -lean_dec_ref(x_80); +lean_dec(x_84); +lean_dec_ref(x_81); +lean_dec(x_80); lean_dec(x_79); -lean_dec(x_78); +lean_dec_ref(x_77); lean_dec(x_76); lean_dec(x_49); lean_dec(x_33); @@ -17100,151 +17605,151 @@ return x_120; } } } -block_159: +block_160: { -lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; -x_130 = lean_array_get_size(x_5); -lean_dec_ref(x_5); -x_131 = lean_box(0); -x_132 = 0; -lean_inc(x_128); -lean_inc_ref(x_127); -lean_inc(x_126); -lean_inc_ref(x_125); -lean_inc(x_130); -x_133 = l_Lean_Meta_introNCore(x_124, x_130, x_131, x_132, x_132, x_125, x_126, x_127, x_128, x_129); -if (lean_obj_tag(x_133) == 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; uint8_t x_140; -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_ctor_get(x_134, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_134, 1); -lean_inc(x_137); -lean_dec(x_134); -x_138 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_45, x_127, x_135); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_unbox(x_139); -lean_dec(x_139); -if (x_140 == 0) -{ -lean_object* x_141; -lean_dec(x_31); -x_141 = lean_ctor_get(x_138, 1); -lean_inc(x_141); -lean_dec_ref(x_138); -lean_inc(x_137); -x_76 = x_130; -x_77 = x_132; -x_78 = x_131; -x_79 = x_137; -x_80 = x_122; -x_81 = x_132; -x_82 = x_123; -x_83 = x_137; -x_84 = x_136; -x_85 = x_125; -x_86 = x_126; -x_87 = x_127; -x_88 = x_128; -x_89 = x_141; -goto block_121; -} -else -{ -uint8_t x_142; -x_142 = !lean_is_exclusive(x_138); -if (x_142 == 0) -{ -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_143 = lean_ctor_get(x_138, 1); -x_144 = lean_ctor_get(x_138, 0); -lean_dec(x_144); -x_145 = l_Lean_Meta_Split_applyMatchSplitter___closed__9; -lean_inc(x_137); -if (lean_is_scalar(x_31)) { - x_146 = lean_alloc_ctor(1, 1, 0); -} else { - x_146 = x_31; -} -lean_ctor_set(x_146, 0, x_137); -lean_ctor_set_tag(x_138, 7); -lean_ctor_set(x_138, 1, x_146); -lean_ctor_set(x_138, 0, x_145); -x_147 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_138, x_125, x_126, x_127, x_128, x_143); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec_ref(x_147); -lean_inc(x_137); -x_76 = x_130; -x_77 = x_132; -x_78 = x_131; -x_79 = x_137; -x_80 = x_122; -x_81 = x_132; -x_82 = x_123; -x_83 = x_137; -x_84 = x_136; -x_85 = x_125; -x_86 = x_126; -x_87 = x_127; -x_88 = x_128; -x_89 = x_148; -goto block_121; -} -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; -x_149 = lean_ctor_get(x_138, 1); -lean_inc(x_149); -lean_dec(x_138); -x_150 = l_Lean_Meta_Split_applyMatchSplitter___closed__9; -lean_inc(x_137); -if (lean_is_scalar(x_31)) { - x_151 = lean_alloc_ctor(1, 1, 0); -} else { - x_151 = x_31; -} -lean_ctor_set(x_151, 0, x_137); -x_152 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_152, x_125, x_126, x_127, x_128, x_149); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec_ref(x_153); -lean_inc(x_137); -x_76 = x_130; -x_77 = x_132; -x_78 = x_131; -x_79 = x_137; -x_80 = x_122; -x_81 = x_132; -x_82 = x_123; -x_83 = x_137; -x_84 = x_136; -x_85 = x_125; -x_86 = x_126; -x_87 = x_127; -x_88 = x_128; -x_89 = x_154; -goto block_121; -} -} -} -else -{ -uint8_t x_155; -lean_dec(x_130); -lean_dec(x_128); -lean_dec_ref(x_127); -lean_dec(x_126); +lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; +x_131 = lean_array_get_size(x_125); lean_dec_ref(x_125); +x_132 = lean_box(0); +x_133 = 0; +lean_inc(x_129); +lean_inc_ref(x_128); +lean_inc(x_127); +lean_inc_ref(x_126); +lean_inc(x_131); +x_134 = l_Lean_Meta_introNCore(x_124, x_131, x_132, x_133, x_133, x_126, x_127, x_128, x_129, x_130); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec_ref(x_134); +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 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_45, x_128, x_136); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_unbox(x_140); +lean_dec(x_140); +if (x_141 == 0) +{ +lean_object* x_142; +lean_dec(x_31); +x_142 = lean_ctor_get(x_139, 1); +lean_inc(x_142); +lean_dec_ref(x_139); +lean_inc(x_138); +x_76 = x_131; +x_77 = x_122; +x_78 = x_133; +x_79 = x_138; +x_80 = x_132; +x_81 = x_137; +x_82 = x_123; +x_83 = x_133; +x_84 = x_138; +x_85 = x_126; +x_86 = x_127; +x_87 = x_128; +x_88 = x_129; +x_89 = x_142; +goto block_121; +} +else +{ +uint8_t x_143; +x_143 = !lean_is_exclusive(x_139); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_144 = lean_ctor_get(x_139, 1); +x_145 = lean_ctor_get(x_139, 0); +lean_dec(x_145); +x_146 = l_Lean_Meta_Split_applyMatchSplitter___closed__9; +lean_inc(x_138); +if (lean_is_scalar(x_31)) { + x_147 = lean_alloc_ctor(1, 1, 0); +} else { + x_147 = x_31; +} +lean_ctor_set(x_147, 0, x_138); +lean_ctor_set_tag(x_139, 7); +lean_ctor_set(x_139, 1, x_147); +lean_ctor_set(x_139, 0, x_146); +x_148 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_139, x_126, x_127, x_128, x_129, x_144); +x_149 = lean_ctor_get(x_148, 1); +lean_inc(x_149); +lean_dec_ref(x_148); +lean_inc(x_138); +x_76 = x_131; +x_77 = x_122; +x_78 = x_133; +x_79 = x_138; +x_80 = x_132; +x_81 = x_137; +x_82 = x_123; +x_83 = x_133; +x_84 = x_138; +x_85 = x_126; +x_86 = x_127; +x_87 = x_128; +x_88 = x_129; +x_89 = x_149; +goto block_121; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_150 = lean_ctor_get(x_139, 1); +lean_inc(x_150); +lean_dec(x_139); +x_151 = l_Lean_Meta_Split_applyMatchSplitter___closed__9; +lean_inc(x_138); +if (lean_is_scalar(x_31)) { + x_152 = lean_alloc_ctor(1, 1, 0); +} else { + x_152 = x_31; +} +lean_ctor_set(x_152, 0, x_138); +x_153 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +x_154 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_153, x_126, x_127, x_128, x_129, x_150); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +lean_dec_ref(x_154); +lean_inc(x_138); +x_76 = x_131; +x_77 = x_122; +x_78 = x_133; +x_79 = x_138; +x_80 = x_132; +x_81 = x_137; +x_82 = x_123; +x_83 = x_133; +x_84 = x_138; +x_85 = x_126; +x_86 = x_127; +x_87 = x_128; +x_88 = x_129; +x_89 = x_155; +goto block_121; +} +} +} +else +{ +uint8_t x_156; +lean_dec(x_131); +lean_dec(x_129); +lean_dec_ref(x_128); +lean_dec(x_127); +lean_dec_ref(x_126); lean_dec_ref(x_122); lean_dec(x_49); lean_dec(x_33); @@ -17252,384 +17757,525 @@ lean_dec(x_31); lean_dec(x_30); lean_dec(x_29); lean_dec_ref(x_3); -x_155 = !lean_is_exclusive(x_133); -if (x_155 == 0) +x_156 = !lean_is_exclusive(x_134); +if (x_156 == 0) { -return x_133; +return x_134; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_156 = lean_ctor_get(x_133, 0); -x_157 = lean_ctor_get(x_133, 1); +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_134, 0); +x_158 = lean_ctor_get(x_134, 1); +lean_inc(x_158); lean_inc(x_157); -lean_inc(x_156); -lean_dec(x_133); -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; +lean_dec(x_134); +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; } } } -block_203: +block_205: { -size_t x_170; size_t x_171; lean_object* x_172; lean_object* x_173; -x_170 = lean_array_size(x_163); -x_171 = 0; -x_172 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Meta_Split_applyMatchSplitter_spec__0(x_170, x_171, x_163); +size_t x_172; size_t x_173; lean_object* x_174; lean_object* x_175; +x_172 = lean_array_size(x_163); +x_173 = 0; +x_174 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Meta_Split_applyMatchSplitter_spec__0(x_172, x_173, x_163); +lean_inc(x_170); +lean_inc_ref(x_169); lean_inc(x_168); lean_inc_ref(x_167); -lean_inc(x_166); -lean_inc_ref(x_165); -x_173 = l_Lean_Meta_generalizeTargetsEq(x_164, x_160, x_172, x_165, x_166, x_167, x_168, x_169); -if (lean_obj_tag(x_173) == 0) +x_175 = l_Lean_Meta_generalizeTargetsEq(x_164, x_161, x_174, x_167, x_168, x_169, x_170, x_171); +if (lean_obj_tag(x_175) == 0) { -lean_object* x_174; lean_object* x_175; lean_object* x_176; -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); -lean_inc(x_168); -lean_inc_ref(x_167); -lean_inc(x_166); -lean_inc_ref(x_165); -lean_inc(x_174); -x_176 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_174, x_162, x_165, x_166, x_167, x_168, x_175); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; -x_177 = lean_ctor_get(x_176, 1); +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_175, 1); lean_inc(x_177); -lean_dec_ref(x_176); -x_178 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_45, x_167, x_177); -x_179 = lean_ctor_get(x_178, 0); +lean_dec_ref(x_175); +lean_inc(x_170); +lean_inc_ref(x_169); +lean_inc(x_168); +lean_inc_ref(x_167); +lean_inc(x_176); +x_178 = l_Lean_MVarId_withContext___at___Lean_Meta_Split_simpMatchTarget_spec__1___redArg(x_176, x_165, x_167, x_168, x_169, x_170, x_177); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_179 = lean_ctor_get(x_178, 1); lean_inc(x_179); -x_180 = lean_unbox(x_179); -lean_dec(x_179); -if (x_180 == 0) -{ -lean_object* x_181; -x_181 = lean_ctor_get(x_178, 1); -lean_inc(x_181); lean_dec_ref(x_178); -x_122 = x_161; -x_123 = x_171; -x_124 = x_174; -x_125 = x_165; -x_126 = x_166; -x_127 = x_167; -x_128 = x_168; -x_129 = x_181; -goto block_159; -} -else -{ -uint8_t x_182; -x_182 = !lean_is_exclusive(x_178); +x_180 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_45, x_169, x_179); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +x_182 = lean_unbox(x_181); +lean_dec(x_181); if (x_182 == 0) { -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_183 = lean_ctor_get(x_178, 1); -x_184 = lean_ctor_get(x_178, 0); -lean_dec(x_184); -x_185 = l_Lean_Meta_Split_applyMatchSplitter___closed__11; -lean_inc(x_174); -x_186 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_186, 0, x_174); -lean_ctor_set_tag(x_178, 7); -lean_ctor_set(x_178, 1, x_186); -lean_ctor_set(x_178, 0, x_185); -x_187 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_178, x_165, x_166, x_167, x_168, x_183); -x_188 = lean_ctor_get(x_187, 1); -lean_inc(x_188); -lean_dec_ref(x_187); -x_122 = x_161; -x_123 = x_171; -x_124 = x_174; -x_125 = x_165; -x_126 = x_166; -x_127 = x_167; -x_128 = x_168; -x_129 = x_188; -goto block_159; +lean_object* x_183; +x_183 = lean_ctor_get(x_180, 1); +lean_inc(x_183); +lean_dec_ref(x_180); +x_122 = x_162; +x_123 = x_173; +x_124 = x_176; +x_125 = x_166; +x_126 = x_167; +x_127 = x_168; +x_128 = x_169; +x_129 = x_170; +x_130 = x_183; +goto block_160; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_189 = lean_ctor_get(x_178, 1); -lean_inc(x_189); -lean_dec(x_178); -x_190 = l_Lean_Meta_Split_applyMatchSplitter___closed__11; -lean_inc(x_174); -x_191 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_191, 0, x_174); -x_192 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_192, x_165, x_166, x_167, x_168, x_189); -x_194 = lean_ctor_get(x_193, 1); -lean_inc(x_194); -lean_dec_ref(x_193); -x_122 = x_161; -x_123 = x_171; -x_124 = x_174; -x_125 = x_165; -x_126 = x_166; -x_127 = x_167; -x_128 = x_168; -x_129 = x_194; -goto block_159; +uint8_t x_184; +x_184 = !lean_is_exclusive(x_180); +if (x_184 == 0) +{ +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_185 = lean_ctor_get(x_180, 1); +x_186 = lean_ctor_get(x_180, 0); +lean_dec(x_186); +x_187 = l_Lean_Meta_Split_applyMatchSplitter___closed__11; +lean_inc(x_176); +x_188 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_188, 0, x_176); +lean_ctor_set_tag(x_180, 7); +lean_ctor_set(x_180, 1, x_188); +lean_ctor_set(x_180, 0, x_187); +x_189 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_180, x_167, x_168, x_169, x_170, x_185); +x_190 = lean_ctor_get(x_189, 1); +lean_inc(x_190); +lean_dec_ref(x_189); +x_122 = x_162; +x_123 = x_173; +x_124 = x_176; +x_125 = x_166; +x_126 = x_167; +x_127 = x_168; +x_128 = x_169; +x_129 = x_170; +x_130 = x_190; +goto block_160; +} +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; +x_191 = lean_ctor_get(x_180, 1); +lean_inc(x_191); +lean_dec(x_180); +x_192 = l_Lean_Meta_Split_applyMatchSplitter___closed__11; +lean_inc(x_176); +x_193 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_193, 0, x_176); +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_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_194, x_167, x_168, x_169, x_170, x_191); +x_196 = lean_ctor_get(x_195, 1); +lean_inc(x_196); +lean_dec_ref(x_195); +x_122 = x_162; +x_123 = x_173; +x_124 = x_176; +x_125 = x_166; +x_126 = x_167; +x_127 = x_168; +x_128 = x_169; +x_129 = x_170; +x_130 = x_196; +goto block_160; } } } else { -uint8_t x_195; -lean_dec(x_174); +uint8_t x_197; +lean_dec(x_176); +lean_dec(x_170); +lean_dec_ref(x_169); lean_dec(x_168); lean_dec_ref(x_167); -lean_dec(x_166); -lean_dec_ref(x_165); -lean_dec_ref(x_161); +lean_dec_ref(x_166); +lean_dec_ref(x_162); lean_dec(x_49); lean_dec(x_33); lean_dec(x_31); lean_dec(x_30); lean_dec(x_29); -lean_dec_ref(x_5); lean_dec_ref(x_3); -x_195 = !lean_is_exclusive(x_176); -if (x_195 == 0) +x_197 = !lean_is_exclusive(x_178); +if (x_197 == 0) { -return x_176; +return x_178; } else { -lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_196 = lean_ctor_get(x_176, 0); -x_197 = lean_ctor_get(x_176, 1); -lean_inc(x_197); -lean_inc(x_196); -lean_dec(x_176); -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_object* x_198; lean_object* x_199; lean_object* x_200; +x_198 = lean_ctor_get(x_178, 0); +x_199 = lean_ctor_get(x_178, 1); +lean_inc(x_199); +lean_inc(x_198); +lean_dec(x_178); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +return x_200; } } } else { -uint8_t x_199; +uint8_t x_201; +lean_dec(x_170); +lean_dec_ref(x_169); lean_dec(x_168); lean_dec_ref(x_167); -lean_dec(x_166); +lean_dec_ref(x_166); lean_dec_ref(x_165); lean_dec_ref(x_162); +lean_dec(x_49); +lean_dec(x_33); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec_ref(x_3); +x_201 = !lean_is_exclusive(x_175); +if (x_201 == 0) +{ +return x_175; +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_175, 0); +x_203 = lean_ctor_get(x_175, 1); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_175); +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_243: +{ +lean_object* x_213; +lean_inc(x_211); +lean_inc_ref(x_210); +lean_inc(x_209); +lean_inc_ref(x_208); +lean_inc_ref(x_207); +lean_inc_ref(x_161); +x_213 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs(x_206, x_2, x_161, x_207, x_208, x_209, x_210, x_211, 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; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_214, 1); +lean_inc(x_215); +x_216 = lean_ctor_get(x_213, 1); +lean_inc(x_216); +lean_dec_ref(x_213); +x_217 = lean_ctor_get(x_214, 0); +lean_inc(x_217); +lean_dec(x_214); +x_218 = lean_ctor_get(x_215, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_215, 1); +lean_inc(x_219); +lean_dec(x_215); +x_220 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_45, x_210, x_216); +x_221 = !lean_is_exclusive(x_220); +if (x_221 == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +x_222 = lean_ctor_get(x_220, 0); +x_223 = lean_ctor_get(x_220, 1); +lean_inc(x_218); +x_224 = lean_alloc_closure((void*)(l_Lean_Meta_Split_applyMatchSplitter___lam__1___boxed), 7, 2); +lean_closure_set(x_224, 0, x_45); +lean_closure_set(x_224, 1, x_218); +x_225 = lean_unbox(x_222); +lean_dec(x_222); +if (x_225 == 0) +{ +lean_free_object(x_220); +x_162 = x_218; +x_163 = x_217; +x_164 = x_219; +x_165 = x_224; +x_166 = x_207; +x_167 = x_208; +x_168 = x_209; +x_169 = x_210; +x_170 = x_211; +x_171 = x_223; +goto block_205; +} +else +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_226 = l_Lean_Meta_Split_applyMatchSplitter___closed__13; +lean_inc(x_219); +x_227 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_227, 0, x_219); +lean_ctor_set_tag(x_220, 7); +lean_ctor_set(x_220, 1, x_227); +lean_ctor_set(x_220, 0, x_226); +x_228 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_220, x_208, x_209, x_210, x_211, x_223); +x_229 = lean_ctor_get(x_228, 1); +lean_inc(x_229); +lean_dec_ref(x_228); +x_162 = x_218; +x_163 = x_217; +x_164 = x_219; +x_165 = x_224; +x_166 = x_207; +x_167 = x_208; +x_168 = x_209; +x_169 = x_210; +x_170 = x_211; +x_171 = x_229; +goto block_205; +} +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; +x_230 = lean_ctor_get(x_220, 0); +x_231 = lean_ctor_get(x_220, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_220); +lean_inc(x_218); +x_232 = lean_alloc_closure((void*)(l_Lean_Meta_Split_applyMatchSplitter___lam__1___boxed), 7, 2); +lean_closure_set(x_232, 0, x_45); +lean_closure_set(x_232, 1, x_218); +x_233 = lean_unbox(x_230); +lean_dec(x_230); +if (x_233 == 0) +{ +x_162 = x_218; +x_163 = x_217; +x_164 = x_219; +x_165 = x_232; +x_166 = x_207; +x_167 = x_208; +x_168 = x_209; +x_169 = x_210; +x_170 = x_211; +x_171 = x_231; +goto block_205; +} +else +{ +lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_234 = l_Lean_Meta_Split_applyMatchSplitter___closed__13; +lean_inc(x_219); +x_235 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_235, 0, x_219); +x_236 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set(x_236, 1, x_235); +x_237 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_236, x_208, x_209, x_210, x_211, x_231); +x_238 = lean_ctor_get(x_237, 1); +lean_inc(x_238); +lean_dec_ref(x_237); +x_162 = x_218; +x_163 = x_217; +x_164 = x_219; +x_165 = x_232; +x_166 = x_207; +x_167 = x_208; +x_168 = x_209; +x_169 = x_210; +x_170 = x_211; +x_171 = x_238; +goto block_205; +} +} +} +else +{ +uint8_t x_239; +lean_dec(x_211); +lean_dec_ref(x_210); +lean_dec(x_209); +lean_dec_ref(x_208); +lean_dec_ref(x_207); lean_dec_ref(x_161); lean_dec(x_49); lean_dec(x_33); lean_dec(x_31); lean_dec(x_30); lean_dec(x_29); -lean_dec_ref(x_5); lean_dec_ref(x_3); -x_199 = !lean_is_exclusive(x_173); -if (x_199 == 0) +x_239 = !lean_is_exclusive(x_213); +if (x_239 == 0) { -return x_173; +return x_213; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_173, 0); -x_201 = lean_ctor_get(x_173, 1); -lean_inc(x_201); -lean_inc(x_200); -lean_dec(x_173); -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; +lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_240 = lean_ctor_get(x_213, 0); +x_241 = lean_ctor_get(x_213, 1); +lean_inc(x_241); +lean_inc(x_240); +lean_dec(x_213); +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_240); +lean_ctor_set(x_242, 1, x_241); +return x_242; } } } -block_239: +block_275: { -lean_object* x_209; -lean_inc(x_207); -lean_inc_ref(x_206); -lean_inc(x_205); -lean_inc_ref(x_204); -lean_inc_ref(x_5); -lean_inc_ref(x_160); -x_209 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs(x_1, x_2, x_160, x_5, x_204, x_205, x_206, x_207, x_208); -if (lean_obj_tag(x_209) == 0) +lean_object* x_249; +lean_inc(x_247); +lean_inc_ref(x_246); +lean_inc(x_245); +lean_inc_ref(x_244); +x_249 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs(x_1, x_5, x_244, x_245, x_246, x_247, x_248); +if (lean_obj_tag(x_249) == 0) { -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; uint8_t x_217; -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -x_212 = lean_ctor_get(x_209, 1); -lean_inc(x_212); -lean_dec_ref(x_209); -x_213 = lean_ctor_get(x_210, 0); -lean_inc(x_213); -lean_dec(x_210); -x_214 = lean_ctor_get(x_211, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_211, 1); -lean_inc(x_215); -lean_dec(x_211); -x_216 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_45, x_206, x_212); -x_217 = !lean_is_exclusive(x_216); -if (x_217 == 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; uint8_t x_256; +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_249, 1); +lean_inc(x_251); +lean_dec_ref(x_249); +x_252 = lean_ctor_get(x_250, 0); +lean_inc(x_252); +x_253 = lean_ctor_get(x_250, 1); +lean_inc(x_253); +lean_dec(x_250); +x_254 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_45, x_246, x_251); +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +x_256 = lean_unbox(x_255); +lean_dec(x_255); +if (x_256 == 0) { -lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_218 = lean_ctor_get(x_216, 0); -x_219 = lean_ctor_get(x_216, 1); -lean_inc(x_214); -x_220 = lean_alloc_closure((void*)(l_Lean_Meta_Split_applyMatchSplitter___lam__1___boxed), 7, 2); -lean_closure_set(x_220, 0, x_45); -lean_closure_set(x_220, 1, x_214); -x_221 = lean_unbox(x_218); -lean_dec(x_218); -if (x_221 == 0) -{ -lean_free_object(x_216); -x_161 = x_214; -x_162 = x_220; -x_163 = x_213; -x_164 = x_215; -x_165 = x_204; -x_166 = x_205; -x_167 = x_206; -x_168 = x_207; -x_169 = x_219; -goto block_203; +lean_object* x_257; +x_257 = lean_ctor_get(x_254, 1); +lean_inc(x_257); +lean_dec_ref(x_254); +x_206 = x_253; +x_207 = x_252; +x_208 = x_244; +x_209 = x_245; +x_210 = x_246; +x_211 = x_247; +x_212 = x_257; +goto block_243; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_222 = l_Lean_Meta_Split_applyMatchSplitter___closed__13; -lean_inc(x_215); -x_223 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_223, 0, x_215); -lean_ctor_set_tag(x_216, 7); -lean_ctor_set(x_216, 1, x_223); -lean_ctor_set(x_216, 0, x_222); -x_224 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_216, x_204, x_205, x_206, x_207, x_219); -x_225 = lean_ctor_get(x_224, 1); -lean_inc(x_225); -lean_dec_ref(x_224); -x_161 = x_214; -x_162 = x_220; -x_163 = x_213; -x_164 = x_215; -x_165 = x_204; -x_166 = x_205; -x_167 = x_206; -x_168 = x_207; -x_169 = x_225; -goto block_203; -} +uint8_t x_258; +x_258 = !lean_is_exclusive(x_254); +if (x_258 == 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; +x_259 = lean_ctor_get(x_254, 1); +x_260 = lean_ctor_get(x_254, 0); +lean_dec(x_260); +x_261 = l_Lean_Meta_Split_applyMatchSplitter___closed__15; +lean_inc(x_253); +x_262 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_262, 0, x_253); +lean_ctor_set_tag(x_254, 7); +lean_ctor_set(x_254, 1, x_262); +lean_ctor_set(x_254, 0, x_261); +x_263 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_254, x_244, x_245, x_246, x_247, x_259); +x_264 = lean_ctor_get(x_263, 1); +lean_inc(x_264); +lean_dec_ref(x_263); +x_206 = x_253; +x_207 = x_252; +x_208 = x_244; +x_209 = x_245; +x_210 = x_246; +x_211 = x_247; +x_212 = x_264; +goto block_243; } else { -lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_226 = lean_ctor_get(x_216, 0); -x_227 = lean_ctor_get(x_216, 1); -lean_inc(x_227); -lean_inc(x_226); -lean_dec(x_216); -lean_inc(x_214); -x_228 = lean_alloc_closure((void*)(l_Lean_Meta_Split_applyMatchSplitter___lam__1___boxed), 7, 2); -lean_closure_set(x_228, 0, x_45); -lean_closure_set(x_228, 1, x_214); -x_229 = lean_unbox(x_226); -lean_dec(x_226); -if (x_229 == 0) -{ -x_161 = x_214; -x_162 = x_228; -x_163 = x_213; -x_164 = x_215; -x_165 = x_204; -x_166 = x_205; -x_167 = x_206; -x_168 = x_207; -x_169 = x_227; -goto block_203; -} -else -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_230 = l_Lean_Meta_Split_applyMatchSplitter___closed__13; -lean_inc(x_215); -x_231 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_231, 0, x_215); -x_232 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -x_233 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_232, x_204, x_205, x_206, x_207, x_227); -x_234 = lean_ctor_get(x_233, 1); -lean_inc(x_234); -lean_dec_ref(x_233); -x_161 = x_214; -x_162 = x_228; -x_163 = x_213; -x_164 = x_215; -x_165 = x_204; -x_166 = x_205; -x_167 = x_206; -x_168 = x_207; -x_169 = x_234; -goto block_203; +lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_265 = lean_ctor_get(x_254, 1); +lean_inc(x_265); +lean_dec(x_254); +x_266 = l_Lean_Meta_Split_applyMatchSplitter___closed__15; +lean_inc(x_253); +x_267 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_267, 0, x_253); +x_268 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_268, 0, x_266); +lean_ctor_set(x_268, 1, x_267); +x_269 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_45, x_268, x_244, x_245, x_246, x_247, x_265); +x_270 = lean_ctor_get(x_269, 1); +lean_inc(x_270); +lean_dec_ref(x_269); +x_206 = x_253; +x_207 = x_252; +x_208 = x_244; +x_209 = x_245; +x_210 = x_246; +x_211 = x_247; +x_212 = x_270; +goto block_243; } } } else { -uint8_t x_235; -lean_dec(x_207); -lean_dec_ref(x_206); -lean_dec(x_205); -lean_dec_ref(x_204); -lean_dec_ref(x_160); +uint8_t x_271; +lean_dec(x_247); +lean_dec_ref(x_246); +lean_dec(x_245); +lean_dec_ref(x_244); +lean_dec_ref(x_161); lean_dec(x_49); lean_dec(x_33); lean_dec(x_31); lean_dec(x_30); lean_dec(x_29); -lean_dec_ref(x_5); lean_dec_ref(x_3); -x_235 = !lean_is_exclusive(x_209); -if (x_235 == 0) +lean_dec(x_2); +x_271 = !lean_is_exclusive(x_249); +if (x_271 == 0) { -return x_209; +return x_249; } else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_209, 0); -x_237 = lean_ctor_get(x_209, 1); -lean_inc(x_237); -lean_inc(x_236); -lean_dec(x_209); -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; +lean_object* x_272; lean_object* x_273; lean_object* x_274; +x_272 = lean_ctor_get(x_249, 0); +x_273 = lean_ctor_get(x_249, 1); +lean_inc(x_273); +lean_inc(x_272); +lean_dec(x_249); +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; } } } } else { -uint8_t x_246; +uint8_t x_282; lean_dec(x_33); lean_dec(x_31); lean_dec(x_30); @@ -17642,29 +18288,29 @@ lean_dec_ref(x_5); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_246 = !lean_is_exclusive(x_42); -if (x_246 == 0) +x_282 = !lean_is_exclusive(x_42); +if (x_282 == 0) { return x_42; } else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_247 = lean_ctor_get(x_42, 0); -x_248 = lean_ctor_get(x_42, 1); -lean_inc(x_248); -lean_inc(x_247); +lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_283 = lean_ctor_get(x_42, 0); +x_284 = lean_ctor_get(x_42, 1); +lean_inc(x_284); +lean_inc(x_283); lean_dec(x_42); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -return x_249; +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +return x_285; } } } else { -uint8_t x_250; +uint8_t x_286; lean_dec(x_33); lean_dec(x_31); lean_dec(x_30); @@ -17677,29 +18323,29 @@ lean_dec_ref(x_5); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_250 = !lean_is_exclusive(x_39); -if (x_250 == 0) +x_286 = !lean_is_exclusive(x_39); +if (x_286 == 0) { return x_39; } else { -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_39, 0); -x_252 = lean_ctor_get(x_39, 1); -lean_inc(x_252); -lean_inc(x_251); +lean_object* x_287; lean_object* x_288; lean_object* x_289; +x_287 = lean_ctor_get(x_39, 0); +x_288 = lean_ctor_get(x_39, 1); +lean_inc(x_288); +lean_inc(x_287); lean_dec(x_39); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_251); -lean_ctor_set(x_253, 1, x_252); -return x_253; +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_287); +lean_ctor_set(x_289, 1, x_288); +return x_289; } } } else { -uint8_t x_254; +uint8_t x_290; lean_dec(x_31); lean_dec(x_30); lean_dec(x_29); @@ -17711,23 +18357,23 @@ lean_dec_ref(x_5); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_254 = !lean_is_exclusive(x_32); -if (x_254 == 0) +x_290 = !lean_is_exclusive(x_32); +if (x_290 == 0) { return x_32; } else { -lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_255 = lean_ctor_get(x_32, 0); -x_256 = lean_ctor_get(x_32, 1); -lean_inc(x_256); -lean_inc(x_255); +lean_object* x_291; lean_object* x_292; lean_object* x_293; +x_291 = lean_ctor_get(x_32, 0); +x_292 = lean_ctor_get(x_32, 1); +lean_inc(x_292); +lean_inc(x_291); lean_dec(x_32); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_255); -lean_ctor_set(x_257, 1, x_256); -return x_257; +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; } } } @@ -18781,7 +19427,7 @@ static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitT _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("\n", 1, 1); +x_1 = lean_mk_string_unchecked("did not find term to split\n", 27, 27); return x_1; } } @@ -18794,23 +19440,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("did not find term to split\n", 27, 27); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__6; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go(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: { @@ -19121,13 +19750,13 @@ block_122: if (x_85 == 0) { uint8_t x_86; -lean_dec_ref(x_84); -x_86 = l_Lean_Meta_Split_isDiscrGenException(x_81); +lean_dec_ref(x_83); +x_86 = l_Lean_Meta_Split_isDiscrGenException(x_84); if (x_86 == 0) { lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; x_87 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__1; -x_88 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_87, x_8, x_82); +x_88 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_87, x_8, x_81); x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); x_90 = lean_unbox(x_89); @@ -19135,11 +19764,11 @@ lean_dec(x_89); if (x_90 == 0) { lean_object* x_91; -lean_dec_ref(x_81); +lean_dec_ref(x_84); x_91 = lean_ctor_get(x_88, 1); lean_inc(x_91); lean_dec_ref(x_88); -x_71 = x_83; +x_71 = x_82; x_72 = x_6; x_73 = x_7; x_74 = x_8; @@ -19158,16 +19787,16 @@ x_93 = lean_ctor_get(x_88, 1); x_94 = lean_ctor_get(x_88, 0); lean_dec(x_94); x_95 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__3; -lean_inc_ref(x_83); -x_96 = l_Lean_indentExpr(x_83); +lean_inc_ref(x_82); +x_96 = l_Lean_indentExpr(x_82); lean_ctor_set_tag(x_88, 7); lean_ctor_set(x_88, 1, x_96); lean_ctor_set(x_88, 0, x_95); -x_97 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__5; +x_97 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3; x_98 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_98, 0, x_88); lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Exception_toMessageData(x_81); +x_99 = l_Lean_Exception_toMessageData(x_84); x_100 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_100, 0, x_98); lean_ctor_set(x_100, 1, x_99); @@ -19175,7 +19804,7 @@ x_101 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Spl x_102 = lean_ctor_get(x_101, 1); lean_inc(x_102); lean_dec_ref(x_101); -x_71 = x_83; +x_71 = x_82; x_72 = x_6; x_73 = x_7; x_74 = x_8; @@ -19190,16 +19819,16 @@ x_103 = lean_ctor_get(x_88, 1); lean_inc(x_103); lean_dec(x_88); x_104 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__3; -lean_inc_ref(x_83); -x_105 = l_Lean_indentExpr(x_83); +lean_inc_ref(x_82); +x_105 = l_Lean_indentExpr(x_82); 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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__5; +x_107 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3; 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_Exception_toMessageData(x_81); +x_109 = l_Lean_Exception_toMessageData(x_84); x_110 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_110, 0, x_108); lean_ctor_set(x_110, 1, x_109); @@ -19207,7 +19836,7 @@ x_111 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Spl x_112 = lean_ctor_get(x_111, 1); lean_inc(x_112); lean_dec_ref(x_111); -x_71 = x_83; +x_71 = x_82; x_72 = x_6; x_73 = x_7; x_74 = x_8; @@ -19220,9 +19849,9 @@ goto block_80; else { lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -lean_dec_ref(x_81); +lean_dec_ref(x_84); x_113 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__1; -x_114 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_113, x_8, x_82); +x_114 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__11___redArg(x_113, x_8, x_81); x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); x_116 = lean_unbox(x_115); @@ -19233,7 +19862,7 @@ lean_object* x_117; x_117 = lean_ctor_get(x_114, 1); lean_inc(x_117); lean_dec_ref(x_114); -x_71 = x_83; +x_71 = x_82; x_72 = x_6; x_73 = x_7; x_74 = x_8; @@ -19247,13 +19876,13 @@ lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; x_118 = lean_ctor_get(x_114, 1); lean_inc(x_118); lean_dec_ref(x_114); -lean_inc_ref(x_83); -x_119 = l_Lean_Meta_Split_mkDiscrGenErrorMsg(x_83); +lean_inc_ref(x_82); +x_119 = l_Lean_Meta_Split_mkDiscrGenErrorMsg(x_82); x_120 = l_Lean_addTrace___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__12(x_113, x_119, x_6, x_7, x_8, x_9, x_118); x_121 = lean_ctor_get(x_120, 1); lean_inc(x_121); lean_dec_ref(x_120); -x_71 = x_83; +x_71 = x_82; x_72 = x_6; x_73 = x_7; x_74 = x_8; @@ -19265,8 +19894,8 @@ goto block_80; } else { -lean_dec_ref(x_83); -lean_dec_ref(x_81); +lean_dec_ref(x_84); +lean_dec_ref(x_82); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); @@ -19274,7 +19903,7 @@ lean_dec_ref(x_6); lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_1); -return x_84; +return x_83; } } block_185: @@ -19330,7 +19959,7 @@ lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; x_133 = lean_ctor_get(x_128, 1); x_134 = lean_ctor_get(x_128, 0); lean_dec(x_134); -x_135 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__7; +x_135 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__5; x_136 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_136, 0, x_1); lean_ctor_set_tag(x_128, 7); @@ -19353,7 +19982,7 @@ lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; x_139 = lean_ctor_get(x_128, 1); lean_inc(x_139); lean_dec(x_128); -x_140 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__7; +x_140 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__5; x_141 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_141, 0, x_1); x_142 = lean_alloc_ctor(7, 2, 0); @@ -19450,19 +20079,19 @@ if (x_159 == 0) { uint8_t x_160; x_160 = l_Lean_Exception_isRuntime(x_157); -x_81 = x_157; -x_82 = x_158; -x_83 = x_147; -x_84 = x_150; +x_81 = x_158; +x_82 = x_147; +x_83 = x_150; +x_84 = x_157; x_85 = x_160; goto block_122; } else { -x_81 = x_157; -x_82 = x_158; -x_83 = x_147; -x_84 = x_150; +x_81 = x_158; +x_82 = x_147; +x_83 = x_150; +x_84 = x_157; x_85 = x_159; goto block_122; } @@ -19485,19 +20114,19 @@ if (x_164 == 0) { uint8_t x_165; x_165 = l_Lean_Exception_isRuntime(x_161); -x_81 = x_161; -x_82 = x_162; -x_83 = x_147; -x_84 = x_163; +x_81 = x_162; +x_82 = x_147; +x_83 = x_163; +x_84 = x_161; x_85 = x_165; goto block_122; } else { -x_81 = x_161; -x_82 = x_162; -x_83 = x_147; -x_84 = x_163; +x_81 = x_162; +x_82 = x_147; +x_83 = x_163; +x_84 = x_161; x_85 = x_164; goto block_122; } @@ -19608,19 +20237,19 @@ if (x_179 == 0) { uint8_t x_180; x_180 = l_Lean_Exception_isRuntime(x_175); -x_81 = x_175; -x_82 = x_176; -x_83 = x_166; -x_84 = x_178; +x_81 = x_176; +x_82 = x_166; +x_83 = x_178; +x_84 = x_175; x_85 = x_180; goto block_122; } else { -x_81 = x_175; -x_82 = x_176; -x_83 = x_166; -x_84 = x_178; +x_81 = x_176; +x_82 = x_166; +x_83 = x_178; +x_84 = x_175; x_85 = x_179; goto block_122; } @@ -22066,6 +22695,7 @@ lean_object* initialize_Lean_Meta_Tactic_Generalize(uint8_t builtin, lean_object lean_object* initialize_Lean_Meta_Tactic_Simp_Types(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Simp_Main(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_SplitIf(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Tactic_Generalize(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Split(uint8_t builtin, lean_object* w) { lean_object * res; @@ -22089,6 +22719,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_SplitIf(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_Tactic_Generalize(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Meta_Split_getSimpMatchContext___redArg___closed__0 = _init_l_Lean_Meta_Split_getSimpMatchContext___redArg___closed__0(); lean_mark_persistent(l_Lean_Meta_Split_getSimpMatchContext___redArg___closed__0); l_Lean_Meta_Split_getSimpMatchContext___redArg___closed__1 = _init_l_Lean_Meta_Split_getSimpMatchContext___redArg___closed__1(); @@ -22147,6 +22780,10 @@ l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError__ lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___redArg___closed__1); l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___redArg___closed__2 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___redArg___closed__2(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_throwInternalMisuseError___redArg___closed__2); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs_spec__0___closed__0); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___boxed__const__1 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___boxed__const__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchPropDiscrs___boxed__const__1); l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__0 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__0(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__0); l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__1 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__1(); @@ -22296,30 +22933,42 @@ l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split lean_mark_persistent(l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17___closed__4); l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17___closed__5 = _init_l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17___closed__5(); lean_mark_persistent(l_Lean_Meta_transform___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget_spec__17___closed__5); -l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0___closed__0 = _init_l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0___closed__0(); -lean_mark_persistent(l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__0___closed__0); -l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__0 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__0(); -l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__1(); -l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__2(); -lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__2_spec__2_spec__2___redArg___closed__2); +l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___closed__0 = _init_l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___closed__0(); +lean_mark_persistent(l_panic___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__1___closed__0); +l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__0 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__0(); +l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__1(); +l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__2(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_MVarId_assign___at_____private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_spec__3_spec__3_spec__3___redArg___closed__2); l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__0 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__0(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__0); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__1 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__1); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__2 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__0___closed__2); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__0 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__0(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__0); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__1 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__1); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__2 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__2); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__3 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__3); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__4); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__5 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__2___closed__5); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__0 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__0(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__0); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__1 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__1); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__2 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__2); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__3); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__4 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__4); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__5 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__1___closed__5); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__0 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__0(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__0); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__1 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__1); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__2 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__2); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__3 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__3); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__4 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__4); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__5); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__6 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__6); +l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__7 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lam__3___closed__7); l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___boxed__const__1 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___boxed__const__1(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_substDiscrEqs___boxed__const__1); l_List_foldlM___at___Lean_Meta_Split_applyMatchSplitter_spec__2___closed__0 = _init_l_List_foldlM___at___Lean_Meta_Split_applyMatchSplitter_spec__2___closed__0(); @@ -22372,6 +23021,10 @@ l_Lean_Meta_Split_applyMatchSplitter___closed__14 = _init_l_Lean_Meta_Split_appl lean_mark_persistent(l_Lean_Meta_Split_applyMatchSplitter___closed__14); l_Lean_Meta_Split_applyMatchSplitter___closed__15 = _init_l_Lean_Meta_Split_applyMatchSplitter___closed__15(); lean_mark_persistent(l_Lean_Meta_Split_applyMatchSplitter___closed__15); +l_Lean_Meta_Split_applyMatchSplitter___closed__16 = _init_l_Lean_Meta_Split_applyMatchSplitter___closed__16(); +lean_mark_persistent(l_Lean_Meta_Split_applyMatchSplitter___closed__16); +l_Lean_Meta_Split_applyMatchSplitter___closed__17 = _init_l_Lean_Meta_Split_applyMatchSplitter___closed__17(); +lean_mark_persistent(l_Lean_Meta_Split_applyMatchSplitter___closed__17); l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__0 = _init_l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__0(); lean_mark_persistent(l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__0); l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__1 = _init_l_Lean_Meta_Split_mkDiscrGenErrorMsg___closed__1(); @@ -22396,10 +23049,6 @@ l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__4 = lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__4); l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__5 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__5(); lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__5); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__6 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__6); -l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__7 = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_splitTarget_x3f_go___closed__7); l_Lean_Meta_splitLocalDecl_x3f___lam__1___closed__0 = _init_l_Lean_Meta_splitLocalDecl_x3f___lam__1___closed__0(); lean_mark_persistent(l_Lean_Meta_splitLocalDecl_x3f___lam__1___closed__0); l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__0____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_initFn___closed__0____x40_Lean_Meta_Tactic_Split_3995480609____hygCtx___hyg_2_(); diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index 76b240ba01..72b7db052d 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -16,21 +16,21 @@ extern "C" { LEAN_EXPORT lean_object* l_Lean_Meta_consumeUnusedLet___boxed(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_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__10_spec__10___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfHeadPred(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_projectCore_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___boxed(lean_object*, lean_object*, lean_object*, 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_Meta_WHNF_0__Lean_Meta_isRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_whnfEasyCases___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_projectCore_x3f___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec(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_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_reduceRecMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_smartUnfoldingReduce_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__11; lean_object* l_Lean_mkNatLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get___at___Lean_Meta_unfoldDefinition_x3f_spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getConstInfoNoEx_x3f___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_shiftRight___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__4; +static lean_object* l_Lean_Expr_toCtorIfLit___closed__8; lean_object* l_List_lengthTR___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___Lean_Meta_mapLetDecl___at_____private_Lean_Meta_WHNF_0__Lean_Meta_smartUnfoldingReduce_x3f_go_spec__1_spec__1(lean_object*, lean_object*, lean_object*, 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_Meta_WHNF_0__Lean_Meta_cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -52,9 +52,12 @@ size_t lean_usize_shift_right(size_t, size_t); uint8_t l_Lean_ExprStructEq_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfImp_spec__9_spec__9___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_getStructuralRecArgPos_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); +lean_object* lean_uint32_to_nat(uint32_t); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__0_spec__0_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_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at_____private_Lean_Meta_WHNF_0__Lean_Meta_cache_spec__0_spec__0_spec__2___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__0___redArg___closed__2; @@ -89,15 +92,19 @@ double lean_float_div(double, double); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn___closed__0____x40_Lean_Meta_WHNF_4215588442____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_useEtaStruct___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2; LEAN_EXPORT lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isReducible___at___Lean_Meta_canUnfoldAtMatcher_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___Lean_Meta_mapLetDecl___at_____private_Lean_Meta_WHNF_0__Lean_Meta_smartUnfoldingReduce_x3f_go_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* l_Lean_Meta_isOffset_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__0_spec__0_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__17; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__0_spec__0_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__3; size_t lean_uint64_to_usize(uint64_t); uint64_t lean_uint64_lor(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,14 +185,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Meta LEAN_EXPORT uint8_t l___private_Lean_Meta_WHNF_0__Lean_Meta_isWFRec(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getConstInfoNoEx_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___Lean_Meta_whnfImp_spec__6___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__28; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___Lean_Meta_reduceMatcher_x3f_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_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); uint8_t lean_float_decLt(double, double); lean_object* l_Lean_PersistentHashMap_find_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__3; -static lean_object* l_Lean_Meta_reduceNat_x3f___closed__27; LEAN_EXPORT lean_object* l_Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8(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_Meta_getStuckMVar_x3f_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_consumeUnusedLet(lean_object*, uint8_t); @@ -197,6 +202,7 @@ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn___closed__4__ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at___Lean_Meta_unfoldDefinition_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__2; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn___closed__16____x40_Lean_Meta_WHNF_4215588442____hygCtx___hyg_2_; static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Core_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__14_spec__14___redArg___closed__3; lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,7 +224,6 @@ LEAN_EXPORT uint8_t l_Lean_Meta_hasSmartUnfoldingDecl(lean_object*, lean_object* static lean_object* l_Lean_Meta_reduceNat_x3f___closed__4; static uint64_t l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__1; static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__12; -static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__29; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ReduceMatcherResult_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn___closed__11____x40_Lean_Meta_WHNF_4215588442____hygCtx___hyg_2_; @@ -237,6 +242,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WH LEAN_EXPORT lean_object* l_Lean_Meta_unfoldDefinition_x3f___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_Meta_reduceNative_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__2___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__0; static lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfImp_spec__9_spec__9___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_ReduceMatcherResult_ctorIdx(lean_object*); lean_object* l_ReaderT_instMonad___redArg(lean_object*); @@ -357,10 +363,12 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___Std_DH LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_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_Meta_getMatcherInfo_x3f___at___Lean_Meta_reduceMatcher_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_markSmartUnfoldingMatch(lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__6; lean_object* l_instMonadEIO(lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_project_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__14; static lean_object* l_Lean_Meta_whnfEasyCases___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_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_whnfEasyCases___at___Lean_Meta_whnfImp_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -397,7 +405,6 @@ LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___Lean_Meta_getStuc lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__31; LEAN_EXPORT lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___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_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_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*); @@ -434,7 +441,6 @@ lean_object* l_Array_ofSubarray___redArg(lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn___closed__9____x40_Lean_Meta_WHNF_4215588442____hygCtx___hyg_2_; static lean_object* l_Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_reduceNat_x3f___closed__26; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4___boxed(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*); lean_object* l_Lean_getStructureInfo_x3f(lean_object*, lean_object*); @@ -488,6 +494,7 @@ lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object static lean_object* l_Lean_Meta_reducePow___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_ReduceMatcherResult_stuck_elim___redArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLetFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__16; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at_____private_Lean_Meta_WHNF_0__Lean_Meta_cache_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_forIn_x27Unsafe_loop___at___Lean_Meta_reduceMatcher_x3f_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_object*); @@ -517,6 +524,7 @@ LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknow static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__17; lean_object* l_Nat_mul___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__0; +static lean_object* l_Lean_Expr_toCtorIfLit___closed__20; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at___Lean_Meta_unfoldDefinition_x3f_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ReduceMatcherResult_ctorElim___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn___closed__0____x40_Lean_Meta_WHNF_490471668____hygCtx___hyg_4_; @@ -552,7 +560,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isAuxDef___redArg(lean_object*, lean_object lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Core_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__14_spec__14___redArg___closed__4; lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_withNatValue___redArg___closed__0; static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Core_withIncRecDepth___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__14_spec__14___redArg___closed__6; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -566,9 +573,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___Lean_Meta_reduceM LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ReduceMatcherResult_notMatcher_elim___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn___closed__4____x40_Lean_Meta_WHNF_490471668____hygCtx___hyg_4_; +static lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__3; static lean_object* l_Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8___closed__0; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn___closed__12____x40_Lean_Meta_WHNF_4215588442____hygCtx___hyg_2_; -lean_object* l_Lean_Expr_toCtorIfLit(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_toCtorIfLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__19; static lean_object* l_Lean_Meta_whnfEasyCases___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isImplementationDetail(lean_object*); @@ -576,6 +585,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn___redArg(lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__5___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___Lean_Meta_reduceBoolNativeUnsafe_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__18; +static lean_object* l_Lean_Expr_toCtorIfLit___closed__22; lean_object* l_Lean_instantiateMVars___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfHeadPred___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -588,11 +598,14 @@ lean_object* l_Lean_Meta_Context_config(lean_object*); lean_object* l_Lean_Meta_getUnfoldableConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor(lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__0___redArg___closed__1; +static lean_object* l_Lean_Expr_toCtorIfLit___closed__21; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfImp_spec__9_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at___Lean_Meta_unfoldDefinition_x3f_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__21; +lean_object* l_String_toList(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___Lean_PersistentHashMap_findAux___at___Lean_PersistentHashMap_find_x3f___at___Lean_Meta_whnfImp_spec__6_spec__6_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___Lean_Meta_mapLetDecl___at_____private_Lean_Meta_WHNF_0__Lean_Meta_smartUnfoldingReduce_x3f_go_spec__1_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -682,9 +695,7 @@ lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___Std_DHashMap_Internal_Raw_u2080_insert___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__16_spec__16___redArg___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkNatSucc(lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__32; static lean_object* l_Lean_Meta_reduceNative_x3f___closed__5; -static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__33; uint64_t lean_uint64_xor(uint64_t, uint64_t); lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor___lam__0(lean_object*, lean_object*); @@ -696,7 +707,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCase LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Util_Trace_0__Lean_addTraceNode___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__1_spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__19; static lean_object* l_Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8___closed__1; -static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__30; +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at_____private_Lean_Meta_WHNF_0__Lean_Meta_cache_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isAuxDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -731,9 +742,11 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___Lean_Meta_reducePow_s LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_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* l_Lean_Environment_getModuleIdxFor_x3f(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_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__10_spec__10___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_getProjectionStructureName_x3f(lean_object*, lean_object*); lean_object* l_Nat_land___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__10; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__0; lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); static double l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3___closed__0; @@ -788,6 +801,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_____private_Lean_M LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at_____private_Lean_Meta_WHNF_0__Lean_Meta_cache_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); extern lean_object* l_Lean_trace_profiler; lean_object* l_Lean_Meta_addZetaDeltaFVarId___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ReduceMatcherResult_notMatcher_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn____x40_Lean_Meta_WHNF_4215588442____hygCtx___hyg_2_(lean_object*); @@ -829,6 +843,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn___redArg___boxed(lean_object*, lea static lean_object* l_Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8___closed__5; static lean_object* l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___closed__6; static lean_object* l_Lean_Meta_whnfEasyCases___closed__6; +static lean_object* l_Lean_Expr_toCtorIfLit___closed__4; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte___lam__0___closed__1; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -858,6 +873,7 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at___Lean_Core_withIncRecDepth__ lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg___boxed(lean_object*, lean_object*); lean_object* lean_get_structural_rec_arg_pos(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__17; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at___Lean_Meta_reduceRecMatcher_x3f_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNatValue___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -868,6 +884,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingReduce_x3f(lean_object*, lean lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___Lean_throwError___at___Lean_throwErrorAt___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__0_spec__0_spec__0_spec__0_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfImp_spec__9_spec__9___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__15; lean_object* lean_get_projection_info(lean_object*, lean_object*); lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isWFRec___closed__0; @@ -875,6 +892,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mapLetDecl___at_____private_Lean_Meta_WHNF_ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_initFn___closed__13____x40_Lean_Meta_WHNF_4215588442____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_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*, lean_object*); uint64_t l_Lean_Meta_instHashableExprConfigCacheKey___private__1(lean_object*); +static lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_expandLet___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceProj_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); @@ -914,12 +932,379 @@ LEAN_EXPORT lean_object* l_Lean_isIrreducible___at___Lean_Meta_canUnfoldAtMatche static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_ReduceMatcherResult_stuck_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_canUnfoldAtMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatchAlt_x3f___boxed(lean_object*); double lean_float_sub(double, double); static lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___closed__8; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___Lean_getConstInfoCtor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); +static lean_object* l_Lean_Expr_toCtorIfLit___closed__18; +static lean_object* l_Lean_Expr_toCtorIfLit___closed__13; +static lean_object* _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Char", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ofNat", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1; +x_2 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec_ref(x_2); +lean_inc_ref(x_1); +return x_1; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_4 = lean_ctor_get(x_3, 0); +x_5 = lean_ctor_get(x_3, 1); +x_6 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__3; +x_7 = lean_unbox_uint32(x_4); +x_8 = lean_uint32_to_nat(x_7); +x_9 = l_Lean_mkRawNatLit(x_8); +x_10 = l_Lean_Expr_app___override(x_6, x_9); +lean_inc_ref(x_2); +x_11 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_1, x_2, x_5); +x_12 = l_Lean_mkAppB(x_2, x_10, x_11); +return x_12; +} +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Nat", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("succ", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__1; +x_2 = l_Lean_Expr_toCtorIfLit___closed__0; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_toCtorIfLit___closed__2; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("zero", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__4; +x_2 = l_Lean_Expr_toCtorIfLit___closed__0; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_toCtorIfLit___closed__5; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("String", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("mk", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__8; +x_2 = l_Lean_Expr_toCtorIfLit___closed__7; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_toCtorIfLit___closed__9; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_toCtorIfLit___closed__11; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("List", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("nil", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__14; +x_2 = l_Lean_Expr_toCtorIfLit___closed__13; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__16() { +_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(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__16; +x_2 = l_Lean_Expr_toCtorIfLit___closed__15; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__12; +x_2 = l_Lean_Expr_toCtorIfLit___closed__17; +x_3 = l_Lean_Expr_app___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cons", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__19; +x_2 = l_Lean_Expr_toCtorIfLit___closed__13; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__16; +x_2 = l_Lean_Expr_toCtorIfLit___closed__20; +x_3 = l_Lean_mkConst(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Expr_toCtorIfLit___closed__12; +x_2 = l_Lean_Expr_toCtorIfLit___closed__21; +x_3 = l_Lean_Expr_app___override(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_toCtorIfLit(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: +{ +if (lean_obj_tag(x_1) == 9) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_7); +lean_dec_ref(x_1); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec_ref(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_8, 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; lean_object* x_16; +x_11 = l_Lean_Expr_toCtorIfLit___closed__3; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_8, x_12); +lean_dec(x_8); +x_14 = l_Lean_mkRawNatLit(x_13); +x_15 = l_Lean_Expr_app___override(x_11, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_6); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_8); +x_17 = l_Lean_Expr_toCtorIfLit___closed__6; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_6); +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; +x_19 = lean_ctor_get(x_7, 0); +lean_inc_ref(x_19); +lean_dec_ref(x_7); +x_20 = l_Lean_Expr_toCtorIfLit___closed__10; +x_21 = l_Lean_Expr_toCtorIfLit___closed__18; +x_22 = l_Lean_Expr_toCtorIfLit___closed__22; +x_23 = l_String_toList(x_19); +x_24 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_21, x_22, x_23); +lean_dec(x_23); +x_25 = l_Lean_Expr_app___override(x_20, x_24); +x_26 = lean_whnf(x_25, x_2, x_3, x_4, x_5, x_6); +return x_26; +} +} +else +{ +lean_object* x_27; +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_1); +lean_ctor_set(x_27, 1, x_6); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_4; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_getStructuralRecArgPos_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -2594,18 +2979,18 @@ x_152 = 1; x_153 = l_Lean_Meta_TransparencyMode_lt(x_150, x_152); if (x_153 == 0) { -x_8 = x_151; +x_8 = x_145; x_9 = x_148; -x_10 = x_145; +x_10 = x_151; x_11 = x_136; x_12 = x_150; goto block_124; } else { -x_8 = x_151; +x_8 = x_145; x_9 = x_148; -x_10 = x_145; +x_10 = x_151; x_11 = x_136; x_12 = x_152; goto block_124; @@ -2876,18 +3261,18 @@ x_212 = 1; x_213 = l_Lean_Meta_TransparencyMode_lt(x_210, x_212); if (x_213 == 0) { -x_8 = x_211; +x_8 = x_205; x_9 = x_208; -x_10 = x_205; +x_10 = x_211; x_11 = x_197; x_12 = x_210; goto block_124; } else { -x_8 = x_211; +x_8 = x_205; x_9 = x_208; -x_10 = x_205; +x_10 = x_211; x_11 = x_197; x_12 = x_212; goto block_124; @@ -3008,7 +3393,7 @@ x_38 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_38, 0, x_13); lean_ctor_set_uint64(x_38, sizeof(void*)*1, x_37); lean_ctor_set(x_3, 0, x_38); -x_39 = l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__1___redArg(x_8, x_11, x_3, x_4, x_5, x_6, x_9); +x_39 = l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__1___redArg(x_10, x_11, x_3, x_4, x_5, x_6, x_9); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; uint8_t x_41; @@ -3019,7 +3404,7 @@ lean_dec(x_40); if (x_41 == 0) { uint8_t x_42; -lean_dec_ref(x_10); +lean_dec_ref(x_8); x_42 = !lean_is_exclusive(x_39); if (x_42 == 0) { @@ -3051,7 +3436,7 @@ if (x_46 == 0) lean_object* x_47; x_47 = lean_ctor_get(x_39, 0); lean_dec(x_47); -lean_ctor_set(x_39, 0, x_10); +lean_ctor_set(x_39, 0, x_8); return x_39; } else @@ -3061,7 +3446,7 @@ x_48 = lean_ctor_get(x_39, 1); lean_inc(x_48); lean_dec(x_39); x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_10); +lean_ctor_set(x_49, 0, x_8); lean_ctor_set(x_49, 1, x_48); return x_49; } @@ -3070,7 +3455,7 @@ return x_49; else { uint8_t x_50; -lean_dec_ref(x_10); +lean_dec_ref(x_8); lean_dec_ref(x_2); x_50 = !lean_is_exclusive(x_39); if (x_50 == 0) @@ -3115,7 +3500,7 @@ lean_ctor_set(x_60, 6, x_21); lean_ctor_set_uint8(x_60, sizeof(void*)*7, x_15); lean_ctor_set_uint8(x_60, sizeof(void*)*7 + 1, x_22); lean_ctor_set_uint8(x_60, sizeof(void*)*7 + 2, x_23); -x_61 = l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__1___redArg(x_8, x_11, x_60, x_4, x_5, x_6, x_9); +x_61 = l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__1___redArg(x_10, x_11, x_60, x_4, x_5, x_6, x_9); if (lean_obj_tag(x_61) == 0) { lean_object* x_62; uint8_t x_63; @@ -3126,7 +3511,7 @@ lean_dec(x_62); if (x_63 == 0) { lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec_ref(x_10); +lean_dec_ref(x_8); x_64 = lean_ctor_get(x_61, 1); lean_inc(x_64); if (lean_is_exclusive(x_61)) { @@ -3165,7 +3550,7 @@ if (lean_is_scalar(x_68)) { } else { x_69 = x_68; } -lean_ctor_set(x_69, 0, x_10); +lean_ctor_set(x_69, 0, x_8); lean_ctor_set(x_69, 1, x_67); return x_69; } @@ -3173,7 +3558,7 @@ return x_69; else { lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec_ref(x_10); +lean_dec_ref(x_8); lean_dec_ref(x_2); x_70 = lean_ctor_get(x_61, 0); lean_inc(x_70); @@ -3292,7 +3677,7 @@ lean_ctor_set(x_110, 6, x_98); lean_ctor_set_uint8(x_110, sizeof(void*)*7, x_92); lean_ctor_set_uint8(x_110, sizeof(void*)*7 + 1, x_99); lean_ctor_set_uint8(x_110, sizeof(void*)*7 + 2, x_100); -x_111 = l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__1___redArg(x_8, x_11, x_110, x_4, x_5, x_6, x_9); +x_111 = l_Lean_Meta_withNewMCtxDepth___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__1___redArg(x_10, x_11, x_110, x_4, x_5, x_6, x_9); if (lean_obj_tag(x_111) == 0) { lean_object* x_112; uint8_t x_113; @@ -3303,7 +3688,7 @@ lean_dec(x_112); if (x_113 == 0) { lean_object* x_114; lean_object* x_115; lean_object* x_116; -lean_dec_ref(x_10); +lean_dec_ref(x_8); x_114 = lean_ctor_get(x_111, 1); lean_inc(x_114); if (lean_is_exclusive(x_111)) { @@ -3342,7 +3727,7 @@ if (lean_is_scalar(x_118)) { } else { x_119 = x_118; } -lean_ctor_set(x_119, 0, x_10); +lean_ctor_set(x_119, 0, x_8); lean_ctor_set(x_119, 1, x_117); return x_119; } @@ -3350,7 +3735,7 @@ return x_119; else { lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -lean_dec_ref(x_10); +lean_dec_ref(x_8); lean_dec_ref(x_2); x_120 = lean_ctor_get(x_111, 0); lean_inc(x_120); @@ -6663,7 +7048,7 @@ lean_object* x_16; x_16 = l_Lean_Meta_getTransparency___redArg(x_6, x_10); 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; uint8_t 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_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_91; uint8_t x_92; uint8_t x_172; +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_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_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_97; uint8_t x_98; uint8_t x_178; x_17 = lean_ctor_get(x_1, 0); x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); @@ -6680,61 +7065,73 @@ x_23 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); x_24 = lean_ctor_get(x_17, 0); x_25 = lean_ctor_get(x_17, 1); lean_inc(x_25); -x_91 = lean_array_fget_borrowed(x_3, x_11); -x_172 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isWFRec(x_24); -if (x_172 == 0) +x_97 = lean_array_fget_borrowed(x_3, x_11); +x_178 = l___private_Lean_Meta_WHNF_0__Lean_Meta_isWFRec(x_24); +if (x_178 == 0) { lean_dec(x_18); -x_92 = x_172; -goto block_171; +x_98 = x_178; +goto block_177; } else { -uint8_t x_173; uint8_t x_174; uint8_t x_175; -x_173 = 1; -x_174 = lean_unbox(x_18); +uint8_t x_179; uint8_t x_180; uint8_t x_181; +x_179 = 1; +x_180 = lean_unbox(x_18); lean_dec(x_18); -x_175 = l_Lean_Meta_instBEqTransparencyMode_beq(x_174, x_173); -x_92 = x_175; -goto block_171; +x_181 = l_Lean_Meta_instBEqTransparencyMode_beq(x_180, x_179); +x_98 = x_181; +goto block_177; } -block_76: +block_82: { -lean_object* x_32; lean_object* x_33; -x_32 = l_Lean_Expr_toCtorIfLit(x_26); +lean_object* x_32; lean_inc(x_30); lean_inc_ref(x_29); lean_inc(x_28); lean_inc_ref(x_27); -x_33 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cleanupNatOffsetMajor(x_32, x_27, x_28, x_29, x_30, x_31); -if (lean_obj_tag(x_33) == 0) +x_32 = l_Lean_Expr_toCtorIfLit(x_26, x_27, x_28, x_29, x_30, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_33, 0); +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); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec_ref(x_33); -lean_inc_ref(x_1); -x_36 = l_Lean_RecursorVal_getMajorInduct(x_1); +lean_dec_ref(x_32); lean_inc(x_30); lean_inc_ref(x_29); lean_inc(x_28); lean_inc_ref(x_27); -x_37 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure(x_36, x_34, x_27, x_28, x_29, x_30, x_35); -if (lean_obj_tag(x_37) == 0) +x_35 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cleanupNatOffsetMajor(x_33, x_27, x_28, x_29, x_30, x_34); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec_ref(x_37); -x_40 = l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor(x_1, x_38); -if (lean_obj_tag(x_40) == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* 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); +lean_inc_ref(x_1); +x_38 = l_Lean_RecursorVal_getMajorInduct(x_1); +lean_inc(x_30); +lean_inc_ref(x_29); +lean_inc(x_28); +lean_inc_ref(x_27); +x_39 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure(x_38, x_36, x_27, x_28, x_29, x_30, x_37); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_41; lean_object* x_42; -lean_dec(x_38); +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 = l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor(x_1, x_40); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_40); lean_dec(x_25); lean_dec(x_22); lean_dec(x_21); @@ -6743,26 +7140,26 @@ lean_dec(x_12); lean_dec(x_11); lean_dec_ref(x_5); lean_dec(x_2); -x_41 = lean_box(0); -x_42 = lean_apply_6(x_4, x_41, x_27, x_28, x_29, x_30, x_39); -return x_42; +x_43 = lean_box(0); +x_44 = lean_apply_6(x_4, x_43, x_27, x_28, x_29, x_30, x_41); +return x_44; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_43 = lean_ctor_get(x_40, 0); -lean_inc(x_43); -lean_dec_ref(x_40); -x_44 = l_List_lengthTR___redArg(x_2); -x_45 = l_List_lengthTR___redArg(x_25); -x_46 = lean_nat_dec_eq(x_44, x_45); +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_42, 0); +lean_inc(x_45); +lean_dec_ref(x_42); +x_46 = l_List_lengthTR___redArg(x_2); +x_47 = l_List_lengthTR___redArg(x_25); +x_48 = lean_nat_dec_eq(x_46, x_47); +lean_dec(x_47); +lean_dec(x_46); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_dec(x_45); -lean_dec(x_44); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_43); -lean_dec(x_38); +lean_dec(x_40); lean_dec(x_25); lean_dec(x_22); lean_dec(x_21); @@ -6771,56 +7168,56 @@ lean_dec(x_12); lean_dec(x_11); lean_dec_ref(x_5); lean_dec(x_2); -x_47 = lean_box(0); -x_48 = lean_apply_6(x_4, x_47, x_27, x_28, x_29, x_30, x_39); -return x_48; +x_49 = lean_box(0); +x_50 = lean_apply_6(x_4, x_49, x_27, x_28, x_29, x_30, x_41); +return x_50; } 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; 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_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_dec_ref(x_4); -x_49 = lean_ctor_get(x_43, 1); -lean_inc(x_49); -x_50 = lean_ctor_get(x_43, 2); -lean_inc_ref(x_50); -lean_dec(x_43); -x_51 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___redArg___closed__0; -x_52 = l_Lean_Expr_getAppNumArgs(x_38); -lean_inc(x_52); -x_53 = lean_mk_array(x_52, x_51); -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_nat_sub(x_52, x_54); -lean_dec(x_52); -x_56 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_38, x_53, x_55); -x_57 = l_Lean_Expr_instantiateLevelParams(x_50, x_25, x_2); -lean_dec_ref(x_50); -x_58 = lean_unsigned_to_nat(0u); -x_59 = lean_nat_add(x_20, x_21); +x_51 = lean_ctor_get(x_45, 1); +lean_inc(x_51); +x_52 = lean_ctor_get(x_45, 2); +lean_inc_ref(x_52); +lean_dec(x_45); +x_53 = l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___redArg___closed__0; +x_54 = l_Lean_Expr_getAppNumArgs(x_40); +lean_inc(x_54); +x_55 = lean_mk_array(x_54, x_53); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_sub(x_54, x_56); +lean_dec(x_54); +x_58 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_40, x_55, x_57); +x_59 = l_Lean_Expr_instantiateLevelParams(x_52, x_25, x_2); +lean_dec_ref(x_52); +x_60 = lean_unsigned_to_nat(0u); +x_61 = lean_nat_add(x_20, x_21); lean_dec(x_21); lean_dec(x_20); -x_60 = lean_nat_add(x_59, x_22); +x_62 = lean_nat_add(x_61, x_22); lean_dec(x_22); -lean_dec(x_59); -x_61 = l_Lean_mkAppRange(x_57, x_58, x_60, x_3); -lean_dec(x_60); -x_62 = lean_array_get_size(x_56); -x_63 = lean_nat_sub(x_62, x_49); -lean_dec(x_49); -x_64 = l_Lean_mkAppRange(x_61, x_63, x_62, x_56); -lean_dec_ref(x_56); +lean_dec(x_61); +x_63 = l_Lean_mkAppRange(x_59, x_60, x_62, x_3); lean_dec(x_62); -x_65 = lean_nat_add(x_11, x_54); +x_64 = lean_array_get_size(x_58); +x_65 = lean_nat_sub(x_64, x_51); +lean_dec(x_51); +x_66 = l_Lean_mkAppRange(x_63, x_65, x_64, x_58); +lean_dec_ref(x_58); +lean_dec(x_64); +x_67 = lean_nat_add(x_11, x_56); lean_dec(x_11); -x_66 = l_Lean_mkAppRange(x_64, x_65, x_12, x_3); +x_68 = l_Lean_mkAppRange(x_66, x_67, x_12, x_3); lean_dec(x_12); -x_67 = lean_apply_6(x_5, x_66, x_27, x_28, x_29, x_30, x_39); -return x_67; +x_69 = lean_apply_6(x_5, x_68, x_27, x_28, x_29, x_30, x_41); +return x_69; } } } else { -uint8_t x_68; +uint8_t x_70; lean_dec(x_30); lean_dec_ref(x_29); lean_dec(x_28); @@ -6835,29 +7232,29 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); lean_dec_ref(x_1); -x_68 = !lean_is_exclusive(x_37); -if (x_68 == 0) +x_70 = !lean_is_exclusive(x_39); +if (x_70 == 0) { -return x_37; +return x_39; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_37, 0); -x_70 = lean_ctor_get(x_37, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_37); -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_39, 0); +x_72 = lean_ctor_get(x_39, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_39); +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; +uint8_t x_74; lean_dec(x_30); lean_dec_ref(x_29); lean_dec(x_28); @@ -6872,70 +7269,107 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); lean_dec_ref(x_1); -x_72 = !lean_is_exclusive(x_33); -if (x_72 == 0) +x_74 = !lean_is_exclusive(x_35); +if (x_74 == 0) { -return x_33; +return x_35; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_33, 0); -x_74 = lean_ctor_get(x_33, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_33); -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_35, 0); +x_76 = lean_ctor_get(x_35, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_35); +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_90: +else +{ +uint8_t x_78; +lean_dec(x_30); +lean_dec_ref(x_29); +lean_dec(x_28); +lean_dec_ref(x_27); +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_12); +lean_dec(x_11); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +lean_dec_ref(x_1); +x_78 = !lean_is_exclusive(x_32); +if (x_78 == 0) +{ +return x_32; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_32, 0); +x_80 = lean_ctor_get(x_32, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_32); +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_96: { if (x_23 == 0) { -x_26 = x_77; -x_27 = x_78; -x_28 = x_79; -x_29 = x_80; -x_30 = x_81; -x_31 = x_82; -goto block_76; +x_26 = x_83; +x_27 = x_84; +x_28 = x_85; +x_29 = x_86; +x_30 = x_87; +x_31 = x_88; +goto block_82; } else { -lean_object* x_83; -lean_inc(x_81); -lean_inc_ref(x_80); -lean_inc(x_79); -lean_inc_ref(x_78); -lean_inc_ref(x_1); -x_83 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK(x_1, x_77, x_78, x_79, x_80, x_81, x_82); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); +lean_object* x_89; +lean_inc(x_87); +lean_inc_ref(x_86); lean_inc(x_85); -lean_dec_ref(x_83); -x_26 = x_84; -x_27 = x_78; -x_28 = x_79; -x_29 = x_80; -x_30 = x_81; -x_31 = x_85; -goto block_76; +lean_inc_ref(x_84); +lean_inc_ref(x_1); +x_89 = l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK(x_1, x_83, x_84, x_85, x_86, x_87, x_88); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec_ref(x_89); +x_26 = x_90; +x_27 = x_84; +x_28 = x_85; +x_29 = x_86; +x_30 = x_87; +x_31 = x_91; +goto block_82; } else { -uint8_t x_86; -lean_dec(x_81); -lean_dec_ref(x_80); -lean_dec(x_79); -lean_dec_ref(x_78); +uint8_t x_92; +lean_dec(x_87); +lean_dec_ref(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); lean_dec(x_25); lean_dec(x_22); lean_dec(x_21); @@ -6946,57 +7380,57 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); lean_dec_ref(x_1); -x_86 = !lean_is_exclusive(x_83); -if (x_86 == 0) +x_92 = !lean_is_exclusive(x_89); +if (x_92 == 0) { -return x_83; +return x_89; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_83, 0); -x_88 = lean_ctor_get(x_83, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_83); -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; +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_89, 0); +x_94 = lean_ctor_get(x_89, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_89); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } } } -block_171: +block_177: { -if (x_92 == 0) +if (x_98 == 0) { -lean_object* x_93; +lean_object* x_99; lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc_ref(x_91); -x_93 = lean_whnf(x_91, x_6, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_93) == 0) +lean_inc_ref(x_97); +x_99 = lean_whnf(x_97, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_99) == 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_77 = x_94; -x_78 = x_6; -x_79 = x_7; -x_80 = x_8; -x_81 = x_9; -x_82 = x_95; -goto block_90; +lean_object* x_100; lean_object* x_101; +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); +x_83 = x_100; +x_84 = x_6; +x_85 = x_7; +x_86 = x_8; +x_87 = x_9; +x_88 = x_101; +goto block_96; } else { -uint8_t x_96; +uint8_t x_102; lean_dec(x_25); lean_dec(x_22); lean_dec(x_21); @@ -7011,95 +7445,95 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); lean_dec_ref(x_1); -x_96 = !lean_is_exclusive(x_93); -if (x_96 == 0) +x_102 = !lean_is_exclusive(x_99); +if (x_102 == 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_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_99, 0); +x_104 = lean_ctor_get(x_99, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_99); +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 { -lean_object* x_100; uint8_t x_101; -x_100 = l_Lean_Meta_Context_config(x_6); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +lean_object* x_106; uint8_t x_107; +x_106 = l_Lean_Meta_Context_config(x_6); +x_107 = !lean_is_exclusive(x_106); +if (x_107 == 0) { -uint8_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; uint8_t x_109; uint8_t x_110; uint8_t x_111; uint64_t x_112; uint64_t x_113; uint64_t x_114; uint64_t x_115; uint64_t x_116; uint64_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_102 = lean_ctor_get_uint8(x_6, sizeof(void*)*7); -x_103 = lean_ctor_get(x_6, 1); -x_104 = lean_ctor_get(x_6, 2); -x_105 = lean_ctor_get(x_6, 3); -x_106 = lean_ctor_get(x_6, 4); -x_107 = lean_ctor_get(x_6, 5); -x_108 = lean_ctor_get(x_6, 6); -x_109 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 1); -x_110 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 2); -x_111 = 0; -lean_ctor_set_uint8(x_100, 9, x_111); -x_112 = l_Lean_Meta_Context_configKey(x_6); -x_113 = 2; -x_114 = lean_uint64_shift_right(x_112, x_113); -x_115 = lean_uint64_shift_left(x_114, x_113); -x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg___closed__0; -x_117 = lean_uint64_lor(x_115, x_116); -x_118 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_118, 0, x_100); -lean_ctor_set_uint64(x_118, sizeof(void*)*1, x_117); -lean_inc(x_108); -lean_inc(x_107); -lean_inc(x_106); -lean_inc_ref(x_105); -lean_inc_ref(x_104); -lean_inc(x_103); -x_119 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_103); -lean_ctor_set(x_119, 2, x_104); -lean_ctor_set(x_119, 3, x_105); -lean_ctor_set(x_119, 4, x_106); -lean_ctor_set(x_119, 5, x_107); -lean_ctor_set(x_119, 6, x_108); -lean_ctor_set_uint8(x_119, sizeof(void*)*7, x_102); -lean_ctor_set_uint8(x_119, sizeof(void*)*7 + 1, x_109); -lean_ctor_set_uint8(x_119, sizeof(void*)*7 + 2, x_110); +uint8_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; uint8_t x_115; uint8_t x_116; uint8_t x_117; uint64_t x_118; uint64_t x_119; uint64_t x_120; uint64_t x_121; uint64_t x_122; uint64_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_108 = lean_ctor_get_uint8(x_6, sizeof(void*)*7); +x_109 = lean_ctor_get(x_6, 1); +x_110 = lean_ctor_get(x_6, 2); +x_111 = lean_ctor_get(x_6, 3); +x_112 = lean_ctor_get(x_6, 4); +x_113 = lean_ctor_get(x_6, 5); +x_114 = lean_ctor_get(x_6, 6); +x_115 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 1); +x_116 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 2); +x_117 = 0; +lean_ctor_set_uint8(x_106, 9, x_117); +x_118 = l_Lean_Meta_Context_configKey(x_6); +x_119 = 2; +x_120 = lean_uint64_shift_right(x_118, x_119); +x_121 = lean_uint64_shift_left(x_120, x_119); +x_122 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg___closed__0; +x_123 = lean_uint64_lor(x_121, x_122); +x_124 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_124, 0, x_106); +lean_ctor_set_uint64(x_124, sizeof(void*)*1, x_123); +lean_inc(x_114); +lean_inc(x_113); +lean_inc(x_112); +lean_inc_ref(x_111); +lean_inc_ref(x_110); +lean_inc(x_109); +x_125 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_109); +lean_ctor_set(x_125, 2, x_110); +lean_ctor_set(x_125, 3, x_111); +lean_ctor_set(x_125, 4, x_112); +lean_ctor_set(x_125, 5, x_113); +lean_ctor_set(x_125, 6, x_114); +lean_ctor_set_uint8(x_125, sizeof(void*)*7, x_108); +lean_ctor_set_uint8(x_125, sizeof(void*)*7 + 1, x_115); +lean_ctor_set_uint8(x_125, sizeof(void*)*7 + 2, x_116); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); -lean_inc_ref(x_91); -x_120 = lean_whnf(x_91, x_119, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_120) == 0) +lean_inc_ref(x_97); +x_126 = lean_whnf(x_97, x_125, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_126) == 0) { -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec_ref(x_120); -x_77 = x_121; -x_78 = x_6; -x_79 = x_7; -x_80 = x_8; -x_81 = x_9; -x_82 = x_122; -goto block_90; +lean_object* x_127; lean_object* x_128; +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_83 = x_127; +x_84 = x_6; +x_85 = x_7; +x_86 = x_8; +x_87 = x_9; +x_88 = x_128; +goto block_96; } else { -uint8_t x_123; +uint8_t x_129; lean_dec(x_25); lean_dec(x_22); lean_dec(x_21); @@ -7114,128 +7548,128 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); lean_dec_ref(x_1); -x_123 = !lean_is_exclusive(x_120); -if (x_123 == 0) +x_129 = !lean_is_exclusive(x_126); +if (x_129 == 0) { -return x_120; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_120, 0); -x_125 = lean_ctor_get(x_120, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_120); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); return x_126; } +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_126, 0); +x_131 = lean_ctor_get(x_126, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_126); +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; +} } } else { -uint8_t x_127; uint8_t x_128; uint8_t x_129; uint8_t x_130; uint8_t x_131; uint8_t x_132; uint8_t x_133; uint8_t x_134; uint8_t x_135; uint8_t x_136; uint8_t x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; uint8_t 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; uint8_t x_152; uint8_t x_153; uint8_t x_154; lean_object* x_155; uint64_t x_156; uint64_t x_157; uint64_t x_158; uint64_t x_159; uint64_t x_160; uint64_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_127 = lean_ctor_get_uint8(x_100, 0); -x_128 = lean_ctor_get_uint8(x_100, 1); -x_129 = lean_ctor_get_uint8(x_100, 2); -x_130 = lean_ctor_get_uint8(x_100, 3); -x_131 = lean_ctor_get_uint8(x_100, 4); -x_132 = lean_ctor_get_uint8(x_100, 5); -x_133 = lean_ctor_get_uint8(x_100, 6); -x_134 = lean_ctor_get_uint8(x_100, 7); -x_135 = lean_ctor_get_uint8(x_100, 8); -x_136 = lean_ctor_get_uint8(x_100, 10); -x_137 = lean_ctor_get_uint8(x_100, 11); -x_138 = lean_ctor_get_uint8(x_100, 12); -x_139 = lean_ctor_get_uint8(x_100, 13); -x_140 = lean_ctor_get_uint8(x_100, 14); -x_141 = lean_ctor_get_uint8(x_100, 15); -x_142 = lean_ctor_get_uint8(x_100, 16); -x_143 = lean_ctor_get_uint8(x_100, 17); -x_144 = lean_ctor_get_uint8(x_100, 18); -lean_dec(x_100); -x_145 = lean_ctor_get_uint8(x_6, sizeof(void*)*7); -x_146 = lean_ctor_get(x_6, 1); -x_147 = lean_ctor_get(x_6, 2); -x_148 = lean_ctor_get(x_6, 3); -x_149 = lean_ctor_get(x_6, 4); -x_150 = lean_ctor_get(x_6, 5); -x_151 = lean_ctor_get(x_6, 6); -x_152 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 1); -x_153 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 2); -x_154 = 0; -x_155 = lean_alloc_ctor(0, 0, 19); -lean_ctor_set_uint8(x_155, 0, x_127); -lean_ctor_set_uint8(x_155, 1, x_128); -lean_ctor_set_uint8(x_155, 2, x_129); -lean_ctor_set_uint8(x_155, 3, x_130); -lean_ctor_set_uint8(x_155, 4, x_131); -lean_ctor_set_uint8(x_155, 5, x_132); -lean_ctor_set_uint8(x_155, 6, x_133); -lean_ctor_set_uint8(x_155, 7, x_134); -lean_ctor_set_uint8(x_155, 8, x_135); -lean_ctor_set_uint8(x_155, 9, x_154); -lean_ctor_set_uint8(x_155, 10, x_136); -lean_ctor_set_uint8(x_155, 11, x_137); -lean_ctor_set_uint8(x_155, 12, x_138); -lean_ctor_set_uint8(x_155, 13, x_139); -lean_ctor_set_uint8(x_155, 14, x_140); -lean_ctor_set_uint8(x_155, 15, x_141); -lean_ctor_set_uint8(x_155, 16, x_142); -lean_ctor_set_uint8(x_155, 17, x_143); -lean_ctor_set_uint8(x_155, 18, x_144); -x_156 = l_Lean_Meta_Context_configKey(x_6); -x_157 = 2; -x_158 = lean_uint64_shift_right(x_156, x_157); -x_159 = lean_uint64_shift_left(x_158, x_157); -x_160 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg___closed__0; -x_161 = lean_uint64_lor(x_159, x_160); -x_162 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_162, 0, x_155); -lean_ctor_set_uint64(x_162, sizeof(void*)*1, x_161); -lean_inc(x_151); -lean_inc(x_150); -lean_inc(x_149); -lean_inc_ref(x_148); -lean_inc_ref(x_147); -lean_inc(x_146); -x_163 = lean_alloc_ctor(0, 7, 3); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_146); -lean_ctor_set(x_163, 2, x_147); -lean_ctor_set(x_163, 3, x_148); -lean_ctor_set(x_163, 4, x_149); -lean_ctor_set(x_163, 5, x_150); -lean_ctor_set(x_163, 6, x_151); -lean_ctor_set_uint8(x_163, sizeof(void*)*7, x_145); -lean_ctor_set_uint8(x_163, sizeof(void*)*7 + 1, x_152); -lean_ctor_set_uint8(x_163, sizeof(void*)*7 + 2, x_153); +uint8_t x_133; uint8_t x_134; uint8_t x_135; uint8_t x_136; uint8_t x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; uint8_t x_141; uint8_t x_142; uint8_t x_143; uint8_t x_144; uint8_t x_145; uint8_t x_146; uint8_t x_147; uint8_t x_148; uint8_t x_149; uint8_t x_150; uint8_t 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; uint8_t x_159; uint8_t x_160; lean_object* x_161; uint64_t x_162; uint64_t x_163; uint64_t x_164; uint64_t x_165; uint64_t x_166; uint64_t x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_133 = lean_ctor_get_uint8(x_106, 0); +x_134 = lean_ctor_get_uint8(x_106, 1); +x_135 = lean_ctor_get_uint8(x_106, 2); +x_136 = lean_ctor_get_uint8(x_106, 3); +x_137 = lean_ctor_get_uint8(x_106, 4); +x_138 = lean_ctor_get_uint8(x_106, 5); +x_139 = lean_ctor_get_uint8(x_106, 6); +x_140 = lean_ctor_get_uint8(x_106, 7); +x_141 = lean_ctor_get_uint8(x_106, 8); +x_142 = lean_ctor_get_uint8(x_106, 10); +x_143 = lean_ctor_get_uint8(x_106, 11); +x_144 = lean_ctor_get_uint8(x_106, 12); +x_145 = lean_ctor_get_uint8(x_106, 13); +x_146 = lean_ctor_get_uint8(x_106, 14); +x_147 = lean_ctor_get_uint8(x_106, 15); +x_148 = lean_ctor_get_uint8(x_106, 16); +x_149 = lean_ctor_get_uint8(x_106, 17); +x_150 = lean_ctor_get_uint8(x_106, 18); +lean_dec(x_106); +x_151 = lean_ctor_get_uint8(x_6, sizeof(void*)*7); +x_152 = lean_ctor_get(x_6, 1); +x_153 = lean_ctor_get(x_6, 2); +x_154 = lean_ctor_get(x_6, 3); +x_155 = lean_ctor_get(x_6, 4); +x_156 = lean_ctor_get(x_6, 5); +x_157 = lean_ctor_get(x_6, 6); +x_158 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 1); +x_159 = lean_ctor_get_uint8(x_6, sizeof(void*)*7 + 2); +x_160 = 0; +x_161 = lean_alloc_ctor(0, 0, 19); +lean_ctor_set_uint8(x_161, 0, x_133); +lean_ctor_set_uint8(x_161, 1, x_134); +lean_ctor_set_uint8(x_161, 2, x_135); +lean_ctor_set_uint8(x_161, 3, x_136); +lean_ctor_set_uint8(x_161, 4, x_137); +lean_ctor_set_uint8(x_161, 5, x_138); +lean_ctor_set_uint8(x_161, 6, x_139); +lean_ctor_set_uint8(x_161, 7, x_140); +lean_ctor_set_uint8(x_161, 8, x_141); +lean_ctor_set_uint8(x_161, 9, x_160); +lean_ctor_set_uint8(x_161, 10, x_142); +lean_ctor_set_uint8(x_161, 11, x_143); +lean_ctor_set_uint8(x_161, 12, x_144); +lean_ctor_set_uint8(x_161, 13, x_145); +lean_ctor_set_uint8(x_161, 14, x_146); +lean_ctor_set_uint8(x_161, 15, x_147); +lean_ctor_set_uint8(x_161, 16, x_148); +lean_ctor_set_uint8(x_161, 17, x_149); +lean_ctor_set_uint8(x_161, 18, x_150); +x_162 = l_Lean_Meta_Context_configKey(x_6); +x_163 = 2; +x_164 = lean_uint64_shift_right(x_162, x_163); +x_165 = lean_uint64_shift_left(x_164, x_163); +x_166 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg___closed__0; +x_167 = lean_uint64_lor(x_165, x_166); +x_168 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_168, 0, x_161); +lean_ctor_set_uint64(x_168, sizeof(void*)*1, x_167); +lean_inc(x_157); +lean_inc(x_156); +lean_inc(x_155); +lean_inc_ref(x_154); +lean_inc_ref(x_153); +lean_inc(x_152); +x_169 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_152); +lean_ctor_set(x_169, 2, x_153); +lean_ctor_set(x_169, 3, x_154); +lean_ctor_set(x_169, 4, x_155); +lean_ctor_set(x_169, 5, x_156); +lean_ctor_set(x_169, 6, x_157); +lean_ctor_set_uint8(x_169, sizeof(void*)*7, x_151); +lean_ctor_set_uint8(x_169, sizeof(void*)*7 + 1, x_158); +lean_ctor_set_uint8(x_169, sizeof(void*)*7 + 2, x_159); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); -lean_inc_ref(x_91); -x_164 = lean_whnf(x_91, x_163, x_7, x_8, x_9, x_19); -if (lean_obj_tag(x_164) == 0) +lean_inc_ref(x_97); +x_170 = lean_whnf(x_97, x_169, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_170) == 0) { -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec_ref(x_164); -x_77 = x_165; -x_78 = x_6; -x_79 = x_7; -x_80 = x_8; -x_81 = x_9; -x_82 = x_166; -goto block_90; +lean_object* x_171; lean_object* x_172; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_170, 1); +lean_inc(x_172); +lean_dec_ref(x_170); +x_83 = x_171; +x_84 = x_6; +x_85 = x_7; +x_86 = x_8; +x_87 = x_9; +x_88 = x_172; +goto block_96; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_dec(x_25); lean_dec(x_22); lean_dec(x_21); @@ -7250,26 +7684,26 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); lean_dec_ref(x_1); -x_167 = lean_ctor_get(x_164, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_164, 1); -lean_inc(x_168); -if (lean_is_exclusive(x_164)) { - lean_ctor_release(x_164, 0); - lean_ctor_release(x_164, 1); - x_169 = x_164; +x_173 = lean_ctor_get(x_170, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_170, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_175 = x_170; } else { - lean_dec_ref(x_164); - x_169 = lean_box(0); + lean_dec_ref(x_170); + x_175 = lean_box(0); } -if (lean_is_scalar(x_169)) { - x_170 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 2, 0); } else { - x_170 = x_169; + x_176 = x_175; } -lean_ctor_set(x_170, 0, x_167); -lean_ctor_set(x_170, 1, x_168); -return x_170; +lean_ctor_set(x_176, 0, x_173); +lean_ctor_set(x_176, 1, x_174); +return x_176; } } } @@ -7277,7 +7711,7 @@ return x_170; } else { -uint8_t x_176; +uint8_t x_182; lean_dec(x_12); lean_dec(x_11); lean_dec(x_9); @@ -7288,23 +7722,23 @@ lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); lean_dec_ref(x_1); -x_176 = !lean_is_exclusive(x_16); -if (x_176 == 0) +x_182 = !lean_is_exclusive(x_16); +if (x_182 == 0) { return x_16; } else { -lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_177 = lean_ctor_get(x_16, 0); -x_178 = lean_ctor_get(x_16, 1); -lean_inc(x_178); -lean_inc(x_177); +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_16, 0); +x_184 = lean_ctor_get(x_16, 1); +lean_inc(x_184); +lean_inc(x_183); lean_dec(x_16); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -return x_179; +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; } } } @@ -9305,7 +9739,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__9; x_2 = lean_unsigned_to_nat(22u); -x_3 = lean_unsigned_to_nat(370u); +x_3 = lean_unsigned_to_nat(382u); x_4 = l_Lean_Meta_whnfEasyCases___closed__8; x_5 = l_Lean_Meta_whnfEasyCases___closed__7; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -14533,7 +14967,7 @@ return x_10; LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8___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; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_54; +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; lean_object* x_15; uint8_t x_16; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; lean_object* x_40; uint8_t 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_54; lean_inc_ref(x_1); lean_inc(x_6); lean_inc_ref(x_5); @@ -14683,12 +15117,12 @@ x_76 = lean_ptr_addr(x_70); x_77 = lean_usize_dec_eq(x_75, x_76); if (x_77 == 0) { -x_40 = x_58; -x_41 = x_65; -x_42 = x_74; -x_43 = x_73; +x_40 = x_74; +x_41 = x_68; +x_42 = x_65; +x_43 = x_58; x_44 = x_70; -x_45 = x_68; +x_45 = x_73; x_46 = x_77; goto block_53; } @@ -14698,12 +15132,12 @@ size_t x_78; size_t x_79; uint8_t x_80; x_78 = lean_ptr_addr(x_67); x_79 = lean_ptr_addr(x_73); x_80 = lean_usize_dec_eq(x_78, x_79); -x_40 = x_58; -x_41 = x_65; -x_42 = x_74; -x_43 = x_73; +x_40 = x_74; +x_41 = x_68; +x_42 = x_65; +x_43 = x_58; x_44 = x_70; -x_45 = x_68; +x_45 = x_73; x_46 = x_80; goto block_53; } @@ -14776,12 +15210,12 @@ x_92 = lean_ptr_addr(x_86); x_93 = lean_usize_dec_eq(x_91, x_92); if (x_93 == 0) { -x_26 = x_58; -x_27 = x_89; -x_28 = x_86; -x_29 = x_84; -x_30 = x_90; -x_31 = x_81; +x_26 = x_90; +x_27 = x_86; +x_28 = x_58; +x_29 = x_89; +x_30 = x_81; +x_31 = x_84; x_32 = x_93; goto block_39; } @@ -14791,12 +15225,12 @@ size_t x_94; size_t x_95; uint8_t x_96; x_94 = lean_ptr_addr(x_83); x_95 = lean_ptr_addr(x_89); x_96 = lean_usize_dec_eq(x_94, x_95); -x_26 = x_58; -x_27 = x_89; -x_28 = x_86; -x_29 = x_84; -x_30 = x_90; -x_31 = x_81; +x_26 = x_90; +x_27 = x_86; +x_28 = x_58; +x_29 = x_89; +x_30 = x_81; +x_31 = x_84; x_32 = x_96; goto block_39; } @@ -14886,14 +15320,14 @@ x_112 = lean_ptr_addr(x_103); x_113 = lean_usize_dec_eq(x_111, x_112); if (x_113 == 0) { -x_8 = x_58; -x_9 = x_101; -x_10 = x_97; +x_8 = x_101; +x_9 = x_103; +x_10 = x_58; x_11 = x_100; -x_12 = x_110; -x_13 = x_106; -x_14 = x_103; -x_15 = x_109; +x_12 = x_97; +x_13 = x_110; +x_14 = x_109; +x_15 = x_106; x_16 = x_113; goto block_25; } @@ -14903,14 +15337,14 @@ size_t x_114; size_t x_115; uint8_t x_116; x_114 = lean_ptr_addr(x_99); x_115 = lean_ptr_addr(x_106); x_116 = lean_usize_dec_eq(x_114, x_115); -x_8 = x_58; -x_9 = x_101; -x_10 = x_97; +x_8 = x_101; +x_9 = x_103; +x_10 = x_58; x_11 = x_100; -x_12 = x_110; -x_13 = x_106; -x_14 = x_103; -x_15 = x_109; +x_12 = x_97; +x_13 = x_110; +x_14 = x_109; +x_15 = x_106; x_16 = x_116; goto block_25; } @@ -15213,12 +15647,12 @@ x_170 = lean_ptr_addr(x_164); x_171 = lean_usize_dec_eq(x_169, x_170); if (x_171 == 0) { -x_40 = x_152; -x_41 = x_159; -x_42 = x_168; -x_43 = x_167; +x_40 = x_168; +x_41 = x_162; +x_42 = x_159; +x_43 = x_152; x_44 = x_164; -x_45 = x_162; +x_45 = x_167; x_46 = x_171; goto block_53; } @@ -15228,12 +15662,12 @@ size_t x_172; size_t x_173; uint8_t x_174; x_172 = lean_ptr_addr(x_161); x_173 = lean_ptr_addr(x_167); x_174 = lean_usize_dec_eq(x_172, x_173); -x_40 = x_152; -x_41 = x_159; -x_42 = x_168; -x_43 = x_167; +x_40 = x_168; +x_41 = x_162; +x_42 = x_159; +x_43 = x_152; x_44 = x_164; -x_45 = x_162; +x_45 = x_167; x_46 = x_174; goto block_53; } @@ -15306,12 +15740,12 @@ x_186 = lean_ptr_addr(x_180); x_187 = lean_usize_dec_eq(x_185, x_186); if (x_187 == 0) { -x_26 = x_152; -x_27 = x_183; -x_28 = x_180; -x_29 = x_178; -x_30 = x_184; -x_31 = x_175; +x_26 = x_184; +x_27 = x_180; +x_28 = x_152; +x_29 = x_183; +x_30 = x_175; +x_31 = x_178; x_32 = x_187; goto block_39; } @@ -15321,12 +15755,12 @@ size_t x_188; size_t x_189; uint8_t x_190; x_188 = lean_ptr_addr(x_177); x_189 = lean_ptr_addr(x_183); x_190 = lean_usize_dec_eq(x_188, x_189); -x_26 = x_152; -x_27 = x_183; -x_28 = x_180; -x_29 = x_178; -x_30 = x_184; -x_31 = x_175; +x_26 = x_184; +x_27 = x_180; +x_28 = x_152; +x_29 = x_183; +x_30 = x_175; +x_31 = x_178; x_32 = x_190; goto block_39; } @@ -15416,14 +15850,14 @@ x_206 = lean_ptr_addr(x_197); x_207 = lean_usize_dec_eq(x_205, x_206); if (x_207 == 0) { -x_8 = x_152; -x_9 = x_195; -x_10 = x_191; +x_8 = x_195; +x_9 = x_197; +x_10 = x_152; x_11 = x_194; -x_12 = x_204; -x_13 = x_200; -x_14 = x_197; -x_15 = x_203; +x_12 = x_191; +x_13 = x_204; +x_14 = x_203; +x_15 = x_200; x_16 = x_207; goto block_25; } @@ -15433,14 +15867,14 @@ size_t x_208; size_t x_209; uint8_t x_210; x_208 = lean_ptr_addr(x_193); x_209 = lean_ptr_addr(x_200); x_210 = lean_usize_dec_eq(x_208, x_209); -x_8 = x_152; -x_9 = x_195; -x_10 = x_191; +x_8 = x_195; +x_9 = x_197; +x_10 = x_152; x_11 = x_194; -x_12 = x_204; -x_13 = x_200; -x_14 = x_197; -x_15 = x_203; +x_12 = x_191; +x_13 = x_204; +x_14 = x_203; +x_15 = x_200; x_16 = x_210; goto block_25; } @@ -15635,9 +16069,9 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_dec_ref(x_11); -lean_dec_ref(x_8); -x_17 = l_Lean_Expr_letE___override(x_10, x_14, x_13, x_15, x_9); -x_18 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_17, x_4, x_5, x_6, x_12); +lean_dec_ref(x_10); +x_17 = l_Lean_Expr_letE___override(x_12, x_9, x_15, x_14, x_8); +x_18 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_17, x_4, x_5, x_6, x_13); return x_18; } else @@ -15645,14 +16079,14 @@ else size_t x_19; size_t x_20; uint8_t x_21; x_19 = lean_ptr_addr(x_11); lean_dec_ref(x_11); -x_20 = lean_ptr_addr(x_15); +x_20 = lean_ptr_addr(x_14); x_21 = lean_usize_dec_eq(x_19, x_20); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; -lean_dec_ref(x_8); -x_22 = l_Lean_Expr_letE___override(x_10, x_14, x_13, x_15, x_9); -x_23 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_22, x_4, x_5, x_6, x_12); +lean_dec_ref(x_10); +x_22 = l_Lean_Expr_letE___override(x_12, x_9, x_15, x_14, x_8); +x_23 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_22, x_4, x_5, x_6, x_13); return x_23; } else @@ -15660,9 +16094,9 @@ else lean_object* x_24; lean_dec_ref(x_15); lean_dec_ref(x_14); -lean_dec_ref(x_13); -lean_dec(x_10); -x_24 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_8, x_4, x_5, x_6, x_12); +lean_dec(x_12); +lean_dec_ref(x_9); +x_24 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_10, x_4, x_5, x_6, x_13); return x_24; } } @@ -15672,30 +16106,30 @@ block_39: if (x_32 == 0) { lean_object* x_33; lean_object* x_34; -lean_dec_ref(x_26); -x_33 = l_Lean_Expr_forallE___override(x_31, x_28, x_27, x_29); -x_34 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_33, x_4, x_5, x_6, x_30); +lean_dec_ref(x_28); +x_33 = l_Lean_Expr_forallE___override(x_30, x_27, x_29, x_31); +x_34 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_33, x_4, x_5, x_6, x_26); return x_34; } else { uint8_t x_35; -x_35 = l_Lean_instBEqBinderInfo_beq(x_29, x_29); +x_35 = l_Lean_instBEqBinderInfo_beq(x_31, x_31); if (x_35 == 0) { lean_object* x_36; lean_object* x_37; -lean_dec_ref(x_26); -x_36 = l_Lean_Expr_forallE___override(x_31, x_28, x_27, x_29); -x_37 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_36, x_4, x_5, x_6, x_30); +lean_dec_ref(x_28); +x_36 = l_Lean_Expr_forallE___override(x_30, x_27, x_29, x_31); +x_37 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_36, x_4, x_5, x_6, x_26); return x_37; } else { lean_object* x_38; -lean_dec(x_31); -lean_dec_ref(x_28); +lean_dec(x_30); +lean_dec_ref(x_29); lean_dec_ref(x_27); -x_38 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_26, x_4, x_5, x_6, x_30); +x_38 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_28, x_4, x_5, x_6, x_26); return x_38; } } @@ -15705,30 +16139,30 @@ block_53: if (x_46 == 0) { lean_object* x_47; lean_object* x_48; -lean_dec_ref(x_40); -x_47 = l_Lean_Expr_lam___override(x_41, x_44, x_43, x_45); -x_48 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_47, x_4, x_5, x_6, x_42); +lean_dec_ref(x_43); +x_47 = l_Lean_Expr_lam___override(x_42, x_44, x_45, x_41); +x_48 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_47, x_4, x_5, x_6, x_40); return x_48; } else { uint8_t x_49; -x_49 = l_Lean_instBEqBinderInfo_beq(x_45, x_45); +x_49 = l_Lean_instBEqBinderInfo_beq(x_41, x_41); if (x_49 == 0) { lean_object* x_50; lean_object* x_51; -lean_dec_ref(x_40); -x_50 = l_Lean_Expr_lam___override(x_41, x_44, x_43, x_45); -x_51 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_50, x_4, x_5, x_6, x_42); +lean_dec_ref(x_43); +x_50 = l_Lean_Expr_lam___override(x_42, x_44, x_45, x_41); +x_51 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_50, x_4, x_5, x_6, x_40); return x_51; } else { lean_object* x_52; +lean_dec_ref(x_45); lean_dec_ref(x_44); -lean_dec_ref(x_43); -lean_dec(x_41); -x_52 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_40, x_4, x_5, x_6, x_42); +lean_dec(x_42); +x_52 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at_____private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___Lean_Core_transform___at_____private_Lean_Meta_WHNF_0__Lean_Meta_unfoldNestedDIte_spec__8_spec__8_spec__9(x_1, x_3, x_43, x_4, x_5, x_6, x_40); return x_52; } } @@ -16804,68 +17238,70 @@ static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Char", 4, 4); +x_1 = lean_mk_string_unchecked("ofNatAux", 8, 8); return x_1; } } static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ofNat", 5, 5); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__0; +x_2 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; } } static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__0; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("ofNatAux", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__3; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__0; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("String", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__6() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_unchecked("decEq", 5, 5); return x_1; } } +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; +x_2 = l_Lean_Expr_toCtorIfLit___closed__7; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("hasDecEq", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__4; +x_2 = l_Lean_Expr_toCtorIfLit___closed__13; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Fin", 3, 3); +return x_1; +} +} static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__5; +x_1 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } @@ -16874,23 +17310,25 @@ static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__8() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("List", 4, 4); +x_1 = lean_mk_string_unchecked("UInt8", 5, 5); return x_1; } } static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__9() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("hasDecEq", 8, 8); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__8; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; } } static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__9; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__8; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; @@ -16900,7 +17338,7 @@ static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__11() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Fin", 3, 3); +x_1 = lean_mk_string_unchecked("UInt16", 6, 6); return x_1; } } @@ -16908,7 +17346,7 @@ static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; +x_1 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1; x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__11; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; @@ -16917,88 +17355,42 @@ return x_3; static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__13() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("UInt8", 5, 5); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__11; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; } } static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__13; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__13; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("UInt16", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__16; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__16; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__19() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_unchecked("UInt32", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__20() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__19; +x_1 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__14; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__21() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__19; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__14; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__22() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__17() { _start: { lean_object* x_1; @@ -17006,27 +17398,27 @@ x_1 = lean_mk_string_unchecked("UInt64", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__23() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__22; +x_1 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__17; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__24() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__22; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__17; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__25() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__20() { _start: { lean_object* x_1; @@ -17034,7 +17426,7 @@ x_1 = lean_mk_string_unchecked("HMod", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__26() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__21() { _start: { lean_object* x_1; @@ -17042,17 +17434,17 @@ x_1 = lean_mk_string_unchecked("hMod", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__27() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__26; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__25; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__21; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__20; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__28() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__23() { _start: { lean_object* x_1; @@ -17060,7 +17452,7 @@ x_1 = lean_mk_string_unchecked("Mod", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__29() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__24() { _start: { lean_object* x_1; @@ -17068,39 +17460,31 @@ x_1 = lean_mk_string_unchecked("mod", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__30() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__29; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__28; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__24; +x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__23; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__31() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Nat", 3, 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__33() { +static lean_object* _init_l_Lean_Meta_canUnfoldAtMatcher___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__6; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; +x_2 = l_Lean_Expr_toCtorIfLit___closed__0; x_3 = l_Lean_Name_mkStr2(x_2, x_1); return x_3; } @@ -17248,12 +17632,12 @@ if (x_117 == 0) { lean_object* x_118; uint8_t x_119; lean_free_object(x_31); -x_118 = l_Lean_Meta_canUnfoldAtMatcher___closed__31; +x_118 = l_Lean_Meta_canUnfoldAtMatcher___closed__26; x_119 = lean_name_eq(x_30, x_118); if (x_119 == 0) { lean_object* x_120; uint8_t x_121; -x_120 = l_Lean_Meta_canUnfoldAtMatcher___closed__33; +x_120 = l_Lean_Meta_canUnfoldAtMatcher___closed__27; x_121 = lean_name_eq(x_30, x_120); x_50 = x_121; goto block_115; @@ -17279,79 +17663,79 @@ block_115: if (x_50 == 0) { lean_object* x_51; uint8_t x_52; -x_51 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; +x_51 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2; x_52 = lean_name_eq(x_30, x_51); if (x_52 == 0) { lean_object* x_53; uint8_t x_54; -x_53 = l_Lean_Meta_canUnfoldAtMatcher___closed__4; +x_53 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; x_54 = lean_name_eq(x_30, x_53); if (x_54 == 0) { lean_object* x_55; uint8_t x_56; -x_55 = l_Lean_Meta_canUnfoldAtMatcher___closed__7; +x_55 = l_Lean_Meta_canUnfoldAtMatcher___closed__3; x_56 = lean_name_eq(x_30, x_55); if (x_56 == 0) { lean_object* x_57; uint8_t x_58; -x_57 = l_Lean_Meta_canUnfoldAtMatcher___closed__10; +x_57 = l_Lean_Meta_canUnfoldAtMatcher___closed__5; x_58 = lean_name_eq(x_30, x_57); if (x_58 == 0) { lean_object* x_59; uint8_t x_60; -x_59 = l_Lean_Meta_canUnfoldAtMatcher___closed__12; +x_59 = l_Lean_Meta_canUnfoldAtMatcher___closed__7; x_60 = lean_name_eq(x_30, x_59); if (x_60 == 0) { if (x_60 == 0) { lean_object* x_61; uint8_t x_62; -x_61 = l_Lean_Meta_canUnfoldAtMatcher___closed__14; +x_61 = l_Lean_Meta_canUnfoldAtMatcher___closed__9; x_62 = lean_name_eq(x_30, x_61); if (x_62 == 0) { lean_object* x_63; uint8_t x_64; -x_63 = l_Lean_Meta_canUnfoldAtMatcher___closed__15; +x_63 = l_Lean_Meta_canUnfoldAtMatcher___closed__10; x_64 = lean_name_eq(x_30, x_63); if (x_64 == 0) { lean_object* x_65; uint8_t x_66; -x_65 = l_Lean_Meta_canUnfoldAtMatcher___closed__17; +x_65 = l_Lean_Meta_canUnfoldAtMatcher___closed__12; x_66 = lean_name_eq(x_30, x_65); if (x_66 == 0) { lean_object* x_67; uint8_t x_68; -x_67 = l_Lean_Meta_canUnfoldAtMatcher___closed__18; +x_67 = l_Lean_Meta_canUnfoldAtMatcher___closed__13; x_68 = lean_name_eq(x_30, x_67); if (x_68 == 0) { lean_object* x_69; uint8_t x_70; -x_69 = l_Lean_Meta_canUnfoldAtMatcher___closed__20; +x_69 = l_Lean_Meta_canUnfoldAtMatcher___closed__15; x_70 = lean_name_eq(x_30, x_69); if (x_70 == 0) { lean_object* x_71; uint8_t x_72; -x_71 = l_Lean_Meta_canUnfoldAtMatcher___closed__21; +x_71 = l_Lean_Meta_canUnfoldAtMatcher___closed__16; x_72 = lean_name_eq(x_30, x_71); if (x_72 == 0) { lean_object* x_73; uint8_t x_74; -x_73 = l_Lean_Meta_canUnfoldAtMatcher___closed__23; +x_73 = l_Lean_Meta_canUnfoldAtMatcher___closed__18; x_74 = lean_name_eq(x_30, x_73); if (x_74 == 0) { lean_object* x_75; uint8_t x_76; -x_75 = l_Lean_Meta_canUnfoldAtMatcher___closed__24; +x_75 = l_Lean_Meta_canUnfoldAtMatcher___closed__19; x_76 = lean_name_eq(x_30, x_75); if (x_76 == 0) { lean_object* x_77; uint8_t x_78; -x_77 = l_Lean_Meta_canUnfoldAtMatcher___closed__27; +x_77 = l_Lean_Meta_canUnfoldAtMatcher___closed__22; x_78 = lean_name_eq(x_30, x_77); if (x_78 == 0) { lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; -x_79 = l_Lean_Meta_canUnfoldAtMatcher___closed__30; +x_79 = l_Lean_Meta_canUnfoldAtMatcher___closed__25; x_80 = lean_name_eq(x_30, x_79); lean_dec(x_30); x_81 = lean_box(x_80); @@ -17690,12 +18074,12 @@ x_207 = lean_has_match_pattern_attribute(x_206, x_30); if (x_207 == 0) { lean_object* x_208; uint8_t x_209; -x_208 = l_Lean_Meta_canUnfoldAtMatcher___closed__31; +x_208 = l_Lean_Meta_canUnfoldAtMatcher___closed__26; x_209 = lean_name_eq(x_30, x_208); if (x_209 == 0) { lean_object* x_210; uint8_t x_211; -x_210 = l_Lean_Meta_canUnfoldAtMatcher___closed__33; +x_210 = l_Lean_Meta_canUnfoldAtMatcher___closed__27; x_211 = lean_name_eq(x_30, x_210); x_140 = x_211; goto block_205; @@ -17722,79 +18106,79 @@ block_205: if (x_140 == 0) { lean_object* x_141; uint8_t x_142; -x_141 = l_Lean_Meta_canUnfoldAtMatcher___closed__2; +x_141 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2; x_142 = lean_name_eq(x_30, x_141); if (x_142 == 0) { lean_object* x_143; uint8_t x_144; -x_143 = l_Lean_Meta_canUnfoldAtMatcher___closed__4; +x_143 = l_Lean_Meta_canUnfoldAtMatcher___closed__1; x_144 = lean_name_eq(x_30, x_143); if (x_144 == 0) { lean_object* x_145; uint8_t x_146; -x_145 = l_Lean_Meta_canUnfoldAtMatcher___closed__7; +x_145 = l_Lean_Meta_canUnfoldAtMatcher___closed__3; x_146 = lean_name_eq(x_30, x_145); if (x_146 == 0) { lean_object* x_147; uint8_t x_148; -x_147 = l_Lean_Meta_canUnfoldAtMatcher___closed__10; +x_147 = l_Lean_Meta_canUnfoldAtMatcher___closed__5; x_148 = lean_name_eq(x_30, x_147); if (x_148 == 0) { lean_object* x_149; uint8_t x_150; -x_149 = l_Lean_Meta_canUnfoldAtMatcher___closed__12; +x_149 = l_Lean_Meta_canUnfoldAtMatcher___closed__7; x_150 = lean_name_eq(x_30, x_149); if (x_150 == 0) { if (x_150 == 0) { lean_object* x_151; uint8_t x_152; -x_151 = l_Lean_Meta_canUnfoldAtMatcher___closed__14; +x_151 = l_Lean_Meta_canUnfoldAtMatcher___closed__9; x_152 = lean_name_eq(x_30, x_151); if (x_152 == 0) { lean_object* x_153; uint8_t x_154; -x_153 = l_Lean_Meta_canUnfoldAtMatcher___closed__15; +x_153 = l_Lean_Meta_canUnfoldAtMatcher___closed__10; x_154 = lean_name_eq(x_30, x_153); if (x_154 == 0) { lean_object* x_155; uint8_t x_156; -x_155 = l_Lean_Meta_canUnfoldAtMatcher___closed__17; +x_155 = l_Lean_Meta_canUnfoldAtMatcher___closed__12; x_156 = lean_name_eq(x_30, x_155); if (x_156 == 0) { lean_object* x_157; uint8_t x_158; -x_157 = l_Lean_Meta_canUnfoldAtMatcher___closed__18; +x_157 = l_Lean_Meta_canUnfoldAtMatcher___closed__13; x_158 = lean_name_eq(x_30, x_157); if (x_158 == 0) { lean_object* x_159; uint8_t x_160; -x_159 = l_Lean_Meta_canUnfoldAtMatcher___closed__20; +x_159 = l_Lean_Meta_canUnfoldAtMatcher___closed__15; x_160 = lean_name_eq(x_30, x_159); if (x_160 == 0) { lean_object* x_161; uint8_t x_162; -x_161 = l_Lean_Meta_canUnfoldAtMatcher___closed__21; +x_161 = l_Lean_Meta_canUnfoldAtMatcher___closed__16; x_162 = lean_name_eq(x_30, x_161); if (x_162 == 0) { lean_object* x_163; uint8_t x_164; -x_163 = l_Lean_Meta_canUnfoldAtMatcher___closed__23; +x_163 = l_Lean_Meta_canUnfoldAtMatcher___closed__18; x_164 = lean_name_eq(x_30, x_163); if (x_164 == 0) { lean_object* x_165; uint8_t x_166; -x_165 = l_Lean_Meta_canUnfoldAtMatcher___closed__24; +x_165 = l_Lean_Meta_canUnfoldAtMatcher___closed__19; x_166 = lean_name_eq(x_30, x_165); if (x_166 == 0) { lean_object* x_167; uint8_t x_168; -x_167 = l_Lean_Meta_canUnfoldAtMatcher___closed__27; +x_167 = l_Lean_Meta_canUnfoldAtMatcher___closed__22; x_168 = lean_name_eq(x_30, x_167); if (x_168 == 0) { lean_object* x_169; uint8_t x_170; lean_object* x_171; lean_object* x_172; -x_169 = l_Lean_Meta_canUnfoldAtMatcher___closed__30; +x_169 = l_Lean_Meta_canUnfoldAtMatcher___closed__25; x_170 = lean_name_eq(x_30, x_169); lean_dec(x_30); x_171 = lean_box(x_170); @@ -19071,14 +19455,14 @@ lean_inc_ref(x_30); x_45 = l_Array_toSubarray___redArg(x_30, x_43, x_44); x_46 = l_Array_ofSubarray___redArg(x_45); lean_dec_ref(x_45); -x_47 = l_Lean_mkAppN(x_39, x_46); +x_47 = l_Lean_mkAppN(x_42, x_46); lean_dec_ref(x_46); -lean_inc(x_42); -lean_inc_ref(x_40); lean_inc(x_37); +lean_inc_ref(x_40); +lean_inc(x_38); lean_inc_ref(x_41); lean_inc_ref(x_47); -x_48 = lean_infer_type(x_47, x_41, x_37, x_40, x_42, x_38); +x_48 = lean_infer_type(x_47, x_41, x_38, x_40, x_37, x_39); 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; @@ -19100,16 +19484,16 @@ if (lean_is_scalar(x_19)) { x_52 = x_19; } lean_ctor_set(x_52, 0, x_34); -x_53 = l_Lean_Meta_forallBoundedTelescope___at___Lean_Meta_reduceMatcher_x3f_spec__2___redArg(x_49, x_52, x_51, x_36, x_36, x_41, x_37, x_40, x_42, x_50); +x_53 = l_Lean_Meta_forallBoundedTelescope___at___Lean_Meta_reduceMatcher_x3f_spec__2___redArg(x_49, x_52, x_51, x_36, x_36, x_41, x_38, x_40, x_37, x_50); return x_53; } else { uint8_t x_54; lean_dec_ref(x_47); -lean_dec(x_42); lean_dec_ref(x_41); lean_dec_ref(x_40); +lean_dec(x_38); lean_dec(x_37); lean_dec(x_34); lean_dec(x_32); @@ -19142,12 +19526,12 @@ x_65 = lean_unsigned_to_nat(0u); x_66 = lean_nat_dec_le(x_32, x_33); if (x_66 == 0) { -x_37 = x_61; -x_38 = x_64; -x_39 = x_59; +x_37 = x_63; +x_38 = x_61; +x_39 = x_64; x_40 = x_62; x_41 = x_60; -x_42 = x_63; +x_42 = x_59; x_43 = x_65; x_44 = x_33; goto block_58; @@ -19156,12 +19540,12 @@ else { lean_dec(x_33); lean_inc(x_32); -x_37 = x_61; -x_38 = x_64; -x_39 = x_59; +x_37 = x_63; +x_38 = x_61; +x_39 = x_64; x_40 = x_62; x_41 = x_60; -x_42 = x_63; +x_42 = x_59; x_43 = x_65; x_44 = x_32; goto block_58; @@ -19435,14 +19819,14 @@ lean_inc_ref(x_107); x_122 = l_Array_toSubarray___redArg(x_107, x_120, x_121); x_123 = l_Array_ofSubarray___redArg(x_122); lean_dec_ref(x_122); -x_124 = l_Lean_mkAppN(x_116, x_123); +x_124 = l_Lean_mkAppN(x_119, x_123); lean_dec_ref(x_123); -lean_inc(x_119); -lean_inc_ref(x_117); lean_inc(x_114); +lean_inc_ref(x_117); +lean_inc(x_115); lean_inc_ref(x_118); lean_inc_ref(x_124); -x_125 = lean_infer_type(x_124, x_118, x_114, x_117, x_119, x_115); +x_125 = lean_infer_type(x_124, x_118, x_115, x_117, x_114, x_116); if (lean_obj_tag(x_125) == 0) { lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; @@ -19464,16 +19848,16 @@ if (lean_is_scalar(x_19)) { x_129 = x_19; } lean_ctor_set(x_129, 0, x_111); -x_130 = l_Lean_Meta_forallBoundedTelescope___at___Lean_Meta_reduceMatcher_x3f_spec__2___redArg(x_126, x_129, x_128, x_113, x_113, x_118, x_114, x_117, x_119, x_127); +x_130 = l_Lean_Meta_forallBoundedTelescope___at___Lean_Meta_reduceMatcher_x3f_spec__2___redArg(x_126, x_129, x_128, x_113, x_113, x_118, x_115, x_117, x_114, x_127); return x_130; } else { lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_dec_ref(x_124); -lean_dec(x_119); lean_dec_ref(x_118); lean_dec_ref(x_117); +lean_dec(x_115); lean_dec(x_114); lean_dec(x_111); lean_dec(x_109); @@ -19508,12 +19892,12 @@ x_142 = lean_unsigned_to_nat(0u); x_143 = lean_nat_dec_le(x_109, x_110); if (x_143 == 0) { -x_114 = x_138; -x_115 = x_141; -x_116 = x_136; +x_114 = x_140; +x_115 = x_138; +x_116 = x_141; x_117 = x_139; x_118 = x_137; -x_119 = x_140; +x_119 = x_136; x_120 = x_142; x_121 = x_110; goto block_135; @@ -19522,12 +19906,12 @@ else { lean_dec(x_110); lean_inc(x_109); -x_114 = x_138; -x_115 = x_141; -x_116 = x_136; +x_114 = x_140; +x_115 = x_138; +x_116 = x_141; x_117 = x_139; x_118 = x_137; -x_119 = x_140; +x_119 = x_136; x_120 = x_142; x_121 = x_109; goto block_135; @@ -19644,277 +20028,294 @@ lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_projectCore_x3f___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_9; lean_object* x_10; -x_9 = l_Lean_Expr_toCtorIfLit(x_1); -x_10 = l_Lean_Expr_getAppFn(x_9); -if (lean_obj_tag(x_10) == 4) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec_ref(x_10); -x_12 = lean_st_ref_get(x_3, x_4); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -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 = lean_ctor_get(x_14, 0); -lean_inc_ref(x_16); -lean_dec(x_14); -x_17 = 0; -x_18 = l_Lean_Environment_find_x3f(x_16, x_11, x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_free_object(x_12); -lean_dec_ref(x_9); -x_5 = x_15; -goto block_8; -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -if (lean_obj_tag(x_20) == 6) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -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, 3); -lean_inc(x_22); -lean_dec_ref(x_21); -x_23 = l_Lean_Expr_getAppNumArgs(x_9); -x_24 = lean_nat_add(x_22, x_2); -lean_dec(x_22); -x_25 = lean_nat_dec_lt(x_24, x_23); -if (x_25 == 0) -{ -lean_object* x_26; -lean_dec(x_24); -lean_dec(x_23); -lean_free_object(x_18); -lean_dec_ref(x_9); -x_26 = lean_box(0); -lean_ctor_set(x_12, 0, x_26); -return x_12; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_nat_sub(x_23, x_24); -lean_dec(x_24); -lean_dec(x_23); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_sub(x_27, x_28); -lean_dec(x_27); -x_30 = l_Lean_Expr_getRevArg_x21(x_9, x_29); -lean_dec_ref(x_9); -lean_ctor_set(x_18, 0, x_30); -lean_ctor_set(x_12, 0, x_18); -return x_12; -} -} -else -{ -lean_free_object(x_18); -lean_dec(x_20); -lean_free_object(x_12); -lean_dec_ref(x_9); -x_5 = x_15; -goto block_8; -} -} -else -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_18, 0); -lean_inc(x_31); -lean_dec(x_18); -if (lean_obj_tag(x_31) == 6) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc_ref(x_32); -lean_dec_ref(x_31); -x_33 = lean_ctor_get(x_32, 3); -lean_inc(x_33); -lean_dec_ref(x_32); -x_34 = l_Lean_Expr_getAppNumArgs(x_9); -x_35 = lean_nat_add(x_33, x_2); -lean_dec(x_33); -x_36 = lean_nat_dec_lt(x_35, x_34); -if (x_36 == 0) -{ -lean_object* x_37; -lean_dec(x_35); -lean_dec(x_34); -lean_dec_ref(x_9); -x_37 = lean_box(0); -lean_ctor_set(x_12, 0, x_37); -return x_12; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_38 = lean_nat_sub(x_34, x_35); -lean_dec(x_35); -lean_dec(x_34); -x_39 = lean_unsigned_to_nat(1u); -x_40 = lean_nat_sub(x_38, x_39); -lean_dec(x_38); -x_41 = l_Lean_Expr_getRevArg_x21(x_9, x_40); -lean_dec_ref(x_9); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_12, 0, x_42); -return x_12; -} -} -else -{ -lean_dec(x_31); -lean_free_object(x_12); -lean_dec_ref(x_9); -x_5 = x_15; -goto block_8; -} -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_12, 0); -x_44 = lean_ctor_get(x_12, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_12); -x_45 = lean_ctor_get(x_43, 0); -lean_inc_ref(x_45); -lean_dec(x_43); -x_46 = 0; -x_47 = l_Lean_Environment_find_x3f(x_45, x_11, x_46); -if (lean_obj_tag(x_47) == 0) -{ -lean_dec_ref(x_9); -x_5 = x_44; -goto block_8; -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - x_49 = x_47; -} else { - lean_dec_ref(x_47); - x_49 = lean_box(0); -} -if (lean_obj_tag(x_48) == 6) -{ -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); -lean_inc_ref(x_50); -lean_dec_ref(x_48); -x_51 = lean_ctor_get(x_50, 3); -lean_inc(x_51); -lean_dec_ref(x_50); -x_52 = l_Lean_Expr_getAppNumArgs(x_9); -x_53 = lean_nat_add(x_51, x_2); -lean_dec(x_51); -x_54 = lean_nat_dec_lt(x_53, x_52); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_49); -lean_dec_ref(x_9); -x_55 = lean_box(0); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_44); -return x_56; -} -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; -x_57 = lean_nat_sub(x_52, x_53); -lean_dec(x_53); -lean_dec(x_52); -x_58 = lean_unsigned_to_nat(1u); -x_59 = lean_nat_sub(x_57, x_58); -lean_dec(x_57); -x_60 = l_Lean_Expr_getRevArg_x21(x_9, x_59); -lean_dec_ref(x_9); -if (lean_is_scalar(x_49)) { - x_61 = lean_alloc_ctor(1, 1, 0); -} else { - x_61 = x_49; -} -lean_ctor_set(x_61, 0, x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_44); -return x_62; -} -} -else -{ -lean_dec(x_49); -lean_dec(x_48); -lean_dec_ref(x_9); -x_5 = x_44; -goto block_8; -} -} -} -} -else -{ -lean_dec_ref(x_10); -lean_dec_ref(x_9); -x_5 = x_4; -goto block_8; -} -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_Lean_Meta_projectCore_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: { -lean_object* x_8; -x_8 = l_Lean_Meta_projectCore_x3f___redArg(x_1, x_2, x_6, x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_projectCore_x3f___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +lean_object* x_8; lean_object* x_12; +lean_inc(x_6); +x_12 = l_Lean_Expr_toCtorIfLit(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_5; -x_5 = l_Lean_Meta_projectCore_x3f___redArg(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; +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_Expr_getAppFn(x_13); +if (lean_obj_tag(x_15) == 4) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec_ref(x_15); +x_17 = lean_st_ref_get(x_6, x_14); +lean_dec(x_6); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +x_21 = lean_ctor_get(x_19, 0); +lean_inc_ref(x_21); +lean_dec(x_19); +x_22 = 0; +x_23 = l_Lean_Environment_find_x3f(x_21, x_16, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_free_object(x_17); +lean_dec(x_13); +x_8 = x_20; +goto block_11; +} +else +{ +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); +if (lean_obj_tag(x_25) == 6) +{ +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_ref(x_26); +lean_dec_ref(x_25); +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +lean_dec_ref(x_26); +x_28 = l_Lean_Expr_getAppNumArgs(x_13); +x_29 = lean_nat_add(x_27, x_2); +lean_dec(x_27); +x_30 = lean_nat_dec_lt(x_29, x_28); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_23); +lean_dec(x_13); +x_31 = lean_box(0); +lean_ctor_set(x_17, 0, x_31); +return x_17; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_nat_sub(x_28, x_29); +lean_dec(x_29); +lean_dec(x_28); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_nat_sub(x_32, x_33); +lean_dec(x_32); +x_35 = l_Lean_Expr_getRevArg_x21(x_13, x_34); +lean_dec(x_13); +lean_ctor_set(x_23, 0, x_35); +lean_ctor_set(x_17, 0, x_23); +return x_17; +} +} +else +{ +lean_free_object(x_23); +lean_dec(x_25); +lean_free_object(x_17); +lean_dec(x_13); +x_8 = x_20; +goto block_11; +} +} +else +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_23, 0); +lean_inc(x_36); +lean_dec(x_23); +if (lean_obj_tag(x_36) == 6) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_36, 0); +lean_inc_ref(x_37); +lean_dec_ref(x_36); +x_38 = lean_ctor_get(x_37, 3); +lean_inc(x_38); +lean_dec_ref(x_37); +x_39 = l_Lean_Expr_getAppNumArgs(x_13); +x_40 = lean_nat_add(x_38, x_2); +lean_dec(x_38); +x_41 = lean_nat_dec_lt(x_40, x_39); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_13); +x_42 = lean_box(0); +lean_ctor_set(x_17, 0, x_42); +return x_17; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_43 = lean_nat_sub(x_39, x_40); +lean_dec(x_40); +lean_dec(x_39); +x_44 = lean_unsigned_to_nat(1u); +x_45 = lean_nat_sub(x_43, x_44); +lean_dec(x_43); +x_46 = l_Lean_Expr_getRevArg_x21(x_13, x_45); +lean_dec(x_13); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_17, 0, x_47); +return x_17; +} +} +else +{ +lean_dec(x_36); +lean_free_object(x_17); +lean_dec(x_13); +x_8 = x_20; +goto block_11; +} +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_17, 0); +x_49 = lean_ctor_get(x_17, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_17); +x_50 = lean_ctor_get(x_48, 0); +lean_inc_ref(x_50); +lean_dec(x_48); +x_51 = 0; +x_52 = l_Lean_Environment_find_x3f(x_50, x_16, x_51); +if (lean_obj_tag(x_52) == 0) +{ +lean_dec(x_13); +x_8 = x_49; +goto block_11; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +if (lean_obj_tag(x_53) == 6) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_55 = lean_ctor_get(x_53, 0); +lean_inc_ref(x_55); +lean_dec_ref(x_53); +x_56 = lean_ctor_get(x_55, 3); +lean_inc(x_56); +lean_dec_ref(x_55); +x_57 = l_Lean_Expr_getAppNumArgs(x_13); +x_58 = lean_nat_add(x_56, x_2); +lean_dec(x_56); +x_59 = lean_nat_dec_lt(x_58, x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_54); +lean_dec(x_13); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_49); +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; +x_62 = lean_nat_sub(x_57, x_58); +lean_dec(x_58); +lean_dec(x_57); +x_63 = lean_unsigned_to_nat(1u); +x_64 = lean_nat_sub(x_62, x_63); +lean_dec(x_62); +x_65 = l_Lean_Expr_getRevArg_x21(x_13, x_64); +lean_dec(x_13); +if (lean_is_scalar(x_54)) { + x_66 = lean_alloc_ctor(1, 1, 0); +} else { + x_66 = x_54; +} +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_49); +return x_67; +} +} +else +{ +lean_dec(x_54); +lean_dec(x_53); +lean_dec(x_13); +x_8 = x_49; +goto block_11; +} +} +} +} +else +{ +lean_dec_ref(x_15); +lean_dec(x_13); +lean_dec(x_6); +x_8 = x_14; +goto block_11; +} +} +else +{ +uint8_t x_68; +lean_dec(x_6); +x_68 = !lean_is_exclusive(x_12); +if (x_68 == 0) +{ +return x_12; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_12, 0); +x_70 = lean_ctor_get(x_12, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_12); +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_11: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} } } LEAN_EXPORT lean_object* l_Lean_Meta_projectCore_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) { @@ -19922,10 +20323,6 @@ _start: { lean_object* x_8; x_8 = l_Lean_Meta_projectCore_x3f(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); return x_8; } @@ -19935,6 +20332,9 @@ _start: { lean_object* x_8; lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); x_8 = lean_whnf(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { @@ -19944,14 +20344,16 @@ 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_Meta_projectCore_x3f___redArg(x_9, x_2, x_6, x_10); -lean_dec(x_6); +x_11 = l_Lean_Meta_projectCore_x3f(x_9, x_2, x_3, x_4, x_5, x_6, x_10); return x_11; } else { uint8_t x_12; lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); x_12 = !lean_is_exclusive(x_8); if (x_12 == 0) { @@ -21214,7 +21616,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__2; x_2 = lean_unsigned_to_nat(13u); -x_3 = lean_unsigned_to_nat(694u); +x_3 = lean_unsigned_to_nat(706u); x_4 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__1; x_5 = l_Lean_Meta_whnfEasyCases___closed__7; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -21242,620 +21644,620 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_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) { _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; uint8_t x_13; lean_object* x_14; lean_object* x_15; 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; uint8_t x_186; 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_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; uint8_t x_217; lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; 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_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +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; lean_object* x_14; lean_object* x_15; 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; uint8_t x_186; 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_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; uint8_t x_217; lean_object* x_219; uint8_t 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_object* x_233; uint8_t 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_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_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; switch (lean_obj_tag(x_1)) { case 0: { -lean_object* x_330; lean_object* x_331; +lean_object* x_334; lean_object* x_335; lean_dec_ref(x_1); -x_330 = l_Lean_Meta_whnfEasyCases___closed__10; -x_331 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_330, x_2, x_3, x_4, x_5, x_6); -return x_331; +x_334 = l_Lean_Meta_whnfEasyCases___closed__10; +x_335 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_334, x_2, x_3, x_4, x_5, x_6); +return x_335; } case 1: { -lean_object* x_332; lean_object* x_333; -x_332 = lean_ctor_get(x_1, 0); +lean_object* x_336; lean_object* x_337; +x_336 = lean_ctor_get(x_1, 0); lean_inc_ref(x_2); -lean_inc(x_332); -x_333 = l_Lean_FVarId_getDecl___redArg(x_332, x_2, x_4, x_5, x_6); -if (lean_obj_tag(x_333) == 0) +lean_inc(x_336); +x_337 = l_Lean_FVarId_getDecl___redArg(x_336, x_2, x_4, x_5, x_6); +if (lean_obj_tag(x_337) == 0) { -lean_object* x_334; -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -if (lean_obj_tag(x_334) == 0) -{ -uint8_t x_335; -lean_dec_ref(x_334); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_335 = !lean_is_exclusive(x_333); -if (x_335 == 0) -{ -lean_object* x_336; -x_336 = lean_ctor_get(x_333, 0); -lean_dec(x_336); -lean_ctor_set(x_333, 0, x_1); -return x_333; -} -else -{ -lean_object* x_337; lean_object* x_338; -x_337 = lean_ctor_get(x_333, 1); -lean_inc(x_337); -lean_dec(x_333); -x_338 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_338, 0, x_1); -lean_ctor_set(x_338, 1, x_337); -return x_338; -} -} -else +lean_object* x_338; +x_338 = lean_ctor_get(x_337, 0); +lean_inc(x_338); +if (lean_obj_tag(x_338) == 0) { uint8_t x_339; -x_339 = lean_ctor_get_uint8(x_334, sizeof(void*)*5); +lean_dec_ref(x_338); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_339 = !lean_is_exclusive(x_337); if (x_339 == 0) { -lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_340 = lean_ctor_get(x_333, 1); -lean_inc(x_340); -lean_dec_ref(x_333); -x_341 = lean_ctor_get(x_334, 4); -lean_inc_ref(x_341); -x_342 = l_Lean_Meta_getConfig___redArg(x_2, x_340); -if (lean_obj_tag(x_342) == 0) +lean_object* x_340; +x_340 = lean_ctor_get(x_337, 0); +lean_dec(x_340); +lean_ctor_set(x_337, 0, x_1); +return x_337; +} +else +{ +lean_object* x_341; lean_object* x_342; +x_341 = lean_ctor_get(x_337, 1); +lean_inc(x_341); +lean_dec(x_337); +x_342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_342, 0, x_1); +lean_ctor_set(x_342, 1, x_341); +return x_342; +} +} +else { uint8_t x_343; -x_343 = !lean_is_exclusive(x_342); +x_343 = lean_ctor_get_uint8(x_338, sizeof(void*)*5); if (x_343 == 0) { -lean_object* x_344; lean_object* x_345; lean_object* x_346; uint8_t x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_366; -x_344 = lean_ctor_get(x_342, 0); -x_345 = lean_ctor_get(x_342, 1); -x_366 = l_Lean_LocalDecl_isImplementationDetail(x_334); -lean_dec_ref(x_334); -if (x_366 == 0) -{ -uint8_t x_367; -x_367 = lean_ctor_get_uint8(x_344, 16); -lean_dec(x_344); -if (x_367 == 0) -{ -uint8_t x_368; lean_object* x_369; uint8_t x_370; -x_368 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); -x_369 = lean_ctor_get(x_2, 1); -x_370 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_332, x_369); -if (x_370 == 0) -{ -lean_dec_ref(x_341); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -lean_ctor_set(x_342, 0, x_1); -return x_342; -} -else -{ -lean_free_object(x_342); -lean_inc(x_332); -lean_dec_ref(x_1); -x_346 = x_2; -x_347 = x_368; -x_348 = x_3; -x_349 = x_4; -x_350 = x_5; -goto block_359; -} -} -else -{ -lean_free_object(x_342); -lean_inc(x_332); -lean_dec_ref(x_1); -x_360 = x_2; -x_361 = x_3; -x_362 = x_4; -x_363 = x_5; -goto block_365; -} -} -else -{ -lean_free_object(x_342); -lean_dec(x_344); -lean_inc(x_332); -lean_dec_ref(x_1); -x_360 = x_2; -x_361 = x_3; -x_362 = x_4; -x_363 = x_5; -goto block_365; -} -block_359: +lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_344 = lean_ctor_get(x_337, 1); +lean_inc(x_344); +lean_dec_ref(x_337); +x_345 = lean_ctor_get(x_338, 4); +lean_inc_ref(x_345); +x_346 = l_Lean_Meta_getConfig___redArg(x_2, x_344); +if (lean_obj_tag(x_346) == 0) { +uint8_t x_347; +x_347 = !lean_is_exclusive(x_346); if (x_347 == 0) { -lean_dec(x_332); -x_1 = x_341; -x_2 = x_346; -x_3 = x_348; -x_4 = x_349; -x_5 = x_350; -x_6 = x_345; -goto _start; -} -else +lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_370; +x_348 = lean_ctor_get(x_346, 0); +x_349 = lean_ctor_get(x_346, 1); +x_370 = l_Lean_LocalDecl_isImplementationDetail(x_338); +lean_dec_ref(x_338); +if (x_370 == 0) { -lean_object* x_352; -x_352 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_332, x_348, x_345); -if (lean_obj_tag(x_352) == 0) -{ -lean_object* x_353; -x_353 = lean_ctor_get(x_352, 1); -lean_inc(x_353); -lean_dec_ref(x_352); -x_1 = x_341; -x_2 = x_346; -x_3 = x_348; -x_4 = x_349; -x_5 = x_350; -x_6 = x_353; -goto _start; -} -else -{ -uint8_t x_355; -lean_dec(x_350); -lean_dec_ref(x_349); +uint8_t x_371; +x_371 = lean_ctor_get_uint8(x_348, 16); lean_dec(x_348); -lean_dec_ref(x_346); -lean_dec_ref(x_341); -x_355 = !lean_is_exclusive(x_352); -if (x_355 == 0) -{ -return x_352; -} -else -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_356 = lean_ctor_get(x_352, 0); -x_357 = lean_ctor_get(x_352, 1); -lean_inc(x_357); -lean_inc(x_356); -lean_dec(x_352); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_356); -lean_ctor_set(x_358, 1, x_357); -return x_358; -} -} -} -} -block_365: -{ -uint8_t x_364; -x_364 = lean_ctor_get_uint8(x_360, sizeof(void*)*7); -x_346 = x_360; -x_347 = x_364; -x_348 = x_361; -x_349 = x_362; -x_350 = x_363; -goto block_359; -} -} -else -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_393; -x_371 = lean_ctor_get(x_342, 0); -x_372 = lean_ctor_get(x_342, 1); -lean_inc(x_372); -lean_inc(x_371); -lean_dec(x_342); -x_393 = l_Lean_LocalDecl_isImplementationDetail(x_334); -lean_dec_ref(x_334); -if (x_393 == 0) -{ -uint8_t x_394; -x_394 = lean_ctor_get_uint8(x_371, 16); -lean_dec(x_371); -if (x_394 == 0) -{ -uint8_t x_395; lean_object* x_396; uint8_t x_397; -x_395 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); -x_396 = lean_ctor_get(x_2, 1); -x_397 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_332, x_396); -if (x_397 == 0) -{ -lean_object* x_398; -lean_dec_ref(x_341); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_398 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_398, 0, x_1); -lean_ctor_set(x_398, 1, x_372); -return x_398; -} -else -{ -lean_inc(x_332); -lean_dec_ref(x_1); -x_373 = x_2; -x_374 = x_395; -x_375 = x_3; -x_376 = x_4; -x_377 = x_5; -goto block_386; -} -} -else -{ -lean_inc(x_332); -lean_dec_ref(x_1); -x_387 = x_2; -x_388 = x_3; -x_389 = x_4; -x_390 = x_5; -goto block_392; -} -} -else -{ -lean_dec(x_371); -lean_inc(x_332); -lean_dec_ref(x_1); -x_387 = x_2; -x_388 = x_3; -x_389 = x_4; -x_390 = x_5; -goto block_392; -} -block_386: +if (x_371 == 0) { +uint8_t x_372; lean_object* x_373; uint8_t x_374; +x_372 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_373 = lean_ctor_get(x_2, 1); +x_374 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_336, x_373); if (x_374 == 0) { -lean_dec(x_332); -x_1 = x_341; -x_2 = x_373; -x_3 = x_375; -x_4 = x_376; -x_5 = x_377; -x_6 = x_372; -goto _start; -} -else -{ -lean_object* x_379; -x_379 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_332, x_375, x_372); -if (lean_obj_tag(x_379) == 0) -{ -lean_object* x_380; -x_380 = lean_ctor_get(x_379, 1); -lean_inc(x_380); -lean_dec_ref(x_379); -x_1 = x_341; -x_2 = x_373; -x_3 = x_375; -x_4 = x_376; -x_5 = x_377; -x_6 = x_380; -goto _start; -} -else -{ -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; -lean_dec(x_377); -lean_dec_ref(x_376); -lean_dec(x_375); -lean_dec_ref(x_373); -lean_dec_ref(x_341); -x_382 = lean_ctor_get(x_379, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_379, 1); -lean_inc(x_383); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - x_384 = x_379; -} else { - lean_dec_ref(x_379); - x_384 = lean_box(0); -} -if (lean_is_scalar(x_384)) { - x_385 = lean_alloc_ctor(1, 2, 0); -} else { - x_385 = x_384; -} -lean_ctor_set(x_385, 0, x_382); -lean_ctor_set(x_385, 1, x_383); -return x_385; -} -} -} -block_392: -{ -uint8_t x_391; -x_391 = lean_ctor_get_uint8(x_387, sizeof(void*)*7); -x_373 = x_387; -x_374 = x_391; -x_375 = x_388; -x_376 = x_389; -x_377 = x_390; -goto block_386; -} -} -} -else -{ -uint8_t x_399; -lean_dec_ref(x_341); -lean_dec_ref(x_334); +lean_dec_ref(x_345); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_399 = !lean_is_exclusive(x_342); -if (x_399 == 0) -{ -return x_342; +lean_ctor_set(x_346, 0, x_1); +return x_346; } else { -lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_400 = lean_ctor_get(x_342, 0); -x_401 = lean_ctor_get(x_342, 1); -lean_inc(x_401); -lean_inc(x_400); -lean_dec(x_342); -x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_400); -lean_ctor_set(x_402, 1, x_401); +lean_free_object(x_346); +lean_inc(x_336); +lean_dec_ref(x_1); +x_350 = x_2; +x_351 = x_372; +x_352 = x_3; +x_353 = x_4; +x_354 = x_5; +goto block_363; +} +} +else +{ +lean_free_object(x_346); +lean_inc(x_336); +lean_dec_ref(x_1); +x_364 = x_2; +x_365 = x_3; +x_366 = x_4; +x_367 = x_5; +goto block_369; +} +} +else +{ +lean_free_object(x_346); +lean_dec(x_348); +lean_inc(x_336); +lean_dec_ref(x_1); +x_364 = x_2; +x_365 = x_3; +x_366 = x_4; +x_367 = x_5; +goto block_369; +} +block_363: +{ +if (x_351 == 0) +{ +lean_dec(x_336); +x_1 = x_345; +x_2 = x_350; +x_3 = x_352; +x_4 = x_353; +x_5 = x_354; +x_6 = x_349; +goto _start; +} +else +{ +lean_object* x_356; +x_356 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_336, x_352, x_349); +if (lean_obj_tag(x_356) == 0) +{ +lean_object* x_357; +x_357 = lean_ctor_get(x_356, 1); +lean_inc(x_357); +lean_dec_ref(x_356); +x_1 = x_345; +x_2 = x_350; +x_3 = x_352; +x_4 = x_353; +x_5 = x_354; +x_6 = x_357; +goto _start; +} +else +{ +uint8_t x_359; +lean_dec(x_354); +lean_dec_ref(x_353); +lean_dec(x_352); +lean_dec_ref(x_350); +lean_dec_ref(x_345); +x_359 = !lean_is_exclusive(x_356); +if (x_359 == 0) +{ +return x_356; +} +else +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_360 = lean_ctor_get(x_356, 0); +x_361 = lean_ctor_get(x_356, 1); +lean_inc(x_361); +lean_inc(x_360); +lean_dec(x_356); +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_360); +lean_ctor_set(x_362, 1, x_361); +return x_362; +} +} +} +} +block_369: +{ +uint8_t x_368; +x_368 = lean_ctor_get_uint8(x_364, sizeof(void*)*7); +x_350 = x_364; +x_351 = x_368; +x_352 = x_365; +x_353 = x_366; +x_354 = x_367; +goto block_363; +} +} +else +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_397; +x_375 = lean_ctor_get(x_346, 0); +x_376 = lean_ctor_get(x_346, 1); +lean_inc(x_376); +lean_inc(x_375); +lean_dec(x_346); +x_397 = l_Lean_LocalDecl_isImplementationDetail(x_338); +lean_dec_ref(x_338); +if (x_397 == 0) +{ +uint8_t x_398; +x_398 = lean_ctor_get_uint8(x_375, 16); +lean_dec(x_375); +if (x_398 == 0) +{ +uint8_t x_399; lean_object* x_400; uint8_t x_401; +x_399 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_400 = lean_ctor_get(x_2, 1); +x_401 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_336, x_400); +if (x_401 == 0) +{ +lean_object* x_402; +lean_dec_ref(x_345); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_402 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_402, 0, x_1); +lean_ctor_set(x_402, 1, x_376); return x_402; } +else +{ +lean_inc(x_336); +lean_dec_ref(x_1); +x_377 = x_2; +x_378 = x_399; +x_379 = x_3; +x_380 = x_4; +x_381 = x_5; +goto block_390; +} +} +else +{ +lean_inc(x_336); +lean_dec_ref(x_1); +x_391 = x_2; +x_392 = x_3; +x_393 = x_4; +x_394 = x_5; +goto block_396; +} +} +else +{ +lean_dec(x_375); +lean_inc(x_336); +lean_dec_ref(x_1); +x_391 = x_2; +x_392 = x_3; +x_393 = x_4; +x_394 = x_5; +goto block_396; +} +block_390: +{ +if (x_378 == 0) +{ +lean_dec(x_336); +x_1 = x_345; +x_2 = x_377; +x_3 = x_379; +x_4 = x_380; +x_5 = x_381; +x_6 = x_376; +goto _start; +} +else +{ +lean_object* x_383; +x_383 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_336, x_379, x_376); +if (lean_obj_tag(x_383) == 0) +{ +lean_object* x_384; +x_384 = lean_ctor_get(x_383, 1); +lean_inc(x_384); +lean_dec_ref(x_383); +x_1 = x_345; +x_2 = x_377; +x_3 = x_379; +x_4 = x_380; +x_5 = x_381; +x_6 = x_384; +goto _start; +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +lean_dec(x_381); +lean_dec_ref(x_380); +lean_dec(x_379); +lean_dec_ref(x_377); +lean_dec_ref(x_345); +x_386 = lean_ctor_get(x_383, 0); +lean_inc(x_386); +x_387 = lean_ctor_get(x_383, 1); +lean_inc(x_387); +if (lean_is_exclusive(x_383)) { + lean_ctor_release(x_383, 0); + lean_ctor_release(x_383, 1); + x_388 = x_383; +} else { + lean_dec_ref(x_383); + 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; +} +} +} +block_396: +{ +uint8_t x_395; +x_395 = lean_ctor_get_uint8(x_391, sizeof(void*)*7); +x_377 = x_391; +x_378 = x_395; +x_379 = x_392; +x_380 = x_393; +x_381 = x_394; +goto block_390; +} } } else { uint8_t x_403; -lean_dec_ref(x_334); +lean_dec_ref(x_345); +lean_dec_ref(x_338); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_403 = !lean_is_exclusive(x_333); +lean_dec_ref(x_1); +x_403 = !lean_is_exclusive(x_346); if (x_403 == 0) { -lean_object* x_404; -x_404 = lean_ctor_get(x_333, 0); -lean_dec(x_404); -lean_ctor_set(x_333, 0, x_1); -return x_333; +return x_346; } else { -lean_object* x_405; lean_object* x_406; -x_405 = lean_ctor_get(x_333, 1); +lean_object* x_404; lean_object* x_405; lean_object* x_406; +x_404 = lean_ctor_get(x_346, 0); +x_405 = lean_ctor_get(x_346, 1); lean_inc(x_405); -lean_dec(x_333); -x_406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_406, 0, x_1); +lean_inc(x_404); +lean_dec(x_346); +x_406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_406, 0, x_404); lean_ctor_set(x_406, 1, x_405); return x_406; } } } -} else { uint8_t x_407; +lean_dec_ref(x_338); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_407 = !lean_is_exclusive(x_333); +x_407 = !lean_is_exclusive(x_337); if (x_407 == 0) { -return x_333; +lean_object* x_408; +x_408 = lean_ctor_get(x_337, 0); +lean_dec(x_408); +lean_ctor_set(x_337, 0, x_1); +return x_337; } else { -lean_object* x_408; lean_object* x_409; lean_object* x_410; -x_408 = lean_ctor_get(x_333, 0); -x_409 = lean_ctor_get(x_333, 1); +lean_object* x_409; lean_object* x_410; +x_409 = lean_ctor_get(x_337, 1); lean_inc(x_409); -lean_inc(x_408); -lean_dec(x_333); -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_408); +lean_dec(x_337); +x_410 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_410, 0, x_1); lean_ctor_set(x_410, 1, x_409); return x_410; } } } -case 2: +} +else { -lean_object* x_411; lean_object* x_412; lean_object* x_413; -x_411 = lean_ctor_get(x_1, 0); -x_412 = l_Lean_getExprMVarAssignment_x3f___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__5___redArg(x_411, x_3, x_6); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -if (lean_obj_tag(x_413) == 0) -{ -uint8_t x_414; +uint8_t x_411; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_414 = !lean_is_exclusive(x_412); -if (x_414 == 0) -{ -lean_object* x_415; -x_415 = lean_ctor_get(x_412, 0); -lean_dec(x_415); -lean_ctor_set(x_412, 0, x_1); -return x_412; -} -else -{ -lean_object* x_416; lean_object* x_417; -x_416 = lean_ctor_get(x_412, 1); -lean_inc(x_416); -lean_dec(x_412); -x_417 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_417, 0, x_1); -lean_ctor_set(x_417, 1, x_416); -return x_417; -} -} -else -{ -lean_object* x_418; lean_object* x_419; lean_dec_ref(x_1); -x_418 = lean_ctor_get(x_412, 1); -lean_inc(x_418); -lean_dec_ref(x_412); -x_419 = lean_ctor_get(x_413, 0); -lean_inc(x_419); -lean_dec_ref(x_413); -x_1 = x_419; -x_6 = x_418; +x_411 = !lean_is_exclusive(x_337); +if (x_411 == 0) +{ +return x_337; +} +else +{ +lean_object* x_412; lean_object* x_413; lean_object* x_414; +x_412 = lean_ctor_get(x_337, 0); +x_413 = lean_ctor_get(x_337, 1); +lean_inc(x_413); +lean_inc(x_412); +lean_dec(x_337); +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_412); +lean_ctor_set(x_414, 1, x_413); +return x_414; +} +} +} +case 2: +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; +x_415 = lean_ctor_get(x_1, 0); +x_416 = l_Lean_getExprMVarAssignment_x3f___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__5___redArg(x_415, x_3, x_6); +x_417 = lean_ctor_get(x_416, 0); +lean_inc(x_417); +if (lean_obj_tag(x_417) == 0) +{ +uint8_t x_418; +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_418 = !lean_is_exclusive(x_416); +if (x_418 == 0) +{ +lean_object* x_419; +x_419 = lean_ctor_get(x_416, 0); +lean_dec(x_419); +lean_ctor_set(x_416, 0, x_1); +return x_416; +} +else +{ +lean_object* x_420; lean_object* x_421; +x_420 = lean_ctor_get(x_416, 1); +lean_inc(x_420); +lean_dec(x_416); +x_421 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_421, 0, x_1); +lean_ctor_set(x_421, 1, x_420); +return x_421; +} +} +else +{ +lean_object* x_422; lean_object* x_423; +lean_dec_ref(x_1); +x_422 = lean_ctor_get(x_416, 1); +lean_inc(x_422); +lean_dec_ref(x_416); +x_423 = lean_ctor_get(x_417, 0); +lean_inc(x_423); +lean_dec_ref(x_417); +x_1 = x_423; +x_6 = x_422; goto _start; } } case 3: { -lean_object* x_421; +lean_object* x_425; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_421 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_421, 0, x_1); -lean_ctor_set(x_421, 1, x_6); -return x_421; +x_425 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_425, 0, x_1); +lean_ctor_set(x_425, 1, x_6); +return x_425; } case 6: { -lean_object* x_422; +lean_object* x_426; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_422 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_422, 0, x_1); -lean_ctor_set(x_422, 1, x_6); -return x_422; +x_426 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_426, 0, x_1); +lean_ctor_set(x_426, 1, x_6); +return x_426; } case 7: { -lean_object* x_423; +lean_object* x_427; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_423 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_423, 0, x_1); -lean_ctor_set(x_423, 1, x_6); -return x_423; +x_427 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_427, 0, x_1); +lean_ctor_set(x_427, 1, x_6); +return x_427; } case 9: { -lean_object* x_424; +lean_object* x_428; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_424 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_424, 0, x_1); -lean_ctor_set(x_424, 1, x_6); -return x_424; +x_428 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_428, 0, x_1); +lean_ctor_set(x_428, 1, x_6); +return x_428; } case 10: { -lean_object* x_425; -x_425 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_425); +lean_object* x_429; +x_429 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_429); lean_dec_ref(x_1); -x_1 = x_425; +x_1 = x_429; goto _start; } default: { -lean_object* x_427; lean_object* x_428; lean_object* x_429; uint8_t x_430; -x_427 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__5; -x_428 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__2___redArg(x_427, x_4, x_6); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = lean_unbox(x_429); -lean_dec(x_429); -if (x_430 == 0) +lean_object* x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; +x_431 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__5; +x_432 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__2___redArg(x_431, x_4, x_6); +x_433 = lean_ctor_get(x_432, 0); +lean_inc(x_433); +x_434 = lean_unbox(x_433); +lean_dec(x_433); +if (x_434 == 0) { -lean_object* x_431; -x_431 = lean_ctor_get(x_428, 1); -lean_inc(x_431); -lean_dec_ref(x_428); -x_263 = x_2; -x_264 = x_3; -x_265 = x_4; -x_266 = x_5; -x_267 = x_431; -goto block_329; +lean_object* x_435; +x_435 = lean_ctor_get(x_432, 1); +lean_inc(x_435); +lean_dec_ref(x_432); +x_267 = x_2; +x_268 = x_3; +x_269 = x_4; +x_270 = x_5; +x_271 = x_435; +goto block_333; } else { -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_432 = lean_ctor_get(x_428, 1); -lean_inc(x_432); -lean_dec_ref(x_428); +lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_436 = lean_ctor_get(x_432, 1); +lean_inc(x_436); +lean_dec_ref(x_432); lean_inc_ref(x_1); -x_433 = l_Lean_MessageData_ofExpr(x_1); -x_434 = l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3(x_427, x_433, x_2, x_3, x_4, x_5, x_432); -x_435 = lean_ctor_get(x_434, 1); -lean_inc(x_435); -lean_dec_ref(x_434); -x_263 = x_2; -x_264 = x_3; -x_265 = x_4; -x_266 = x_5; -x_267 = x_435; -goto block_329; +x_437 = l_Lean_MessageData_ofExpr(x_1); +x_438 = l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3(x_431, x_437, x_2, x_3, x_4, x_5, x_436); +x_439 = lean_ctor_get(x_438, 1); +lean_inc(x_439); +lean_dec_ref(x_438); +x_267 = x_2; +x_268 = x_3; +x_269 = x_4; +x_270 = x_5; +x_271 = x_439; +goto block_333; } } } block_177: { uint8_t x_16; -x_16 = lean_ctor_get_uint8(x_8, 12); -lean_dec_ref(x_8); +x_16 = lean_ctor_get_uint8(x_13, 12); +lean_dec_ref(x_13); if (x_16 == 0) { lean_object* x_17; -lean_dec_ref(x_14); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec(x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_12); +lean_ctor_set(x_17, 1, x_14); return x_17; } else { lean_object* x_18; -lean_inc(x_9); -lean_inc_ref(x_11); lean_inc(x_7); +lean_inc_ref(x_11); +lean_inc(x_12); lean_inc_ref(x_10); lean_inc_ref(x_15); -x_18 = l_Lean_Meta_reduceMatcher_x3f(x_15, x_10, x_7, x_11, x_9, x_12); +x_18 = l_Lean_Meta_reduceMatcher_x3f(x_15, x_10, x_12, x_11, x_7, x_14); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; @@ -21866,14 +22268,14 @@ case 0: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec_ref(x_15); -lean_dec_ref(x_14); +lean_dec_ref(x_9); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec_ref(x_18); x_21 = lean_ctor_get(x_19, 0); lean_inc_ref(x_21); lean_dec_ref(x_19); -x_22 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_21, x_10, x_7, x_11, x_9, x_20); +x_22 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_21, x_10, x_12, x_11, x_7, x_20); return x_22; } case 2: @@ -21886,8 +22288,8 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_18, 1); x_25 = lean_ctor_get(x_18, 0); lean_dec(x_25); -x_26 = l_Lean_Expr_getAppFn(x_14); -lean_dec_ref(x_14); +x_26 = l_Lean_Expr_getAppFn(x_9); +lean_dec_ref(x_9); if (lean_obj_tag(x_26) == 4) { lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; @@ -21897,7 +22299,7 @@ lean_inc(x_27); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec_ref(x_26); -x_29 = lean_st_ref_get(x_9, x_24); +x_29 = lean_st_ref_get(x_7, x_24); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) { @@ -21907,13 +22309,13 @@ x_32 = lean_ctor_get(x_29, 1); x_33 = lean_ctor_get(x_31, 0); lean_inc_ref(x_33); lean_dec(x_31); -x_34 = l_Lean_Environment_find_x3f(x_33, x_27, x_13); +x_34 = l_Lean_Environment_find_x3f(x_33, x_27, x_8); if (lean_obj_tag(x_34) == 0) { lean_dec(x_28); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); lean_ctor_set(x_29, 0, x_15); return x_29; @@ -21935,7 +22337,7 @@ lean_dec_ref(x_36); lean_free_object(x_29); x_37 = l_Lean_ConstantInfo_name(x_35); lean_inc(x_37); -x_38 = l_Lean_Meta_isAuxDef___redArg(x_37, x_9, x_32); +x_38 = l_Lean_Meta_isAuxDef___redArg(x_37, x_7, x_32); x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); x_40 = lean_unbox(x_39); @@ -21946,9 +22348,9 @@ uint8_t x_41; lean_dec(x_37); lean_dec_ref(x_35); lean_dec(x_28); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_41 = !lean_is_exclusive(x_38); if (x_41 == 0) @@ -21977,7 +22379,7 @@ lean_object* x_45; lean_object* x_46; x_45 = lean_ctor_get(x_38, 1); lean_inc(x_45); lean_dec_ref(x_38); -x_46 = l_Lean_Meta_recordUnfold___redArg(x_37, x_7, x_11, x_45); +x_46 = l_Lean_Meta_recordUnfold___redArg(x_37, x_12, x_11, x_45); 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; @@ -21989,7 +22391,7 @@ x_49 = lean_mk_empty_array_with_capacity(x_48); lean_dec(x_48); lean_inc_ref(x_15); x_50 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_15, x_49); -x_51 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_35, x_28, x_50, x_13, x_10, x_7, x_11, x_9, x_47); +x_51 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_35, x_28, x_50, x_8, x_10, x_12, x_11, x_7, x_47); lean_dec_ref(x_50); lean_dec_ref(x_35); return x_51; @@ -22000,9 +22402,9 @@ uint8_t x_52; lean_dec_ref(x_35); lean_dec(x_28); lean_dec_ref(x_15); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_52 = !lean_is_exclusive(x_46); if (x_52 == 0) @@ -22042,7 +22444,7 @@ x_61 = lean_unsigned_to_nat(1u); x_62 = lean_nat_sub(x_59, x_61); lean_dec(x_59); x_63 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_60, x_62); -x_64 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_56, x_63, x_36, x_57, x_10, x_7, x_11, x_9, x_32); +x_64 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_56, x_63, x_36, x_57, x_10, x_12, x_11, x_7, x_32); lean_dec_ref(x_63); lean_dec_ref(x_56); return x_64; @@ -22063,7 +22465,7 @@ x_70 = lean_unsigned_to_nat(1u); x_71 = lean_nat_sub(x_68, x_70); lean_dec(x_68); x_72 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_69, x_71); -x_73 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_65, x_28, x_72, x_36, x_66, x_10, x_7, x_11, x_9, x_32); +x_73 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_65, x_28, x_72, x_36, x_66, x_10, x_12, x_11, x_7, x_32); lean_dec_ref(x_72); return x_73; } @@ -22072,9 +22474,9 @@ default: lean_dec_ref(x_36); lean_dec(x_35); lean_dec(x_28); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); lean_ctor_set(x_29, 0, x_15); return x_29; @@ -22093,14 +22495,14 @@ lean_dec(x_29); x_76 = lean_ctor_get(x_74, 0); lean_inc_ref(x_76); lean_dec(x_74); -x_77 = l_Lean_Environment_find_x3f(x_76, x_27, x_13); +x_77 = l_Lean_Environment_find_x3f(x_76, x_27, x_8); if (lean_obj_tag(x_77) == 0) { lean_object* x_78; lean_dec(x_28); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_78 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_78, 0, x_15); @@ -22123,7 +22525,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_dec_ref(x_80); x_81 = l_Lean_ConstantInfo_name(x_79); lean_inc(x_81); -x_82 = l_Lean_Meta_isAuxDef___redArg(x_81, x_9, x_75); +x_82 = l_Lean_Meta_isAuxDef___redArg(x_81, x_7, x_75); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); x_84 = lean_unbox(x_83); @@ -22134,9 +22536,9 @@ lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_81); lean_dec_ref(x_79); lean_dec(x_28); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_85 = lean_ctor_get(x_82, 1); lean_inc(x_85); @@ -22163,7 +22565,7 @@ lean_object* x_88; lean_object* x_89; x_88 = lean_ctor_get(x_82, 1); lean_inc(x_88); lean_dec_ref(x_82); -x_89 = l_Lean_Meta_recordUnfold___redArg(x_81, x_7, x_11, x_88); +x_89 = l_Lean_Meta_recordUnfold___redArg(x_81, x_12, x_11, x_88); if (lean_obj_tag(x_89) == 0) { lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; @@ -22175,7 +22577,7 @@ x_92 = lean_mk_empty_array_with_capacity(x_91); lean_dec(x_91); lean_inc_ref(x_15); x_93 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_15, x_92); -x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_79, x_28, x_93, x_13, x_10, x_7, x_11, x_9, x_90); +x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_79, x_28, x_93, x_8, x_10, x_12, x_11, x_7, x_90); lean_dec_ref(x_93); lean_dec_ref(x_79); return x_94; @@ -22186,9 +22588,9 @@ lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_dec_ref(x_79); lean_dec(x_28); lean_dec_ref(x_15); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_95 = lean_ctor_get(x_89, 0); lean_inc(x_95); @@ -22229,7 +22631,7 @@ x_104 = lean_unsigned_to_nat(1u); x_105 = lean_nat_sub(x_102, x_104); lean_dec(x_102); x_106 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_103, x_105); -x_107 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_99, x_106, x_80, x_100, x_10, x_7, x_11, x_9, x_75); +x_107 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_99, x_106, x_80, x_100, x_10, x_12, x_11, x_7, x_75); lean_dec_ref(x_106); lean_dec_ref(x_99); return x_107; @@ -22249,7 +22651,7 @@ x_113 = lean_unsigned_to_nat(1u); x_114 = lean_nat_sub(x_111, x_113); lean_dec(x_111); x_115 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_112, x_114); -x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_108, x_28, x_115, x_80, x_109, x_10, x_7, x_11, x_9, x_75); +x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_108, x_28, x_115, x_80, x_109, x_10, x_12, x_11, x_7, x_75); lean_dec_ref(x_115); return x_116; } @@ -22259,9 +22661,9 @@ lean_object* x_117; lean_dec_ref(x_80); lean_dec(x_79); lean_dec(x_28); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_117 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_117, 0, x_15); @@ -22275,9 +22677,9 @@ return x_117; else { lean_dec_ref(x_26); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); lean_ctor_set(x_18, 0, x_15); return x_18; @@ -22289,8 +22691,8 @@ lean_object* x_118; lean_object* x_119; x_118 = lean_ctor_get(x_18, 1); lean_inc(x_118); lean_dec(x_18); -x_119 = l_Lean_Expr_getAppFn(x_14); -lean_dec_ref(x_14); +x_119 = l_Lean_Expr_getAppFn(x_9); +lean_dec_ref(x_9); if (lean_obj_tag(x_119) == 4) { 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; @@ -22299,7 +22701,7 @@ lean_inc(x_120); x_121 = lean_ctor_get(x_119, 1); lean_inc(x_121); lean_dec_ref(x_119); -x_122 = lean_st_ref_get(x_9, x_118); +x_122 = lean_st_ref_get(x_7, x_118); x_123 = lean_ctor_get(x_122, 0); lean_inc(x_123); x_124 = lean_ctor_get(x_122, 1); @@ -22315,14 +22717,14 @@ if (lean_is_exclusive(x_122)) { x_126 = lean_ctor_get(x_123, 0); lean_inc_ref(x_126); lean_dec(x_123); -x_127 = l_Lean_Environment_find_x3f(x_126, x_120, x_13); +x_127 = l_Lean_Environment_find_x3f(x_126, x_120, x_8); if (lean_obj_tag(x_127) == 0) { lean_object* x_128; lean_dec(x_121); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); if (lean_is_scalar(x_125)) { x_128 = lean_alloc_ctor(0, 2, 0); @@ -22350,7 +22752,7 @@ lean_dec_ref(x_130); lean_dec(x_125); x_131 = l_Lean_ConstantInfo_name(x_129); lean_inc(x_131); -x_132 = l_Lean_Meta_isAuxDef___redArg(x_131, x_9, x_124); +x_132 = l_Lean_Meta_isAuxDef___redArg(x_131, x_7, x_124); x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); x_134 = lean_unbox(x_133); @@ -22361,9 +22763,9 @@ lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_dec(x_131); lean_dec_ref(x_129); lean_dec(x_121); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_135 = lean_ctor_get(x_132, 1); lean_inc(x_135); @@ -22390,7 +22792,7 @@ lean_object* x_138; lean_object* x_139; x_138 = lean_ctor_get(x_132, 1); lean_inc(x_138); lean_dec_ref(x_132); -x_139 = l_Lean_Meta_recordUnfold___redArg(x_131, x_7, x_11, x_138); +x_139 = l_Lean_Meta_recordUnfold___redArg(x_131, x_12, x_11, x_138); 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; @@ -22402,7 +22804,7 @@ x_142 = lean_mk_empty_array_with_capacity(x_141); lean_dec(x_141); lean_inc_ref(x_15); x_143 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_15, x_142); -x_144 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_129, x_121, x_143, x_13, x_10, x_7, x_11, x_9, x_140); +x_144 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_129, x_121, x_143, x_8, x_10, x_12, x_11, x_7, x_140); lean_dec_ref(x_143); lean_dec_ref(x_129); return x_144; @@ -22413,9 +22815,9 @@ lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_dec_ref(x_129); lean_dec(x_121); lean_dec_ref(x_15); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_145 = lean_ctor_get(x_139, 0); lean_inc(x_145); @@ -22457,7 +22859,7 @@ x_154 = lean_unsigned_to_nat(1u); x_155 = lean_nat_sub(x_152, x_154); lean_dec(x_152); x_156 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_153, x_155); -x_157 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_149, x_156, x_130, x_150, x_10, x_7, x_11, x_9, x_124); +x_157 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_149, x_156, x_130, x_150, x_10, x_12, x_11, x_7, x_124); lean_dec_ref(x_156); lean_dec_ref(x_149); return x_157; @@ -22478,7 +22880,7 @@ x_163 = lean_unsigned_to_nat(1u); x_164 = lean_nat_sub(x_161, x_163); lean_dec(x_161); x_165 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_162, x_164); -x_166 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_158, x_121, x_165, x_130, x_159, x_10, x_7, x_11, x_9, x_124); +x_166 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_158, x_121, x_165, x_130, x_159, x_10, x_12, x_11, x_7, x_124); lean_dec_ref(x_165); return x_166; } @@ -22488,9 +22890,9 @@ lean_object* x_167; lean_dec_ref(x_130); lean_dec(x_129); lean_dec(x_121); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); if (lean_is_scalar(x_125)) { x_167 = lean_alloc_ctor(0, 2, 0); @@ -22508,9 +22910,9 @@ else { lean_object* x_168; lean_dec_ref(x_119); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); lean_dec(x_7); x_168 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_168, 0, x_15); @@ -22523,10 +22925,10 @@ default: { uint8_t x_169; lean_dec(x_19); -lean_dec_ref(x_14); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec(x_7); x_169 = !lean_is_exclusive(x_18); if (x_169 == 0) @@ -22555,10 +22957,10 @@ else { uint8_t x_173; lean_dec_ref(x_15); -lean_dec_ref(x_14); +lean_dec(x_12); lean_dec_ref(x_11); lean_dec_ref(x_10); -lean_dec(x_9); +lean_dec_ref(x_9); lean_dec(x_7); x_173 = !lean_is_exclusive(x_18); if (x_173 == 0) @@ -22585,7 +22987,7 @@ block_195: { lean_object* x_187; lean_object* x_188; lean_inc_ref(x_1); -x_187 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_185, x_1, x_183, x_178, x_184, x_182, x_181); +x_187 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_181, x_1, x_182, x_185, x_183, x_179, x_178); x_188 = lean_ctor_get(x_187, 0); lean_inc(x_188); if (lean_obj_tag(x_188) == 0) @@ -22594,33 +22996,33 @@ lean_object* x_189; uint8_t x_190; x_189 = lean_ctor_get(x_187, 1); lean_inc(x_189); lean_dec_ref(x_187); -x_190 = lean_expr_eqv(x_180, x_185); +x_190 = lean_expr_eqv(x_180, x_181); lean_dec_ref(x_180); if (x_190 == 0) { lean_object* x_191; -x_191 = l_Lean_Expr_updateFn(x_1, x_185); -x_7 = x_178; -x_8 = x_179; -x_9 = x_182; -x_10 = x_183; -x_11 = x_184; -x_12 = x_189; -x_13 = x_186; -x_14 = x_185; +x_191 = l_Lean_Expr_updateFn(x_1, x_181); +x_7 = x_179; +x_8 = x_186; +x_9 = x_181; +x_10 = x_182; +x_11 = x_183; +x_12 = x_185; +x_13 = x_184; +x_14 = x_189; x_15 = x_191; goto block_177; } else { -x_7 = x_178; -x_8 = x_179; -x_9 = x_182; -x_10 = x_183; -x_11 = x_184; -x_12 = x_189; -x_13 = x_186; -x_14 = x_185; +x_7 = x_179; +x_8 = x_186; +x_9 = x_181; +x_10 = x_182; +x_11 = x_183; +x_12 = x_185; +x_13 = x_184; +x_14 = x_189; x_15 = x_1; goto block_177; } @@ -22628,9 +23030,9 @@ goto block_177; else { lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec_ref(x_185); +lean_dec_ref(x_184); +lean_dec_ref(x_181); lean_dec_ref(x_180); -lean_dec_ref(x_179); lean_dec_ref(x_1); x_192 = lean_ctor_get(x_187, 1); lean_inc(x_192); @@ -22638,7 +23040,7 @@ lean_dec_ref(x_187); x_193 = lean_ctor_get(x_188, 0); lean_inc(x_193); lean_dec_ref(x_188); -x_194 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_193, x_183, x_178, x_184, x_182, x_192); +x_194 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_193, x_182, x_185, x_183, x_179, x_192); return x_194; } } @@ -22650,9 +23052,9 @@ x_203 = lean_mk_empty_array_with_capacity(x_202); lean_dec(x_202); x_204 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_203); x_205 = 0; -x_206 = l_Lean_Expr_betaRev(x_201, x_204, x_205, x_205); +x_206 = l_Lean_Expr_betaRev(x_198, x_204, x_205, x_205); lean_dec_ref(x_204); -x_207 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_206, x_199, x_196, x_200, x_198, x_197); +x_207 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_206, x_199, x_201, x_200, x_197, x_196); return x_207; } block_218: @@ -22672,56 +23074,56 @@ goto block_195; } else { +lean_dec_ref(x_215); lean_dec_ref(x_211); -lean_dec_ref(x_210); x_196 = x_209; -x_197 = x_212; -x_198 = x_213; -x_199 = x_214; -x_200 = x_215; +x_197 = x_210; +x_198 = x_212; +x_199 = x_213; +x_200 = x_214; x_201 = x_216; goto block_208; } } block_232: { -if (x_221 == 0) +if (x_220 == 0) { lean_object* x_227; -lean_dec_ref(x_224); +lean_dec_ref(x_225); +lean_dec(x_224); lean_dec_ref(x_223); -lean_dec_ref(x_222); -lean_dec(x_220); +lean_dec_ref(x_221); lean_dec(x_219); x_227 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_227, 0, x_1); -lean_ctor_set(x_227, 1, x_225); +lean_ctor_set(x_227, 1, x_222); return x_227; } else { uint8_t x_228; -x_228 = l_Lean_Expr_hasLooseBVars(x_223); +x_228 = l_Lean_Expr_hasLooseBVars(x_225); if (x_228 == 0) { lean_object* x_229; lean_object* x_230; lean_dec_ref(x_1); -x_229 = l_Lean_Meta_consumeUnusedLet(x_223, x_226); -lean_dec_ref(x_223); -x_230 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_229, x_222, x_219, x_224, x_220, x_225); +x_229 = l_Lean_Meta_consumeUnusedLet(x_225, x_226); +lean_dec_ref(x_225); +x_230 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_229, x_221, x_224, x_223, x_219, x_222); return x_230; } else { lean_object* x_231; -lean_dec_ref(x_224); +lean_dec_ref(x_225); +lean_dec(x_224); lean_dec_ref(x_223); -lean_dec_ref(x_222); -lean_dec(x_220); +lean_dec_ref(x_221); lean_dec(x_219); x_231 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_231, 0, x_1); -lean_ctor_set(x_231, 1, x_225); +lean_ctor_set(x_231, 1, x_222); return x_231; } } @@ -22731,16 +23133,23 @@ block_245: lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; x_241 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__0; x_242 = lean_array_push(x_241, x_235); -x_243 = l_Lean_Meta_expandLet(x_238, x_242, x_236); -lean_dec_ref(x_238); -x_244 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_243, x_237, x_233, x_239, x_234, x_240); +x_243 = l_Lean_Meta_expandLet(x_240, x_242, x_234); +lean_dec_ref(x_240); +x_244 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_243, x_236, x_239, x_238, x_233, x_237); return x_244; } -block_262: +block_266: { -lean_object* x_253; lean_object* x_254; -x_253 = l_Lean_Meta_projectCore_x3f___redArg(x_247, x_246, x_251, x_252); +lean_object* x_253; +lean_inc(x_251); +lean_inc_ref(x_250); +lean_inc(x_249); +lean_inc_ref(x_248); +x_253 = l_Lean_Meta_projectCore_x3f(x_247, x_246, x_248, x_249, x_250, x_251, x_252); lean_dec(x_246); +if (lean_obj_tag(x_253) == 0) +{ +lean_object* x_254; x_254 = lean_ctor_get(x_253, 0); lean_inc(x_254); if (lean_obj_tag(x_254) == 0) @@ -22785,375 +23194,363 @@ x_261 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_260, x_248, x_249, return x_261; } } -block_329: +else +{ +uint8_t x_262; +lean_dec(x_251); +lean_dec_ref(x_250); +lean_dec(x_249); +lean_dec_ref(x_248); +lean_dec_ref(x_1); +x_262 = !lean_is_exclusive(x_253); +if (x_262 == 0) +{ +return x_253; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_253, 0); +x_264 = lean_ctor_get(x_253, 1); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_253); +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; +} +} +} +block_333: { switch (lean_obj_tag(x_1)) { case 4: { -lean_object* x_268; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -x_268 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_268, 0, x_1); -lean_ctor_set(x_268, 1, x_267); -return x_268; +lean_object* x_272; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_1); +lean_ctor_set(x_272, 1, x_271); +return x_272; } case 5: { -lean_object* x_269; lean_object* x_270; -x_269 = lean_ctor_get(x_1, 0); -x_270 = l_Lean_Meta_getConfig___redArg(x_263, x_267); -if (lean_obj_tag(x_270) == 0) -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec_ref(x_270); -x_273 = l_Lean_Expr_getAppFn(x_269); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_273); -x_274 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_273, x_263, x_264, x_265, x_266, x_272); +lean_object* x_273; lean_object* x_274; +x_273 = lean_ctor_get(x_1, 0); +x_274 = l_Lean_Meta_getConfig___redArg(x_267, x_271); if (lean_obj_tag(x_274) == 0) { -lean_object* x_275; lean_object* x_276; uint8_t x_277; +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; 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 = l_Lean_Expr_isLambda(x_275); -if (x_277 == 0) +x_277 = l_Lean_Expr_getAppFn(x_273); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_277); +x_278 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_277, x_267, x_268, x_269, x_270, x_276); +if (lean_obj_tag(x_278) == 0) { -x_209 = x_264; -x_210 = x_271; -x_211 = x_273; -x_212 = x_276; -x_213 = x_266; -x_214 = x_263; -x_215 = x_265; -x_216 = x_275; -x_217 = x_277; +lean_object* x_279; lean_object* x_280; uint8_t x_281; +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_278, 1); +lean_inc(x_280); +lean_dec_ref(x_278); +x_281 = l_Lean_Expr_isLambda(x_279); +if (x_281 == 0) +{ +x_209 = x_280; +x_210 = x_270; +x_211 = x_277; +x_212 = x_279; +x_213 = x_267; +x_214 = x_269; +x_215 = x_275; +x_216 = x_268; +x_217 = x_281; goto block_218; } else { -uint8_t x_278; -x_278 = lean_ctor_get_uint8(x_271, 13); -if (x_278 == 0) +uint8_t x_282; +x_282 = lean_ctor_get_uint8(x_275, 13); +if (x_282 == 0) { -uint8_t x_279; -x_279 = l_Lean_Expr_isLambda(x_273); -if (x_279 == 0) +uint8_t x_283; +x_283 = l_Lean_Expr_isLambda(x_277); +if (x_283 == 0) { -x_209 = x_264; -x_210 = x_271; -x_211 = x_273; -x_212 = x_276; -x_213 = x_266; -x_214 = x_263; -x_215 = x_265; -x_216 = x_275; -x_217 = x_277; +x_209 = x_280; +x_210 = x_270; +x_211 = x_277; +x_212 = x_279; +x_213 = x_267; +x_214 = x_269; +x_215 = x_275; +x_216 = x_268; +x_217 = x_281; goto block_218; } else { -x_178 = x_264; -x_179 = x_271; -x_180 = x_273; -x_181 = x_276; -x_182 = x_266; -x_183 = x_263; -x_184 = x_265; -x_185 = x_275; -x_186 = x_278; +x_178 = x_280; +x_179 = x_270; +x_180 = x_277; +x_181 = x_279; +x_182 = x_267; +x_183 = x_269; +x_184 = x_275; +x_185 = x_268; +x_186 = x_282; goto block_195; } } else { -lean_dec_ref(x_273); -lean_dec(x_271); -x_196 = x_264; -x_197 = x_276; -x_198 = x_266; -x_199 = x_263; -x_200 = x_265; -x_201 = x_275; +lean_dec_ref(x_277); +lean_dec(x_275); +x_196 = x_280; +x_197 = x_270; +x_198 = x_279; +x_199 = x_267; +x_200 = x_269; +x_201 = x_268; goto block_208; } } } else { -lean_dec_ref(x_273); -lean_dec(x_271); -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); +lean_dec_ref(x_277); +lean_dec(x_275); +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); lean_dec_ref(x_1); +return x_278; +} +} +else +{ +uint8_t x_284; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +x_284 = !lean_is_exclusive(x_274); +if (x_284 == 0) +{ return x_274; } -} else { -uint8_t x_280; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -x_280 = !lean_is_exclusive(x_270); -if (x_280 == 0) -{ -return x_270; -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_281 = lean_ctor_get(x_270, 0); -x_282 = lean_ctor_get(x_270, 1); -lean_inc(x_282); -lean_inc(x_281); -lean_dec(x_270); -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -return x_283; +lean_object* x_285; lean_object* x_286; lean_object* x_287; +x_285 = lean_ctor_get(x_274, 0); +x_286 = lean_ctor_get(x_274, 1); +lean_inc(x_286); +lean_inc(x_285); +lean_dec(x_274); +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_285); +lean_ctor_set(x_287, 1, x_286); +return x_287; } } } case 8: { -lean_object* x_284; lean_object* x_285; uint8_t x_286; lean_object* x_287; -x_284 = lean_ctor_get(x_1, 2); -x_285 = lean_ctor_get(x_1, 3); -x_286 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); -x_287 = l_Lean_Meta_getConfig___redArg(x_263, x_267); -if (lean_obj_tag(x_287) == 0) -{ -lean_object* x_288; uint8_t x_289; -x_288 = lean_ctor_get(x_287, 0); -lean_inc(x_288); -x_289 = lean_ctor_get_uint8(x_288, 15); -if (x_289 == 0) -{ -lean_object* x_290; uint8_t x_291; -x_290 = lean_ctor_get(x_287, 1); -lean_inc(x_290); -lean_dec_ref(x_287); -x_291 = lean_ctor_get_uint8(x_288, 17); -lean_dec(x_288); -lean_inc_ref(x_285); -x_219 = x_264; -x_220 = x_266; -x_221 = x_291; -x_222 = x_263; -x_223 = x_285; -x_224 = x_265; -x_225 = x_290; -x_226 = x_289; -goto block_232; -} -else -{ -if (x_286 == 0) +lean_object* x_288; lean_object* x_289; uint8_t x_290; lean_object* x_291; +x_288 = lean_ctor_get(x_1, 2); +x_289 = lean_ctor_get(x_1, 3); +x_290 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +x_291 = l_Lean_Meta_getConfig___redArg(x_267, x_271); +if (lean_obj_tag(x_291) == 0) { lean_object* x_292; uint8_t x_293; -lean_inc_ref(x_285); -lean_inc_ref(x_284); -lean_dec_ref(x_1); -x_292 = lean_ctor_get(x_287, 1); +x_292 = lean_ctor_get(x_291, 0); lean_inc(x_292); -lean_dec_ref(x_287); -x_293 = lean_ctor_get_uint8(x_288, 18); -lean_dec(x_288); -x_233 = x_264; -x_234 = x_266; -x_235 = x_284; -x_236 = x_293; -x_237 = x_263; -x_238 = x_285; -x_239 = x_265; -x_240 = x_292; -goto block_245; -} -else +x_293 = lean_ctor_get_uint8(x_292, 15); +if (x_293 == 0) { -uint8_t x_294; -x_294 = lean_ctor_get_uint8(x_288, 18); -if (x_294 == 0) -{ -lean_object* x_295; uint8_t x_296; -x_295 = lean_ctor_get(x_287, 1); -lean_inc(x_295); -lean_dec_ref(x_287); -x_296 = lean_ctor_get_uint8(x_288, 17); -lean_dec(x_288); -lean_inc_ref(x_285); -x_219 = x_264; -x_220 = x_266; -x_221 = x_296; -x_222 = x_263; -x_223 = x_285; -x_224 = x_265; -x_225 = x_295; -x_226 = x_294; +lean_object* x_294; uint8_t x_295; +x_294 = lean_ctor_get(x_291, 1); +lean_inc(x_294); +lean_dec_ref(x_291); +x_295 = lean_ctor_get_uint8(x_292, 17); +lean_dec(x_292); +lean_inc_ref(x_289); +x_219 = x_270; +x_220 = x_295; +x_221 = x_267; +x_222 = x_294; +x_223 = x_269; +x_224 = x_268; +x_225 = x_289; +x_226 = x_293; goto block_232; } else { -lean_object* x_297; -lean_dec(x_288); -lean_inc_ref(x_285); -lean_inc_ref(x_284); +if (x_290 == 0) +{ +lean_object* x_296; uint8_t x_297; +lean_inc_ref(x_289); +lean_inc_ref(x_288); lean_dec_ref(x_1); -x_297 = lean_ctor_get(x_287, 1); -lean_inc(x_297); -lean_dec_ref(x_287); -x_233 = x_264; -x_234 = x_266; -x_235 = x_284; -x_236 = x_294; -x_237 = x_263; -x_238 = x_285; -x_239 = x_265; -x_240 = x_297; +x_296 = lean_ctor_get(x_291, 1); +lean_inc(x_296); +lean_dec_ref(x_291); +x_297 = lean_ctor_get_uint8(x_292, 18); +lean_dec(x_292); +x_233 = x_270; +x_234 = x_297; +x_235 = x_288; +x_236 = x_267; +x_237 = x_296; +x_238 = x_269; +x_239 = x_268; +x_240 = x_289; goto block_245; } -} -} -} else { uint8_t x_298; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -x_298 = !lean_is_exclusive(x_287); +x_298 = lean_ctor_get_uint8(x_292, 18); if (x_298 == 0) { -return x_287; +lean_object* x_299; uint8_t x_300; +x_299 = lean_ctor_get(x_291, 1); +lean_inc(x_299); +lean_dec_ref(x_291); +x_300 = lean_ctor_get_uint8(x_292, 17); +lean_dec(x_292); +lean_inc_ref(x_289); +x_219 = x_270; +x_220 = x_300; +x_221 = x_267; +x_222 = x_299; +x_223 = x_269; +x_224 = x_268; +x_225 = x_289; +x_226 = x_298; +goto block_232; } else { -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_ctor_get(x_287, 0); -x_300 = lean_ctor_get(x_287, 1); -lean_inc(x_300); -lean_inc(x_299); -lean_dec(x_287); -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_299); -lean_ctor_set(x_301, 1, x_300); -return x_301; +lean_object* x_301; +lean_dec(x_292); +lean_inc_ref(x_289); +lean_inc_ref(x_288); +lean_dec_ref(x_1); +x_301 = lean_ctor_get(x_291, 1); +lean_inc(x_301); +lean_dec_ref(x_291); +x_233 = x_270; +x_234 = x_298; +x_235 = x_288; +x_236 = x_267; +x_237 = x_301; +x_238 = x_269; +x_239 = x_268; +x_240 = x_289; +goto block_245; +} +} +} +} +else +{ +uint8_t x_302; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +x_302 = !lean_is_exclusive(x_291); +if (x_302 == 0) +{ +return x_291; +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_303 = lean_ctor_get(x_291, 0); +x_304 = lean_ctor_get(x_291, 1); +lean_inc(x_304); +lean_inc(x_303); +lean_dec(x_291); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_303); +lean_ctor_set(x_305, 1, x_304); +return x_305; } } } case 11: { -lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_302 = lean_ctor_get(x_1, 1); -x_303 = lean_ctor_get(x_1, 2); -x_304 = l_Lean_Meta_getConfig___redArg(x_263, x_267); -if (lean_obj_tag(x_304) == 0) +lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_306 = lean_ctor_get(x_1, 1); +x_307 = lean_ctor_get(x_1, 2); +x_308 = l_Lean_Meta_getConfig___redArg(x_267, x_271); +if (lean_obj_tag(x_308) == 0) { -lean_object* x_305; uint8_t x_306; -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get_uint8(x_305, 14); -lean_dec(x_305); -switch (x_306) { +lean_object* x_309; uint8_t x_310; +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = lean_ctor_get_uint8(x_309, 14); +lean_dec(x_309); +switch (x_310) { case 0: { -uint8_t x_307; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -x_307 = !lean_is_exclusive(x_304); -if (x_307 == 0) +uint8_t x_311; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +x_311 = !lean_is_exclusive(x_308); +if (x_311 == 0) { -lean_object* x_308; -x_308 = lean_ctor_get(x_304, 0); -lean_dec(x_308); -lean_ctor_set(x_304, 0, x_1); -return x_304; +lean_object* x_312; +x_312 = lean_ctor_get(x_308, 0); +lean_dec(x_312); +lean_ctor_set(x_308, 0, x_1); +return x_308; } else { -lean_object* x_309; lean_object* x_310; -x_309 = lean_ctor_get(x_304, 1); -lean_inc(x_309); -lean_dec(x_304); -x_310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_310, 0, x_1); -lean_ctor_set(x_310, 1, x_309); -return x_310; +lean_object* x_313; lean_object* x_314; +x_313 = lean_ctor_get(x_308, 1); +lean_inc(x_313); +lean_dec(x_308); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_1); +lean_ctor_set(x_314, 1, x_313); +return x_314; } } case 1: { -lean_object* x_311; lean_object* x_312; -x_311 = lean_ctor_get(x_304, 1); -lean_inc(x_311); -lean_dec_ref(x_304); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_303); -x_312 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_303, x_263, x_264, x_265, x_266, x_311); -if (lean_obj_tag(x_312) == 0) -{ -lean_object* x_313; lean_object* x_314; -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec_ref(x_312); -lean_inc(x_302); -x_246 = x_302; -x_247 = x_313; -x_248 = x_263; -x_249 = x_264; -x_250 = x_265; -x_251 = x_266; -x_252 = x_314; -goto block_262; -} -else -{ -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -return x_312; -} -} -case 2: -{ lean_object* x_315; lean_object* x_316; -x_315 = lean_ctor_get(x_304, 1); +x_315 = lean_ctor_get(x_308, 1); lean_inc(x_315); -lean_dec_ref(x_304); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_303); -x_316 = lean_whnf(x_303, x_263, x_264, x_265, x_266, x_315); +lean_dec_ref(x_308); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_307); +x_316 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_307, x_267, x_268, x_269, x_270, x_315); if (lean_obj_tag(x_316) == 0) { lean_object* x_317; lean_object* x_318; @@ -23162,38 +23559,38 @@ lean_inc(x_317); x_318 = lean_ctor_get(x_316, 1); lean_inc(x_318); lean_dec_ref(x_316); -lean_inc(x_302); -x_246 = x_302; +lean_inc(x_306); +x_246 = x_306; x_247 = x_317; -x_248 = x_263; -x_249 = x_264; -x_250 = x_265; -x_251 = x_266; +x_248 = x_267; +x_249 = x_268; +x_250 = x_269; +x_251 = x_270; x_252 = x_318; -goto block_262; +goto block_266; } else { -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); lean_dec_ref(x_1); return x_316; } } -default: +case 2: { lean_object* x_319; lean_object* x_320; -x_319 = lean_ctor_get(x_304, 1); +x_319 = lean_ctor_get(x_308, 1); lean_inc(x_319); -lean_dec_ref(x_304); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_303); -x_320 = l_Lean_Meta_whnfAtMostI(x_303, x_263, x_264, x_265, x_266, x_319); +lean_dec_ref(x_308); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_307); +x_320 = lean_whnf(x_307, x_267, x_268, x_269, x_270, x_319); if (lean_obj_tag(x_320) == 0) { lean_object* x_321; lean_object* x_322; @@ -23202,63 +23599,103 @@ lean_inc(x_321); x_322 = lean_ctor_get(x_320, 1); lean_inc(x_322); lean_dec_ref(x_320); -lean_inc(x_302); -x_246 = x_302; +lean_inc(x_306); +x_246 = x_306; x_247 = x_321; -x_248 = x_263; -x_249 = x_264; -x_250 = x_265; -x_251 = x_266; +x_248 = x_267; +x_249 = x_268; +x_250 = x_269; +x_251 = x_270; x_252 = x_322; -goto block_262; +goto block_266; } else { -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); lean_dec_ref(x_1); return x_320; } } -} -} -else +default: { -uint8_t x_323; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -x_323 = !lean_is_exclusive(x_304); -if (x_323 == 0) +lean_object* x_323; lean_object* x_324; +x_323 = lean_ctor_get(x_308, 1); +lean_inc(x_323); +lean_dec_ref(x_308); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_307); +x_324 = l_Lean_Meta_whnfAtMostI(x_307, x_267, x_268, x_269, x_270, x_323); +if (lean_obj_tag(x_324) == 0) { -return x_304; -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; -x_324 = lean_ctor_get(x_304, 0); -x_325 = lean_ctor_get(x_304, 1); +lean_object* x_325; lean_object* x_326; +x_325 = lean_ctor_get(x_324, 0); lean_inc(x_325); -lean_inc(x_324); -lean_dec(x_304); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set(x_326, 1, x_325); -return x_326; +x_326 = lean_ctor_get(x_324, 1); +lean_inc(x_326); +lean_dec_ref(x_324); +lean_inc(x_306); +x_246 = x_306; +x_247 = x_325; +x_248 = x_267; +x_249 = x_268; +x_250 = x_269; +x_251 = x_270; +x_252 = x_326; +goto block_266; +} +else +{ +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +return x_324; +} +} +} +} +else +{ +uint8_t x_327; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +x_327 = !lean_is_exclusive(x_308); +if (x_327 == 0) +{ +return x_308; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; +x_328 = lean_ctor_get(x_308, 0); +x_329 = lean_ctor_get(x_308, 1); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_308); +x_330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_330, 0, x_328); +lean_ctor_set(x_330, 1, x_329); +return x_330; } } } default: { -lean_object* x_327; lean_object* x_328; +lean_object* x_331; lean_object* x_332; lean_dec_ref(x_1); -x_327 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__3; -x_328 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_327, x_263, x_264, x_265, x_266, x_267); -return x_328; +x_331 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__3; +x_332 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_331, x_267, x_268, x_269, x_270, x_271); +return x_332; } } } @@ -23267,601 +23704,601 @@ return x_328; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_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) { _start: { -lean_object* x_7; lean_object* x_8; 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_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; uint8_t x_186; 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_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; uint8_t x_217; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; uint8_t x_226; 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; uint8_t x_240; 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_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_object* x_7; lean_object* x_8; 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_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; uint8_t x_186; 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_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; uint8_t x_217; lean_object* x_219; uint8_t 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_object* x_233; lean_object* x_234; uint8_t 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_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_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; switch (lean_obj_tag(x_1)) { case 0: { -lean_object* x_330; lean_object* x_331; +lean_object* x_334; lean_object* x_335; lean_dec_ref(x_1); -x_330 = l_Lean_Meta_whnfEasyCases___closed__10; -x_331 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_330, x_2, x_3, x_4, x_5, x_6); -return x_331; +x_334 = l_Lean_Meta_whnfEasyCases___closed__10; +x_335 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_334, x_2, x_3, x_4, x_5, x_6); +return x_335; } case 1: { -lean_object* x_332; lean_object* x_333; -x_332 = lean_ctor_get(x_1, 0); +lean_object* x_336; lean_object* x_337; +x_336 = lean_ctor_get(x_1, 0); lean_inc_ref(x_2); -lean_inc(x_332); -x_333 = l_Lean_FVarId_getDecl___redArg(x_332, x_2, x_4, x_5, x_6); -if (lean_obj_tag(x_333) == 0) +lean_inc(x_336); +x_337 = l_Lean_FVarId_getDecl___redArg(x_336, x_2, x_4, x_5, x_6); +if (lean_obj_tag(x_337) == 0) { -lean_object* x_334; -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -if (lean_obj_tag(x_334) == 0) -{ -uint8_t x_335; -lean_dec_ref(x_334); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_335 = !lean_is_exclusive(x_333); -if (x_335 == 0) -{ -lean_object* x_336; -x_336 = lean_ctor_get(x_333, 0); -lean_dec(x_336); -lean_ctor_set(x_333, 0, x_1); -return x_333; -} -else -{ -lean_object* x_337; lean_object* x_338; -x_337 = lean_ctor_get(x_333, 1); -lean_inc(x_337); -lean_dec(x_333); -x_338 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_338, 0, x_1); -lean_ctor_set(x_338, 1, x_337); -return x_338; -} -} -else +lean_object* x_338; +x_338 = lean_ctor_get(x_337, 0); +lean_inc(x_338); +if (lean_obj_tag(x_338) == 0) { uint8_t x_339; -x_339 = lean_ctor_get_uint8(x_334, sizeof(void*)*5); +lean_dec_ref(x_338); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_339 = !lean_is_exclusive(x_337); if (x_339 == 0) { -lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_340 = lean_ctor_get(x_333, 1); -lean_inc(x_340); -lean_dec_ref(x_333); -x_341 = lean_ctor_get(x_334, 4); -lean_inc_ref(x_341); -x_342 = l_Lean_Meta_getConfig___redArg(x_2, x_340); -if (lean_obj_tag(x_342) == 0) +lean_object* x_340; +x_340 = lean_ctor_get(x_337, 0); +lean_dec(x_340); +lean_ctor_set(x_337, 0, x_1); +return x_337; +} +else +{ +lean_object* x_341; lean_object* x_342; +x_341 = lean_ctor_get(x_337, 1); +lean_inc(x_341); +lean_dec(x_337); +x_342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_342, 0, x_1); +lean_ctor_set(x_342, 1, x_341); +return x_342; +} +} +else { uint8_t x_343; -x_343 = !lean_is_exclusive(x_342); +x_343 = lean_ctor_get_uint8(x_338, sizeof(void*)*5); if (x_343 == 0) { -lean_object* x_344; lean_object* x_345; lean_object* x_346; uint8_t x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_366; -x_344 = lean_ctor_get(x_342, 0); -x_345 = lean_ctor_get(x_342, 1); -x_366 = l_Lean_LocalDecl_isImplementationDetail(x_334); -lean_dec_ref(x_334); -if (x_366 == 0) -{ -uint8_t x_367; -x_367 = lean_ctor_get_uint8(x_344, 16); -lean_dec(x_344); -if (x_367 == 0) -{ -uint8_t x_368; lean_object* x_369; uint8_t x_370; -x_368 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); -x_369 = lean_ctor_get(x_2, 1); -x_370 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_332, x_369); -if (x_370 == 0) -{ -lean_dec_ref(x_341); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -lean_ctor_set(x_342, 0, x_1); -return x_342; -} -else -{ -lean_free_object(x_342); -lean_inc(x_332); -lean_dec_ref(x_1); -x_346 = x_2; -x_347 = x_368; -x_348 = x_3; -x_349 = x_4; -x_350 = x_5; -goto block_359; -} -} -else -{ -lean_free_object(x_342); -lean_inc(x_332); -lean_dec_ref(x_1); -x_360 = x_2; -x_361 = x_3; -x_362 = x_4; -x_363 = x_5; -goto block_365; -} -} -else -{ -lean_free_object(x_342); -lean_dec(x_344); -lean_inc(x_332); -lean_dec_ref(x_1); -x_360 = x_2; -x_361 = x_3; -x_362 = x_4; -x_363 = x_5; -goto block_365; -} -block_359: +lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_344 = lean_ctor_get(x_337, 1); +lean_inc(x_344); +lean_dec_ref(x_337); +x_345 = lean_ctor_get(x_338, 4); +lean_inc_ref(x_345); +x_346 = l_Lean_Meta_getConfig___redArg(x_2, x_344); +if (lean_obj_tag(x_346) == 0) { +uint8_t x_347; +x_347 = !lean_is_exclusive(x_346); if (x_347 == 0) { -lean_object* x_351; -lean_dec(x_332); -x_351 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_341, x_346, x_348, x_349, x_350, x_345); -return x_351; -} -else +lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_370; +x_348 = lean_ctor_get(x_346, 0); +x_349 = lean_ctor_get(x_346, 1); +x_370 = l_Lean_LocalDecl_isImplementationDetail(x_338); +lean_dec_ref(x_338); +if (x_370 == 0) { -lean_object* x_352; -x_352 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_332, x_348, x_345); -if (lean_obj_tag(x_352) == 0) -{ -lean_object* x_353; lean_object* x_354; -x_353 = lean_ctor_get(x_352, 1); -lean_inc(x_353); -lean_dec_ref(x_352); -x_354 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_341, x_346, x_348, x_349, x_350, x_353); -return x_354; -} -else -{ -uint8_t x_355; -lean_dec(x_350); -lean_dec_ref(x_349); +uint8_t x_371; +x_371 = lean_ctor_get_uint8(x_348, 16); lean_dec(x_348); -lean_dec_ref(x_346); -lean_dec_ref(x_341); -x_355 = !lean_is_exclusive(x_352); -if (x_355 == 0) -{ -return x_352; -} -else -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; -x_356 = lean_ctor_get(x_352, 0); -x_357 = lean_ctor_get(x_352, 1); -lean_inc(x_357); -lean_inc(x_356); -lean_dec(x_352); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_356); -lean_ctor_set(x_358, 1, x_357); -return x_358; -} -} -} -} -block_365: -{ -uint8_t x_364; -x_364 = lean_ctor_get_uint8(x_360, sizeof(void*)*7); -x_346 = x_360; -x_347 = x_364; -x_348 = x_361; -x_349 = x_362; -x_350 = x_363; -goto block_359; -} -} -else -{ -lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_393; -x_371 = lean_ctor_get(x_342, 0); -x_372 = lean_ctor_get(x_342, 1); -lean_inc(x_372); -lean_inc(x_371); -lean_dec(x_342); -x_393 = l_Lean_LocalDecl_isImplementationDetail(x_334); -lean_dec_ref(x_334); -if (x_393 == 0) -{ -uint8_t x_394; -x_394 = lean_ctor_get_uint8(x_371, 16); -lean_dec(x_371); -if (x_394 == 0) -{ -uint8_t x_395; lean_object* x_396; uint8_t x_397; -x_395 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); -x_396 = lean_ctor_get(x_2, 1); -x_397 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_332, x_396); -if (x_397 == 0) -{ -lean_object* x_398; -lean_dec_ref(x_341); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_398 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_398, 0, x_1); -lean_ctor_set(x_398, 1, x_372); -return x_398; -} -else -{ -lean_inc(x_332); -lean_dec_ref(x_1); -x_373 = x_2; -x_374 = x_395; -x_375 = x_3; -x_376 = x_4; -x_377 = x_5; -goto block_386; -} -} -else -{ -lean_inc(x_332); -lean_dec_ref(x_1); -x_387 = x_2; -x_388 = x_3; -x_389 = x_4; -x_390 = x_5; -goto block_392; -} -} -else -{ -lean_dec(x_371); -lean_inc(x_332); -lean_dec_ref(x_1); -x_387 = x_2; -x_388 = x_3; -x_389 = x_4; -x_390 = x_5; -goto block_392; -} -block_386: +if (x_371 == 0) { +uint8_t x_372; lean_object* x_373; uint8_t x_374; +x_372 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_373 = lean_ctor_get(x_2, 1); +x_374 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_336, x_373); if (x_374 == 0) { -lean_object* x_378; -lean_dec(x_332); -x_378 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_341, x_373, x_375, x_376, x_377, x_372); -return x_378; -} -else -{ -lean_object* x_379; -x_379 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_332, x_375, x_372); -if (lean_obj_tag(x_379) == 0) -{ -lean_object* x_380; lean_object* x_381; -x_380 = lean_ctor_get(x_379, 1); -lean_inc(x_380); -lean_dec_ref(x_379); -x_381 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_341, x_373, x_375, x_376, x_377, x_380); -return x_381; -} -else -{ -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; -lean_dec(x_377); -lean_dec_ref(x_376); -lean_dec(x_375); -lean_dec_ref(x_373); -lean_dec_ref(x_341); -x_382 = lean_ctor_get(x_379, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_379, 1); -lean_inc(x_383); -if (lean_is_exclusive(x_379)) { - lean_ctor_release(x_379, 0); - lean_ctor_release(x_379, 1); - x_384 = x_379; -} else { - lean_dec_ref(x_379); - x_384 = lean_box(0); -} -if (lean_is_scalar(x_384)) { - x_385 = lean_alloc_ctor(1, 2, 0); -} else { - x_385 = x_384; -} -lean_ctor_set(x_385, 0, x_382); -lean_ctor_set(x_385, 1, x_383); -return x_385; -} -} -} -block_392: -{ -uint8_t x_391; -x_391 = lean_ctor_get_uint8(x_387, sizeof(void*)*7); -x_373 = x_387; -x_374 = x_391; -x_375 = x_388; -x_376 = x_389; -x_377 = x_390; -goto block_386; -} -} -} -else -{ -uint8_t x_399; -lean_dec_ref(x_341); -lean_dec_ref(x_334); +lean_dec_ref(x_345); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_399 = !lean_is_exclusive(x_342); -if (x_399 == 0) -{ -return x_342; +lean_ctor_set(x_346, 0, x_1); +return x_346; } else { -lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_400 = lean_ctor_get(x_342, 0); -x_401 = lean_ctor_get(x_342, 1); -lean_inc(x_401); -lean_inc(x_400); -lean_dec(x_342); -x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_400); -lean_ctor_set(x_402, 1, x_401); +lean_free_object(x_346); +lean_inc(x_336); +lean_dec_ref(x_1); +x_350 = x_2; +x_351 = x_372; +x_352 = x_3; +x_353 = x_4; +x_354 = x_5; +goto block_363; +} +} +else +{ +lean_free_object(x_346); +lean_inc(x_336); +lean_dec_ref(x_1); +x_364 = x_2; +x_365 = x_3; +x_366 = x_4; +x_367 = x_5; +goto block_369; +} +} +else +{ +lean_free_object(x_346); +lean_dec(x_348); +lean_inc(x_336); +lean_dec_ref(x_1); +x_364 = x_2; +x_365 = x_3; +x_366 = x_4; +x_367 = x_5; +goto block_369; +} +block_363: +{ +if (x_351 == 0) +{ +lean_object* x_355; +lean_dec(x_336); +x_355 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_345, x_350, x_352, x_353, x_354, x_349); +return x_355; +} +else +{ +lean_object* x_356; +x_356 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_336, x_352, x_349); +if (lean_obj_tag(x_356) == 0) +{ +lean_object* x_357; lean_object* x_358; +x_357 = lean_ctor_get(x_356, 1); +lean_inc(x_357); +lean_dec_ref(x_356); +x_358 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_345, x_350, x_352, x_353, x_354, x_357); +return x_358; +} +else +{ +uint8_t x_359; +lean_dec(x_354); +lean_dec_ref(x_353); +lean_dec(x_352); +lean_dec_ref(x_350); +lean_dec_ref(x_345); +x_359 = !lean_is_exclusive(x_356); +if (x_359 == 0) +{ +return x_356; +} +else +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; +x_360 = lean_ctor_get(x_356, 0); +x_361 = lean_ctor_get(x_356, 1); +lean_inc(x_361); +lean_inc(x_360); +lean_dec(x_356); +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_360); +lean_ctor_set(x_362, 1, x_361); +return x_362; +} +} +} +} +block_369: +{ +uint8_t x_368; +x_368 = lean_ctor_get_uint8(x_364, sizeof(void*)*7); +x_350 = x_364; +x_351 = x_368; +x_352 = x_365; +x_353 = x_366; +x_354 = x_367; +goto block_363; +} +} +else +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_397; +x_375 = lean_ctor_get(x_346, 0); +x_376 = lean_ctor_get(x_346, 1); +lean_inc(x_376); +lean_inc(x_375); +lean_dec(x_346); +x_397 = l_Lean_LocalDecl_isImplementationDetail(x_338); +lean_dec_ref(x_338); +if (x_397 == 0) +{ +uint8_t x_398; +x_398 = lean_ctor_get_uint8(x_375, 16); +lean_dec(x_375); +if (x_398 == 0) +{ +uint8_t x_399; lean_object* x_400; uint8_t x_401; +x_399 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_400 = lean_ctor_get(x_2, 1); +x_401 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__4___redArg(x_336, x_400); +if (x_401 == 0) +{ +lean_object* x_402; +lean_dec_ref(x_345); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_402 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_402, 0, x_1); +lean_ctor_set(x_402, 1, x_376); return x_402; } +else +{ +lean_inc(x_336); +lean_dec_ref(x_1); +x_377 = x_2; +x_378 = x_399; +x_379 = x_3; +x_380 = x_4; +x_381 = x_5; +goto block_390; +} +} +else +{ +lean_inc(x_336); +lean_dec_ref(x_1); +x_391 = x_2; +x_392 = x_3; +x_393 = x_4; +x_394 = x_5; +goto block_396; +} +} +else +{ +lean_dec(x_375); +lean_inc(x_336); +lean_dec_ref(x_1); +x_391 = x_2; +x_392 = x_3; +x_393 = x_4; +x_394 = x_5; +goto block_396; +} +block_390: +{ +if (x_378 == 0) +{ +lean_object* x_382; +lean_dec(x_336); +x_382 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_345, x_377, x_379, x_380, x_381, x_376); +return x_382; +} +else +{ +lean_object* x_383; +x_383 = l_Lean_Meta_addZetaDeltaFVarId___redArg(x_336, x_379, x_376); +if (lean_obj_tag(x_383) == 0) +{ +lean_object* x_384; lean_object* x_385; +x_384 = lean_ctor_get(x_383, 1); +lean_inc(x_384); +lean_dec_ref(x_383); +x_385 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_345, x_377, x_379, x_380, x_381, x_384); +return x_385; +} +else +{ +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; +lean_dec(x_381); +lean_dec_ref(x_380); +lean_dec(x_379); +lean_dec_ref(x_377); +lean_dec_ref(x_345); +x_386 = lean_ctor_get(x_383, 0); +lean_inc(x_386); +x_387 = lean_ctor_get(x_383, 1); +lean_inc(x_387); +if (lean_is_exclusive(x_383)) { + lean_ctor_release(x_383, 0); + lean_ctor_release(x_383, 1); + x_388 = x_383; +} else { + lean_dec_ref(x_383); + 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; +} +} +} +block_396: +{ +uint8_t x_395; +x_395 = lean_ctor_get_uint8(x_391, sizeof(void*)*7); +x_377 = x_391; +x_378 = x_395; +x_379 = x_392; +x_380 = x_393; +x_381 = x_394; +goto block_390; +} } } else { uint8_t x_403; -lean_dec_ref(x_334); +lean_dec_ref(x_345); +lean_dec_ref(x_338); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_403 = !lean_is_exclusive(x_333); +lean_dec_ref(x_1); +x_403 = !lean_is_exclusive(x_346); if (x_403 == 0) { -lean_object* x_404; -x_404 = lean_ctor_get(x_333, 0); -lean_dec(x_404); -lean_ctor_set(x_333, 0, x_1); -return x_333; +return x_346; } else { -lean_object* x_405; lean_object* x_406; -x_405 = lean_ctor_get(x_333, 1); +lean_object* x_404; lean_object* x_405; lean_object* x_406; +x_404 = lean_ctor_get(x_346, 0); +x_405 = lean_ctor_get(x_346, 1); lean_inc(x_405); -lean_dec(x_333); -x_406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_406, 0, x_1); +lean_inc(x_404); +lean_dec(x_346); +x_406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_406, 0, x_404); lean_ctor_set(x_406, 1, x_405); return x_406; } } } -} else { uint8_t x_407; +lean_dec_ref(x_338); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_407 = !lean_is_exclusive(x_333); +x_407 = !lean_is_exclusive(x_337); if (x_407 == 0) { -return x_333; +lean_object* x_408; +x_408 = lean_ctor_get(x_337, 0); +lean_dec(x_408); +lean_ctor_set(x_337, 0, x_1); +return x_337; } else { -lean_object* x_408; lean_object* x_409; lean_object* x_410; -x_408 = lean_ctor_get(x_333, 0); -x_409 = lean_ctor_get(x_333, 1); +lean_object* x_409; lean_object* x_410; +x_409 = lean_ctor_get(x_337, 1); lean_inc(x_409); -lean_inc(x_408); -lean_dec(x_333); -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_408); +lean_dec(x_337); +x_410 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_410, 0, x_1); lean_ctor_set(x_410, 1, x_409); return x_410; } } } -case 2: +} +else { -lean_object* x_411; lean_object* x_412; lean_object* x_413; -x_411 = lean_ctor_get(x_1, 0); -x_412 = l_Lean_getExprMVarAssignment_x3f___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__5___redArg(x_411, x_3, x_6); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -if (lean_obj_tag(x_413) == 0) -{ -uint8_t x_414; +uint8_t x_411; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_414 = !lean_is_exclusive(x_412); -if (x_414 == 0) -{ -lean_object* x_415; -x_415 = lean_ctor_get(x_412, 0); -lean_dec(x_415); -lean_ctor_set(x_412, 0, x_1); -return x_412; -} -else -{ -lean_object* x_416; lean_object* x_417; -x_416 = lean_ctor_get(x_412, 1); -lean_inc(x_416); -lean_dec(x_412); -x_417 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_417, 0, x_1); -lean_ctor_set(x_417, 1, x_416); -return x_417; -} -} -else -{ -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_dec_ref(x_1); -x_418 = lean_ctor_get(x_412, 1); -lean_inc(x_418); -lean_dec_ref(x_412); -x_419 = lean_ctor_get(x_413, 0); -lean_inc(x_419); -lean_dec_ref(x_413); -x_420 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_419, x_2, x_3, x_4, x_5, x_418); -return x_420; +x_411 = !lean_is_exclusive(x_337); +if (x_411 == 0) +{ +return x_337; +} +else +{ +lean_object* x_412; lean_object* x_413; lean_object* x_414; +x_412 = lean_ctor_get(x_337, 0); +x_413 = lean_ctor_get(x_337, 1); +lean_inc(x_413); +lean_inc(x_412); +lean_dec(x_337); +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_412); +lean_ctor_set(x_414, 1, x_413); +return x_414; +} +} +} +case 2: +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; +x_415 = lean_ctor_get(x_1, 0); +x_416 = l_Lean_getExprMVarAssignment_x3f___at___Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4_spec__5___redArg(x_415, x_3, x_6); +x_417 = lean_ctor_get(x_416, 0); +lean_inc(x_417); +if (lean_obj_tag(x_417) == 0) +{ +uint8_t x_418; +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_418 = !lean_is_exclusive(x_416); +if (x_418 == 0) +{ +lean_object* x_419; +x_419 = lean_ctor_get(x_416, 0); +lean_dec(x_419); +lean_ctor_set(x_416, 0, x_1); +return x_416; +} +else +{ +lean_object* x_420; lean_object* x_421; +x_420 = lean_ctor_get(x_416, 1); +lean_inc(x_420); +lean_dec(x_416); +x_421 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_421, 0, x_1); +lean_ctor_set(x_421, 1, x_420); +return x_421; +} +} +else +{ +lean_object* x_422; lean_object* x_423; lean_object* x_424; +lean_dec_ref(x_1); +x_422 = lean_ctor_get(x_416, 1); +lean_inc(x_422); +lean_dec_ref(x_416); +x_423 = lean_ctor_get(x_417, 0); +lean_inc(x_423); +lean_dec_ref(x_417); +x_424 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_423, x_2, x_3, x_4, x_5, x_422); +return x_424; } } case 3: { -lean_object* x_421; +lean_object* x_425; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_421 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_421, 0, x_1); -lean_ctor_set(x_421, 1, x_6); -return x_421; +x_425 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_425, 0, x_1); +lean_ctor_set(x_425, 1, x_6); +return x_425; } case 6: { -lean_object* x_422; +lean_object* x_426; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_422 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_422, 0, x_1); -lean_ctor_set(x_422, 1, x_6); -return x_422; +x_426 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_426, 0, x_1); +lean_ctor_set(x_426, 1, x_6); +return x_426; } case 7: { -lean_object* x_423; +lean_object* x_427; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_423 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_423, 0, x_1); -lean_ctor_set(x_423, 1, x_6); -return x_423; +x_427 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_427, 0, x_1); +lean_ctor_set(x_427, 1, x_6); +return x_427; } case 9: { -lean_object* x_424; +lean_object* x_428; lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_424 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_424, 0, x_1); -lean_ctor_set(x_424, 1, x_6); -return x_424; +x_428 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_428, 0, x_1); +lean_ctor_set(x_428, 1, x_6); +return x_428; } case 10: { -lean_object* x_425; lean_object* x_426; -x_425 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_425); +lean_object* x_429; lean_object* x_430; +x_429 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_429); lean_dec_ref(x_1); -x_426 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_425, x_2, x_3, x_4, x_5, x_6); -return x_426; +x_430 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4(x_429, x_2, x_3, x_4, x_5, x_6); +return x_430; } default: { -lean_object* x_427; lean_object* x_428; lean_object* x_429; uint8_t x_430; -x_427 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__5; -x_428 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__2___redArg(x_427, x_4, x_6); -x_429 = lean_ctor_get(x_428, 0); -lean_inc(x_429); -x_430 = lean_unbox(x_429); -lean_dec(x_429); -if (x_430 == 0) +lean_object* x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; +x_431 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__5; +x_432 = l_Lean_isTracingEnabledFor___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__2___redArg(x_431, x_4, x_6); +x_433 = lean_ctor_get(x_432, 0); +lean_inc(x_433); +x_434 = lean_unbox(x_433); +lean_dec(x_433); +if (x_434 == 0) { -lean_object* x_431; -x_431 = lean_ctor_get(x_428, 1); -lean_inc(x_431); -lean_dec_ref(x_428); -x_263 = x_2; -x_264 = x_3; -x_265 = x_4; -x_266 = x_5; -x_267 = x_431; -goto block_329; +lean_object* x_435; +x_435 = lean_ctor_get(x_432, 1); +lean_inc(x_435); +lean_dec_ref(x_432); +x_267 = x_2; +x_268 = x_3; +x_269 = x_4; +x_270 = x_5; +x_271 = x_435; +goto block_333; } else { -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_432 = lean_ctor_get(x_428, 1); -lean_inc(x_432); -lean_dec_ref(x_428); +lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; +x_436 = lean_ctor_get(x_432, 1); +lean_inc(x_436); +lean_dec_ref(x_432); lean_inc_ref(x_1); -x_433 = l_Lean_MessageData_ofExpr(x_1); -x_434 = l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3(x_427, x_433, x_2, x_3, x_4, x_5, x_432); -x_435 = lean_ctor_get(x_434, 1); -lean_inc(x_435); -lean_dec_ref(x_434); -x_263 = x_2; -x_264 = x_3; -x_265 = x_4; -x_266 = x_5; -x_267 = x_435; -goto block_329; +x_437 = l_Lean_MessageData_ofExpr(x_1); +x_438 = l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3(x_431, x_437, x_2, x_3, x_4, x_5, x_436); +x_439 = lean_ctor_get(x_438, 1); +lean_inc(x_439); +lean_dec_ref(x_438); +x_267 = x_2; +x_268 = x_3; +x_269 = x_4; +x_270 = x_5; +x_271 = x_439; +goto block_333; } } } block_177: { uint8_t x_16; -x_16 = lean_ctor_get_uint8(x_7, 12); -lean_dec_ref(x_7); +x_16 = lean_ctor_get_uint8(x_10, 12); +lean_dec_ref(x_10); if (x_16 == 0) { lean_object* x_17; -lean_dec_ref(x_14); lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_11); +lean_ctor_set(x_17, 1, x_14); return x_17; } else { lean_object* x_18; lean_inc(x_8); -lean_inc_ref(x_13); -lean_inc(x_10); lean_inc_ref(x_9); +lean_inc(x_11); +lean_inc_ref(x_7); lean_inc_ref(x_15); -x_18 = l_Lean_Meta_reduceMatcher_x3f(x_15, x_9, x_10, x_13, x_8, x_11); +x_18 = l_Lean_Meta_reduceMatcher_x3f(x_15, x_7, x_11, x_9, x_8, x_14); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; @@ -23872,14 +24309,14 @@ case 0: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec_ref(x_15); -lean_dec_ref(x_14); +lean_dec_ref(x_13); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec_ref(x_18); x_21 = lean_ctor_get(x_19, 0); lean_inc_ref(x_21); lean_dec_ref(x_19); -x_22 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_21, x_9, x_10, x_13, x_8, x_20); +x_22 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_21, x_7, x_11, x_9, x_8, x_20); return x_22; } case 2: @@ -23892,8 +24329,8 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_18, 1); x_25 = lean_ctor_get(x_18, 0); lean_dec(x_25); -x_26 = l_Lean_Expr_getAppFn(x_14); -lean_dec_ref(x_14); +x_26 = l_Lean_Expr_getAppFn(x_13); +lean_dec_ref(x_13); if (lean_obj_tag(x_26) == 4) { lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; @@ -23917,10 +24354,10 @@ x_34 = l_Lean_Environment_find_x3f(x_33, x_27, x_12); if (lean_obj_tag(x_34) == 0) { lean_dec(x_28); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); lean_ctor_set(x_29, 0, x_15); return x_29; } @@ -23952,10 +24389,10 @@ uint8_t x_41; lean_dec(x_37); lean_dec_ref(x_35); lean_dec(x_28); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_41 = !lean_is_exclusive(x_38); if (x_41 == 0) { @@ -23983,7 +24420,7 @@ lean_object* x_45; lean_object* x_46; x_45 = lean_ctor_get(x_38, 1); lean_inc(x_45); lean_dec_ref(x_38); -x_46 = l_Lean_Meta_recordUnfold___redArg(x_37, x_10, x_13, x_45); +x_46 = l_Lean_Meta_recordUnfold___redArg(x_37, x_11, x_9, x_45); 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; @@ -23995,7 +24432,7 @@ x_49 = lean_mk_empty_array_with_capacity(x_48); lean_dec(x_48); lean_inc_ref(x_15); x_50 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_15, x_49); -x_51 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_35, x_28, x_50, x_12, x_9, x_10, x_13, x_8, x_47); +x_51 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_35, x_28, x_50, x_12, x_7, x_11, x_9, x_8, x_47); lean_dec_ref(x_50); lean_dec_ref(x_35); return x_51; @@ -24006,10 +24443,10 @@ uint8_t x_52; lean_dec_ref(x_35); lean_dec(x_28); lean_dec_ref(x_15); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_52 = !lean_is_exclusive(x_46); if (x_52 == 0) { @@ -24048,7 +24485,7 @@ x_61 = lean_unsigned_to_nat(1u); x_62 = lean_nat_sub(x_59, x_61); lean_dec(x_59); x_63 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_60, x_62); -x_64 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_56, x_63, x_36, x_57, x_9, x_10, x_13, x_8, x_32); +x_64 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_56, x_63, x_36, x_57, x_7, x_11, x_9, x_8, x_32); lean_dec_ref(x_63); lean_dec_ref(x_56); return x_64; @@ -24069,7 +24506,7 @@ x_70 = lean_unsigned_to_nat(1u); x_71 = lean_nat_sub(x_68, x_70); lean_dec(x_68); x_72 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_69, x_71); -x_73 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_65, x_28, x_72, x_36, x_66, x_9, x_10, x_13, x_8, x_32); +x_73 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_65, x_28, x_72, x_36, x_66, x_7, x_11, x_9, x_8, x_32); lean_dec_ref(x_72); return x_73; } @@ -24078,10 +24515,10 @@ default: lean_dec_ref(x_36); lean_dec(x_35); lean_dec(x_28); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); lean_ctor_set(x_29, 0, x_15); return x_29; } @@ -24104,10 +24541,10 @@ if (lean_obj_tag(x_77) == 0) { lean_object* x_78; lean_dec(x_28); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_78 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_78, 0, x_15); lean_ctor_set(x_78, 1, x_75); @@ -24140,10 +24577,10 @@ lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_81); lean_dec_ref(x_79); lean_dec(x_28); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_85 = lean_ctor_get(x_82, 1); lean_inc(x_85); if (lean_is_exclusive(x_82)) { @@ -24169,7 +24606,7 @@ lean_object* x_88; lean_object* x_89; x_88 = lean_ctor_get(x_82, 1); lean_inc(x_88); lean_dec_ref(x_82); -x_89 = l_Lean_Meta_recordUnfold___redArg(x_81, x_10, x_13, x_88); +x_89 = l_Lean_Meta_recordUnfold___redArg(x_81, x_11, x_9, x_88); if (lean_obj_tag(x_89) == 0) { lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; @@ -24181,7 +24618,7 @@ x_92 = lean_mk_empty_array_with_capacity(x_91); lean_dec(x_91); lean_inc_ref(x_15); x_93 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_15, x_92); -x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_79, x_28, x_93, x_12, x_9, x_10, x_13, x_8, x_90); +x_94 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_79, x_28, x_93, x_12, x_7, x_11, x_9, x_8, x_90); lean_dec_ref(x_93); lean_dec_ref(x_79); return x_94; @@ -24192,10 +24629,10 @@ lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_dec_ref(x_79); lean_dec(x_28); lean_dec_ref(x_15); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_95 = lean_ctor_get(x_89, 0); lean_inc(x_95); x_96 = lean_ctor_get(x_89, 1); @@ -24235,7 +24672,7 @@ x_104 = lean_unsigned_to_nat(1u); x_105 = lean_nat_sub(x_102, x_104); lean_dec(x_102); x_106 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_103, x_105); -x_107 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_99, x_106, x_80, x_100, x_9, x_10, x_13, x_8, x_75); +x_107 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_99, x_106, x_80, x_100, x_7, x_11, x_9, x_8, x_75); lean_dec_ref(x_106); lean_dec_ref(x_99); return x_107; @@ -24255,7 +24692,7 @@ x_113 = lean_unsigned_to_nat(1u); x_114 = lean_nat_sub(x_111, x_113); lean_dec(x_111); x_115 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_112, x_114); -x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_108, x_28, x_115, x_80, x_109, x_9, x_10, x_13, x_8, x_75); +x_116 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_108, x_28, x_115, x_80, x_109, x_7, x_11, x_9, x_8, x_75); lean_dec_ref(x_115); return x_116; } @@ -24265,10 +24702,10 @@ lean_object* x_117; lean_dec_ref(x_80); lean_dec(x_79); lean_dec(x_28); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_117 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_117, 0, x_15); lean_ctor_set(x_117, 1, x_75); @@ -24281,10 +24718,10 @@ return x_117; else { lean_dec_ref(x_26); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); lean_ctor_set(x_18, 0, x_15); return x_18; } @@ -24295,8 +24732,8 @@ lean_object* x_118; lean_object* x_119; x_118 = lean_ctor_get(x_18, 1); lean_inc(x_118); lean_dec(x_18); -x_119 = l_Lean_Expr_getAppFn(x_14); -lean_dec_ref(x_14); +x_119 = l_Lean_Expr_getAppFn(x_13); +lean_dec_ref(x_13); if (lean_obj_tag(x_119) == 4) { 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; @@ -24326,10 +24763,10 @@ if (lean_obj_tag(x_127) == 0) { lean_object* x_128; lean_dec(x_121); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); if (lean_is_scalar(x_125)) { x_128 = lean_alloc_ctor(0, 2, 0); } else { @@ -24367,10 +24804,10 @@ lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_dec(x_131); lean_dec_ref(x_129); lean_dec(x_121); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_135 = lean_ctor_get(x_132, 1); lean_inc(x_135); if (lean_is_exclusive(x_132)) { @@ -24396,7 +24833,7 @@ lean_object* x_138; lean_object* x_139; x_138 = lean_ctor_get(x_132, 1); lean_inc(x_138); lean_dec_ref(x_132); -x_139 = l_Lean_Meta_recordUnfold___redArg(x_131, x_10, x_13, x_138); +x_139 = l_Lean_Meta_recordUnfold___redArg(x_131, x_11, x_9, x_138); 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; @@ -24408,7 +24845,7 @@ x_142 = lean_mk_empty_array_with_capacity(x_141); lean_dec(x_141); lean_inc_ref(x_15); x_143 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_15, x_142); -x_144 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_129, x_121, x_143, x_12, x_9, x_10, x_13, x_8, x_140); +x_144 = l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__0(x_15, x_129, x_121, x_143, x_12, x_7, x_11, x_9, x_8, x_140); lean_dec_ref(x_143); lean_dec_ref(x_129); return x_144; @@ -24419,10 +24856,10 @@ lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_dec_ref(x_129); lean_dec(x_121); lean_dec_ref(x_15); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_145 = lean_ctor_get(x_139, 0); lean_inc(x_145); x_146 = lean_ctor_get(x_139, 1); @@ -24463,7 +24900,7 @@ x_154 = lean_unsigned_to_nat(1u); x_155 = lean_nat_sub(x_152, x_154); lean_dec(x_152); x_156 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_153, x_155); -x_157 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_149, x_156, x_130, x_150, x_9, x_10, x_13, x_8, x_124); +x_157 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___redArg(x_149, x_156, x_130, x_150, x_7, x_11, x_9, x_8, x_124); lean_dec_ref(x_156); lean_dec_ref(x_149); return x_157; @@ -24484,7 +24921,7 @@ x_163 = lean_unsigned_to_nat(1u); x_164 = lean_nat_sub(x_161, x_163); lean_dec(x_161); x_165 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_162, x_164); -x_166 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_158, x_121, x_165, x_130, x_159, x_9, x_10, x_13, x_8, x_124); +x_166 = l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___redArg(x_158, x_121, x_165, x_130, x_159, x_7, x_11, x_9, x_8, x_124); lean_dec_ref(x_165); return x_166; } @@ -24494,10 +24931,10 @@ lean_object* x_167; lean_dec_ref(x_130); lean_dec(x_129); lean_dec(x_121); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); if (lean_is_scalar(x_125)) { x_167 = lean_alloc_ctor(0, 2, 0); } else { @@ -24514,10 +24951,10 @@ else { lean_object* x_168; lean_dec_ref(x_119); -lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_168 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_168, 0, x_15); lean_ctor_set(x_168, 1, x_118); @@ -24529,11 +24966,11 @@ default: { uint8_t x_169; lean_dec(x_19); -lean_dec_ref(x_14); lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_169 = !lean_is_exclusive(x_18); if (x_169 == 0) { @@ -24561,11 +24998,11 @@ else { uint8_t x_173; lean_dec_ref(x_15); -lean_dec_ref(x_14); lean_dec_ref(x_13); -lean_dec(x_10); +lean_dec(x_11); lean_dec_ref(x_9); lean_dec(x_8); +lean_dec_ref(x_7); x_173 = !lean_is_exclusive(x_18); if (x_173 == 0) { @@ -24591,7 +25028,7 @@ block_195: { lean_object* x_187; lean_object* x_188; lean_inc_ref(x_1); -x_187 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_185, x_1, x_182, x_183, x_184, x_181, x_179); +x_187 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(x_184, x_1, x_178, x_183, x_180, x_179, x_185); x_188 = lean_ctor_get(x_187, 0); lean_inc(x_188); if (lean_obj_tag(x_188) == 0) @@ -24600,33 +25037,33 @@ lean_object* x_189; uint8_t x_190; x_189 = lean_ctor_get(x_187, 1); lean_inc(x_189); lean_dec_ref(x_187); -x_190 = lean_expr_eqv(x_180, x_185); -lean_dec_ref(x_180); +x_190 = lean_expr_eqv(x_181, x_184); +lean_dec_ref(x_181); if (x_190 == 0) { lean_object* x_191; -x_191 = l_Lean_Expr_updateFn(x_1, x_185); +x_191 = l_Lean_Expr_updateFn(x_1, x_184); x_7 = x_178; -x_8 = x_181; -x_9 = x_182; -x_10 = x_183; -x_11 = x_189; +x_8 = x_179; +x_9 = x_180; +x_10 = x_182; +x_11 = x_183; x_12 = x_186; x_13 = x_184; -x_14 = x_185; +x_14 = x_189; x_15 = x_191; goto block_177; } else { x_7 = x_178; -x_8 = x_181; -x_9 = x_182; -x_10 = x_183; -x_11 = x_189; +x_8 = x_179; +x_9 = x_180; +x_10 = x_182; +x_11 = x_183; x_12 = x_186; x_13 = x_184; -x_14 = x_185; +x_14 = x_189; x_15 = x_1; goto block_177; } @@ -24634,9 +25071,9 @@ goto block_177; else { lean_object* x_192; lean_object* x_193; lean_object* x_194; -lean_dec_ref(x_185); -lean_dec_ref(x_180); -lean_dec_ref(x_178); +lean_dec_ref(x_184); +lean_dec_ref(x_182); +lean_dec_ref(x_181); lean_dec_ref(x_1); x_192 = lean_ctor_get(x_187, 1); lean_inc(x_192); @@ -24644,7 +25081,7 @@ lean_dec_ref(x_187); x_193 = lean_ctor_get(x_188, 0); lean_inc(x_193); lean_dec_ref(x_188); -x_194 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_193, x_182, x_183, x_184, x_181, x_192); +x_194 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_193, x_178, x_183, x_180, x_179, x_192); return x_194; } } @@ -24656,9 +25093,9 @@ x_203 = lean_mk_empty_array_with_capacity(x_202); lean_dec(x_202); x_204 = l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(x_1, x_203); x_205 = 0; -x_206 = l_Lean_Expr_betaRev(x_201, x_204, x_205, x_205); +x_206 = l_Lean_Expr_betaRev(x_200, x_204, x_205, x_205); lean_dec_ref(x_204); -x_207 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_206, x_198, x_199, x_200, x_197, x_196); +x_207 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_206, x_196, x_199, x_198, x_197, x_201); return x_207; } block_218: @@ -24678,11 +25115,11 @@ goto block_195; } else { -lean_dec_ref(x_211); -lean_dec_ref(x_209); -x_196 = x_210; -x_197 = x_212; -x_198 = x_213; +lean_dec_ref(x_213); +lean_dec_ref(x_212); +x_196 = x_209; +x_197 = x_210; +x_198 = x_211; x_199 = x_214; x_200 = x_215; x_201 = x_216; @@ -24691,43 +25128,43 @@ goto block_208; } block_232: { -if (x_225 == 0) +if (x_220 == 0) { lean_object* x_227; -lean_dec_ref(x_224); +lean_dec_ref(x_225); lean_dec(x_223); -lean_dec_ref(x_221); -lean_dec(x_220); +lean_dec_ref(x_222); +lean_dec(x_221); lean_dec_ref(x_219); x_227 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_227, 0, x_1); -lean_ctor_set(x_227, 1, x_222); +lean_ctor_set(x_227, 1, x_224); return x_227; } else { uint8_t x_228; -x_228 = l_Lean_Expr_hasLooseBVars(x_219); +x_228 = l_Lean_Expr_hasLooseBVars(x_225); if (x_228 == 0) { lean_object* x_229; lean_object* x_230; lean_dec_ref(x_1); -x_229 = l_Lean_Meta_consumeUnusedLet(x_219, x_226); -lean_dec_ref(x_219); -x_230 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_229, x_221, x_223, x_224, x_220, x_222); +x_229 = l_Lean_Meta_consumeUnusedLet(x_225, x_226); +lean_dec_ref(x_225); +x_230 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_229, x_219, x_223, x_222, x_221, x_224); return x_230; } else { lean_object* x_231; -lean_dec_ref(x_224); +lean_dec_ref(x_225); lean_dec(x_223); -lean_dec_ref(x_221); -lean_dec(x_220); +lean_dec_ref(x_222); +lean_dec(x_221); lean_dec_ref(x_219); x_231 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_231, 0, x_1); -lean_ctor_set(x_231, 1, x_222); +lean_ctor_set(x_231, 1, x_224); return x_231; } } @@ -24736,17 +25173,24 @@ block_245: { lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; x_241 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__0; -x_242 = lean_array_push(x_241, x_234); -x_243 = l_Lean_Meta_expandLet(x_233, x_242, x_240); -lean_dec_ref(x_233); -x_244 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_243, x_236, x_238, x_239, x_235, x_237); +x_242 = lean_array_push(x_241, x_233); +x_243 = l_Lean_Meta_expandLet(x_240, x_242, x_235); +lean_dec_ref(x_240); +x_244 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_243, x_234, x_238, x_237, x_236, x_239); return x_244; } -block_262: +block_266: { -lean_object* x_253; lean_object* x_254; -x_253 = l_Lean_Meta_projectCore_x3f___redArg(x_247, x_246, x_251, x_252); +lean_object* x_253; +lean_inc(x_251); +lean_inc_ref(x_250); +lean_inc(x_249); +lean_inc_ref(x_248); +x_253 = l_Lean_Meta_projectCore_x3f(x_247, x_246, x_248, x_249, x_250, x_251, x_252); lean_dec(x_246); +if (lean_obj_tag(x_253) == 0) +{ +lean_object* x_254; x_254 = lean_ctor_get(x_253, 0); lean_inc(x_254); if (lean_obj_tag(x_254) == 0) @@ -24791,375 +25235,363 @@ x_261 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_260, x_248, x_249, return x_261; } } -block_329: +else +{ +uint8_t x_262; +lean_dec(x_251); +lean_dec_ref(x_250); +lean_dec(x_249); +lean_dec_ref(x_248); +lean_dec_ref(x_1); +x_262 = !lean_is_exclusive(x_253); +if (x_262 == 0) +{ +return x_253; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_253, 0); +x_264 = lean_ctor_get(x_253, 1); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_253); +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; +} +} +} +block_333: { switch (lean_obj_tag(x_1)) { case 4: { -lean_object* x_268; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -x_268 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_268, 0, x_1); -lean_ctor_set(x_268, 1, x_267); -return x_268; +lean_object* x_272; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_1); +lean_ctor_set(x_272, 1, x_271); +return x_272; } case 5: { -lean_object* x_269; lean_object* x_270; -x_269 = lean_ctor_get(x_1, 0); -x_270 = l_Lean_Meta_getConfig___redArg(x_263, x_267); -if (lean_obj_tag(x_270) == 0) -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec_ref(x_270); -x_273 = l_Lean_Expr_getAppFn(x_269); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_273); -x_274 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_273, x_263, x_264, x_265, x_266, x_272); +lean_object* x_273; lean_object* x_274; +x_273 = lean_ctor_get(x_1, 0); +x_274 = l_Lean_Meta_getConfig___redArg(x_267, x_271); if (lean_obj_tag(x_274) == 0) { -lean_object* x_275; lean_object* x_276; uint8_t x_277; +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; 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 = l_Lean_Expr_isLambda(x_275); -if (x_277 == 0) +x_277 = l_Lean_Expr_getAppFn(x_273); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_277); +x_278 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_277, x_267, x_268, x_269, x_270, x_276); +if (lean_obj_tag(x_278) == 0) { -x_209 = x_271; -x_210 = x_276; -x_211 = x_273; -x_212 = x_266; -x_213 = x_263; -x_214 = x_264; -x_215 = x_265; -x_216 = x_275; -x_217 = x_277; +lean_object* x_279; lean_object* x_280; uint8_t x_281; +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +x_280 = lean_ctor_get(x_278, 1); +lean_inc(x_280); +lean_dec_ref(x_278); +x_281 = l_Lean_Expr_isLambda(x_279); +if (x_281 == 0) +{ +x_209 = x_267; +x_210 = x_270; +x_211 = x_269; +x_212 = x_277; +x_213 = x_275; +x_214 = x_268; +x_215 = x_279; +x_216 = x_280; +x_217 = x_281; goto block_218; } else { -uint8_t x_278; -x_278 = lean_ctor_get_uint8(x_271, 13); -if (x_278 == 0) +uint8_t x_282; +x_282 = lean_ctor_get_uint8(x_275, 13); +if (x_282 == 0) { -uint8_t x_279; -x_279 = l_Lean_Expr_isLambda(x_273); -if (x_279 == 0) +uint8_t x_283; +x_283 = l_Lean_Expr_isLambda(x_277); +if (x_283 == 0) { -x_209 = x_271; -x_210 = x_276; -x_211 = x_273; -x_212 = x_266; -x_213 = x_263; -x_214 = x_264; -x_215 = x_265; -x_216 = x_275; -x_217 = x_277; +x_209 = x_267; +x_210 = x_270; +x_211 = x_269; +x_212 = x_277; +x_213 = x_275; +x_214 = x_268; +x_215 = x_279; +x_216 = x_280; +x_217 = x_281; goto block_218; } else { -x_178 = x_271; -x_179 = x_276; -x_180 = x_273; -x_181 = x_266; -x_182 = x_263; -x_183 = x_264; -x_184 = x_265; -x_185 = x_275; -x_186 = x_278; +x_178 = x_267; +x_179 = x_270; +x_180 = x_269; +x_181 = x_277; +x_182 = x_275; +x_183 = x_268; +x_184 = x_279; +x_185 = x_280; +x_186 = x_282; goto block_195; } } else { -lean_dec_ref(x_273); -lean_dec(x_271); -x_196 = x_276; -x_197 = x_266; -x_198 = x_263; -x_199 = x_264; -x_200 = x_265; -x_201 = x_275; +lean_dec_ref(x_277); +lean_dec(x_275); +x_196 = x_267; +x_197 = x_270; +x_198 = x_269; +x_199 = x_268; +x_200 = x_279; +x_201 = x_280; goto block_208; } } } else { -lean_dec_ref(x_273); -lean_dec(x_271); -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); +lean_dec_ref(x_277); +lean_dec(x_275); +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); lean_dec_ref(x_1); +return x_278; +} +} +else +{ +uint8_t x_284; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +x_284 = !lean_is_exclusive(x_274); +if (x_284 == 0) +{ return x_274; } -} else { -uint8_t x_280; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -x_280 = !lean_is_exclusive(x_270); -if (x_280 == 0) -{ -return x_270; -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; -x_281 = lean_ctor_get(x_270, 0); -x_282 = lean_ctor_get(x_270, 1); -lean_inc(x_282); -lean_inc(x_281); -lean_dec(x_270); -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -return x_283; +lean_object* x_285; lean_object* x_286; lean_object* x_287; +x_285 = lean_ctor_get(x_274, 0); +x_286 = lean_ctor_get(x_274, 1); +lean_inc(x_286); +lean_inc(x_285); +lean_dec(x_274); +x_287 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_287, 0, x_285); +lean_ctor_set(x_287, 1, x_286); +return x_287; } } } case 8: { -lean_object* x_284; lean_object* x_285; uint8_t x_286; lean_object* x_287; -x_284 = lean_ctor_get(x_1, 2); -x_285 = lean_ctor_get(x_1, 3); -x_286 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); -x_287 = l_Lean_Meta_getConfig___redArg(x_263, x_267); -if (lean_obj_tag(x_287) == 0) -{ -lean_object* x_288; uint8_t x_289; -x_288 = lean_ctor_get(x_287, 0); -lean_inc(x_288); -x_289 = lean_ctor_get_uint8(x_288, 15); -if (x_289 == 0) -{ -lean_object* x_290; uint8_t x_291; -x_290 = lean_ctor_get(x_287, 1); -lean_inc(x_290); -lean_dec_ref(x_287); -x_291 = lean_ctor_get_uint8(x_288, 17); -lean_dec(x_288); -lean_inc_ref(x_285); -x_219 = x_285; -x_220 = x_266; -x_221 = x_263; -x_222 = x_290; -x_223 = x_264; -x_224 = x_265; -x_225 = x_291; -x_226 = x_289; -goto block_232; -} -else -{ -if (x_286 == 0) +lean_object* x_288; lean_object* x_289; uint8_t x_290; lean_object* x_291; +x_288 = lean_ctor_get(x_1, 2); +x_289 = lean_ctor_get(x_1, 3); +x_290 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); +x_291 = l_Lean_Meta_getConfig___redArg(x_267, x_271); +if (lean_obj_tag(x_291) == 0) { lean_object* x_292; uint8_t x_293; -lean_inc_ref(x_285); -lean_inc_ref(x_284); -lean_dec_ref(x_1); -x_292 = lean_ctor_get(x_287, 1); +x_292 = lean_ctor_get(x_291, 0); lean_inc(x_292); -lean_dec_ref(x_287); -x_293 = lean_ctor_get_uint8(x_288, 18); -lean_dec(x_288); -x_233 = x_285; -x_234 = x_284; -x_235 = x_266; -x_236 = x_263; -x_237 = x_292; -x_238 = x_264; -x_239 = x_265; -x_240 = x_293; -goto block_245; -} -else +x_293 = lean_ctor_get_uint8(x_292, 15); +if (x_293 == 0) { -uint8_t x_294; -x_294 = lean_ctor_get_uint8(x_288, 18); -if (x_294 == 0) -{ -lean_object* x_295; uint8_t x_296; -x_295 = lean_ctor_get(x_287, 1); -lean_inc(x_295); -lean_dec_ref(x_287); -x_296 = lean_ctor_get_uint8(x_288, 17); -lean_dec(x_288); -lean_inc_ref(x_285); -x_219 = x_285; -x_220 = x_266; -x_221 = x_263; -x_222 = x_295; -x_223 = x_264; -x_224 = x_265; -x_225 = x_296; -x_226 = x_294; +lean_object* x_294; uint8_t x_295; +x_294 = lean_ctor_get(x_291, 1); +lean_inc(x_294); +lean_dec_ref(x_291); +x_295 = lean_ctor_get_uint8(x_292, 17); +lean_dec(x_292); +lean_inc_ref(x_289); +x_219 = x_267; +x_220 = x_295; +x_221 = x_270; +x_222 = x_269; +x_223 = x_268; +x_224 = x_294; +x_225 = x_289; +x_226 = x_293; goto block_232; } else { -lean_object* x_297; -lean_dec(x_288); -lean_inc_ref(x_285); -lean_inc_ref(x_284); +if (x_290 == 0) +{ +lean_object* x_296; uint8_t x_297; +lean_inc_ref(x_289); +lean_inc_ref(x_288); lean_dec_ref(x_1); -x_297 = lean_ctor_get(x_287, 1); -lean_inc(x_297); -lean_dec_ref(x_287); -x_233 = x_285; -x_234 = x_284; -x_235 = x_266; -x_236 = x_263; -x_237 = x_297; -x_238 = x_264; -x_239 = x_265; -x_240 = x_294; +x_296 = lean_ctor_get(x_291, 1); +lean_inc(x_296); +lean_dec_ref(x_291); +x_297 = lean_ctor_get_uint8(x_292, 18); +lean_dec(x_292); +x_233 = x_288; +x_234 = x_267; +x_235 = x_297; +x_236 = x_270; +x_237 = x_269; +x_238 = x_268; +x_239 = x_296; +x_240 = x_289; goto block_245; } -} -} -} else { uint8_t x_298; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -x_298 = !lean_is_exclusive(x_287); +x_298 = lean_ctor_get_uint8(x_292, 18); if (x_298 == 0) { -return x_287; +lean_object* x_299; uint8_t x_300; +x_299 = lean_ctor_get(x_291, 1); +lean_inc(x_299); +lean_dec_ref(x_291); +x_300 = lean_ctor_get_uint8(x_292, 17); +lean_dec(x_292); +lean_inc_ref(x_289); +x_219 = x_267; +x_220 = x_300; +x_221 = x_270; +x_222 = x_269; +x_223 = x_268; +x_224 = x_299; +x_225 = x_289; +x_226 = x_298; +goto block_232; } else { -lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_299 = lean_ctor_get(x_287, 0); -x_300 = lean_ctor_get(x_287, 1); -lean_inc(x_300); -lean_inc(x_299); -lean_dec(x_287); -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_299); -lean_ctor_set(x_301, 1, x_300); -return x_301; +lean_object* x_301; +lean_dec(x_292); +lean_inc_ref(x_289); +lean_inc_ref(x_288); +lean_dec_ref(x_1); +x_301 = lean_ctor_get(x_291, 1); +lean_inc(x_301); +lean_dec_ref(x_291); +x_233 = x_288; +x_234 = x_267; +x_235 = x_298; +x_236 = x_270; +x_237 = x_269; +x_238 = x_268; +x_239 = x_301; +x_240 = x_289; +goto block_245; +} +} +} +} +else +{ +uint8_t x_302; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +x_302 = !lean_is_exclusive(x_291); +if (x_302 == 0) +{ +return x_291; +} +else +{ +lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_303 = lean_ctor_get(x_291, 0); +x_304 = lean_ctor_get(x_291, 1); +lean_inc(x_304); +lean_inc(x_303); +lean_dec(x_291); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_303); +lean_ctor_set(x_305, 1, x_304); +return x_305; } } } case 11: { -lean_object* x_302; lean_object* x_303; lean_object* x_304; -x_302 = lean_ctor_get(x_1, 1); -x_303 = lean_ctor_get(x_1, 2); -x_304 = l_Lean_Meta_getConfig___redArg(x_263, x_267); -if (lean_obj_tag(x_304) == 0) +lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_306 = lean_ctor_get(x_1, 1); +x_307 = lean_ctor_get(x_1, 2); +x_308 = l_Lean_Meta_getConfig___redArg(x_267, x_271); +if (lean_obj_tag(x_308) == 0) { -lean_object* x_305; uint8_t x_306; -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get_uint8(x_305, 14); -lean_dec(x_305); -switch (x_306) { +lean_object* x_309; uint8_t x_310; +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = lean_ctor_get_uint8(x_309, 14); +lean_dec(x_309); +switch (x_310) { case 0: { -uint8_t x_307; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -x_307 = !lean_is_exclusive(x_304); -if (x_307 == 0) +uint8_t x_311; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +x_311 = !lean_is_exclusive(x_308); +if (x_311 == 0) { -lean_object* x_308; -x_308 = lean_ctor_get(x_304, 0); -lean_dec(x_308); -lean_ctor_set(x_304, 0, x_1); -return x_304; +lean_object* x_312; +x_312 = lean_ctor_get(x_308, 0); +lean_dec(x_312); +lean_ctor_set(x_308, 0, x_1); +return x_308; } else { -lean_object* x_309; lean_object* x_310; -x_309 = lean_ctor_get(x_304, 1); -lean_inc(x_309); -lean_dec(x_304); -x_310 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_310, 0, x_1); -lean_ctor_set(x_310, 1, x_309); -return x_310; +lean_object* x_313; lean_object* x_314; +x_313 = lean_ctor_get(x_308, 1); +lean_inc(x_313); +lean_dec(x_308); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_1); +lean_ctor_set(x_314, 1, x_313); +return x_314; } } case 1: { -lean_object* x_311; lean_object* x_312; -x_311 = lean_ctor_get(x_304, 1); -lean_inc(x_311); -lean_dec_ref(x_304); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_303); -x_312 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_303, x_263, x_264, x_265, x_266, x_311); -if (lean_obj_tag(x_312) == 0) -{ -lean_object* x_313; lean_object* x_314; -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec_ref(x_312); -lean_inc(x_302); -x_246 = x_302; -x_247 = x_313; -x_248 = x_263; -x_249 = x_264; -x_250 = x_265; -x_251 = x_266; -x_252 = x_314; -goto block_262; -} -else -{ -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -return x_312; -} -} -case 2: -{ lean_object* x_315; lean_object* x_316; -x_315 = lean_ctor_get(x_304, 1); +x_315 = lean_ctor_get(x_308, 1); lean_inc(x_315); -lean_dec_ref(x_304); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_303); -x_316 = lean_whnf(x_303, x_263, x_264, x_265, x_266, x_315); +lean_dec_ref(x_308); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_307); +x_316 = l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go(x_307, x_267, x_268, x_269, x_270, x_315); if (lean_obj_tag(x_316) == 0) { lean_object* x_317; lean_object* x_318; @@ -25168,38 +25600,38 @@ lean_inc(x_317); x_318 = lean_ctor_get(x_316, 1); lean_inc(x_318); lean_dec_ref(x_316); -lean_inc(x_302); -x_246 = x_302; +lean_inc(x_306); +x_246 = x_306; x_247 = x_317; -x_248 = x_263; -x_249 = x_264; -x_250 = x_265; -x_251 = x_266; +x_248 = x_267; +x_249 = x_268; +x_250 = x_269; +x_251 = x_270; x_252 = x_318; -goto block_262; +goto block_266; } else { -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); lean_dec_ref(x_1); return x_316; } } -default: +case 2: { lean_object* x_319; lean_object* x_320; -x_319 = lean_ctor_get(x_304, 1); +x_319 = lean_ctor_get(x_308, 1); lean_inc(x_319); -lean_dec_ref(x_304); -lean_inc(x_266); -lean_inc_ref(x_265); -lean_inc(x_264); -lean_inc_ref(x_263); -lean_inc_ref(x_303); -x_320 = l_Lean_Meta_whnfAtMostI(x_303, x_263, x_264, x_265, x_266, x_319); +lean_dec_ref(x_308); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_307); +x_320 = lean_whnf(x_307, x_267, x_268, x_269, x_270, x_319); if (lean_obj_tag(x_320) == 0) { lean_object* x_321; lean_object* x_322; @@ -25208,63 +25640,103 @@ lean_inc(x_321); x_322 = lean_ctor_get(x_320, 1); lean_inc(x_322); lean_dec_ref(x_320); -lean_inc(x_302); -x_246 = x_302; +lean_inc(x_306); +x_246 = x_306; x_247 = x_321; -x_248 = x_263; -x_249 = x_264; -x_250 = x_265; -x_251 = x_266; +x_248 = x_267; +x_249 = x_268; +x_250 = x_269; +x_251 = x_270; x_252 = x_322; -goto block_262; +goto block_266; } else { -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); lean_dec_ref(x_1); return x_320; } } -} -} -else +default: { -uint8_t x_323; -lean_dec(x_266); -lean_dec_ref(x_265); -lean_dec(x_264); -lean_dec_ref(x_263); -lean_dec_ref(x_1); -x_323 = !lean_is_exclusive(x_304); -if (x_323 == 0) +lean_object* x_323; lean_object* x_324; +x_323 = lean_ctor_get(x_308, 1); +lean_inc(x_323); +lean_dec_ref(x_308); +lean_inc(x_270); +lean_inc_ref(x_269); +lean_inc(x_268); +lean_inc_ref(x_267); +lean_inc_ref(x_307); +x_324 = l_Lean_Meta_whnfAtMostI(x_307, x_267, x_268, x_269, x_270, x_323); +if (lean_obj_tag(x_324) == 0) { -return x_304; -} -else -{ -lean_object* x_324; lean_object* x_325; lean_object* x_326; -x_324 = lean_ctor_get(x_304, 0); -x_325 = lean_ctor_get(x_304, 1); +lean_object* x_325; lean_object* x_326; +x_325 = lean_ctor_get(x_324, 0); lean_inc(x_325); -lean_inc(x_324); -lean_dec(x_304); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_324); -lean_ctor_set(x_326, 1, x_325); -return x_326; +x_326 = lean_ctor_get(x_324, 1); +lean_inc(x_326); +lean_dec_ref(x_324); +lean_inc(x_306); +x_246 = x_306; +x_247 = x_325; +x_248 = x_267; +x_249 = x_268; +x_250 = x_269; +x_251 = x_270; +x_252 = x_326; +goto block_266; +} +else +{ +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +return x_324; +} +} +} +} +else +{ +uint8_t x_327; +lean_dec(x_270); +lean_dec_ref(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_1); +x_327 = !lean_is_exclusive(x_308); +if (x_327 == 0) +{ +return x_308; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; +x_328 = lean_ctor_get(x_308, 0); +x_329 = lean_ctor_get(x_308, 1); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_308); +x_330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_330, 0, x_328); +lean_ctor_set(x_330, 1, x_329); +return x_330; } } } default: { -lean_object* x_327; lean_object* x_328; +lean_object* x_331; lean_object* x_332; lean_dec_ref(x_1); -x_327 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__3; -x_328 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_327, x_263, x_264, x_265, x_266, x_267); -return x_328; +x_331 = l_Lean_Meta_whnfEasyCases___at___Lean_Meta_whnfEasyCases___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__4_spec__4___closed__3; +x_332 = l_panic___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__1(x_331, x_267, x_268, x_269, x_270, x_271); +return x_332; } } } @@ -29014,11 +29486,11 @@ block_69: { lean_object* x_67; lean_object* x_68; x_67 = lean_box(0); -x_68 = l_Lean_Meta_unfoldDefinition_x3f___lam__0(x_54, x_61, x_1, x_46, x_67, x_66, x_62, x_64, x_63, x_65); -lean_dec(x_63); -lean_dec_ref(x_64); -lean_dec(x_62); -lean_dec_ref(x_66); +x_68 = l_Lean_Meta_unfoldDefinition_x3f___lam__0(x_54, x_61, x_1, x_46, x_67, x_65, x_66, x_62, x_64, x_63); +lean_dec(x_64); +lean_dec_ref(x_62); +lean_dec(x_66); +lean_dec_ref(x_65); lean_dec(x_54); return x_68; } @@ -29035,11 +29507,11 @@ lean_object* x_80; x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); lean_dec_ref(x_78); -x_62 = x_73; -x_63 = x_75; -x_64 = x_74; -x_65 = x_80; -x_66 = x_72; +x_62 = x_74; +x_63 = x_80; +x_64 = x_75; +x_65 = x_72; +x_66 = x_73; goto block_69; } else @@ -29051,11 +29523,11 @@ lean_object* x_81; x_81 = lean_ctor_get(x_78, 1); lean_inc(x_81); lean_dec_ref(x_78); -x_62 = x_73; -x_63 = x_75; -x_64 = x_74; -x_65 = x_81; -x_66 = x_72; +x_62 = x_74; +x_63 = x_81; +x_64 = x_75; +x_65 = x_72; +x_66 = x_73; goto block_69; } else @@ -29208,11 +29680,11 @@ block_121: { lean_object* x_119; lean_object* x_120; x_119 = lean_box(0); -x_120 = l_Lean_Meta_unfoldDefinition_x3f___lam__0(x_105, x_113, x_1, x_46, x_119, x_118, x_114, x_116, x_115, x_117); -lean_dec(x_115); -lean_dec_ref(x_116); -lean_dec(x_114); -lean_dec_ref(x_118); +x_120 = l_Lean_Meta_unfoldDefinition_x3f___lam__0(x_105, x_113, x_1, x_46, x_119, x_117, x_118, x_114, x_116, x_115); +lean_dec(x_116); +lean_dec_ref(x_114); +lean_dec(x_118); +lean_dec_ref(x_117); lean_dec(x_105); return x_120; } @@ -29229,11 +29701,11 @@ lean_object* x_132; x_132 = lean_ctor_get(x_130, 1); lean_inc(x_132); lean_dec_ref(x_130); -x_114 = x_125; -x_115 = x_127; -x_116 = x_126; -x_117 = x_132; -x_118 = x_124; +x_114 = x_126; +x_115 = x_132; +x_116 = x_127; +x_117 = x_124; +x_118 = x_125; goto block_121; } else @@ -29245,11 +29717,11 @@ lean_object* x_133; x_133 = lean_ctor_get(x_130, 1); lean_inc(x_133); lean_dec_ref(x_130); -x_114 = x_125; -x_115 = x_127; -x_116 = x_126; -x_117 = x_133; -x_118 = x_124; +x_114 = x_126; +x_115 = x_133; +x_116 = x_127; +x_117 = x_124; +x_118 = x_125; goto block_121; } else @@ -33728,7 +34200,7 @@ static lean_object* _init_l_Lean_Meta_reduceNatNativeUnsafe___closed__0() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_1 = l_Lean_Expr_toCtorIfLit___closed__0; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } @@ -34067,14 +34539,6 @@ lean_dec_ref(x_2); return x_7; } } -static lean_object* _init_l_Lean_Meta_withNatValue___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("zero", 4, 4); -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_withNatValue___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: { @@ -35003,7 +35467,7 @@ lean_dec_ref(x_17); x_22 = lean_ctor_get(x_18, 1); lean_inc_ref(x_22); lean_dec_ref(x_18); -x_23 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_23 = l_Lean_Expr_toCtorIfLit___closed__0; x_24 = lean_string_dec_eq(x_22, x_23); lean_dec_ref(x_22); if (x_24 == 0) @@ -35020,7 +35484,7 @@ goto block_11; else { lean_object* x_25; uint8_t x_26; -x_25 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_25 = l_Lean_Expr_toCtorIfLit___closed__4; x_26 = lean_string_dec_eq(x_21, x_25); lean_dec_ref(x_21); if (x_26 == 0) @@ -36117,7 +36581,7 @@ lean_dec_ref(x_18); x_23 = lean_ctor_get(x_19, 1); lean_inc_ref(x_23); lean_dec_ref(x_19); -x_24 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_24 = l_Lean_Expr_toCtorIfLit___closed__0; x_25 = lean_string_dec_eq(x_23, x_24); lean_dec_ref(x_23); if (x_25 == 0) @@ -36134,7 +36598,7 @@ goto block_12; else { lean_object* x_26; uint8_t x_27; -x_26 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_26 = l_Lean_Expr_toCtorIfLit___closed__4; x_27 = lean_string_dec_eq(x_22, x_26); lean_dec_ref(x_22); if (x_27 == 0) @@ -36396,7 +36860,7 @@ lean_dec_ref(x_24); x_29 = lean_ctor_get(x_25, 1); lean_inc_ref(x_29); lean_dec_ref(x_25); -x_30 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_30 = l_Lean_Expr_toCtorIfLit___closed__0; x_31 = lean_string_dec_eq(x_29, x_30); lean_dec_ref(x_29); if (x_31 == 0) @@ -36409,7 +36873,7 @@ goto block_11; else { lean_object* x_32; uint8_t x_33; -x_32 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_32 = l_Lean_Expr_toCtorIfLit___closed__4; x_33 = lean_string_dec_eq(x_28, x_32); lean_dec_ref(x_28); if (x_33 == 0) @@ -36679,7 +37143,7 @@ return x_15; block_24: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_apply_2(x_1, x_18, x_17); +x_20 = lean_apply_2(x_1, x_17, x_18); x_21 = l_Lean_mkRawNatLit(x_20); x_22 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_22, 0, x_21); @@ -36707,8 +37171,8 @@ lean_dec_ref(x_27); x_36 = lean_ctor_get(x_33, 1); lean_inc(x_36); lean_dec_ref(x_33); -x_17 = x_26; -x_18 = x_25; +x_17 = x_25; +x_18 = x_26; x_19 = x_36; goto block_24; } @@ -36747,8 +37211,8 @@ lean_dec_ref(x_27); x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); lean_dec_ref(x_48); -x_17 = x_26; -x_18 = x_25; +x_17 = x_25; +x_18 = x_26; x_19 = x_49; goto block_24; } @@ -36783,8 +37247,8 @@ lean_dec_ref(x_27); x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec_ref(x_60); -x_17 = x_26; -x_18 = x_25; +x_17 = x_25; +x_18 = x_26; x_19 = x_61; goto block_24; } @@ -36795,11 +37259,11 @@ block_98: if (x_70 == 0) { lean_object* x_71; -lean_inc(x_63); -lean_inc_ref(x_64); -lean_inc(x_69); +lean_inc(x_67); lean_inc_ref(x_68); -x_71 = lean_whnf(x_65, x_68, x_69, x_64, x_63, x_67); +lean_inc(x_64); +lean_inc_ref(x_65); +x_71 = lean_whnf(x_69, x_65, x_64, x_68, x_67, x_66); if (lean_obj_tag(x_71) == 0) { lean_object* x_72; @@ -36833,16 +37297,16 @@ lean_dec_ref(x_73); x_78 = lean_ctor_get(x_74, 1); lean_inc_ref(x_78); lean_dec_ref(x_74); -x_79 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_79 = l_Lean_Expr_toCtorIfLit___closed__0; x_80 = lean_string_dec_eq(x_78, x_79); lean_dec_ref(x_78); if (x_80 == 0) { lean_dec_ref(x_77); -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_9 = x_76; @@ -36851,15 +37315,15 @@ goto block_12; else { lean_object* x_81; uint8_t x_82; -x_81 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_81 = l_Lean_Expr_toCtorIfLit___closed__4; x_82 = lean_string_dec_eq(x_77, x_81); lean_dec_ref(x_77); if (x_82 == 0) { -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_9 = x_76; @@ -36869,12 +37333,12 @@ else { lean_object* x_83; x_83 = lean_unsigned_to_nat(0u); -x_25 = x_66; +x_25 = x_63; x_26 = x_83; -x_27 = x_68; -x_28 = x_69; -x_29 = x_64; -x_30 = x_63; +x_27 = x_65; +x_28 = x_64; +x_29 = x_68; +x_30 = x_67; x_31 = x_76; goto block_62; } @@ -36885,10 +37349,10 @@ else lean_object* x_84; lean_dec_ref(x_74); lean_dec_ref(x_73); -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_84 = lean_ctor_get(x_71, 1); @@ -36903,10 +37367,10 @@ else lean_object* x_85; lean_dec(x_74); lean_dec_ref(x_73); -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_85 = lean_ctor_get(x_71, 1); @@ -36920,10 +37384,10 @@ else { lean_object* x_86; lean_dec(x_73); -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_86 = lean_ctor_get(x_71, 1); @@ -36948,12 +37412,12 @@ lean_dec_ref(x_71); x_89 = lean_ctor_get(x_87, 0); lean_inc(x_89); lean_dec_ref(x_87); -x_25 = x_66; +x_25 = x_63; x_26 = x_89; -x_27 = x_68; -x_28 = x_69; -x_29 = x_64; -x_30 = x_63; +x_27 = x_65; +x_28 = x_64; +x_29 = x_68; +x_30 = x_67; x_31 = x_88; goto block_62; } @@ -36961,10 +37425,10 @@ else { lean_object* x_90; lean_dec_ref(x_87); -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_90 = lean_ctor_get(x_71, 1); @@ -36978,10 +37442,10 @@ default: { lean_object* x_91; lean_dec(x_72); -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_91 = lean_ctor_get(x_71, 1); @@ -36995,10 +37459,10 @@ goto block_12; else { uint8_t x_92; -lean_dec(x_69); lean_dec_ref(x_68); -lean_dec(x_66); -lean_dec_ref(x_64); +lean_dec(x_67); +lean_dec_ref(x_65); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_92 = !lean_is_exclusive(x_71); @@ -37024,24 +37488,24 @@ return x_95; else { lean_object* x_96; lean_object* x_97; -lean_dec(x_69); +lean_dec_ref(x_69); lean_dec_ref(x_68); -lean_dec(x_66); +lean_dec(x_67); lean_dec_ref(x_65); -lean_dec_ref(x_64); +lean_dec(x_64); lean_dec(x_63); lean_dec_ref(x_1); x_96 = lean_box(0); x_97 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_67); +lean_ctor_set(x_97, 1, x_66); return x_97; } } block_110: { lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_105 = l_Lean_instantiateMVars___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__0___redArg(x_3, x_104, x_102); +x_105 = l_Lean_instantiateMVars___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__0___redArg(x_3, x_100, x_104); x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); x_107 = lean_ctor_get(x_105, 1); @@ -37054,11 +37518,11 @@ uint8_t x_109; x_109 = l_Lean_Expr_hasFVar(x_106); x_63 = x_99; x_64 = x_100; -x_65 = x_106; -x_66 = x_101; -x_67 = x_107; +x_65 = x_101; +x_66 = x_107; +x_67 = x_102; x_68 = x_103; -x_69 = x_104; +x_69 = x_106; x_70 = x_109; goto block_98; } @@ -37066,11 +37530,11 @@ else { x_63 = x_99; x_64 = x_100; -x_65 = x_106; -x_66 = x_101; -x_67 = x_107; +x_65 = x_101; +x_66 = x_107; +x_67 = x_102; x_68 = x_103; -x_69 = x_104; +x_69 = x_106; x_70 = x_108; goto block_98; } @@ -37085,12 +37549,12 @@ uint8_t x_118; x_118 = l_Lean_Expr_hasFVar(x_3); if (x_118 == 0) { -x_99 = x_115; -x_100 = x_114; -x_101 = x_111; -x_102 = x_116; -x_103 = x_112; -x_104 = x_113; +x_99 = x_111; +x_100 = x_113; +x_101 = x_112; +x_102 = x_115; +x_103 = x_114; +x_104 = x_116; goto block_110; } else @@ -37112,12 +37576,12 @@ return x_120; } else { -x_99 = x_115; -x_100 = x_114; -x_101 = x_111; -x_102 = x_116; -x_103 = x_112; -x_104 = x_113; +x_99 = x_111; +x_100 = x_113; +x_101 = x_112; +x_102 = x_115; +x_103 = x_114; +x_104 = x_116; goto block_110; } } @@ -37130,7 +37594,7 @@ lean_inc(x_7); lean_inc_ref(x_6); lean_inc(x_5); lean_inc_ref(x_4); -x_125 = lean_whnf(x_122, x_4, x_5, x_6, x_7, x_123); +x_125 = lean_whnf(x_123, x_4, x_5, x_6, x_7, x_122); if (lean_obj_tag(x_125) == 0) { lean_object* x_126; @@ -37164,7 +37628,7 @@ lean_dec_ref(x_127); x_132 = lean_ctor_get(x_128, 1); lean_inc_ref(x_132); lean_dec_ref(x_128); -x_133 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_133 = l_Lean_Expr_toCtorIfLit___closed__0; x_134 = lean_string_dec_eq(x_132, x_133); lean_dec_ref(x_132); if (x_134 == 0) @@ -37182,7 +37646,7 @@ goto block_16; else { lean_object* x_135; uint8_t x_136; -x_135 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_135 = l_Lean_Expr_toCtorIfLit___closed__4; x_136 = lean_string_dec_eq(x_131, x_135); lean_dec_ref(x_131); if (x_136 == 0) @@ -37353,7 +37817,7 @@ return x_149; else { lean_object* x_150; lean_object* x_151; -lean_dec_ref(x_122); +lean_dec_ref(x_123); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -37363,7 +37827,7 @@ lean_dec_ref(x_1); x_150 = lean_box(0); x_151 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_123); +lean_ctor_set(x_151, 1, x_122); return x_151; } } @@ -37381,15 +37845,15 @@ if (x_156 == 0) { uint8_t x_157; x_157 = l_Lean_Expr_hasFVar(x_154); -x_122 = x_154; -x_123 = x_155; +x_122 = x_155; +x_123 = x_154; x_124 = x_157; goto block_152; } else { -x_122 = x_154; -x_123 = x_155; +x_122 = x_155; +x_123 = x_154; x_124 = x_156; goto block_152; } @@ -38102,11 +38566,11 @@ block_128: if (x_100 == 0) { lean_object* x_101; -lean_inc(x_97); -lean_inc_ref(x_94); -lean_inc(x_95); +lean_inc(x_94); lean_inc_ref(x_99); -x_101 = lean_whnf(x_98, x_99, x_95, x_94, x_97, x_96); +lean_inc(x_97); +lean_inc_ref(x_98); +x_101 = lean_whnf(x_96, x_98, x_97, x_99, x_94, x_95); if (lean_obj_tag(x_101) == 0) { lean_object* x_102; @@ -38140,16 +38604,16 @@ lean_dec_ref(x_103); x_108 = lean_ctor_get(x_104, 1); lean_inc_ref(x_108); lean_dec_ref(x_104); -x_109 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_109 = l_Lean_Expr_toCtorIfLit___closed__0; x_110 = lean_string_dec_eq(x_108, x_109); lean_dec_ref(x_108); if (x_110 == 0) { lean_dec_ref(x_107); lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_8 = x_106; goto block_11; @@ -38157,15 +38621,15 @@ goto block_11; else { lean_object* x_111; uint8_t x_112; -x_111 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_111 = l_Lean_Expr_toCtorIfLit___closed__4; x_112 = lean_string_dec_eq(x_107, x_111); lean_dec_ref(x_107); if (x_112 == 0) { lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_8 = x_106; goto block_11; @@ -38176,10 +38640,10 @@ lean_object* x_113; x_113 = lean_unsigned_to_nat(0u); x_24 = x_93; x_25 = x_113; -x_26 = x_99; -x_27 = x_95; -x_28 = x_94; -x_29 = x_97; +x_26 = x_98; +x_27 = x_97; +x_28 = x_99; +x_29 = x_94; x_30 = x_106; goto block_92; } @@ -38191,9 +38655,9 @@ lean_object* x_114; lean_dec_ref(x_104); lean_dec_ref(x_103); lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_114 = lean_ctor_get(x_101, 1); lean_inc(x_114); @@ -38208,9 +38672,9 @@ lean_object* x_115; lean_dec(x_104); lean_dec_ref(x_103); lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_115 = lean_ctor_get(x_101, 1); lean_inc(x_115); @@ -38224,9 +38688,9 @@ else lean_object* x_116; lean_dec(x_103); lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_116 = lean_ctor_get(x_101, 1); lean_inc(x_116); @@ -38252,10 +38716,10 @@ lean_inc(x_119); lean_dec_ref(x_117); x_24 = x_93; x_25 = x_119; -x_26 = x_99; -x_27 = x_95; -x_28 = x_94; -x_29 = x_97; +x_26 = x_98; +x_27 = x_97; +x_28 = x_99; +x_29 = x_94; x_30 = x_118; goto block_92; } @@ -38264,9 +38728,9 @@ else lean_object* x_120; lean_dec_ref(x_117); lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_120 = lean_ctor_get(x_101, 1); lean_inc(x_120); @@ -38280,9 +38744,9 @@ default: lean_object* x_121; lean_dec(x_102); lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_121 = lean_ctor_get(x_101, 1); lean_inc(x_121); @@ -38296,9 +38760,9 @@ else { uint8_t x_122; lean_dec_ref(x_99); +lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec(x_94); lean_dec(x_93); x_122 = !lean_is_exclusive(x_101); if (x_122 == 0) @@ -38326,20 +38790,20 @@ lean_object* x_126; lean_object* x_127; lean_dec_ref(x_99); lean_dec_ref(x_98); lean_dec(x_97); -lean_dec(x_95); -lean_dec_ref(x_94); +lean_dec_ref(x_96); +lean_dec(x_94); lean_dec(x_93); x_126 = lean_box(0); x_127 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_96); +lean_ctor_set(x_127, 1, x_95); return x_127; } } block_140: { lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_135 = l_Lean_instantiateMVars___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__0___redArg(x_2, x_132, x_129); +x_135 = l_Lean_instantiateMVars___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__0___redArg(x_2, x_133, x_131); x_136 = lean_ctor_get(x_135, 0); lean_inc(x_136); x_137 = lean_ctor_get(x_135, 1); @@ -38350,24 +38814,24 @@ if (x_138 == 0) { uint8_t x_139; x_139 = l_Lean_Expr_hasFVar(x_136); -x_93 = x_131; +x_93 = x_129; x_94 = x_130; -x_95 = x_132; -x_96 = x_137; +x_95 = x_137; +x_96 = x_136; x_97 = x_133; -x_98 = x_136; +x_98 = x_132; x_99 = x_134; x_100 = x_139; goto block_128; } else { -x_93 = x_131; +x_93 = x_129; x_94 = x_130; -x_95 = x_132; -x_96 = x_137; +x_95 = x_137; +x_96 = x_136; x_97 = x_133; -x_98 = x_136; +x_98 = x_132; x_99 = x_134; x_100 = x_138; goto block_128; @@ -38383,12 +38847,12 @@ uint8_t x_148; x_148 = l_Lean_Expr_hasFVar(x_2); if (x_148 == 0) { -x_129 = x_146; -x_130 = x_144; -x_131 = x_141; -x_132 = x_143; -x_133 = x_145; -x_134 = x_142; +x_129 = x_141; +x_130 = x_145; +x_131 = x_146; +x_132 = x_142; +x_133 = x_143; +x_134 = x_144; goto block_140; } else @@ -38409,12 +38873,12 @@ return x_150; } else { -x_129 = x_146; -x_130 = x_144; -x_131 = x_141; -x_132 = x_143; -x_133 = x_145; -x_134 = x_142; +x_129 = x_141; +x_130 = x_145; +x_131 = x_146; +x_132 = x_142; +x_133 = x_143; +x_134 = x_144; goto block_140; } } @@ -38427,7 +38891,7 @@ lean_inc(x_6); lean_inc_ref(x_5); lean_inc(x_4); lean_inc_ref(x_3); -x_155 = lean_whnf(x_152, x_3, x_4, x_5, x_6, x_153); +x_155 = lean_whnf(x_153, x_3, x_4, x_5, x_6, x_152); if (lean_obj_tag(x_155) == 0) { lean_object* x_156; @@ -38461,7 +38925,7 @@ lean_dec_ref(x_157); x_162 = lean_ctor_get(x_158, 1); lean_inc_ref(x_162); lean_dec_ref(x_158); -x_163 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_163 = l_Lean_Expr_toCtorIfLit___closed__0; x_164 = lean_string_dec_eq(x_162, x_163); lean_dec_ref(x_162); if (x_164 == 0) @@ -38478,7 +38942,7 @@ goto block_15; else { lean_object* x_165; uint8_t x_166; -x_165 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_165 = l_Lean_Expr_toCtorIfLit___closed__4; x_166 = lean_string_dec_eq(x_161, x_165); lean_dec_ref(x_161); if (x_166 == 0) @@ -38642,7 +39106,7 @@ return x_179; else { lean_object* x_180; lean_object* x_181; -lean_dec_ref(x_152); +lean_dec_ref(x_153); lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); @@ -38651,7 +39115,7 @@ lean_dec_ref(x_2); 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_153); +lean_ctor_set(x_181, 1, x_152); return x_181; } } @@ -38669,15 +39133,15 @@ if (x_186 == 0) { uint8_t x_187; x_187 = l_Lean_Expr_hasFVar(x_184); -x_152 = x_184; -x_153 = x_185; +x_152 = x_185; +x_153 = x_184; x_154 = x_187; goto block_182; } else { -x_152 = x_184; -x_153 = x_185; +x_152 = x_185; +x_153 = x_184; x_154 = x_186; goto block_182; } @@ -38806,7 +39270,7 @@ block_65: if (x_37 == 0) { lean_object* x_38; -x_38 = lean_whnf(x_30, x_35, x_32, x_31, x_33, x_36); +x_38 = lean_whnf(x_34, x_31, x_33, x_30, x_36, x_32); if (lean_obj_tag(x_38) == 0) { lean_object* x_39; @@ -38840,13 +39304,13 @@ lean_dec_ref(x_40); x_45 = lean_ctor_get(x_41, 1); lean_inc_ref(x_45); lean_dec_ref(x_41); -x_46 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_46 = l_Lean_Expr_toCtorIfLit___closed__0; x_47 = lean_string_dec_eq(x_45, x_46); lean_dec_ref(x_45); if (x_47 == 0) { lean_dec_ref(x_44); -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_13 = x_43; goto block_16; @@ -38854,12 +39318,12 @@ goto block_16; else { lean_object* x_48; uint8_t x_49; -x_48 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_48 = l_Lean_Expr_toCtorIfLit___closed__4; x_49 = lean_string_dec_eq(x_44, x_48); lean_dec_ref(x_44); if (x_49 == 0) { -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_13 = x_43; goto block_16; @@ -38868,7 +39332,7 @@ else { lean_object* x_50; x_50 = lean_unsigned_to_nat(0u); -x_22 = x_34; +x_22 = x_35; x_23 = x_50; x_24 = x_43; goto block_29; @@ -38880,7 +39344,7 @@ else lean_object* x_51; lean_dec_ref(x_41); lean_dec_ref(x_40); -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_51 = lean_ctor_get(x_38, 1); lean_inc(x_51); @@ -38894,7 +39358,7 @@ else lean_object* x_52; lean_dec(x_41); lean_dec_ref(x_40); -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_52 = lean_ctor_get(x_38, 1); lean_inc(x_52); @@ -38907,7 +39371,7 @@ else { lean_object* x_53; lean_dec(x_40); -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_53 = lean_ctor_get(x_38, 1); lean_inc(x_53); @@ -38931,7 +39395,7 @@ lean_dec_ref(x_38); x_56 = lean_ctor_get(x_54, 0); lean_inc(x_56); lean_dec_ref(x_54); -x_22 = x_34; +x_22 = x_35; x_23 = x_56; x_24 = x_55; goto block_29; @@ -38940,7 +39404,7 @@ else { lean_object* x_57; lean_dec_ref(x_54); -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_57 = lean_ctor_get(x_38, 1); lean_inc(x_57); @@ -38953,7 +39417,7 @@ default: { lean_object* x_58; lean_dec(x_39); -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_58 = lean_ctor_get(x_38, 1); lean_inc(x_58); @@ -38966,7 +39430,7 @@ goto block_16; else { uint8_t x_59; -lean_dec(x_34); +lean_dec(x_35); lean_dec_ref(x_1); x_59 = !lean_is_exclusive(x_38); if (x_59 == 0) @@ -38991,24 +39455,24 @@ return x_62; else { lean_object* x_63; lean_object* x_64; -lean_dec_ref(x_35); -lean_dec(x_34); +lean_dec(x_36); +lean_dec(x_35); +lean_dec_ref(x_34); lean_dec(x_33); -lean_dec(x_32); lean_dec_ref(x_31); lean_dec_ref(x_30); lean_dec_ref(x_1); 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_36); +lean_ctor_set(x_64, 1, x_32); return x_64; } } block_77: { lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_72 = l_Lean_instantiateMVars___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__0___redArg(x_3, x_67, x_71); +x_72 = l_Lean_instantiateMVars___at_____private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenK_spec__0___redArg(x_3, x_68, x_71); x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); x_74 = lean_ctor_get(x_72, 1); @@ -39019,25 +39483,25 @@ if (x_75 == 0) { uint8_t x_76; x_76 = l_Lean_Expr_hasFVar(x_73); -x_30 = x_73; -x_31 = x_66; -x_32 = x_67; +x_30 = x_66; +x_31 = x_67; +x_32 = x_74; x_33 = x_68; -x_34 = x_70; -x_35 = x_69; -x_36 = x_74; +x_34 = x_73; +x_35 = x_70; +x_36 = x_69; x_37 = x_76; goto block_65; } else { -x_30 = x_73; -x_31 = x_66; -x_32 = x_67; +x_30 = x_66; +x_31 = x_67; +x_32 = x_74; x_33 = x_68; -x_34 = x_70; -x_35 = x_69; -x_36 = x_74; +x_34 = x_73; +x_35 = x_70; +x_36 = x_69; x_37 = x_75; goto block_65; } @@ -39053,9 +39517,9 @@ x_85 = l_Lean_Expr_hasFVar(x_3); if (x_85 == 0) { x_66 = x_81; -x_67 = x_80; -x_68 = x_82; -x_69 = x_79; +x_67 = x_79; +x_68 = x_80; +x_69 = x_82; x_70 = x_78; x_71 = x_83; goto block_77; @@ -39080,9 +39544,9 @@ return x_87; else { x_66 = x_81; -x_67 = x_80; -x_68 = x_82; -x_69 = x_79; +x_67 = x_79; +x_68 = x_80; +x_69 = x_82; x_70 = x_78; x_71 = x_83; goto block_77; @@ -39097,7 +39561,7 @@ lean_inc(x_7); lean_inc_ref(x_6); lean_inc(x_5); lean_inc_ref(x_4); -x_92 = lean_whnf(x_90, x_4, x_5, x_6, x_7, x_89); +x_92 = lean_whnf(x_89, x_4, x_5, x_6, x_7, x_90); if (lean_obj_tag(x_92) == 0) { lean_object* x_93; @@ -39131,7 +39595,7 @@ lean_dec_ref(x_94); x_99 = lean_ctor_get(x_95, 1); lean_inc_ref(x_99); lean_dec_ref(x_95); -x_100 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_100 = l_Lean_Expr_toCtorIfLit___closed__0; x_101 = lean_string_dec_eq(x_99, x_100); lean_dec_ref(x_99); if (x_101 == 0) @@ -39149,7 +39613,7 @@ goto block_12; else { lean_object* x_102; uint8_t x_103; -x_102 = l_Lean_Meta_withNatValue___redArg___closed__0; +x_102 = l_Lean_Expr_toCtorIfLit___closed__4; x_103 = lean_string_dec_eq(x_98, x_102); lean_dec_ref(x_98); if (x_103 == 0) @@ -39320,7 +39784,7 @@ return x_116; else { lean_object* x_117; lean_object* x_118; -lean_dec_ref(x_90); +lean_dec_ref(x_89); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -39330,7 +39794,7 @@ lean_dec_ref(x_1); x_117 = lean_box(0); x_118 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_89); +lean_ctor_set(x_118, 1, x_90); return x_118; } } @@ -39348,15 +39812,15 @@ if (x_123 == 0) { uint8_t x_124; x_124 = l_Lean_Expr_hasFVar(x_121); -x_89 = x_122; -x_90 = x_121; +x_89 = x_121; +x_90 = x_122; x_91 = x_124; goto block_119; } else { -x_89 = x_122; -x_90 = x_121; +x_89 = x_121; +x_90 = x_122; x_91 = x_123; goto block_119; } @@ -39376,29 +39840,11 @@ static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("succ", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_reduceNat_x3f___closed__0; -x_2 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__2() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_unchecked("add", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__3() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__1() { _start: { lean_object* x_1; @@ -39406,7 +39852,7 @@ x_1 = lean_mk_string_unchecked("sub", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__4() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__2() { _start: { lean_object* x_1; @@ -39414,7 +39860,7 @@ x_1 = lean_mk_string_unchecked("mul", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__5() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__3() { _start: { lean_object* x_1; @@ -39422,7 +39868,7 @@ x_1 = lean_mk_string_unchecked("div", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__6() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__4() { _start: { lean_object* x_1; @@ -39430,7 +39876,7 @@ x_1 = lean_mk_string_unchecked("pow", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__7() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__5() { _start: { lean_object* x_1; @@ -39438,7 +39884,7 @@ x_1 = lean_mk_string_unchecked("gcd", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__8() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__6() { _start: { lean_object* x_1; @@ -39446,7 +39892,7 @@ x_1 = lean_mk_string_unchecked("beq", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__9() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__7() { _start: { lean_object* x_1; @@ -39454,7 +39900,7 @@ x_1 = lean_mk_string_unchecked("ble", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__10() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__8() { _start: { lean_object* x_1; @@ -39462,7 +39908,7 @@ x_1 = lean_mk_string_unchecked("land", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__11() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__9() { _start: { lean_object* x_1; @@ -39470,7 +39916,7 @@ x_1 = lean_mk_string_unchecked("lor", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__12() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__10() { _start: { lean_object* x_1; @@ -39478,7 +39924,7 @@ x_1 = lean_mk_string_unchecked("xor", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__13() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__11() { _start: { lean_object* x_1; @@ -39486,7 +39932,7 @@ x_1 = lean_mk_string_unchecked("shiftLeft", 9, 9); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__14() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__12() { _start: { lean_object* x_1; @@ -39494,7 +39940,7 @@ x_1 = lean_mk_string_unchecked("shiftRight", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__15() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__13() { _start: { lean_object* x_1; @@ -39502,7 +39948,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_shiftRight___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__16() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__14() { _start: { lean_object* x_1; @@ -39510,7 +39956,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_shiftLeft___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__17() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__15() { _start: { lean_object* x_1; @@ -39518,7 +39964,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_xor___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__18() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__16() { _start: { lean_object* x_1; @@ -39526,7 +39972,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_lor___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__19() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__17() { _start: { lean_object* x_1; @@ -39534,7 +39980,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_land___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__20() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__18() { _start: { lean_object* x_1; @@ -39542,7 +39988,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_ble___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__21() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__19() { _start: { lean_object* x_1; @@ -39550,7 +39996,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_beq___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__22() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__20() { _start: { lean_object* x_1; @@ -39558,7 +40004,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_gcd___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__23() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__21() { _start: { lean_object* x_1; @@ -39566,7 +40012,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_mod___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__24() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__22() { _start: { lean_object* x_1; @@ -39574,7 +40020,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_div___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__25() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__23() { _start: { lean_object* x_1; @@ -39582,7 +40028,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_mul___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__26() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__24() { _start: { lean_object* x_1; @@ -39590,7 +40036,7 @@ x_1 = lean_alloc_closure((void*)(l_Nat_sub___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__27() { +static lean_object* _init_l_Lean_Meta_reduceNat_x3f___closed__25() { _start: { lean_object* x_1; @@ -39617,7 +40063,7 @@ lean_dec_ref(x_1); x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec_ref(x_15); -x_18 = l_Lean_Meta_reduceNat_x3f___closed__1; +x_18 = l_Lean_Expr_toCtorIfLit___closed__2; x_19 = lean_name_eq(x_17, x_18); lean_dec(x_17); if (x_19 == 0) @@ -39675,7 +40121,7 @@ lean_dec_ref(x_25); x_31 = lean_ctor_get(x_26, 1); lean_inc_ref(x_31); lean_dec_ref(x_26); -x_32 = l_Lean_Meta_canUnfoldAtMatcher___closed__32; +x_32 = l_Lean_Expr_toCtorIfLit___closed__0; x_33 = lean_string_dec_eq(x_31, x_32); lean_dec_ref(x_31); if (x_33 == 0) @@ -39693,72 +40139,72 @@ goto block_14; else { lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Meta_reduceNat_x3f___closed__2; +x_34 = l_Lean_Meta_reduceNat_x3f___closed__0; x_35 = lean_string_dec_eq(x_30, x_34); if (x_35 == 0) { lean_object* x_36; uint8_t x_37; -x_36 = l_Lean_Meta_reduceNat_x3f___closed__3; +x_36 = l_Lean_Meta_reduceNat_x3f___closed__1; x_37 = lean_string_dec_eq(x_30, x_36); if (x_37 == 0) { lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Meta_reduceNat_x3f___closed__4; +x_38 = l_Lean_Meta_reduceNat_x3f___closed__2; x_39 = lean_string_dec_eq(x_30, x_38); if (x_39 == 0) { lean_object* x_40; uint8_t x_41; -x_40 = l_Lean_Meta_reduceNat_x3f___closed__5; +x_40 = l_Lean_Meta_reduceNat_x3f___closed__3; x_41 = lean_string_dec_eq(x_30, x_40); if (x_41 == 0) { lean_object* x_42; uint8_t x_43; -x_42 = l_Lean_Meta_canUnfoldAtMatcher___closed__29; +x_42 = l_Lean_Meta_canUnfoldAtMatcher___closed__24; x_43 = lean_string_dec_eq(x_30, x_42); if (x_43 == 0) { lean_object* x_44; uint8_t x_45; -x_44 = l_Lean_Meta_reduceNat_x3f___closed__6; +x_44 = l_Lean_Meta_reduceNat_x3f___closed__4; x_45 = lean_string_dec_eq(x_30, x_44); if (x_45 == 0) { lean_object* x_46; uint8_t x_47; -x_46 = l_Lean_Meta_reduceNat_x3f___closed__7; +x_46 = l_Lean_Meta_reduceNat_x3f___closed__5; x_47 = lean_string_dec_eq(x_30, x_46); if (x_47 == 0) { lean_object* x_48; uint8_t x_49; -x_48 = l_Lean_Meta_reduceNat_x3f___closed__8; +x_48 = l_Lean_Meta_reduceNat_x3f___closed__6; x_49 = lean_string_dec_eq(x_30, x_48); if (x_49 == 0) { lean_object* x_50; uint8_t x_51; -x_50 = l_Lean_Meta_reduceNat_x3f___closed__9; +x_50 = l_Lean_Meta_reduceNat_x3f___closed__7; x_51 = lean_string_dec_eq(x_30, x_50); if (x_51 == 0) { lean_object* x_52; uint8_t x_53; -x_52 = l_Lean_Meta_reduceNat_x3f___closed__10; +x_52 = l_Lean_Meta_reduceNat_x3f___closed__8; x_53 = lean_string_dec_eq(x_30, x_52); if (x_53 == 0) { lean_object* x_54; uint8_t x_55; -x_54 = l_Lean_Meta_reduceNat_x3f___closed__11; +x_54 = l_Lean_Meta_reduceNat_x3f___closed__9; x_55 = lean_string_dec_eq(x_30, x_54); if (x_55 == 0) { lean_object* x_56; uint8_t x_57; -x_56 = l_Lean_Meta_reduceNat_x3f___closed__12; +x_56 = l_Lean_Meta_reduceNat_x3f___closed__10; x_57 = lean_string_dec_eq(x_30, x_56); if (x_57 == 0) { lean_object* x_58; uint8_t x_59; -x_58 = l_Lean_Meta_reduceNat_x3f___closed__13; +x_58 = l_Lean_Meta_reduceNat_x3f___closed__11; x_59 = lean_string_dec_eq(x_30, x_58); if (x_59 == 0) { lean_object* x_60; uint8_t x_61; -x_60 = l_Lean_Meta_reduceNat_x3f___closed__14; +x_60 = l_Lean_Meta_reduceNat_x3f___closed__12; x_61 = lean_string_dec_eq(x_30, x_60); lean_dec_ref(x_30); if (x_61 == 0) @@ -39775,7 +40221,7 @@ goto block_14; else { lean_object* x_62; lean_object* x_63; -x_62 = l_Lean_Meta_reduceNat_x3f___closed__15; +x_62 = l_Lean_Meta_reduceNat_x3f___closed__13; x_63 = l_Lean_Meta_reduceBinNatOp(x_62, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_63; } @@ -39784,7 +40230,7 @@ else { lean_object* x_64; lean_object* x_65; lean_dec_ref(x_30); -x_64 = l_Lean_Meta_reduceNat_x3f___closed__16; +x_64 = l_Lean_Meta_reduceNat_x3f___closed__14; x_65 = l_Lean_Meta_reduceBinNatOp(x_64, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_65; } @@ -39793,7 +40239,7 @@ else { lean_object* x_66; lean_object* x_67; lean_dec_ref(x_30); -x_66 = l_Lean_Meta_reduceNat_x3f___closed__17; +x_66 = l_Lean_Meta_reduceNat_x3f___closed__15; x_67 = l_Lean_Meta_reduceBinNatOp(x_66, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_67; } @@ -39802,7 +40248,7 @@ else { lean_object* x_68; lean_object* x_69; lean_dec_ref(x_30); -x_68 = l_Lean_Meta_reduceNat_x3f___closed__18; +x_68 = l_Lean_Meta_reduceNat_x3f___closed__16; x_69 = l_Lean_Meta_reduceBinNatOp(x_68, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_69; } @@ -39811,7 +40257,7 @@ else { lean_object* x_70; lean_object* x_71; lean_dec_ref(x_30); -x_70 = l_Lean_Meta_reduceNat_x3f___closed__19; +x_70 = l_Lean_Meta_reduceNat_x3f___closed__17; x_71 = l_Lean_Meta_reduceBinNatOp(x_70, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_71; } @@ -39820,7 +40266,7 @@ else { lean_object* x_72; lean_object* x_73; lean_dec_ref(x_30); -x_72 = l_Lean_Meta_reduceNat_x3f___closed__20; +x_72 = l_Lean_Meta_reduceNat_x3f___closed__18; x_73 = l_Lean_Meta_reduceBinNatPred(x_72, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_73; } @@ -39829,7 +40275,7 @@ else { lean_object* x_74; lean_object* x_75; lean_dec_ref(x_30); -x_74 = l_Lean_Meta_reduceNat_x3f___closed__21; +x_74 = l_Lean_Meta_reduceNat_x3f___closed__19; x_75 = l_Lean_Meta_reduceBinNatPred(x_74, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_75; } @@ -39838,7 +40284,7 @@ else { lean_object* x_76; lean_object* x_77; lean_dec_ref(x_30); -x_76 = l_Lean_Meta_reduceNat_x3f___closed__22; +x_76 = l_Lean_Meta_reduceNat_x3f___closed__20; x_77 = l_Lean_Meta_reduceBinNatOp(x_76, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_77; } @@ -39855,7 +40301,7 @@ else { lean_object* x_79; lean_object* x_80; lean_dec_ref(x_30); -x_79 = l_Lean_Meta_reduceNat_x3f___closed__23; +x_79 = l_Lean_Meta_reduceNat_x3f___closed__21; x_80 = l_Lean_Meta_reduceBinNatOp(x_79, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_80; } @@ -39864,7 +40310,7 @@ else { lean_object* x_81; lean_object* x_82; lean_dec_ref(x_30); -x_81 = l_Lean_Meta_reduceNat_x3f___closed__24; +x_81 = l_Lean_Meta_reduceNat_x3f___closed__22; x_82 = l_Lean_Meta_reduceBinNatOp(x_81, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_82; } @@ -39873,7 +40319,7 @@ else { lean_object* x_83; lean_object* x_84; lean_dec_ref(x_30); -x_83 = l_Lean_Meta_reduceNat_x3f___closed__25; +x_83 = l_Lean_Meta_reduceNat_x3f___closed__23; x_84 = l_Lean_Meta_reduceBinNatOp(x_83, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_84; } @@ -39882,7 +40328,7 @@ else { lean_object* x_85; lean_object* x_86; lean_dec_ref(x_30); -x_85 = l_Lean_Meta_reduceNat_x3f___closed__26; +x_85 = l_Lean_Meta_reduceNat_x3f___closed__24; x_86 = l_Lean_Meta_reduceBinNatOp(x_85, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_86; } @@ -39891,7 +40337,7 @@ else { lean_object* x_87; lean_object* x_88; lean_dec_ref(x_30); -x_87 = l_Lean_Meta_reduceNat_x3f___closed__27; +x_87 = l_Lean_Meta_reduceNat_x3f___closed__25; x_88 = l_Lean_Meta_reduceBinNatOp(x_87, x_29, x_28, x_2, x_3, x_4, x_5, x_6); return x_88; } @@ -41967,7 +42413,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___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) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; double x_15; double x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_28; lean_object* x_29; lean_object* x_30; double x_31; lean_object* x_32; double x_33; uint8_t x_34; lean_object* x_45; lean_object* x_46; double x_47; uint8_t x_48; double x_49; lean_object* x_50; lean_object* x_51; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; double x_64; lean_object* x_65; double x_66; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; double x_83; lean_object* x_84; double x_85; uint8_t x_86; lean_object* x_87; uint8_t x_88; lean_object* x_127; lean_object* x_128; lean_object* x_129; double x_130; lean_object* x_131; double x_132; lean_object* x_133; uint8_t x_134; double x_135; lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_161; lean_object* x_162; lean_object* x_163; double x_164; uint8_t x_165; double x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; double x_212; lean_object* x_213; double x_214; lean_object* x_215; double x_216; lean_object* x_220; lean_object* x_221; uint8_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_271; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; double x_15; uint8_t x_16; double x_17; lean_object* x_18; lean_object* x_19; lean_object* x_28; lean_object* x_29; double x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; double x_34; lean_object* x_45; lean_object* x_46; double x_47; double x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; double x_64; double x_65; uint8_t x_66; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; double x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; double x_86; lean_object* x_87; uint8_t x_88; lean_object* x_127; lean_object* x_128; double x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; double x_134; double x_135; lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; double x_165; lean_object* x_166; double x_167; uint8_t x_168; uint8_t x_169; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; double x_212; lean_object* x_213; double x_214; uint8_t x_215; double x_216; lean_object* x_220; lean_object* x_221; uint8_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_271; x_11 = lean_ctor_get(x_8, 2); x_12 = lean_ctor_get(x_8, 5); lean_inc(x_1); @@ -42006,7 +42452,7 @@ goto block_270; } block_27: { -if (x_17 == 0) +if (x_16 == 0) { double x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3___closed__0; @@ -42017,11 +42463,11 @@ lean_ctor_set_float(x_21, sizeof(void*)*2, x_20); lean_ctor_set_float(x_21, sizeof(void*)*2 + 8, x_20); lean_ctor_set_uint8(x_21, sizeof(void*)*2 + 16, x_4); x_22 = lean_box(0); -x_23 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___lam__0(x_14, x_12, x_18, x_13, x_21, x_22, x_6, x_7, x_8, x_9, x_19); +x_23 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___lam__0(x_13, x_12, x_18, x_14, x_21, x_22, x_6, x_7, x_8, x_9, x_19); lean_dec(x_9); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec_ref(x_13); +lean_dec_ref(x_14); return x_23; } else @@ -42030,15 +42476,15 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_24, 0, x_1); lean_ctor_set(x_24, 1, x_5); -lean_ctor_set_float(x_24, sizeof(void*)*2, x_15); -lean_ctor_set_float(x_24, sizeof(void*)*2 + 8, x_16); +lean_ctor_set_float(x_24, sizeof(void*)*2, x_17); +lean_ctor_set_float(x_24, sizeof(void*)*2 + 8, x_15); lean_ctor_set_uint8(x_24, sizeof(void*)*2 + 16, x_4); x_25 = lean_box(0); -x_26 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___lam__0(x_14, x_12, x_18, x_13, x_24, x_25, x_6, x_7, x_8, x_9, x_19); +x_26 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___lam__0(x_13, x_12, x_18, x_14, x_24, x_25, x_6, x_7, x_8, x_9, x_19); lean_dec(x_9); lean_dec(x_7); lean_dec_ref(x_6); -lean_dec_ref(x_13); +lean_dec_ref(x_14); return x_26; } } @@ -42049,7 +42495,7 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_35 = lean_apply_6(x_2, x_32, x_6, x_7, x_8, x_9, x_30); +x_35 = lean_apply_6(x_2, x_33, x_6, x_7, x_8, x_9, x_31); if (lean_obj_tag(x_35) == 0) { if (lean_obj_tag(x_35) == 0) @@ -42062,8 +42508,8 @@ lean_inc(x_37); lean_dec_ref(x_35); x_13 = x_28; x_14 = x_29; -x_15 = x_31; -x_16 = x_33; +x_15 = x_30; +x_16 = x_32; x_17 = x_34; x_18 = x_36; x_19 = x_37; @@ -42111,8 +42557,8 @@ lean_dec_ref(x_35); x_43 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___closed__1; x_13 = x_28; x_14 = x_29; -x_15 = x_31; -x_16 = x_33; +x_15 = x_30; +x_16 = x_32; x_17 = x_34; x_18 = x_43; x_19 = x_42; @@ -42121,7 +42567,7 @@ goto block_27; } block_59: { -if (x_48 == 0) +if (x_49 == 0) { double x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; x_52 = l_Lean_addTrace___at_____private_Lean_Meta_WHNF_0__Lean_Meta_whnfCore_go_spec__3___closed__0; @@ -42145,8 +42591,8 @@ lean_object* x_56; lean_object* x_57; lean_object* x_58; x_56 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_56, 0, x_1); lean_ctor_set(x_56, 1, x_5); -lean_ctor_set_float(x_56, sizeof(void*)*2, x_47); -lean_ctor_set_float(x_56, sizeof(void*)*2 + 8, x_49); +lean_ctor_set_float(x_56, sizeof(void*)*2, x_48); +lean_ctor_set_float(x_56, sizeof(void*)*2 + 8, x_47); lean_ctor_set_uint8(x_56, sizeof(void*)*2 + 16, x_4); x_57 = lean_box(0); x_58 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___lam__0(x_46, x_12, x_50, x_45, x_56, x_57, x_6, x_7, x_8, x_9, x_51); @@ -42164,7 +42610,7 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_67 = lean_apply_6(x_2, x_62, x_6, x_7, x_8, x_9, x_65); +x_67 = lean_apply_6(x_2, x_63, x_6, x_7, x_8, x_9, x_62); if (lean_obj_tag(x_67) == 0) { if (lean_obj_tag(x_67) == 0) @@ -42178,7 +42624,7 @@ lean_dec_ref(x_67); x_45 = x_60; x_46 = x_61; x_47 = x_64; -x_48 = x_63; +x_48 = x_65; x_49 = x_66; x_50 = x_68; x_51 = x_69; @@ -42227,7 +42673,7 @@ x_75 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___closed__ x_45 = x_60; x_46 = x_61; x_47 = x_64; -x_48 = x_63; +x_48 = x_65; x_49 = x_66; x_50 = x_75; x_51 = x_74; @@ -42253,7 +42699,7 @@ lean_dec_ref(x_6); lean_dec_ref(x_5); lean_dec_ref(x_2); lean_dec(x_1); -x_90 = lean_st_ref_take(x_9, x_82); +x_90 = lean_st_ref_take(x_9, x_83); x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); x_92 = lean_ctor_get(x_91, 4); @@ -42272,7 +42718,7 @@ if (x_96 == 0) { lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; x_97 = lean_ctor_get(x_92, 0); -x_98 = l_Lean_PersistentArray_append___redArg(x_87, x_97); +x_98 = l_Lean_PersistentArray_append___redArg(x_84, x_97); lean_dec_ref(x_97); lean_ctor_set(x_92, 0, x_98); x_99 = lean_st_ref_set(x_9, x_91, x_93); @@ -42280,8 +42726,8 @@ lean_dec(x_9); x_100 = lean_ctor_get(x_99, 1); lean_inc(x_100); lean_dec_ref(x_99); -x_101 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_84, x_100); -lean_dec_ref(x_84); +x_101 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_87, x_100); +lean_dec_ref(x_87); return x_101; } else @@ -42291,7 +42737,7 @@ x_102 = lean_ctor_get_uint64(x_92, sizeof(void*)*1); x_103 = lean_ctor_get(x_92, 0); lean_inc(x_103); lean_dec(x_92); -x_104 = l_Lean_PersistentArray_append___redArg(x_87, x_103); +x_104 = l_Lean_PersistentArray_append___redArg(x_84, x_103); lean_dec_ref(x_103); x_105 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_105, 0, x_104); @@ -42302,8 +42748,8 @@ lean_dec(x_9); x_107 = lean_ctor_get(x_106, 1); lean_inc(x_107); lean_dec_ref(x_106); -x_108 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_84, x_107); -lean_dec_ref(x_84); +x_108 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_87, x_107); +lean_dec_ref(x_87); return x_108; } } @@ -42337,7 +42783,7 @@ if (lean_is_exclusive(x_92)) { lean_dec_ref(x_92); x_119 = lean_box(0); } -x_120 = l_Lean_PersistentArray_append___redArg(x_87, x_118); +x_120 = l_Lean_PersistentArray_append___redArg(x_84, x_118); lean_dec_ref(x_118); if (lean_is_scalar(x_119)) { x_121 = lean_alloc_ctor(0, 1, 8); @@ -42361,33 +42807,33 @@ lean_dec(x_9); x_124 = lean_ctor_get(x_123, 1); lean_inc(x_124); lean_dec_ref(x_123); -x_125 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_84, x_124); -lean_dec_ref(x_84); +x_125 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_87, x_124); +lean_dec_ref(x_87); return x_125; } } else { -lean_dec_ref(x_87); +lean_dec_ref(x_84); x_28 = x_80; x_29 = x_81; x_30 = x_82; x_31 = x_83; -x_32 = x_84; -x_33 = x_85; +x_32 = x_85; +x_33 = x_87; x_34 = x_86; goto block_44; } } else { -lean_dec_ref(x_87); +lean_dec_ref(x_84); x_28 = x_80; x_29 = x_81; x_30 = x_82; x_31 = x_83; -x_32 = x_84; -x_33 = x_85; +x_32 = x_85; +x_33 = x_87; x_34 = x_86; goto block_44; } @@ -42395,7 +42841,7 @@ goto block_44; block_138: { double x_136; uint8_t x_137; -x_136 = lean_float_sub(x_132, x_130); +x_136 = lean_float_sub(x_129, x_134); x_137 = lean_float_decLt(x_135, x_136); x_80 = x_127; x_81 = x_128; @@ -42424,14 +42870,14 @@ x_151 = l_Lean_Option_get___at___Lean_Meta_unfoldDefinition_x3f_spec__1(x_11, x_ if (x_151 == 0) { lean_inc_ref(x_143); -x_80 = x_143; -x_81 = x_140; -x_82 = x_147; -x_83 = x_148; -x_84 = x_143; -x_85 = x_149; -x_86 = x_151; -x_87 = x_142; +x_80 = x_140; +x_81 = x_143; +x_82 = x_149; +x_83 = x_147; +x_84 = x_142; +x_85 = x_151; +x_86 = x_148; +x_87 = x_143; x_88 = x_151; goto block_126; } @@ -42446,14 +42892,14 @@ x_154 = lean_float_of_nat(x_153); x_155 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___closed__4; x_156 = lean_float_div(x_154, x_155); lean_inc_ref(x_143); -x_127 = x_143; -x_128 = x_140; -x_129 = x_147; -x_130 = x_148; -x_131 = x_143; -x_132 = x_149; -x_133 = x_142; -x_134 = x_151; +x_127 = x_140; +x_128 = x_143; +x_129 = x_149; +x_130 = x_147; +x_131 = x_142; +x_132 = x_151; +x_133 = x_143; +x_134 = x_148; x_135 = x_156; goto block_138; } @@ -42464,14 +42910,14 @@ x_157 = l_Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0___redArg___closed_ x_158 = l_Lean_Option_get___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__4(x_11, x_157); x_159 = lean_float_of_nat(x_158); lean_inc_ref(x_143); -x_127 = x_143; -x_128 = x_140; -x_129 = x_147; -x_130 = x_148; -x_131 = x_143; -x_132 = x_149; -x_133 = x_142; -x_134 = x_151; +x_127 = x_140; +x_128 = x_143; +x_129 = x_149; +x_130 = x_147; +x_131 = x_142; +x_132 = x_151; +x_133 = x_143; +x_134 = x_148; x_135 = x_159; goto block_138; } @@ -42496,7 +42942,7 @@ lean_dec_ref(x_6); lean_dec_ref(x_5); lean_dec_ref(x_2); lean_dec(x_1); -x_171 = lean_st_ref_take(x_9, x_167); +x_171 = lean_st_ref_take(x_9, x_163); x_172 = lean_ctor_get(x_171, 0); lean_inc(x_172); x_173 = lean_ctor_get(x_172, 4); @@ -42515,7 +42961,7 @@ if (x_177 == 0) { lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; x_178 = lean_ctor_get(x_173, 0); -x_179 = l_Lean_PersistentArray_append___redArg(x_168, x_178); +x_179 = l_Lean_PersistentArray_append___redArg(x_166, x_178); lean_dec_ref(x_178); lean_ctor_set(x_173, 0, x_179); x_180 = lean_st_ref_set(x_9, x_172, x_174); @@ -42523,8 +42969,8 @@ lean_dec(x_9); x_181 = lean_ctor_get(x_180, 1); lean_inc(x_181); lean_dec_ref(x_180); -x_182 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_163, x_181); -lean_dec_ref(x_163); +x_182 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_164, x_181); +lean_dec_ref(x_164); return x_182; } else @@ -42534,7 +42980,7 @@ x_183 = lean_ctor_get_uint64(x_173, sizeof(void*)*1); x_184 = lean_ctor_get(x_173, 0); lean_inc(x_184); lean_dec(x_173); -x_185 = l_Lean_PersistentArray_append___redArg(x_168, x_184); +x_185 = l_Lean_PersistentArray_append___redArg(x_166, x_184); lean_dec_ref(x_184); x_186 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_186, 0, x_185); @@ -42545,8 +42991,8 @@ lean_dec(x_9); x_188 = lean_ctor_get(x_187, 1); lean_inc(x_188); lean_dec_ref(x_187); -x_189 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_163, x_188); -lean_dec_ref(x_163); +x_189 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_164, x_188); +lean_dec_ref(x_164); return x_189; } } @@ -42580,7 +43026,7 @@ if (lean_is_exclusive(x_173)) { lean_dec_ref(x_173); x_200 = lean_box(0); } -x_201 = l_Lean_PersistentArray_append___redArg(x_168, x_199); +x_201 = l_Lean_PersistentArray_append___redArg(x_166, x_199); lean_dec_ref(x_199); if (lean_is_scalar(x_200)) { x_202 = lean_alloc_ctor(0, 1, 8); @@ -42604,49 +43050,49 @@ lean_dec(x_9); x_205 = lean_ctor_get(x_204, 1); lean_inc(x_205); lean_dec_ref(x_204); -x_206 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_163, x_205); -lean_dec_ref(x_163); +x_206 = l_MonadExcept_ofExcept___at___Lean_withTraceNode___at___Lean_Meta_whnfImp_spec__0_spec__3___redArg(x_164, x_205); +lean_dec_ref(x_164); return x_206; } } else { -lean_dec_ref(x_168); +lean_dec_ref(x_166); x_60 = x_161; x_61 = x_162; x_62 = x_163; -x_63 = x_165; -x_64 = x_164; +x_63 = x_164; +x_64 = x_165; x_65 = x_167; -x_66 = x_166; +x_66 = x_168; goto block_76; } } else { -lean_dec_ref(x_168); +lean_dec_ref(x_166); x_60 = x_161; x_61 = x_162; x_62 = x_163; -x_63 = x_165; -x_64 = x_164; +x_63 = x_164; +x_64 = x_165; x_65 = x_167; -x_66 = x_166; +x_66 = x_168; goto block_76; } } block_219: { double x_217; uint8_t x_218; -x_217 = lean_float_sub(x_214, x_212); +x_217 = lean_float_sub(x_212, x_214); x_218 = lean_float_decLt(x_216, x_217); x_161 = x_208; x_162 = x_209; x_163 = x_210; -x_164 = x_212; -x_165 = x_211; -x_166 = x_214; -x_167 = x_213; +x_164 = x_211; +x_165 = x_212; +x_166 = x_213; +x_167 = x_214; x_168 = x_215; x_169 = x_218; goto block_207; @@ -42672,12 +43118,12 @@ if (x_235 == 0) lean_inc_ref(x_224); x_161 = x_224; x_162 = x_221; -x_163 = x_224; -x_164 = x_231; -x_165 = x_235; -x_166 = x_233; -x_167 = x_228; -x_168 = x_223; +x_163 = x_228; +x_164 = x_224; +x_165 = x_233; +x_166 = x_223; +x_167 = x_231; +x_168 = x_235; x_169 = x_235; goto block_207; } @@ -42694,12 +43140,12 @@ x_240 = lean_float_div(x_238, x_239); lean_inc_ref(x_224); x_208 = x_224; x_209 = x_221; -x_210 = x_224; -x_211 = x_235; -x_212 = x_231; -x_213 = x_228; -x_214 = x_233; -x_215 = x_223; +x_210 = x_228; +x_211 = x_224; +x_212 = x_233; +x_213 = x_223; +x_214 = x_231; +x_215 = x_235; x_216 = x_240; goto block_219; } @@ -42712,12 +43158,12 @@ x_243 = lean_float_of_nat(x_242); lean_inc_ref(x_224); x_208 = x_224; x_209 = x_221; -x_210 = x_224; -x_211 = x_235; -x_212 = x_231; -x_213 = x_228; -x_214 = x_233; -x_215 = x_223; +x_210 = x_228; +x_211 = x_224; +x_212 = x_233; +x_213 = x_223; +x_214 = x_231; +x_215 = x_235; x_216 = x_243; goto block_219; } @@ -45612,6 +46058,60 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Transform(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0 = _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0(); +lean_mark_persistent(l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__0); +l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1 = _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1(); +lean_mark_persistent(l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__1); +l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2 = _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2(); +lean_mark_persistent(l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__2); +l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__3 = _init_l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__3(); +lean_mark_persistent(l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___closed__3); +l_Lean_Expr_toCtorIfLit___closed__0 = _init_l_Lean_Expr_toCtorIfLit___closed__0(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__0); +l_Lean_Expr_toCtorIfLit___closed__1 = _init_l_Lean_Expr_toCtorIfLit___closed__1(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__1); +l_Lean_Expr_toCtorIfLit___closed__2 = _init_l_Lean_Expr_toCtorIfLit___closed__2(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__2); +l_Lean_Expr_toCtorIfLit___closed__3 = _init_l_Lean_Expr_toCtorIfLit___closed__3(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__3); +l_Lean_Expr_toCtorIfLit___closed__4 = _init_l_Lean_Expr_toCtorIfLit___closed__4(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__4); +l_Lean_Expr_toCtorIfLit___closed__5 = _init_l_Lean_Expr_toCtorIfLit___closed__5(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__5); +l_Lean_Expr_toCtorIfLit___closed__6 = _init_l_Lean_Expr_toCtorIfLit___closed__6(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__6); +l_Lean_Expr_toCtorIfLit___closed__7 = _init_l_Lean_Expr_toCtorIfLit___closed__7(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__7); +l_Lean_Expr_toCtorIfLit___closed__8 = _init_l_Lean_Expr_toCtorIfLit___closed__8(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__8); +l_Lean_Expr_toCtorIfLit___closed__9 = _init_l_Lean_Expr_toCtorIfLit___closed__9(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__9); +l_Lean_Expr_toCtorIfLit___closed__10 = _init_l_Lean_Expr_toCtorIfLit___closed__10(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__10); +l_Lean_Expr_toCtorIfLit___closed__11 = _init_l_Lean_Expr_toCtorIfLit___closed__11(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__11); +l_Lean_Expr_toCtorIfLit___closed__12 = _init_l_Lean_Expr_toCtorIfLit___closed__12(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__12); +l_Lean_Expr_toCtorIfLit___closed__13 = _init_l_Lean_Expr_toCtorIfLit___closed__13(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__13); +l_Lean_Expr_toCtorIfLit___closed__14 = _init_l_Lean_Expr_toCtorIfLit___closed__14(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__14); +l_Lean_Expr_toCtorIfLit___closed__15 = _init_l_Lean_Expr_toCtorIfLit___closed__15(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__15); +l_Lean_Expr_toCtorIfLit___closed__16 = _init_l_Lean_Expr_toCtorIfLit___closed__16(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__16); +l_Lean_Expr_toCtorIfLit___closed__17 = _init_l_Lean_Expr_toCtorIfLit___closed__17(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__17); +l_Lean_Expr_toCtorIfLit___closed__18 = _init_l_Lean_Expr_toCtorIfLit___closed__18(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__18); +l_Lean_Expr_toCtorIfLit___closed__19 = _init_l_Lean_Expr_toCtorIfLit___closed__19(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__19); +l_Lean_Expr_toCtorIfLit___closed__20 = _init_l_Lean_Expr_toCtorIfLit___closed__20(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__20); +l_Lean_Expr_toCtorIfLit___closed__21 = _init_l_Lean_Expr_toCtorIfLit___closed__21(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__21); +l_Lean_Expr_toCtorIfLit___closed__22 = _init_l_Lean_Expr_toCtorIfLit___closed__22(); +lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__22); l_Lean_Meta_smartUnfoldingSuffix___closed__0 = _init_l_Lean_Meta_smartUnfoldingSuffix___closed__0(); lean_mark_persistent(l_Lean_Meta_smartUnfoldingSuffix___closed__0); l_Lean_Meta_smartUnfoldingSuffix = _init_l_Lean_Meta_smartUnfoldingSuffix(); @@ -45828,18 +46328,6 @@ l_Lean_Meta_canUnfoldAtMatcher___closed__26 = _init_l_Lean_Meta_canUnfoldAtMatch lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__26); l_Lean_Meta_canUnfoldAtMatcher___closed__27 = _init_l_Lean_Meta_canUnfoldAtMatcher___closed__27(); lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__27); -l_Lean_Meta_canUnfoldAtMatcher___closed__28 = _init_l_Lean_Meta_canUnfoldAtMatcher___closed__28(); -lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__28); -l_Lean_Meta_canUnfoldAtMatcher___closed__29 = _init_l_Lean_Meta_canUnfoldAtMatcher___closed__29(); -lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__29); -l_Lean_Meta_canUnfoldAtMatcher___closed__30 = _init_l_Lean_Meta_canUnfoldAtMatcher___closed__30(); -lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__30); -l_Lean_Meta_canUnfoldAtMatcher___closed__31 = _init_l_Lean_Meta_canUnfoldAtMatcher___closed__31(); -lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__31); -l_Lean_Meta_canUnfoldAtMatcher___closed__32 = _init_l_Lean_Meta_canUnfoldAtMatcher___closed__32(); -lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__32); -l_Lean_Meta_canUnfoldAtMatcher___closed__33 = _init_l_Lean_Meta_canUnfoldAtMatcher___closed__33(); -lean_mark_persistent(l_Lean_Meta_canUnfoldAtMatcher___closed__33); l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__0 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__0(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__0); l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__1(); @@ -45893,8 +46381,6 @@ l_Lean_Meta_reduceNative_x3f___closed__8 = _init_l_Lean_Meta_reduceNative_x3f___ lean_mark_persistent(l_Lean_Meta_reduceNative_x3f___closed__8); l_Lean_Meta_reduceNative_x3f___closed__9 = _init_l_Lean_Meta_reduceNative_x3f___closed__9(); lean_mark_persistent(l_Lean_Meta_reduceNative_x3f___closed__9); -l_Lean_Meta_withNatValue___redArg___closed__0 = _init_l_Lean_Meta_withNatValue___redArg___closed__0(); -lean_mark_persistent(l_Lean_Meta_withNatValue___redArg___closed__0); l_Lean_Meta_reduceBinNatOp___closed__0 = _init_l_Lean_Meta_reduceBinNatOp___closed__0(); lean_mark_persistent(l_Lean_Meta_reduceBinNatOp___closed__0); l_Lean_Meta_reduceBinNatOp___closed__1 = _init_l_Lean_Meta_reduceBinNatOp___closed__1(); @@ -45963,10 +46449,6 @@ l_Lean_Meta_reduceNat_x3f___closed__24 = _init_l_Lean_Meta_reduceNat_x3f___close lean_mark_persistent(l_Lean_Meta_reduceNat_x3f___closed__24); l_Lean_Meta_reduceNat_x3f___closed__25 = _init_l_Lean_Meta_reduceNat_x3f___closed__25(); lean_mark_persistent(l_Lean_Meta_reduceNat_x3f___closed__25); -l_Lean_Meta_reduceNat_x3f___closed__26 = _init_l_Lean_Meta_reduceNat_x3f___closed__26(); -lean_mark_persistent(l_Lean_Meta_reduceNat_x3f___closed__26); -l_Lean_Meta_reduceNat_x3f___closed__27 = _init_l_Lean_Meta_reduceNat_x3f___closed__27(); -lean_mark_persistent(l_Lean_Meta_reduceNat_x3f___closed__27); l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___redArg___closed__0 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___redArg___closed__0(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___redArg___closed__0); l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___redArg___closed__1 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___redArg___closed__1(); diff --git a/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c b/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c index 4cb92aa24d..d3a32a3e0e 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c +++ b/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c @@ -17,403 +17,750 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25__spec__0___boxed(lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_fromNat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableInfoPopup_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25__spec__0(lean_object*, lean_object*); +lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Widget_instRpcEncodableWidgetInstance_enc____x40_Lean_Widget_Types_2243429567____hygCtx___hyg_1_(lean_object*, lean_object*); +lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1(lean_object*, lean_object*); extern lean_object* l_Lean_pp_sorrySource; +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateState___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_highlightMatches___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_goal_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_43_(lean_object*); static lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable(lean_object*); lean_object* l_Lean_Json_compress(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__0; static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__2; -LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__6___boxed(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_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableInfoPopup___closed__2; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_fromJson_x3f(lean_object*); +uint8_t lean_byte_array_fget(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_; lean_object* l_Lean_Widget_ppExprTagged(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_fromJson_x3f___at___Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1_spec__1___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams_dec____x40_Lean_Server_FileWorker_WidgetRequests_1564534894____hygCtx___hyg_1_(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_25_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableMsgToInteractive_dec____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Nat_cast___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__2(lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object*, lean_object*); +extern lean_object* l_Int_instInhabited; lean_object* l_Lean_Json_mkObj(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_25_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightMatchesParams_ctorIdx(lean_object*); +lean_object* l_Array_reverse___redArg(lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2_; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; lean_object* l_Lean_PrettyPrinter_Delaborator_delabApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_instInhabitedWithRpcRef_default___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0___closed__4; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(lean_object*, uint64_t); uint8_t lean_usize_dec_le(size_t, size_t); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__8; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1(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_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); uint8_t l_Array_isEmpty___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_highlightMatches___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_builtinRpcProcedures; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_trace____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5___closed__0; LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_widget____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l_Lean_Widget_highlightMatches(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_docString_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_1564534894____hygCtx___hyg_1__ctorIdx(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_GetGoToLocationParams_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorElim___redArg(lean_object*, lean_object*); lean_object* l_Lean_Widget_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode_3233133395____hygCtx___hyg_1_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__1; LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1_spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_Highlighted_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_mul(size_t, size_t); static lean_object* l_Lean_Widget_instRpcEncodableInfoPopup___closed__1; static lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson_spec__0_spec__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams_enc____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4_spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__0; uint8_t lean_uint64_dec_lt(uint64_t, uint64_t); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___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_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +uint8_t lean_usize_dec_eq(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_43_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_lazyTraceChildrenToInteractive_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Widget_GetGoToLocationParams_ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0(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_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__13____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__7; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__6(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; LEAN_EXPORT lean_object* l_Lean_Widget_makePopup(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_explicit; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableInfoPopup_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_Highlighted_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_MsgToInteractive_ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_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_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___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_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__11; lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_; LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_empty(lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1__ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightMatchesParams_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__0___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedGetInteractiveDiagnosticsParams; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_Widget_instRpcEncodableMsgToInteractive_dec____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1__spec__0___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg(lean_object*, lean_object*); lean_object* l_Lean_Server_RequestM_pureTask___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_maybeWithoutTopLevelHighlight___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__1(size_t, size_t, lean_object*, lean_object*); -static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedInteractiveMessage_ofInteractiveMessage___lam__0(lean_object*); static lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__0___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateState(lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_highlighted_elim(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedMessageData_default; +uint8_t lean_int_dec_le(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___closed__0; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_51_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_goal____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Option_toJson___at___Lean_Widget_instRpcEncodableInfoPopup_enc____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__0(lean_object*); +lean_object* lean_string_utf8_byte_size(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__0(size_t, size_t, lean_object*); +lean_object* l_Lean_Json_getBool_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(lean_object*); +static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0___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_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__15____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_lazyTraceChildrenToInteractive_spec__0___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableMsgToInteractive___closed__2; lean_object* l_Lean_initializing(lean_object*); lean_object* l_Prod_map___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___at___Array_appendList_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedHighlightedMsgEmbed; lean_object* l_Lean_Json_getStr_x3f(lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__11; -LEAN_EXPORT lean_object* l_Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6(lean_object*); +static size_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__8; +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_subexpr_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__2____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_25_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg(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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; static lean_object* l_Lean_Widget_instInhabitedMsgToInteractive_default___closed__2; lean_object* l_Lean_Server_locationLinksOfInfo(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0___closed__3; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___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_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Widget_instInhabitedTaggedText_default(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(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_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_; lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1; lean_object* l_Lean_Widget_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode_3233133395____hygCtx___hyg_1_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2_; -static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; -static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__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*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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_EXPORT lean_object* l_Lean_Json_opt___at___Lean_Widget_instToJsonGetInteractiveDiagnosticsParams_toJson_spec__0(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams; LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_trace____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2_; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Info_type_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal_3114798910____hygCtx___hyg_1_(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__10; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1(lean_object*, lean_object*); +lean_object* l_Lean_Widget_TaggedText_map___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43_; -static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_trace_elim(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1___closed__0; static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; +static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_25_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_lazyTraceChildrenToInteractive___lam__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Widget_GetInteractiveDiagnosticsParams_ctorIdx___boxed(lean_object*); lean_object* l_Lean_Server_GoToM_run___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__1(lean_object*, size_t, size_t); +static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; uint8_t l_Lean_Expr_isMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_(lean_object*); +static lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableMsgToInteractive; LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedMsgToInteractive; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__0(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__0(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1(lean_object*, lean_object*); -static size_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_lazyTraceChildrenToInteractive___lam__0(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__5; LEAN_EXPORT lean_object* l_Lean_Widget_GetInteractiveDiagnosticsParams_ctorIdx(lean_object*); extern lean_object* l_Lean_pp_tagAppFns; +lean_object* lean_array_pop(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__4; LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_1564534894____hygCtx___hyg_1__ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_25_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedInteractiveMessage_ofInteractiveMessage(lean_object*); lean_object* lean_array_to_list(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__10____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_lazyTraceChildrenToInteractive_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_Widget_instRpcEncodableMsgToInteractive_dec____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1__spec__0___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Widget_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal_3114798910____hygCtx___hyg_1_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableInfoPopup___closed__0; lean_object* l_Lean_Server_instFromJsonGoToKind_fromJson(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1___boxed__const__1____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___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_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_Widget_instRpcEncodableMsgToInteractive_dec____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1__spec__0___redArg___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_subexpr_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1__ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0_spec__0(size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_51_; +static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_io_user_error(lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__12____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; static lean_object* l_Lean_Widget_instRpcEncodableMsgToInteractive___closed__0; LEAN_EXPORT lean_object* l_Lean_Widget_MsgToInteractive_ctorIdx___boxed(lean_object*); +lean_object* lean_thunk_get_own(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_ctorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4_spec__4___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_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_expr_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__11____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go(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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_(uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3(lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___boxed(lean_object*, lean_object*, 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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_locationLinksFromDecl(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_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(lean_object*, uint64_t); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_widget_elim(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3(lean_object*, 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_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__ctorIdx___boxed(lean_object*); lean_object* l_Lean_MetavarContext_getExprAssignmentCore_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3(lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1___redArg(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +static lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0; lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic_1765450820____hygCtx___hyg_1_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10; +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_highlighted____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_Widget_instRpcEncodableMsgToInteractive_dec____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1__spec__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams___closed__2; +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_widget_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_expr____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_trace_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_makePopup___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_ofMsgEmbed(lean_object*); lean_object* l_Except_orElseLazy___redArg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_lazyTraceChildrenToInteractive_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4_spec__4___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); +extern lean_object* l_Std_Format_defWidth; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1__ctorIdx___boxed(lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__1; lean_object* l_Lean_Lsp_instToJsonLocationLink_toJson(lean_object*); lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableInfoPopup_enc____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_widget____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_thunk(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Option_fromJson_x3f___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__0___closed__0; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +extern lean_object* l_Std_PRange_instUpwardEnumerableNat; +LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default; +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_highlighted_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__1; +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorIdx(lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); -static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_toText(lean_object*); lean_object* l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_TaggedTextHighlightState_ctorIdx___boxed(lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_expr_elim(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3(lean_object*, lean_object*, uint64_t); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_(lean_object*); extern lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_Basic_2038268869____hygCtx___hyg_3_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo; +LEAN_EXPORT uint8_t l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed(lean_object*); lean_object* l_Lean_Widget_instRpcEncodableInteractiveTermGoal_enc____x40_Lean_Widget_InteractiveGoal_2553565095____hygCtx___hyg_1_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InfoPopup_ctorIdx(lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_; lean_object* l_Lean_PrettyPrinter_Delaborator_withOptionAtCurrPos___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_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed(lean_object*); +lean_object* l_outOfBounds___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_; +lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_50_(lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3(lean_object*, 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_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__1; +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(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_getExprMVarAssignment_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__1; +extern uint8_t l_instInhabitedUInt8; +lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0___closed__5; -static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3; +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0___lam__2(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___Array_fromJson_x3f___at___Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_ctorElim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__0; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; static lean_object* l_Lean_Widget_instRpcEncodableMsgToInteractive___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_TaggedTextHighlightState_ctorIdx(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object*, lean_object*); +lean_object* l_Lean_Widget_TaggedText_rewrite___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_51____boxed(lean_object*); lean_object* l_Lean_Lsp_instFromJsonPlainTermGoalParams_fromJson(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0_spec__0(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(size_t, size_t, lean_object*); +lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic_1765450820____hygCtx___hyg_1_(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_33_; -static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__9____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_goal_elim___redArg(lean_object*, lean_object*); lean_object* l_Lean_Widget_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal_1490754142____hygCtx___hyg_1_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___lam__0(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_30_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_proofs; LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams_enc____x40_Lean_Server_FileWorker_WidgetRequests_1564534894____hygCtx___hyg_1_(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__1; +static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; static lean_object* l_Lean_Widget_instToJsonGetInteractiveDiagnosticsParams___closed__0; lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams_enc____x40_Lean_Server_FileWorker_WidgetRequests_1564534894____hygCtx___hyg_1____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___closed__0; +lean_object* lean_string_to_utf8(lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0___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_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Int_toNat(lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__12; static lean_object* l_Lean_Widget_instInhabitedMsgToInteractive_default___closed__1; +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorIdx___boxed(lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams___closed__0; static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3927793126____hygCtx___hyg_43_; +static lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg___closed__0; +lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43__spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Option_toJson___at___Lean_Widget_instRpcEncodableInfoPopup_enc____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__0___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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_Lean_Widget_instRpcEncodableMsgToInteractive_enc____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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* l_Lean_Json_getNat_x3f(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_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_Widget_makePopup___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedMsgToInteractive_default; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedGetInteractiveDiagnosticsParams_default; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonGetInteractiveDiagnosticsParams_toJson(lean_object*); -static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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_EXPORT lean_object* l_Lean_Widget_instRpcEncodableInfoPopup; static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams___closed__0; +lean_object* l_Lean_Widget_instRpcEncodableWidgetInstance_dec___redArg____x40_Lean_Widget_Types_2243429567____hygCtx___hyg_1_(lean_object*); +lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_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_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InfoPopup_ctorIdx___boxed(lean_object*); +static lean_object* l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1; static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_33_; -LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedCodeWithInfos_ofCodeWithInfos___lam__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_highlighted_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43_; lean_object* l_Lean_Server_RequestM_mapTaskCheap___redArg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_ctorIdx(lean_object*); lean_object* l_Lean_Widget_msgToInteractive(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0___closed__1; size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_maybeWithoutTopLevelHighlight(uint8_t, lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___redArg(lean_object*); -static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorIdx(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3(lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_highlighted_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedInfoPopup_default___closed__0; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__0; +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_; LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1__ctorIdx(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2_; lean_object* l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_; -static lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Info_lctx(lean_object*); size_t lean_array_size(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs(lean_object*, lean_object*); +lean_object* lean_int_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__4; +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__9; lean_object* l_Lean_Name_mkStr1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2_; static lean_object* l_Lean_Widget_instRpcEncodableMsgToInteractive_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1923616455____hygCtx___hyg_1_; 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_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43_(lean_object*); +uint8_t lean_int_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_expr____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_lazyTraceChildrenToInteractive(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43_; -static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_goal____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__9; static lean_object* l_Lean_Widget_instInhabitedMsgToInteractive_default___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonPlainGoalParams_fromJson(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_; static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0___closed__2; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1; +lean_object* l_Lean_MessageData_formatAux(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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedInfoPopup_default; +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1___lam__0(lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonGetInteractiveDiagnosticsParams; +lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_; +lean_object* lean_int_neg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedCodeWithInfos_ofCodeWithInfos(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExprMVarAssignment_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); extern lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic_72002168____hygCtx___hyg_27_; static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_33_; +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__14____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__0(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Lsp_instToJsonLineRange_toJson(lean_object*); extern lean_object* l_Lean_pp_mvars_anonymous; -LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2____boxed(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestError_ofIoError(lean_object*); +static lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Lsp_instFromJsonLineRange_fromJson(lean_object*); -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3(lean_object*, lean_object*, uint64_t); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__5; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__1; -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson_spec__0_spec__0(lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_33_; +lean_object* lean_byte_array_size(lean_object*); lean_object* l_Lean_Elab_ContextInfo_runMetaM___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_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0; +uint8_t lean_uint8_dec_eq(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__0___redArg___boxed(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*); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_51_; -static size_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1; +lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_33_(lean_object*); +static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; static lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withOptionAtCurrPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_33_; +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_instToJsonGoToKind_toJson(uint8_t); static lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_makePopup_ppExprForPopup___lam__0___closed__6; size_t lean_usize_land(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1(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* l_Lean_Widget_TaggedText_stripTags___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_highlighted____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedInfoPopup; extern lean_object* l_Lean_instImpl____x40_Lean_Message_4238524789____hygCtx___hyg_234_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_fromJson_x3f___at___Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1_spec__1_spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__0(lean_object*, lean_object*, lean_object*, uint64_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch(lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_getInteractiveGoals(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_MsgToInteractive_ctorIdx(lean_object* x_1) { _start: { @@ -1046,7 +1393,7 @@ x_1 = l_Lean_Widget_instRpcEncodableMsgToInteractive___closed__2; return x_1; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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; @@ -1080,15 +1427,15 @@ return x_7; } } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__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_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__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: { uint8_t x_7; -x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_5, x_6); return x_7; } } -static size_t _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0() { +static size_t _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0() { _start: { size_t x_1; size_t x_2; size_t x_3; @@ -1098,17 +1445,17 @@ x_3 = lean_usize_shift_left(x_2, x_1); return x_3; } } -static size_t _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1() { +static size_t _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0; +x_2 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0; x_3 = lean_usize_sub(x_2, x_1); return x_3; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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) @@ -1119,7 +1466,7 @@ lean_inc_ref(x_4); lean_dec_ref(x_1); x_5 = lean_box(2); x_6 = 5; -x_7 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1; +x_7 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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); @@ -1162,39 +1509,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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg(x_1, x_4, x_2); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg(x_1, x_4, x_2); return x_5; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_2, x_3); +x_4 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(lean_object* x_1, uint64_t x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(lean_object* x_1, uint64_t x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1239,15 +1586,15 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3(lean_object* x_1, lean_object* x_2, uint64_t x_3) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3(lean_object* x_1, lean_object* x_2, uint64_t x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_2, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; @@ -1266,7 +1613,7 @@ else 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_8 = lean_array_uget(x_4, x_3); lean_inc_ref(x_1); -x_9 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_1, x_8, x_5); +x_9 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_1, x_8, x_5); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); @@ -1284,15 +1631,15 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_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) { _start: { lean_object* x_8; -x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_3, x_4, x_5, x_6, x_7); +x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_3, x_4, x_5, x_6, x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { switch (lean_obj_tag(x_2)) { @@ -1333,7 +1680,7 @@ lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; uint8_t x_14; x_10 = lean_ctor_get(x_2, 0); x_11 = lean_array_size(x_10); x_12 = 0; -x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_1, x_11, x_12, x_10, x_3); +x_13 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_1, x_11, x_12, x_10, x_3); x_14 = !lean_is_exclusive(x_13); if (x_14 == 0) { @@ -1366,7 +1713,7 @@ lean_inc(x_19); lean_dec(x_2); x_20 = lean_array_size(x_19); x_21 = 0; -x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_1, x_20, x_21, x_19, x_3); +x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_1, x_20, x_21, x_19, x_3); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -1407,7 +1754,7 @@ lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec_ref(x_31); -x_34 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_1, x_30, x_33); +x_34 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_1, x_30, x_33); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) { @@ -1449,7 +1796,7 @@ lean_inc(x_43); x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); lean_dec_ref(x_42); -x_45 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_1, x_41, x_44); +x_45 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_1, x_41, x_44); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); @@ -1478,15 +1825,15 @@ return x_50; } } } -LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4(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_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_3, x_4, x_5); +x_6 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(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___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -1501,7 +1848,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_5); +x_8 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(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); @@ -1511,19 +1858,19 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6(lean_object* x_1) { _start: { size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_array_size(x_1); x_3 = 0; -x_4 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(x_2, x_3, x_1); +x_4 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(x_2, x_3, x_1); x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_4); return x_5; } } -static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0() { +static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0() { _start: { lean_object* x_1; @@ -1531,7 +1878,7 @@ x_1 = lean_mk_string_unchecked("text", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1() { +static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1() { _start: { lean_object* x_1; @@ -1539,7 +1886,7 @@ x_1 = lean_mk_string_unchecked("append", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2() { +static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2() { _start: { lean_object* x_1; @@ -1547,7 +1894,7 @@ x_1 = lean_mk_string_unchecked("tag", 3, 3); return x_1; } } -static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3() { +static lean_object* _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -1556,7 +1903,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(lean_object* x_1) { _start: { switch (lean_obj_tag(x_1)) { @@ -1567,7 +1914,7 @@ x_2 = !lean_is_exclusive(x_1); if (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 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; +x_3 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; lean_ctor_set_tag(x_1, 3); x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); @@ -1585,7 +1932,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); lean_dec(x_1); -x_9 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; +x_9 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; x_10 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_10, 0, x_8); x_11 = lean_alloc_ctor(0, 2, 0); @@ -1605,8 +1952,8 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean x_15 = lean_ctor_get(x_1, 0); lean_inc_ref(x_15); lean_dec_ref(x_1); -x_16 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1; -x_17 = l_Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6(x_15); +x_16 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1; +x_17 = l_Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6(x_15); x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); @@ -1626,9 +1973,9 @@ 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; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_23 = lean_ctor_get(x_1, 0); x_24 = lean_ctor_get(x_1, 1); -x_25 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; -x_26 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_24); -x_27 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3; +x_25 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; +x_26 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_24); +x_27 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3; x_28 = lean_array_push(x_27, x_23); x_29 = lean_array_push(x_28, x_26); x_30 = lean_alloc_ctor(4, 1, 0); @@ -1651,9 +1998,9 @@ x_35 = lean_ctor_get(x_1, 1); lean_inc(x_35); lean_inc(x_34); lean_dec(x_1); -x_36 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; -x_37 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_35); -x_38 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3; +x_36 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; +x_37 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_35); +x_38 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3; x_39 = lean_array_push(x_38, x_34); x_40 = lean_array_push(x_39, x_37); x_41 = lean_alloc_ctor(4, 1, 0); @@ -1672,14 +2019,14 @@ return x_45; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__0(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__0(lean_object* x_1) { _start: { lean_inc(x_1); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -1689,7 +2036,7 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0() { +static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0() { _start: { lean_object* x_1; @@ -1697,7 +2044,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableMsgEmbed_enc____x return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_3) == 0) @@ -1729,16 +2076,16 @@ lean_inc_ref(x_12); x_13 = lean_ctor_get(x_10, 1); lean_inc(x_13); lean_dec(x_10); -x_14 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; -x_15 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_14, x_8, x_12); +x_14 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; +x_15 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_14, x_8, x_12); 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; uint8_t x_24; x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_18, 0, x_13); -x_19 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_17); +x_19 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_17); lean_ctor_set(x_15, 0, x_19); x_20 = l_Prod_map___redArg(x_2, x_18, x_15); x_21 = lean_ctor_get(x_20, 0); @@ -1776,9 +2123,9 @@ x_29 = lean_ctor_get(x_15, 1); lean_inc(x_29); lean_inc(x_28); lean_dec(x_15); -x_30 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_30 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_30, 0, x_13); -x_31 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_28); +x_31 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_28); x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_29); @@ -1811,7 +2158,7 @@ return x_39; } } } -static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0() { +static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0() { _start: { lean_object* x_1; @@ -1819,11 +2166,11 @@ x_1 = lean_mk_string_unchecked("Outdated RPC session", 20, 20); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1() { +static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0; +x_1 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0; x_2 = 9; x_3 = lean_alloc_ctor(0, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -1831,7 +2178,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2() { +static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2() { _start: { lean_object* x_1; @@ -1839,7 +2186,7 @@ x_1 = lean_mk_string_unchecked("Cannot decode params in RPC call '", 34, 34); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3() { +static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3() { _start: { lean_object* x_1; @@ -1847,7 +2194,7 @@ x_1 = lean_mk_string_unchecked("(", 1, 1); return x_1; } } -static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4() { +static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4() { _start: { lean_object* x_1; @@ -1855,12 +2202,12 @@ x_1 = lean_mk_string_unchecked(")'\n", 3, 3); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint64_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint64_t 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_6, 0); -x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -1869,7 +2216,7 @@ lean_dec(x_5); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec(x_1); -x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -1904,17 +2251,17 @@ x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); lean_dec_ref(x_18); x_20 = 3; -x_21 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_21 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_22 = 1; x_23 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_22); x_24 = lean_string_append(x_21, x_23); lean_dec_ref(x_23); -x_25 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_25 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_26 = lean_string_append(x_24, x_25); x_27 = l_Lean_Json_compress(x_5); x_28 = lean_string_append(x_26, x_27); lean_dec_ref(x_27); -x_29 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_29 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_30 = lean_string_append(x_28, x_29); x_31 = lean_string_append(x_30, x_19); lean_dec(x_19); @@ -1944,7 +2291,7 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); lean_dec_ref(x_34); -x_37 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___boxed), 5, 2); +x_37 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___boxed), 5, 2); lean_closure_set(x_37, 0, x_12); lean_closure_set(x_37, 1, x_3); x_38 = l_Lean_Server_RequestM_mapTaskCheap___redArg(x_35, x_37, x_6, x_36); @@ -2001,17 +2348,17 @@ x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); lean_dec_ref(x_46); x_48 = 3; -x_49 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_49 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_50 = 1; x_51 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_50); x_52 = lean_string_append(x_49, x_51); lean_dec_ref(x_51); -x_53 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_53 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_54 = lean_string_append(x_52, x_53); x_55 = l_Lean_Json_compress(x_5); x_56 = lean_string_append(x_54, x_55); lean_dec_ref(x_55); -x_57 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_57 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_58 = lean_string_append(x_56, x_57); x_59 = lean_string_append(x_58, x_47); lean_dec(x_47); @@ -2041,7 +2388,7 @@ lean_inc(x_64); x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); lean_dec_ref(x_63); -x_66 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___boxed), 5, 2); +x_66 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___boxed), 5, 2); lean_closure_set(x_66, 0, x_12); lean_closure_set(x_66, 1, x_3); x_67 = l_Lean_Server_RequestM_mapTaskCheap___redArg(x_64, x_66, x_6, x_65); @@ -2079,19 +2426,19 @@ return x_71; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3(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_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed), 1, 0); -x_4 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___boxed), 7, 3); +x_3 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed), 1, 0); +x_4 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___boxed), 7, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); lean_closure_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -2195,32 +2542,32 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10(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_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(x_2, x_3, x_4, x_5); +x_6 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___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_unsigned_to_nat(0u); -x_5 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(x_1, x_4, x_2, x_3); +x_5 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10_spec__10___redArg(x_1, x_4, x_2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(x_2, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(size_t 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_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(size_t 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; @@ -2249,22 +2596,22 @@ x_18 = lean_nat_add(x_4, x_13); lean_dec(x_4); lean_inc(x_9); lean_inc(x_8); -x_19 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_5, x_17, x_1, x_8, x_9); +x_19 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_5, x_17, x_1, x_8, x_9); x_4 = x_18; x_5 = x_19; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12(lean_object* 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_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12(lean_object* 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) { _start: { lean_object* x_8; -x_8 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_2, x_3, x_4, x_6, x_7); +x_8 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_2, x_3, x_4, x_6, x_7); return x_8; } } -static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0() { +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0() { _start: { lean_object* x_1; @@ -2272,7 +2619,7 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2281,7 +2628,7 @@ lean_object* x_6; size_t x_7; size_t x_8; size_t x_9; size_t x_10; lean_object* x_6 = lean_ctor_get(x_1, 0); x_7 = 5; x_8 = 1; -x_9 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1; +x_9 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1; x_10 = lean_usize_land(x_2, x_9); x_11 = lean_usize_to_nat(x_10); x_12 = lean_array_get_size(x_6); @@ -2380,7 +2727,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; x_35 = lean_ctor_get(x_15, 0); x_36 = lean_usize_shift_right(x_2, x_7); x_37 = lean_usize_add(x_3, x_8); -x_38 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_35, x_36, x_37, x_4, x_5); +x_38 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_18 = x_15; goto block_21; @@ -2393,7 +2740,7 @@ lean_inc(x_39); lean_dec(x_15); x_40 = lean_usize_shift_right(x_2, x_7); x_41 = lean_usize_add(x_3, x_8); -x_42 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_39, x_40, x_41, x_4, x_5); +x_42 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_39, x_40, x_41, x_4, x_5); x_43 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_43, 0, x_42); x_18 = x_43; @@ -2432,7 +2779,7 @@ x_45 = !lean_is_exclusive(x_1); if (x_45 == 0) { lean_object* x_46; uint8_t x_47; size_t x_54; uint8_t x_55; -x_46 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(x_1, x_4, x_5); +x_46 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(x_1, x_4, x_5); x_54 = 7; x_55 = lean_usize_dec_le(x_54, x_3); if (x_55 == 0) @@ -2461,8 +2808,8 @@ x_49 = lean_ctor_get(x_46, 1); lean_inc_ref(x_49); lean_dec_ref(x_46); x_50 = lean_unsigned_to_nat(0u); -x_51 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0; -x_52 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_3, x_48, x_49, x_50, x_51); +x_51 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0; +x_52 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_3, x_48, x_49, x_50, x_51); lean_dec_ref(x_49); lean_dec_ref(x_48); return x_52; @@ -2484,7 +2831,7 @@ lean_dec(x_1); x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_59); lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(x_61, x_4, x_5); +x_62 = l_Lean_PersistentHashMap_insertAtCollisionNode___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__10___redArg(x_61, x_4, x_5); x_70 = 7; x_71 = lean_usize_dec_le(x_70, x_3); if (x_71 == 0) @@ -2513,8 +2860,8 @@ x_65 = lean_ctor_get(x_62, 1); lean_inc_ref(x_65); lean_dec_ref(x_62); x_66 = lean_unsigned_to_nat(0u); -x_67 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0; -x_68 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_3, x_64, x_65, x_66, x_67); +x_67 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0; +x_68 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_3, x_64, x_65, x_66, x_67); lean_dec_ref(x_65); lean_dec_ref(x_64); return x_68; @@ -2528,34 +2875,34 @@ return x_62; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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) { _start: { lean_object* x_7; -x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_2, x_3, x_4, x_5, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint64_t x_4; size_t x_5; size_t x_6; lean_object* x_7; x_4 = l_Lean_Name_hash___override(x_2); x_5 = lean_uint64_to_usize(x_4); x_6 = 1; -x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_1, x_5, x_6, x_2, x_3); +x_7 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_1, x_5, x_6, x_2, x_3); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_2, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0() { +static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0() { _start: { lean_object* x_1; @@ -2563,7 +2910,7 @@ x_1 = lean_mk_string_unchecked("Failed to register builtin RPC call handler for return x_1; } } -static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1() { +static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1() { _start: { lean_object* x_1; @@ -2571,7 +2918,7 @@ x_1 = lean_mk_string_unchecked("'", 1, 1); return x_1; } } -static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2() { +static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2() { _start: { lean_object* x_1; @@ -2579,7 +2926,7 @@ x_1 = lean_mk_string_unchecked(": only possible during initialization", 37, 37); return x_1; } } -static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3() { +static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3() { _start: { lean_object* x_1; @@ -2587,7 +2934,7 @@ x_1 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_builtinRpcProce return x_1; } } -static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4() { +static lean_object* _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4() { _start: { lean_object* x_1; @@ -2595,7 +2942,7 @@ x_1 = lean_mk_string_unchecked(": already registered", 20, 20); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -2609,13 +2956,13 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_9 = 1; lean_inc(x_1); x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_9); x_11 = lean_string_append(x_8, x_10); lean_dec_ref(x_10); -x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_13 = lean_string_append(x_11, x_12); x_14 = lean_unbox(x_6); lean_dec(x_6); @@ -2624,7 +2971,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec_ref(x_2); lean_dec(x_1); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_16 = lean_string_append(x_13, x_15); x_17 = lean_mk_io_user_error(x_16); lean_ctor_set_tag(x_4, 1); @@ -2635,7 +2982,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_free_object(x_4); -x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_19 = lean_st_ref_get(x_18, x_7); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) @@ -2643,7 +2990,7 @@ 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 = lean_ctor_get(x_19, 1); -x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); +x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); if (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; uint8_t x_30; @@ -2656,8 +3003,8 @@ x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec_ref(x_24); lean_inc(x_1); -x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3(x_1, x_2); -x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); +x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3(x_1, x_2); +x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); x_29 = lean_st_ref_set(x_18, x_28, x_26); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -2683,7 +3030,7 @@ else lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec_ref(x_2); lean_dec(x_1); -x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_35 = lean_string_append(x_13, x_34); x_36 = lean_mk_io_user_error(x_35); lean_ctor_set_tag(x_19, 1); @@ -2699,7 +3046,7 @@ x_38 = lean_ctor_get(x_19, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_19); -x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); +x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); 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; @@ -2711,8 +3058,8 @@ x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec_ref(x_40); lean_inc(x_1); -x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3(x_1, x_2); -x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); +x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3(x_1, x_2); +x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); x_45 = lean_st_ref_set(x_18, x_44, x_42); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -2740,7 +3087,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec_ref(x_2); lean_dec(x_1); -x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_51 = lean_string_append(x_13, x_50); x_52 = lean_mk_io_user_error(x_51); x_53 = lean_alloc_ctor(1, 2, 0); @@ -2759,13 +3106,13 @@ x_55 = lean_ctor_get(x_4, 1); lean_inc(x_55); lean_inc(x_54); lean_dec(x_4); -x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_57 = 1; lean_inc(x_1); x_58 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_57); x_59 = lean_string_append(x_56, x_58); lean_dec_ref(x_58); -x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_61 = lean_string_append(x_59, x_60); x_62 = lean_unbox(x_54); lean_dec(x_54); @@ -2774,7 +3121,7 @@ if (x_62 == 0) lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec_ref(x_2); lean_dec(x_1); -x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_64 = lean_string_append(x_61, x_63); x_65 = lean_mk_io_user_error(x_64); x_66 = lean_alloc_ctor(1, 2, 0); @@ -2785,7 +3132,7 @@ return x_66; else { 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_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_68 = lean_st_ref_get(x_67, x_55); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -2799,7 +3146,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_71 = lean_box(0); } -x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); +x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); 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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; @@ -2812,8 +3159,8 @@ x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); lean_dec_ref(x_73); lean_inc(x_1); -x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3(x_1, x_2); -x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); +x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3(x_1, x_2); +x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); x_78 = lean_st_ref_set(x_67, x_77, x_75); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); @@ -2841,7 +3188,7 @@ else lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec_ref(x_2); lean_dec(x_1); -x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_84 = lean_string_append(x_61, x_83); x_85 = lean_mk_io_user_error(x_84); if (lean_is_scalar(x_71)) { @@ -2883,7 +3230,7 @@ return x_90; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_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; @@ -2939,7 +3286,7 @@ return x_17; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_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; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -2953,7 +3300,7 @@ lean_inc(x_6); lean_dec_ref(x_4); x_7 = 1; x_8 = lean_box(x_7); -x_9 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2____boxed), 5, 3); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2____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_5); @@ -2961,7 +3308,7 @@ x_10 = l_Lean_Server_RequestM_pureTask___redArg(x_9, x_2, x_3); return x_10; } } -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -2969,7 +3316,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -2977,7 +3324,7 @@ x_1 = lean_mk_string_unchecked("Widget", 6, 6); return x_1; } } -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -2985,7 +3332,7 @@ x_1 = lean_mk_string_unchecked("InteractiveDiagnostics", 22, 22); return x_1; } } -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_() { _start: { lean_object* x_1; @@ -2993,44 +3340,44 @@ x_1 = lean_mk_string_unchecked("msgToInteractive", 16, 16); return x_1; } } -static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_() { +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_() { _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_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____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_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_), 3, 0); -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0(x_3, x_2, x_1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_), 3, 0); +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0(x_3, x_2, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__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_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3); +x_4 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__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_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__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: { uint8_t x_7; lean_object* x_8; -x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_PersistentHashMap_containsAtAux___at___Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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); @@ -3038,73 +3385,73 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__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_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg(x_1, x_4, x_3); +x_5 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__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_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0(x_1, x_2, x_5, x_4); +x_6 = l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_1, x_2); +x_3 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2, x_3); +x_4 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint64_t x_3; lean_object* x_4; x_3 = lean_unbox_uint64(x_2); lean_dec(x_2); -x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_1, x_3); +x_4 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_1, x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___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_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint64_t x_4; lean_object* x_5; x_4 = lean_unbox_uint64(x_3); lean_dec(x_3); -x_5 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3(x_1, x_2, x_4); +x_5 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3(x_1, x_2, x_4); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -3112,11 +3459,11 @@ 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___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_1, x_6, x_7, x_4, x_5); +x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4___redArg(x_1, x_6, x_7, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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) { _start: { size_t x_8; size_t x_9; lean_object* x_10; @@ -3124,11 +3471,11 @@ x_8 = lean_unbox_usize(x_4); lean_dec(x_4); x_9 = lean_unbox_usize(x_5); lean_dec(x_5); -x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4(x_1, x_2, x_3, x_8, x_9, x_6, x_7); +x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4_spec__4(x_1, x_2, x_3, x_8, x_9, x_6, x_7); return x_10; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6___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___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6___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; @@ -3136,64 +3483,64 @@ 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___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(x_4, x_5, x_3); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6_spec__6_spec__6(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__0(x_1); +x_2 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__0(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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) { _start: { lean_object* x_6; -x_6 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2(x_1, x_2, x_3, x_4, x_5); lean_dec_ref(x_4); lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___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_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___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: { uint64_t x_8; lean_object* x_9; x_8 = lean_unbox_uint64(x_4); lean_dec(x_4); -x_9 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3(x_1, x_2, x_3, x_8, x_5, x_6, x_7); +x_9 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3(x_1, x_2, x_3, x_8, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_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_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___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; lean_object* x_7; x_6 = lean_unbox_usize(x_1); lean_dec(x_1); -x_7 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_6, x_2, x_3, x_4, x_5); +x_7 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12___redArg(x_6, x_2, x_3, x_4, x_5); lean_dec_ref(x_3); lean_dec_ref(x_2); return x_7; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_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_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_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) { _start: { size_t x_8; lean_object* x_9; x_8 = lean_unbox_usize(x_2); lean_dec(x_2); -x_9 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +x_9 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10_spec__12(x_1, x_8, x_3, x_4, x_5, x_6, x_7); lean_dec_ref(x_4); lean_dec_ref(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -3201,11 +3548,11 @@ 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_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_1, x_6, x_7, x_4, x_5); +x_8 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg(x_1, x_6, x_7, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_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) { _start: { size_t x_7; size_t x_8; lean_object* x_9; @@ -3213,16 +3560,16 @@ x_7 = lean_unbox_usize(x_3); lean_dec(x_3); x_8 = lean_unbox_usize(x_4); lean_dec(x_4); -x_9 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10(x_1, x_2, x_7, x_8, x_5, x_6); +x_9 = l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10(x_1, x_2, x_7, x_8, x_5, x_6); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____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_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____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: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_2); -x_7 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(x_1, x_6, x_3, x_4, x_5); +x_7 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(x_1, x_6, x_3, x_4, x_5); lean_dec_ref(x_4); return x_7; } @@ -3501,13 +3848,13 @@ 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; x_48 = lean_ctor_get(x_12, 0); x_49 = l_Lean_Widget_instRpcEncodableInfoPopup_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_; -x_50 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_49, x_48, x_2); +x_50 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_49, x_48, x_2); 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 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_51); +x_53 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_51); lean_ctor_set(x_12, 0, x_53); x_27 = x_12; x_28 = x_52; @@ -3520,13 +3867,13 @@ x_54 = lean_ctor_get(x_12, 0); lean_inc(x_54); lean_dec(x_12); x_55 = l_Lean_Widget_instRpcEncodableInfoPopup_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_; -x_56 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_55, x_54, x_2); +x_56 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_55, x_54, x_2); 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_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_57); +x_59 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_57); x_60 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_60, 0, x_59); x_27 = x_60; @@ -3540,8 +3887,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = l_Option_toJson___at___Lean_Widget_instRpcEncodableInfoPopup_enc____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__0(x_5); lean_dec(x_5); x_8 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_8, 0, x_3); -lean_ctor_set(x_8, 1, x_4); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_3); lean_ctor_set(x_8, 2, x_7); x_9 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_1691946469____hygCtx___hyg_51_(x_8); lean_dec_ref(x_8); @@ -3559,8 +3906,8 @@ if (lean_obj_tag(x_14) == 0) { lean_object* x_19; x_19 = lean_box(0); -x_3 = x_15; -x_4 = x_18; +x_3 = x_18; +x_4 = x_15; x_5 = x_19; x_6 = x_17; goto block_11; @@ -3576,8 +3923,8 @@ x_21 = lean_ctor_get(x_14, 0); x_22 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_14, 0, x_22); -x_3 = x_15; -x_4 = x_18; +x_3 = x_18; +x_4 = x_15; x_5 = x_14; x_6 = x_17; goto block_11; @@ -3592,8 +3939,8 @@ x_24 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_24, 0, x_23); x_25 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_25, 0, x_24); -x_3 = x_15; -x_4 = x_18; +x_3 = x_18; +x_4 = x_15; x_5 = x_25; x_6 = x_17; goto block_11; @@ -3623,13 +3970,13 @@ 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; x_32 = lean_ctor_get(x_13, 0); x_33 = l_Lean_Widget_instRpcEncodableInfoPopup_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_; -x_34 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_33, x_32, x_28); +x_34 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_33, x_32, x_28); 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_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_35); +x_37 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_35); lean_ctor_set(x_13, 0, x_37); x_15 = x_29; x_16 = x_13; @@ -3643,13 +3990,13 @@ x_38 = lean_ctor_get(x_13, 0); lean_inc(x_38); lean_dec(x_13); x_39 = l_Lean_Widget_instRpcEncodableInfoPopup_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_; -x_40 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_39, x_38, x_28); +x_40 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_39, x_38, x_28); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec_ref(x_40); -x_43 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_41); +x_43 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_41); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_15 = x_29; @@ -3785,7 +4132,7 @@ x_7 = lean_unsigned_to_nat(80u); x_8 = l_Lean_Json_pretty(x_1, x_7); x_9 = lean_string_append(x_6, x_8); lean_dec_ref(x_8); -x_10 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_10 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_11 = lean_string_append(x_9, x_10); x_12 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_12, 0, x_11); @@ -3823,7 +4170,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Le _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; +x_7 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2; x_8 = lean_unsigned_to_nat(2u); x_9 = l_Lean_Json_parseTagged(x_1, x_7, x_8, x_2); if (lean_obj_tag(x_9) == 0) @@ -3915,7 +4262,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Le _start: { lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; +x_7 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0; x_8 = l_Lean_Json_parseTagged(x_1, x_7, x_2, x_3); if (lean_obj_tag(x_8) == 0) { @@ -4015,7 +4362,7 @@ _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 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__0), 1, 0); x_3 = lean_box(0); -x_4 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1; +x_4 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1; x_5 = lean_unsigned_to_nat(1u); x_6 = lean_box(0); lean_inc(x_1); @@ -5923,7 +6270,7 @@ lean_inc_ref(x_12); x_13 = lean_ctor_get(x_10, 1); lean_inc(x_13); lean_dec(x_10); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_14 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_14, 0, x_13); x_15 = l_Lean_Widget_instRpcEncodableInfoPopup_enc____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1_(x_8, x_12); x_16 = l_Prod_map___redArg(x_2, x_14, x_15); @@ -5961,7 +6308,7 @@ _start: { lean_object* x_9; lean_object* x_10; x_9 = lean_ctor_get(x_7, 0); -x_10 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_9, x_5); +x_10 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_9, x_5); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; @@ -5971,7 +6318,7 @@ lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_11 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +x_11 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; x_12 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_8); @@ -6006,17 +6353,17 @@ x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); lean_dec_ref(x_19); x_21 = 3; -x_22 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_22 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_23 = 1; x_24 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_23); x_25 = lean_string_append(x_22, x_24); lean_dec_ref(x_24); -x_26 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_26 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_27 = lean_string_append(x_25, x_26); x_28 = l_Lean_Json_compress(x_6); x_29 = lean_string_append(x_27, x_28); lean_dec_ref(x_28); -x_30 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_30 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_31 = lean_string_append(x_29, x_30); x_32 = lean_string_append(x_31, x_20); lean_dec(x_20); @@ -6103,17 +6450,17 @@ x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); lean_dec_ref(x_47); x_49 = 3; -x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_51 = 1; x_52 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_51); x_53 = lean_string_append(x_50, x_52); lean_dec_ref(x_52); -x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_55 = lean_string_append(x_53, x_54); x_56 = l_Lean_Json_compress(x_6); x_57 = lean_string_append(x_55, x_56); lean_dec_ref(x_56); -x_58 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_58 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_59 = lean_string_append(x_57, x_58); x_60 = lean_string_append(x_59, x_48); lean_dec(x_48); @@ -6185,7 +6532,7 @@ static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Se _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__0___boxed), 1, 0); return x_1; } } @@ -6225,13 +6572,13 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_9 = 1; lean_inc(x_1); x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_9); x_11 = lean_string_append(x_8, x_10); lean_dec_ref(x_10); -x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_13 = lean_string_append(x_11, x_12); x_14 = lean_unbox(x_6); lean_dec(x_6); @@ -6240,7 +6587,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec_ref(x_2); lean_dec(x_1); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_16 = lean_string_append(x_13, x_15); x_17 = lean_mk_io_user_error(x_16); lean_ctor_set_tag(x_4, 1); @@ -6251,7 +6598,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_free_object(x_4); -x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_19 = lean_st_ref_get(x_18, x_7); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) @@ -6259,7 +6606,7 @@ 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 = lean_ctor_get(x_19, 1); -x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); +x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); if (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; uint8_t x_30; @@ -6273,7 +6620,7 @@ lean_inc(x_26); lean_dec_ref(x_24); lean_inc(x_1); x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); +x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); x_29 = lean_st_ref_set(x_18, x_28, x_26); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -6299,7 +6646,7 @@ else lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec_ref(x_2); lean_dec(x_1); -x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_35 = lean_string_append(x_13, x_34); x_36 = lean_mk_io_user_error(x_35); lean_ctor_set_tag(x_19, 1); @@ -6315,7 +6662,7 @@ x_38 = lean_ctor_get(x_19, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_19); -x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); +x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); 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; @@ -6328,7 +6675,7 @@ lean_inc(x_42); lean_dec_ref(x_40); lean_inc(x_1); x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); +x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); x_45 = lean_st_ref_set(x_18, x_44, x_42); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -6356,7 +6703,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec_ref(x_2); lean_dec(x_1); -x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_51 = lean_string_append(x_13, x_50); x_52 = lean_mk_io_user_error(x_51); x_53 = lean_alloc_ctor(1, 2, 0); @@ -6375,13 +6722,13 @@ x_55 = lean_ctor_get(x_4, 1); lean_inc(x_55); lean_inc(x_54); lean_dec(x_4); -x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_57 = 1; lean_inc(x_1); x_58 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_57); x_59 = lean_string_append(x_56, x_58); lean_dec_ref(x_58); -x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_61 = lean_string_append(x_59, x_60); x_62 = lean_unbox(x_54); lean_dec(x_54); @@ -6390,7 +6737,7 @@ if (x_62 == 0) lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec_ref(x_2); lean_dec(x_1); -x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_64 = lean_string_append(x_61, x_63); x_65 = lean_mk_io_user_error(x_64); x_66 = lean_alloc_ctor(1, 2, 0); @@ -6401,7 +6748,7 @@ return x_66; else { 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_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_68 = lean_st_ref_get(x_67, x_55); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -6415,7 +6762,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_71 = lean_box(0); } -x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); +x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); 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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; @@ -6429,7 +6776,7 @@ lean_inc(x_75); lean_dec_ref(x_73); lean_inc(x_1); x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); +x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); x_78 = lean_st_ref_set(x_67, x_77, x_75); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); @@ -6457,7 +6804,7 @@ else lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec_ref(x_2); lean_dec(x_1); -x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_84 = lean_string_append(x_61, x_83); x_85 = lean_mk_io_user_error(x_84); if (lean_is_scalar(x_71)) { @@ -6512,9 +6859,9 @@ _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_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2_; -x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -6596,7 +6943,7 @@ if (lean_is_exclusive(x_10)) { lean_dec_ref(x_10); x_14 = lean_box(0); } -x_15 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_15, 0, x_13); if (lean_obj_tag(x_8) == 0) { @@ -6692,7 +7039,7 @@ _start: { lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_6, 0); -x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -6701,7 +7048,7 @@ lean_dec(x_5); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec(x_1); -x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -6734,17 +7081,17 @@ x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); lean_dec_ref(x_17); x_19 = 3; -x_20 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_20 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_21 = 1; x_22 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_21); x_23 = lean_string_append(x_20, x_22); lean_dec_ref(x_22); -x_24 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_24 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_25 = lean_string_append(x_23, x_24); x_26 = l_Lean_Json_compress(x_5); x_27 = lean_string_append(x_25, x_26); lean_dec_ref(x_26); -x_28 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_28 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_29 = lean_string_append(x_27, x_28); x_30 = lean_string_append(x_29, x_18); lean_dec(x_18); @@ -6826,17 +7173,17 @@ x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); lean_dec_ref(x_43); x_45 = 3; -x_46 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_46 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_47 = 1; x_48 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_47); x_49 = lean_string_append(x_46, x_48); lean_dec_ref(x_48); -x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_51 = lean_string_append(x_49, x_50); x_52 = l_Lean_Json_compress(x_5); x_53 = lean_string_append(x_51, x_52); lean_dec_ref(x_52); -x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_55 = lean_string_append(x_53, x_54); x_56 = lean_string_append(x_55, x_44); lean_dec(x_44); @@ -6930,13 +7277,13 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_9 = 1; lean_inc(x_1); x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_9); x_11 = lean_string_append(x_8, x_10); lean_dec_ref(x_10); -x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_13 = lean_string_append(x_11, x_12); x_14 = lean_unbox(x_6); lean_dec(x_6); @@ -6945,7 +7292,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec_ref(x_2); lean_dec(x_1); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_16 = lean_string_append(x_13, x_15); x_17 = lean_mk_io_user_error(x_16); lean_ctor_set_tag(x_4, 1); @@ -6956,7 +7303,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_free_object(x_4); -x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_19 = lean_st_ref_get(x_18, x_7); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) @@ -6964,7 +7311,7 @@ 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 = lean_ctor_get(x_19, 1); -x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); +x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); if (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; uint8_t x_30; @@ -6978,7 +7325,7 @@ lean_inc(x_26); lean_dec_ref(x_24); lean_inc(x_1); x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); +x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); x_29 = lean_st_ref_set(x_18, x_28, x_26); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -7004,7 +7351,7 @@ else lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec_ref(x_2); lean_dec(x_1); -x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_35 = lean_string_append(x_13, x_34); x_36 = lean_mk_io_user_error(x_35); lean_ctor_set_tag(x_19, 1); @@ -7020,7 +7367,7 @@ x_38 = lean_ctor_get(x_19, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_19); -x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); +x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); 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; @@ -7033,7 +7380,7 @@ lean_inc(x_42); lean_dec_ref(x_40); lean_inc(x_1); x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); +x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); x_45 = lean_st_ref_set(x_18, x_44, x_42); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -7061,7 +7408,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec_ref(x_2); lean_dec(x_1); -x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_51 = lean_string_append(x_13, x_50); x_52 = lean_mk_io_user_error(x_51); x_53 = lean_alloc_ctor(1, 2, 0); @@ -7080,13 +7427,13 @@ x_55 = lean_ctor_get(x_4, 1); lean_inc(x_55); lean_inc(x_54); lean_dec(x_4); -x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_57 = 1; lean_inc(x_1); x_58 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_57); x_59 = lean_string_append(x_56, x_58); lean_dec_ref(x_58); -x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_61 = lean_string_append(x_59, x_60); x_62 = lean_unbox(x_54); lean_dec(x_54); @@ -7095,7 +7442,7 @@ if (x_62 == 0) lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec_ref(x_2); lean_dec(x_1); -x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_64 = lean_string_append(x_61, x_63); x_65 = lean_mk_io_user_error(x_64); x_66 = lean_alloc_ctor(1, 2, 0); @@ -7106,7 +7453,7 @@ return x_66; else { 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_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_68 = lean_st_ref_get(x_67, x_55); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -7120,7 +7467,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_71 = lean_box(0); } -x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); +x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); 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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; @@ -7134,7 +7481,7 @@ lean_inc(x_75); lean_dec_ref(x_73); lean_inc(x_1); x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); +x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); x_78 = lean_st_ref_set(x_67, x_77, x_75); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); @@ -7162,7 +7509,7 @@ else lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec_ref(x_2); lean_dec(x_1); -x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_84 = lean_string_append(x_61, x_83); x_85 = lean_mk_io_user_error(x_84); if (lean_is_scalar(x_71)) { @@ -7217,8 +7564,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_616148837____hygCtx___hyg_2_; -x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -7300,7 +7647,7 @@ if (lean_is_exclusive(x_10)) { lean_dec_ref(x_10); x_14 = lean_box(0); } -x_15 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_15, 0, x_13); if (lean_obj_tag(x_8) == 0) { @@ -7396,7 +7743,7 @@ _start: { lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_6, 0); -x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -7405,7 +7752,7 @@ lean_dec(x_5); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec(x_1); -x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -7438,17 +7785,17 @@ x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); lean_dec_ref(x_17); x_19 = 3; -x_20 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_20 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_21 = 1; x_22 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_21); x_23 = lean_string_append(x_20, x_22); lean_dec_ref(x_22); -x_24 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_24 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_25 = lean_string_append(x_23, x_24); x_26 = l_Lean_Json_compress(x_5); x_27 = lean_string_append(x_25, x_26); lean_dec_ref(x_26); -x_28 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_28 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_29 = lean_string_append(x_27, x_28); x_30 = lean_string_append(x_29, x_18); lean_dec(x_18); @@ -7530,17 +7877,17 @@ x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); lean_dec_ref(x_43); x_45 = 3; -x_46 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_46 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_47 = 1; x_48 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_47); x_49 = lean_string_append(x_46, x_48); lean_dec_ref(x_48); -x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_51 = lean_string_append(x_49, x_50); x_52 = l_Lean_Json_compress(x_5); x_53 = lean_string_append(x_51, x_52); lean_dec_ref(x_52); -x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_55 = lean_string_append(x_53, x_54); x_56 = lean_string_append(x_55, x_44); lean_dec(x_44); @@ -7634,13 +7981,13 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_9 = 1; lean_inc(x_1); x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_9); x_11 = lean_string_append(x_8, x_10); lean_dec_ref(x_10); -x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_13 = lean_string_append(x_11, x_12); x_14 = lean_unbox(x_6); lean_dec(x_6); @@ -7649,7 +7996,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec_ref(x_2); lean_dec(x_1); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_16 = lean_string_append(x_13, x_15); x_17 = lean_mk_io_user_error(x_16); lean_ctor_set_tag(x_4, 1); @@ -7660,7 +8007,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_free_object(x_4); -x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_19 = lean_st_ref_get(x_18, x_7); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) @@ -7668,7 +8015,7 @@ 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 = lean_ctor_get(x_19, 1); -x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); +x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); if (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; uint8_t x_30; @@ -7682,7 +8029,7 @@ lean_inc(x_26); lean_dec_ref(x_24); lean_inc(x_1); x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); +x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); x_29 = lean_st_ref_set(x_18, x_28, x_26); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -7708,7 +8055,7 @@ else lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec_ref(x_2); lean_dec(x_1); -x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_35 = lean_string_append(x_13, x_34); x_36 = lean_mk_io_user_error(x_35); lean_ctor_set_tag(x_19, 1); @@ -7724,7 +8071,7 @@ x_38 = lean_ctor_get(x_19, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_19); -x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); +x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); 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; @@ -7737,7 +8084,7 @@ lean_inc(x_42); lean_dec_ref(x_40); lean_inc(x_1); x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); +x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); x_45 = lean_st_ref_set(x_18, x_44, x_42); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -7765,7 +8112,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec_ref(x_2); lean_dec(x_1); -x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_51 = lean_string_append(x_13, x_50); x_52 = lean_mk_io_user_error(x_51); x_53 = lean_alloc_ctor(1, 2, 0); @@ -7784,13 +8131,13 @@ x_55 = lean_ctor_get(x_4, 1); lean_inc(x_55); lean_inc(x_54); lean_dec(x_4); -x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_57 = 1; lean_inc(x_1); x_58 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_57); x_59 = lean_string_append(x_56, x_58); lean_dec_ref(x_58); -x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_61 = lean_string_append(x_59, x_60); x_62 = lean_unbox(x_54); lean_dec(x_54); @@ -7799,7 +8146,7 @@ if (x_62 == 0) lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec_ref(x_2); lean_dec(x_1); -x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_64 = lean_string_append(x_61, x_63); x_65 = lean_mk_io_user_error(x_64); x_66 = lean_alloc_ctor(1, 2, 0); @@ -7810,7 +8157,7 @@ return x_66; else { 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_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_68 = lean_st_ref_get(x_67, x_55); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -7824,7 +8171,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_71 = lean_box(0); } -x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); +x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); 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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; @@ -7838,7 +8185,7 @@ lean_inc(x_75); lean_dec_ref(x_73); lean_inc(x_1); x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); +x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); x_78 = lean_st_ref_set(x_67, x_77, x_75); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); @@ -7866,7 +8213,7 @@ else lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec_ref(x_2); lean_dec(x_1); -x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_84 = lean_string_append(x_61, x_83); x_85 = lean_mk_io_user_error(x_84); if (lean_is_scalar(x_71)) { @@ -7921,8 +8268,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3220324137____hygCtx___hyg_2_; -x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -8099,8 +8446,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Widget_instFromJsonGetInteractiveDiagnosticsParams_fromJson___closed__1; -x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -8858,7 +9205,7 @@ 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; uint8_t x_25; x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_19, 0, x_13); x_20 = l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_18); lean_ctor_set(x_16, 0, x_20); @@ -8898,7 +9245,7 @@ x_30 = lean_ctor_get(x_16, 1); lean_inc(x_30); lean_inc(x_29); lean_dec(x_16); -x_31 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_31, 0, x_13); x_32 = l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_29); x_33 = lean_alloc_ctor(0, 2, 0); @@ -8938,7 +9285,7 @@ _start: { lean_object* x_8; lean_object* x_9; x_8 = lean_ctor_get(x_6, 0); -x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); if (lean_obj_tag(x_9) == 0) { lean_object* x_10; lean_object* x_11; @@ -8947,7 +9294,7 @@ lean_dec(x_5); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec(x_1); -x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -8982,17 +9329,17 @@ x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); lean_dec_ref(x_18); x_20 = 3; -x_21 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_21 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_22 = 1; x_23 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_22); x_24 = lean_string_append(x_21, x_23); lean_dec_ref(x_23); -x_25 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_25 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_26 = lean_string_append(x_24, x_25); x_27 = l_Lean_Json_compress(x_5); x_28 = lean_string_append(x_26, x_27); lean_dec_ref(x_27); -x_29 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_29 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_30 = lean_string_append(x_28, x_29); x_31 = lean_string_append(x_30, x_19); lean_dec(x_19); @@ -9079,17 +9426,17 @@ x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); lean_dec_ref(x_46); x_48 = 3; -x_49 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_49 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_50 = 1; x_51 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_50); x_52 = lean_string_append(x_49, x_51); lean_dec_ref(x_51); -x_53 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_53 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_54 = lean_string_append(x_52, x_53); x_55 = l_Lean_Json_compress(x_5); x_56 = lean_string_append(x_54, x_55); lean_dec_ref(x_55); -x_57 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_57 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_58 = lean_string_append(x_56, x_57); x_59 = lean_string_append(x_58, x_47); lean_dec(x_47); @@ -9183,13 +9530,13 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_9 = 1; lean_inc(x_1); x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_9); x_11 = lean_string_append(x_8, x_10); lean_dec_ref(x_10); -x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_13 = lean_string_append(x_11, x_12); x_14 = lean_unbox(x_6); lean_dec(x_6); @@ -9198,7 +9545,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec_ref(x_2); lean_dec(x_1); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_16 = lean_string_append(x_13, x_15); x_17 = lean_mk_io_user_error(x_16); lean_ctor_set_tag(x_4, 1); @@ -9209,7 +9556,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_free_object(x_4); -x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_19 = lean_st_ref_get(x_18, x_7); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) @@ -9217,7 +9564,7 @@ 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 = lean_ctor_get(x_19, 1); -x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); +x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); if (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; uint8_t x_30; @@ -9231,7 +9578,7 @@ lean_inc(x_26); lean_dec_ref(x_24); lean_inc(x_1); x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1(x_1, x_2); -x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); +x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); x_29 = lean_st_ref_set(x_18, x_28, x_26); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -9257,7 +9604,7 @@ else lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec_ref(x_2); lean_dec(x_1); -x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_35 = lean_string_append(x_13, x_34); x_36 = lean_mk_io_user_error(x_35); lean_ctor_set_tag(x_19, 1); @@ -9273,7 +9620,7 @@ x_38 = lean_ctor_get(x_19, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_19); -x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); +x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); 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; @@ -9286,7 +9633,7 @@ lean_inc(x_42); lean_dec_ref(x_40); lean_inc(x_1); x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1(x_1, x_2); -x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); +x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); x_45 = lean_st_ref_set(x_18, x_44, x_42); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -9314,7 +9661,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec_ref(x_2); lean_dec(x_1); -x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_51 = lean_string_append(x_13, x_50); x_52 = lean_mk_io_user_error(x_51); x_53 = lean_alloc_ctor(1, 2, 0); @@ -9333,13 +9680,13 @@ x_55 = lean_ctor_get(x_4, 1); lean_inc(x_55); lean_inc(x_54); lean_dec(x_4); -x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_57 = 1; lean_inc(x_1); x_58 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_57); x_59 = lean_string_append(x_56, x_58); lean_dec_ref(x_58); -x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_61 = lean_string_append(x_59, x_60); x_62 = lean_unbox(x_54); lean_dec(x_54); @@ -9348,7 +9695,7 @@ if (x_62 == 0) lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec_ref(x_2); lean_dec(x_1); -x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_64 = lean_string_append(x_61, x_63); x_65 = lean_mk_io_user_error(x_64); x_66 = lean_alloc_ctor(1, 2, 0); @@ -9359,7 +9706,7 @@ return x_66; else { 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_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_68 = lean_st_ref_get(x_67, x_55); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -9373,7 +9720,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_71 = lean_box(0); } -x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); +x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); 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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; @@ -9387,7 +9734,7 @@ lean_inc(x_75); lean_dec_ref(x_73); lean_inc(x_1); x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1(x_1, x_2); -x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); +x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); x_78 = lean_st_ref_set(x_67, x_77, x_75); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); @@ -9415,7 +9762,7 @@ else lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec_ref(x_2); lean_dec(x_1); -x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_84 = lean_string_append(x_61, x_83); x_85 = lean_mk_io_user_error(x_84); if (lean_is_scalar(x_71)) { @@ -10038,8 +10385,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2_; -x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -10292,8 +10639,8 @@ 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; size_t x_15; size_t x_16; lean_object* x_17; x_7 = lean_array_uget(x_3, x_2); -x_8 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; -x_9 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_8, x_7, x_4); +x_8 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; +x_9 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_8, x_7, x_4); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_9, 1); @@ -10301,7 +10648,7 @@ lean_inc(x_11); lean_dec_ref(x_9); x_12 = lean_unsigned_to_nat(0u); x_13 = lean_array_uset(x_3, x_2, x_12); -x_14 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_10); +x_14 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_10); x_15 = 1; x_16 = lean_usize_add(x_2, x_15); x_17 = lean_array_uset(x_13, x_2, x_14); @@ -10352,7 +10699,7 @@ 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; uint8_t x_25; x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_19, 0, x_13); x_20 = l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_18); lean_ctor_set(x_16, 0, x_20); @@ -10392,7 +10739,7 @@ x_30 = lean_ctor_get(x_16, 1); lean_inc(x_30); lean_inc(x_29); lean_dec(x_16); -x_31 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); lean_closure_set(x_31, 0, x_13); x_32 = l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_29); x_33 = lean_alloc_ctor(0, 2, 0); @@ -10432,7 +10779,7 @@ _start: { lean_object* x_9; lean_object* x_10; x_9 = lean_ctor_get(x_7, 0); -x_10 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_9, x_5); +x_10 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_9, x_5); if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; @@ -10442,7 +10789,7 @@ lean_dec_ref(x_4); lean_dec_ref(x_3); lean_dec(x_2); lean_dec(x_1); -x_11 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +x_11 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; x_12 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_8); @@ -10477,17 +10824,17 @@ x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); lean_dec_ref(x_19); x_21 = 3; -x_22 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_22 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_23 = 1; x_24 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_23); x_25 = lean_string_append(x_22, x_24); lean_dec_ref(x_24); -x_26 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_26 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_27 = lean_string_append(x_25, x_26); x_28 = l_Lean_Json_compress(x_6); x_29 = lean_string_append(x_27, x_28); lean_dec_ref(x_28); -x_30 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_30 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_31 = lean_string_append(x_29, x_30); x_32 = lean_string_append(x_31, x_20); lean_dec(x_20); @@ -10574,17 +10921,17 @@ x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); lean_dec_ref(x_47); x_49 = 3; -x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_50 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; x_51 = 1; x_52 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_2, x_51); x_53 = lean_string_append(x_50, x_52); lean_dec_ref(x_52); -x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_54 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; x_55 = lean_string_append(x_53, x_54); x_56 = l_Lean_Json_compress(x_6); x_57 = lean_string_append(x_55, x_56); lean_dec_ref(x_56); -x_58 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_58 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; x_59 = lean_string_append(x_57, x_58); x_60 = lean_string_append(x_59, x_48); lean_dec(x_48); @@ -10688,13 +11035,13 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_9 = 1; lean_inc(x_1); x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_9); x_11 = lean_string_append(x_8, x_10); lean_dec_ref(x_10); -x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_13 = lean_string_append(x_11, x_12); x_14 = lean_unbox(x_6); lean_dec(x_6); @@ -10703,7 +11050,7 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec_ref(x_2); lean_dec(x_1); -x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_16 = lean_string_append(x_13, x_15); x_17 = lean_mk_io_user_error(x_16); lean_ctor_set_tag(x_4, 1); @@ -10714,7 +11061,7 @@ else { lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_free_object(x_4); -x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_19 = lean_st_ref_get(x_18, x_7); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) @@ -10722,7 +11069,7 @@ 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 = lean_ctor_get(x_19, 1); -x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); +x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); if (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; uint8_t x_30; @@ -10736,7 +11083,7 @@ lean_inc(x_26); lean_dec_ref(x_24); lean_inc(x_1); x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); +x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); x_29 = lean_st_ref_set(x_18, x_28, x_26); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) @@ -10762,7 +11109,7 @@ else lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_dec_ref(x_2); lean_dec(x_1); -x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_35 = lean_string_append(x_13, x_34); x_36 = lean_mk_io_user_error(x_35); lean_ctor_set_tag(x_19, 1); @@ -10778,7 +11125,7 @@ x_38 = lean_ctor_get(x_19, 1); lean_inc(x_38); lean_inc(x_37); lean_dec(x_19); -x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); +x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); 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; @@ -10791,7 +11138,7 @@ lean_inc(x_42); lean_dec_ref(x_40); lean_inc(x_1); x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); +x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); x_45 = lean_st_ref_set(x_18, x_44, x_42); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); @@ -10819,7 +11166,7 @@ else lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec_ref(x_2); lean_dec(x_1); -x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_51 = lean_string_append(x_13, x_50); x_52 = lean_mk_io_user_error(x_51); x_53 = lean_alloc_ctor(1, 2, 0); @@ -10838,13 +11185,13 @@ x_55 = lean_ctor_get(x_4, 1); lean_inc(x_55); lean_inc(x_54); lean_dec(x_4); -x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0; +x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; x_57 = 1; lean_inc(x_1); x_58 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_57); x_59 = lean_string_append(x_56, x_58); lean_dec_ref(x_58); -x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1; +x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; x_61 = lean_string_append(x_59, x_60); x_62 = lean_unbox(x_54); lean_dec(x_54); @@ -10853,7 +11200,7 @@ if (x_62 == 0) lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_dec_ref(x_2); lean_dec(x_1); -x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2; +x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; x_64 = lean_string_append(x_61, x_63); x_65 = lean_mk_io_user_error(x_64); x_66 = lean_alloc_ctor(1, 2, 0); @@ -10864,7 +11211,7 @@ return x_66; else { 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_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3; +x_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; x_68 = lean_st_ref_get(x_67, x_55); x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); @@ -10878,7 +11225,7 @@ if (lean_is_exclusive(x_68)) { lean_dec_ref(x_68); x_71 = lean_box(0); } -x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); +x_72 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); 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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; @@ -10892,7 +11239,7 @@ lean_inc(x_75); lean_dec_ref(x_73); lean_inc(x_1); x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); -x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); +x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); x_78 = lean_st_ref_set(x_67, x_77, x_75); x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); @@ -10920,7 +11267,7 @@ else lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_dec_ref(x_2); lean_dec(x_1); -x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4; +x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; x_84 = lean_string_append(x_61, x_83); x_85 = lean_mk_io_user_error(x_84); if (lean_is_scalar(x_71)) { @@ -10975,8 +11322,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2_; -x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; -x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } @@ -11031,6 +11378,11045 @@ x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedu return x_10; } } +static lean_object* _init_l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_12; uint8_t x_13; uint8_t x_14; +x_12 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___closed__0; +x_13 = lean_int_dec_le(x_12, x_5); +if (x_13 == 0) +{ +x_6 = x_13; +goto block_11; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = l_Int_toNat(x_5); +x_19 = lean_byte_array_size(x_2); +x_20 = lean_nat_dec_lt(x_18, x_19); +lean_dec(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_18); +x_21 = lean_box(x_4); +x_22 = l_outOfBounds___redArg(x_21); +x_23 = lean_unbox(x_22); +x_14 = x_23; +goto block_17; +} +else +{ +uint8_t x_24; +x_24 = lean_byte_array_fget(x_2, x_18); +lean_dec(x_18); +x_14 = x_24; +goto block_17; +} +} +block_11: +{ +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Int_instInhabited; +x_8 = l_Int_toNat(x_5); +lean_dec(x_5); +x_9 = lean_array_get_borrowed(x_7, x_1, x_8); +lean_dec(x_8); +lean_inc(x_9); +x_5 = x_9; +goto _start; +} +} +block_17: +{ +uint8_t x_15; uint8_t x_16; +x_15 = lean_byte_array_fget(x_2, x_3); +x_16 = lean_uint8_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +x_6 = x_13; +goto block_11; +} +else +{ +return x_5; +} +} +} +} +static lean_object* _init_l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___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___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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) { +_start: +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +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; uint8_t x_18; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +x_10 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_11 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0(x_9, x_1, x_6, x_2, x_8); +x_12 = lean_int_add(x_11, x_3); +lean_dec(x_11); +lean_inc(x_12); +x_13 = lean_array_push(x_9, x_12); +lean_ctor_set(x_5, 1, x_13); +lean_ctor_set(x_5, 0, x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_6, x_14); +lean_dec(x_6); +x_16 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_10); +lean_inc(x_15); +lean_inc(x_4); +x_17 = lean_apply_2(x_16, x_4, x_15); +x_18 = lean_unbox(x_17); +if (x_18 == 0) +{ +lean_dec(x_15); +lean_dec(x_4); +return x_5; +} +else +{ +x_6 = x_15; +goto _start; +} +} +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; 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_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 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_23 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0(x_21, x_1, x_6, x_2, x_20); +x_24 = lean_int_add(x_23, x_3); +lean_dec(x_23); +lean_inc(x_24); +x_25 = lean_array_push(x_21, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_6, x_27); +lean_dec(x_6); +x_29 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_22); +lean_inc(x_28); +lean_inc(x_4); +x_30 = lean_apply_2(x_29, x_4, x_28); +x_31 = lean_unbox(x_30); +if (x_31 == 0) +{ +lean_dec(x_28); +lean_dec(x_4); +return x_26; +} +else +{ +x_5 = x_26; +x_6 = x_28; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1(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) { +_start: +{ +lean_object* x_14; +x_14 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___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_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1___redArg(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) { +_start: +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +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; uint8_t x_20; +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_ctor_get(x_7, 1); +x_12 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_13 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0(x_11, x_1, x_8, x_2, x_10); +x_14 = lean_int_add(x_13, x_3); +lean_dec(x_13); +lean_inc(x_14); +x_15 = lean_array_push(x_11, x_14); +lean_ctor_set(x_7, 1, x_15); +lean_ctor_set(x_7, 0, x_14); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_add(x_8, x_16); +x_18 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_12); +lean_inc(x_17); +lean_inc(x_5); +x_19 = lean_apply_2(x_18, x_5, x_17); +x_20 = lean_unbox(x_19); +if (x_20 == 0) +{ +lean_dec(x_17); +lean_dec(x_5); +return x_7; +} +else +{ +lean_object* x_21; +x_21 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg(x_1, x_2, x_3, x_5, x_7, x_17); +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; lean_object* x_32; uint8_t x_33; +x_22 = lean_ctor_get(x_7, 0); +x_23 = lean_ctor_get(x_7, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_7); +x_24 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_25 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0(x_23, x_1, x_8, x_2, x_22); +x_26 = lean_int_add(x_25, x_3); +lean_dec(x_25); +lean_inc(x_26); +x_27 = lean_array_push(x_23, x_26); +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_unsigned_to_nat(1u); +x_30 = lean_nat_add(x_8, x_29); +x_31 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_24); +lean_inc(x_30); +lean_inc(x_5); +x_32 = lean_apply_2(x_31, x_5, x_30); +x_33 = lean_unbox(x_32); +if (x_33 == 0) +{ +lean_dec(x_30); +lean_dec(x_5); +return x_28; +} +else +{ +lean_object* x_34; +x_34 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg(x_1, x_2, x_3, x_5, x_28, x_30); +return x_34; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1(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) { +_start: +{ +lean_object* x_14; +x_14 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1___redArg(x_1, x_2, x_3, x_4, x_8, x_9, x_10, x_11); +return x_14; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0; +x_2 = lean_int_neg(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable(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; uint8_t x_11; +x_2 = lean_byte_array_size(x_1); +x_3 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_mk_empty_array_with_capacity(x_2); +x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0; +x_7 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__1; +x_8 = lean_array_push(x_5, x_7); +x_9 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_3); +lean_inc(x_2); +x_10 = lean_apply_2(x_9, x_2, x_4); +x_11 = lean_unbox(x_10); +if (x_11 == 0) +{ +lean_dec(x_2); +return x_8; +} +else +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l_instInhabitedUInt8; +x_13 = 0; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_8); +x_15 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1___redArg(x_1, x_12, x_6, x_13, x_2, x_4, x_14, x_4); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec_ref(x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__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_4); +x_7 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0(x_1, x_2, x_3, x_6, x_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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) { +_start: +{ +uint8_t x_7; lean_object* x_8; +x_7 = lean_unbox(x_2); +x_8 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg(x_1, x_7, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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: +{ +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); +x_15 = lean_unbox(x_4); +x_16 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1(x_1, x_14, x_3, x_15, 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_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_2); +x_10 = lean_unbox(x_4); +x_11 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1___redArg(x_1, x_9, x_3, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_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: +{ +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); +x_15 = lean_unbox(x_4); +x_16 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1(x_1, x_14, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__0(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___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__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, uint8_t x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; uint8_t x_15; +x_15 = lean_int_dec_le(x_2, x_8); +if (x_15 == 0) +{ +x_9 = x_15; +goto block_14; +} +else +{ +uint8_t x_16; uint8_t x_17; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_16 = lean_byte_array_fget(x_3, x_4); +x_20 = l_Int_toNat(x_8); +x_21 = lean_byte_array_size(x_6); +x_22 = lean_nat_dec_lt(x_20, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_20); +x_23 = lean_box(x_7); +x_24 = l_outOfBounds___redArg(x_23); +x_25 = lean_unbox(x_24); +x_17 = x_25; +goto block_19; +} +else +{ +uint8_t x_26; +x_26 = lean_byte_array_fget(x_6, x_20); +lean_dec(x_20); +x_17 = x_26; +goto block_19; +} +block_19: +{ +uint8_t x_18; +x_18 = lean_uint8_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +x_9 = x_15; +goto block_14; +} +else +{ +x_9 = x_5; +goto block_14; +} +} +} +block_14: +{ +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = l_Int_instInhabited; +x_11 = l_Int_toNat(x_8); +lean_dec(x_8); +x_12 = lean_array_get_borrowed(x_10, x_1, x_11); +lean_dec(x_11); +lean_inc(x_12); +x_8 = x_12; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Nat_cast___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, uint8_t 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_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 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_11 = lean_ctor_get(x_8, 0); +x_12 = lean_ctor_get(x_8, 1); +x_13 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_22 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__1(x_1, x_2, x_3, x_9, x_4, x_5, x_6, x_11); +x_23 = lean_unsigned_to_nat(1u); +x_24 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0; +x_25 = lean_int_add(x_22, x_24); +lean_dec(x_22); +x_26 = lean_byte_array_size(x_5); +lean_inc(x_26); +x_27 = lean_nat_to_int(x_26); +x_28 = lean_int_dec_eq(x_25, x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_dec(x_26); +lean_ctor_set(x_8, 0, x_25); +x_14 = x_8; +goto block_21; +} +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; +x_29 = lean_nat_add(x_9, x_23); +x_30 = lean_nat_sub(x_29, x_26); +lean_dec(x_26); +lean_dec(x_29); +x_31 = lean_array_push(x_12, x_30); +x_32 = l_Int_instInhabited; +x_33 = l_Int_toNat(x_25); +lean_dec(x_25); +x_34 = lean_array_get_borrowed(x_32, x_1, x_33); +lean_dec(x_33); +lean_inc(x_34); +lean_ctor_set(x_8, 1, x_31); +lean_ctor_set(x_8, 0, x_34); +x_14 = x_8; +goto block_21; +} +block_21: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_9, x_15); +lean_dec(x_9); +x_17 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_13); +lean_inc(x_16); +lean_inc(x_7); +x_18 = lean_apply_2(x_17, x_7, x_16); +x_19 = lean_unbox(x_18); +if (x_19 == 0) +{ +lean_dec(x_16); +lean_dec(x_7); +return x_14; +} +else +{ +x_8 = x_14; +x_9 = x_16; +goto _start; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 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_35 = lean_ctor_get(x_8, 0); +x_36 = lean_ctor_get(x_8, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_8); +x_37 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_46 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__1(x_1, x_2, x_3, x_9, x_4, x_5, x_6, x_35); +x_47 = lean_unsigned_to_nat(1u); +x_48 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0; +x_49 = lean_int_add(x_46, x_48); +lean_dec(x_46); +x_50 = lean_byte_array_size(x_5); +lean_inc(x_50); +x_51 = lean_nat_to_int(x_50); +x_52 = lean_int_dec_eq(x_49, x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +lean_dec(x_50); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_49); +lean_ctor_set(x_53, 1, x_36); +x_38 = x_53; +goto block_45; +} +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; +x_54 = lean_nat_add(x_9, x_47); +x_55 = lean_nat_sub(x_54, x_50); +lean_dec(x_50); +lean_dec(x_54); +x_56 = lean_array_push(x_36, x_55); +x_57 = l_Int_instInhabited; +x_58 = l_Int_toNat(x_49); +lean_dec(x_49); +x_59 = lean_array_get_borrowed(x_57, x_1, x_58); +lean_dec(x_58); +lean_inc(x_59); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_56); +x_38 = x_60; +goto block_45; +} +block_45: +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_unsigned_to_nat(1u); +x_40 = lean_nat_add(x_9, x_39); +lean_dec(x_9); +x_41 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_37); +lean_inc(x_40); +lean_inc(x_7); +x_42 = lean_apply_2(x_41, x_7, x_40); +x_43 = lean_unbox(x_42); +if (x_43 == 0) +{ +lean_dec(x_40); +lean_dec(x_7); +return x_38; +} +else +{ +x_8 = x_38; +x_9 = x_40; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* 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_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* 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) { +_start: +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 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_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_10, 1); +x_15 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_24 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__1(x_1, x_2, x_3, x_11, x_4, x_5, x_6, x_13); +x_25 = lean_unsigned_to_nat(1u); +x_26 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0; +x_27 = lean_int_add(x_24, x_26); +lean_dec(x_24); +x_28 = lean_byte_array_size(x_5); +lean_inc(x_28); +x_29 = lean_nat_to_int(x_28); +x_30 = lean_int_dec_eq(x_27, x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_dec(x_28); +lean_ctor_set(x_10, 0, x_27); +x_16 = x_10; +goto block_23; +} +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; +x_31 = lean_nat_add(x_11, x_25); +x_32 = lean_nat_sub(x_31, x_28); +lean_dec(x_28); +lean_dec(x_31); +x_33 = lean_array_push(x_14, x_32); +x_34 = l_Int_instInhabited; +x_35 = l_Int_toNat(x_27); +lean_dec(x_27); +x_36 = lean_array_get_borrowed(x_34, x_1, x_35); +lean_dec(x_35); +lean_inc(x_36); +lean_ctor_set(x_10, 1, x_33); +lean_ctor_set(x_10, 0, x_36); +x_16 = x_10; +goto block_23; +} +block_23: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_add(x_11, x_17); +x_19 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_15); +lean_inc(x_18); +lean_inc(x_8); +x_20 = lean_apply_2(x_19, x_8, x_18); +x_21 = lean_unbox(x_20); +if (x_21 == 0) +{ +lean_dec(x_18); +lean_dec(x_8); +return x_16; +} +else +{ +lean_object* x_22; +x_22 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_16, x_18); +return x_22; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 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_37 = lean_ctor_get(x_10, 0); +x_38 = lean_ctor_get(x_10, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_10); +x_39 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_48 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__1(x_1, x_2, x_3, x_11, x_4, x_5, x_6, x_37); +x_49 = lean_unsigned_to_nat(1u); +x_50 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0; +x_51 = lean_int_add(x_48, x_50); +lean_dec(x_48); +x_52 = lean_byte_array_size(x_5); +lean_inc(x_52); +x_53 = lean_nat_to_int(x_52); +x_54 = lean_int_dec_eq(x_51, x_53); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; +lean_dec(x_52); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_38); +x_40 = x_55; +goto block_47; +} +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; +x_56 = lean_nat_add(x_11, x_49); +x_57 = lean_nat_sub(x_56, x_52); +lean_dec(x_52); +lean_dec(x_56); +x_58 = lean_array_push(x_38, x_57); +x_59 = l_Int_instInhabited; +x_60 = l_Int_toNat(x_51); +lean_dec(x_51); +x_61 = lean_array_get_borrowed(x_59, x_1, x_60); +lean_dec(x_60); +lean_inc(x_61); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_58); +x_40 = x_62; +goto block_47; +} +block_47: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_nat_add(x_11, x_41); +x_43 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_39); +lean_inc(x_42); +lean_inc(x_8); +x_44 = lean_apply_2(x_43, x_8, x_42); +x_45 = lean_unbox(x_44); +if (x_45 == 0) +{ +lean_dec(x_42); +lean_dec(x_8); +return x_40; +} +else +{ +lean_object* x_46; +x_46 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_40, x_42); +return x_46; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* 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_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_13, x_14); +return x_17; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__0; +x_2 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___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; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_string_utf8_byte_size(x_1); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_8, x_9); +lean_dec(x_8); +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_string_to_utf8(x_2); +x_12 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_13 = lean_byte_array_size(x_11); +x_14 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__0; +x_15 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_12); +lean_inc(x_13); +x_16 = lean_apply_2(x_15, x_13, x_9); +x_17 = lean_unbox(x_16); +if (x_17 == 0) +{ +lean_dec(x_13); +lean_dec_ref(x_11); +x_3 = x_14; +goto block_7; +} +else +{ +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; +x_18 = l_instInhabitedUInt8; +x_19 = 0; +x_20 = lean_string_to_utf8(x_1); +x_21 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable(x_20); +x_22 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___closed__0; +x_23 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__1; +x_24 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3___redArg(x_21, x_22, x_11, x_10, x_20, x_18, x_19, x_13, x_9, x_23, x_9); +lean_dec_ref(x_20); +lean_dec_ref(x_11); +lean_dec_ref(x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec_ref(x_24); +x_3 = x_25; +goto block_7; +} +} +else +{ +lean_object* x_26; +x_26 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__0; +return x_26; +} +block_7: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_array_size(x_3); +x_5 = 0; +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__0(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__0(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_5); +x_10 = lean_unbox(x_7); +x_11 = l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__1(x_1, x_2, x_3, x_4, x_9, x_6, x_10, x_8); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_4); +x_11 = lean_unbox(x_6); +x_12 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3___redArg(x_1, x_2, x_3, x_10, x_5, x_11, x_7, x_8, x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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: +{ +uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_17 = lean_unbox(x_4); +x_18 = lean_unbox(x_6); +x_19 = lean_unbox(x_7); +x_20 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3_spec__3(x_1, x_2, x_3, x_17, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_12); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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: +{ +uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_12 = lean_unbox(x_4); +x_13 = lean_unbox(x_6); +x_14 = lean_unbox(x_7); +x_15 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3___redArg(x_1, x_2, x_3, x_12, x_5, x_13, x_14, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_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: +{ +uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_17 = lean_unbox(x_4); +x_18 = lean_unbox(x_6); +x_19 = lean_unbox(x_7); +x_20 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_spec__3(x_1, x_2, x_3, x_17, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_14); +lean_dec(x_12); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch(x_1, x_2); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_3; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch(x_1, x_2); +x_4 = l_Array_isEmpty___redArg(x_3); +lean_dec_ref(x_3); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = 1; +return x_5; +} +else +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains(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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_string_utf8_byte_size(x_1); +x_4 = lean_nat_add(x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos(x_1, x_2); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___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_object* x_5; +x_5 = lean_box(0); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_string_utf8_extract(x_1, x_2, x_3); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___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_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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, uint8_t 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; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_11 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos(x_1, x_2); +x_12 = lean_nat_sub(x_11, x_3); +lean_dec(x_11); +x_13 = lean_string_utf8_extract(x_4, x_5, x_12); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_6); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_array_push(x_9, x_15); +x_17 = 1; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_box(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); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_11, 1); +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; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_ctor_get(x_13, 1); +x_18 = lean_string_utf8_byte_size(x_1); +x_19 = lean_nat_dec_le(x_18, x_16); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_apply_1(x_2, x_8); +x_21 = lean_array_get_borrowed(x_3, x_4, x_20); +lean_dec(x_20); +x_22 = lean_nat_sub(x_21, x_5); +x_23 = lean_nat_dec_le(x_18, x_22); +lean_dec(x_18); +if (x_23 == 0) +{ +lean_object* x_24; +lean_free_object(x_13); +lean_free_object(x_11); +x_24 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_1, x_16, x_22); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_25 = lean_box(0); +x_26 = lean_unbox(x_15); +lean_dec(x_15); +x_27 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(x_6, x_21, x_5, x_1, x_22, x_7, x_26, x_16, x_17, x_25); +lean_dec(x_16); +lean_dec(x_22); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_24, 0); +lean_inc(x_28); +lean_dec_ref(x_24); +x_29 = lean_array_push(x_17, x_28); +x_30 = lean_box(0); +x_31 = lean_unbox(x_15); +lean_dec(x_15); +x_32 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(x_6, x_21, x_5, x_1, x_22, x_7, x_31, x_16, x_29, x_30); +lean_dec(x_16); +lean_dec(x_22); +return x_32; +} +} +else +{ +lean_object* x_33; +lean_dec(x_22); +lean_dec(x_7); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_11); +return x_33; +} +} +else +{ +lean_object* x_34; +lean_dec(x_18); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec_ref(x_2); +x_34 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_34, 0, x_11); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_11, 0); +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_string_utf8_byte_size(x_1); +x_39 = lean_nat_dec_le(x_38, x_36); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = lean_apply_1(x_2, x_8); +x_41 = lean_array_get_borrowed(x_3, x_4, x_40); +lean_dec(x_40); +x_42 = lean_nat_sub(x_41, x_5); +x_43 = lean_nat_dec_le(x_38, x_42); +lean_dec(x_38); +if (x_43 == 0) +{ +lean_object* x_44; +lean_free_object(x_11); +x_44 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_1, x_36, x_42); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_45 = lean_box(0); +x_46 = lean_unbox(x_35); +lean_dec(x_35); +x_47 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(x_6, x_41, x_5, x_1, x_42, x_7, x_46, x_36, x_37, x_45); +lean_dec(x_36); +lean_dec(x_42); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_44, 0); +lean_inc(x_48); +lean_dec_ref(x_44); +x_49 = lean_array_push(x_37, x_48); +x_50 = lean_box(0); +x_51 = lean_unbox(x_35); +lean_dec(x_35); +x_52 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(x_6, x_41, x_5, x_1, x_42, x_7, x_51, x_36, x_49, x_50); +lean_dec(x_36); +lean_dec(x_42); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; +lean_dec(x_42); +lean_dec(x_7); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_36); +lean_ctor_set(x_53, 1, x_37); +lean_ctor_set(x_11, 1, x_53); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_11); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_38); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec_ref(x_2); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_36); +lean_ctor_set(x_55, 1, x_37); +lean_ctor_set(x_11, 1, x_55); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_11); +return x_56; +} +} +} +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; uint8_t x_63; +x_57 = lean_ctor_get(x_11, 1); +x_58 = lean_ctor_get(x_11, 0); +lean_inc(x_57); +lean_inc(x_58); +lean_dec(x_11); +x_59 = lean_ctor_get(x_57, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_57, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_61 = x_57; +} else { + lean_dec_ref(x_57); + x_61 = lean_box(0); +} +x_62 = lean_string_utf8_byte_size(x_1); +x_63 = lean_nat_dec_le(x_62, x_59); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = lean_apply_1(x_2, x_8); +x_65 = lean_array_get_borrowed(x_3, x_4, x_64); +lean_dec(x_64); +x_66 = lean_nat_sub(x_65, x_5); +x_67 = lean_nat_dec_le(x_62, x_66); +lean_dec(x_62); +if (x_67 == 0) +{ +lean_object* x_68; +lean_dec(x_61); +x_68 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_1, x_59, x_66); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; uint8_t x_70; lean_object* x_71; +x_69 = lean_box(0); +x_70 = lean_unbox(x_58); +lean_dec(x_58); +x_71 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(x_6, x_65, x_5, x_1, x_66, x_7, x_70, x_59, x_60, x_69); +lean_dec(x_59); +lean_dec(x_66); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; +x_72 = lean_ctor_get(x_68, 0); +lean_inc(x_72); +lean_dec_ref(x_68); +x_73 = lean_array_push(x_60, x_72); +x_74 = lean_box(0); +x_75 = lean_unbox(x_58); +lean_dec(x_58); +x_76 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(x_6, x_65, x_5, x_1, x_66, x_7, x_75, x_59, x_73, x_74); +lean_dec(x_59); +lean_dec(x_66); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_66); +lean_dec(x_7); +if (lean_is_scalar(x_61)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_61; +} +lean_ctor_set(x_77, 0, x_59); +lean_ctor_set(x_77, 1, x_60); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_58); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_79, 0, x_78); +return x_79; +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_62); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec_ref(x_2); +if (lean_is_scalar(x_61)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_61; +} +lean_ctor_set(x_80, 0, x_59); +lean_ctor_set(x_80, 1, x_60); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_58); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_81); +return x_82; +} +} +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__1; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__5; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__4; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__3; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__2; +x_5 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__6; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___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; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10() { +_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_2 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10; +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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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: +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_53; uint8_t x_54; +x_28 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__9; +x_29 = l_Std_PRange_instUpwardEnumerableNat; +x_30 = lean_unsigned_to_nat(0u); +lean_inc_ref(x_1); +lean_inc_ref(x_3); +lean_inc_ref(x_2); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__1___boxed), 11, 7); +lean_closure_set(x_31, 0, x_2); +lean_closure_set(x_31, 1, x_6); +lean_closure_set(x_31, 2, x_30); +lean_closure_set(x_31, 3, x_3); +lean_closure_set(x_31, 4, x_5); +lean_closure_set(x_31, 5, x_1); +lean_closure_set(x_31, 6, x_4); +x_53 = lean_string_utf8_byte_size(x_1); +lean_dec_ref(x_1); +x_54 = lean_nat_dec_eq(x_53, x_30); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; +x_55 = lean_string_utf8_byte_size(x_2); +x_56 = lean_nat_dec_eq(x_55, x_30); +lean_dec(x_55); +x_32 = x_56; +goto block_52; +} +else +{ +x_32 = x_54; +goto block_52; +} +block_18: +{ +if (x_7 == 0) +{ +lean_object* x_10; +lean_dec_ref(x_9); +lean_dec(x_8); +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_array_get_size(x_9); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_8); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_9); +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; +x_16 = lean_array_fget(x_9, x_8); +lean_dec(x_8); +lean_dec_ref(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +} +block_27: +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_string_utf8_byte_size(x_2); +x_24 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_2, x_21, x_23); +lean_dec(x_23); +lean_dec(x_21); +lean_dec_ref(x_2); +if (lean_obj_tag(x_24) == 0) +{ +x_7 = x_20; +x_8 = x_19; +x_9 = x_22; +goto block_18; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec_ref(x_24); +x_26 = lean_array_push(x_22, x_25); +x_7 = x_20; +x_8 = x_19; +x_9 = x_26; +goto block_18; +} +} +block_52: +{ +if (x_32 == 0) +{ +uint8_t x_33; +x_33 = l_Array_isEmpty___redArg(x_3); +if (x_33 == 0) +{ +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 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_35 = lean_array_get_size(x_3); +lean_dec_ref(x_3); +x_36 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10; +x_37 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_34); +lean_inc(x_35); +x_38 = lean_apply_2(x_37, x_35, x_30); +x_39 = lean_unbox(x_38); +if (x_39 == 0) +{ +lean_dec(x_35); +lean_dec_ref(x_31); +x_19 = x_30; +x_20 = x_33; +x_21 = x_30; +x_22 = x_36; +goto block_27; +} +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; uint8_t x_49; +x_40 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__11; +x_41 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__12; +x_42 = lean_box(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); +x_44 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___redArg(x_29, x_40, x_28, x_35, x_43, x_31, x_30); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec_ref(x_44); +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_unbox(x_46); +lean_dec(x_46); +x_19 = x_30; +x_20 = x_49; +x_21 = x_47; +x_22 = x_48; +goto block_27; +} +} +else +{ +lean_object* x_50; +lean_dec_ref(x_31); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_50 = lean_box(0); +return x_50; +} +} +else +{ +lean_object* x_51; +lean_dec_ref(x_31); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_51 = lean_box(0); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_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: +{ +lean_object* x_8; +x_8 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg(x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_7); +x_12 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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_12; +x_12 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___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); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___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_apply_1(x_1, x_2); +x_5 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___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; +x_4 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg___lam__0___boxed), 3, 1); +lean_closure_set(x_4, 0, x_3); +x_5 = l_Lean_Widget_TaggedText_rewrite___redArg(x_4, x_2); +x_6 = l_Lean_Widget_TaggedText_stripTags___redArg(x_5); +x_7 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch(x_1, x_6); +lean_dec_ref(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg___lam__0(x_1, x_2, x_3); +lean_dec_ref(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___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_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches(x_1, x_2, x_3, x_4); +lean_dec_ref(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_TaggedTextHighlightState_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_TaggedTextHighlightState_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_TaggedTextHighlightState_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_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; lean_object* x_9; 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_8 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_17 = lean_nat_sub(x_1, x_7); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_17, x_18); +lean_dec(x_17); +lean_inc(x_2); +x_20 = lean_array_get_borrowed(x_2, x_6, x_19); +lean_dec(x_19); +x_21 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos(x_3, x_20); +x_22 = lean_nat_dec_le(x_21, x_4); +lean_dec(x_21); +if (x_22 == 0) +{ +x_9 = x_6; +goto block_16; +} +else +{ +lean_object* x_23; +x_23 = lean_array_pop(x_6); +x_9 = x_23; +goto block_16; +} +block_16: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_7, x_10); +lean_dec(x_7); +x_12 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_8); +lean_inc(x_11); +lean_inc(x_5); +x_13 = lean_apply_2(x_12, x_5, x_11); +x_14 = lean_unbox(x_13); +if (x_14 == 0) +{ +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_2); +return x_9; +} +else +{ +x_6 = x_9; +x_7 = x_11; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__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_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__0___redArg(x_1, x_2, x_3, x_4, x_9, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches(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; uint8_t x_9; +x_4 = lean_array_get_size(x_2); +x_5 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_5); +lean_inc(x_4); +x_8 = lean_apply_2(x_7, x_4, x_6); +x_9 = lean_unbox(x_8); +if (x_9 == 0) +{ +lean_dec(x_4); +return x_2; +} +else +{ +lean_object* x_10; +lean_inc(x_4); +x_10 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__0___redArg(x_4, x_6, x_1, x_3, x_4, x_2, x_6); +lean_dec(x_4); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_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: +{ +lean_object* x_8; +x_8 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_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; lean_object* x_16; +x_15 = lean_unbox(x_5); +x_16 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches_spec__0(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_10); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateState(lean_object* x_1, uint8_t 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; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +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_uint8(x_3, sizeof(void*)*3); +x_9 = lean_box(0); +x_10 = lean_string_utf8_byte_size(x_1); +x_11 = lean_nat_add(x_7, x_10); +lean_dec(x_10); +lean_dec(x_7); +x_12 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches(x_5, x_6, x_11); +if (x_8 == 0) +{ +lean_object* x_13; +lean_ctor_set(x_3, 2, x_11); +lean_ctor_set(x_3, 1, x_12); +lean_ctor_set_uint8(x_3, sizeof(void*)*3, x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; +lean_ctor_set(x_3, 2, x_11); +lean_ctor_set(x_3, 1, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_9); +lean_ctor_set(x_14, 1, x_3); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_15 = lean_ctor_get(x_3, 0); +x_16 = lean_ctor_get(x_3, 1); +x_17 = lean_ctor_get(x_3, 2); +x_18 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_3); +x_19 = lean_box(0); +x_20 = lean_string_utf8_byte_size(x_1); +x_21 = lean_nat_add(x_17, x_20); +lean_dec(x_20); +lean_dec(x_17); +x_22 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateMatches(x_15, x_16, x_21); +if (x_18 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_23, 0, x_15); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_21); +lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_2); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_19); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_21); +lean_ctor_set_uint8(x_25, sizeof(void*)*3, x_18); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateState___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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateState(x_1, x_4, x_3); +lean_dec_ref(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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, uint8_t 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; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_11 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_matchEndPos(x_1, x_2); +x_12 = lean_nat_sub(x_11, x_3); +lean_dec(x_11); +x_13 = lean_string_utf8_extract(x_4, x_5, x_12); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_15, 0, x_6); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_array_push(x_9, x_15); +x_17 = 1; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_box(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); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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: +{ +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_ctor_get(x_12, 1); +x_17 = lean_string_utf8_byte_size(x_1); +x_18 = lean_nat_dec_le(x_17, x_15); +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; uint8_t x_25; +x_19 = lean_array_get_size(x_2); +x_20 = lean_nat_sub(x_19, x_10); +lean_dec(x_19); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_20, x_21); +lean_dec(x_20); +lean_inc(x_3); +x_23 = lean_array_get_borrowed(x_3, x_4, x_22); +lean_dec(x_22); +x_24 = lean_nat_sub(x_23, x_5); +x_25 = lean_nat_dec_le(x_17, x_24); +lean_dec(x_17); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_35; +lean_free_object(x_12); +lean_free_object(x_9); +x_26 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_35 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_1, x_15, x_24); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; uint8_t x_37; lean_object* x_38; +x_36 = lean_box(0); +x_37 = lean_unbox(x_14); +lean_dec(x_14); +lean_inc(x_7); +x_38 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(x_6, x_23, x_5, x_1, x_24, x_7, x_37, x_15, x_16, x_36); +lean_dec(x_15); +lean_dec(x_24); +x_27 = x_38; +goto block_34; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_39 = lean_ctor_get(x_35, 0); +lean_inc(x_39); +lean_dec_ref(x_35); +x_40 = lean_array_push(x_16, x_39); +x_41 = lean_box(0); +x_42 = lean_unbox(x_14); +lean_dec(x_14); +lean_inc(x_7); +x_43 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(x_6, x_23, x_5, x_1, x_24, x_7, x_42, x_15, x_40, x_41); +lean_dec(x_15); +lean_dec(x_24); +x_27 = x_43; +goto block_34; +} +block_34: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +lean_dec_ref(x_27); +x_29 = lean_nat_add(x_10, x_21); +lean_dec(x_10); +x_30 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_26); +lean_inc(x_29); +lean_inc(x_8); +x_31 = lean_apply_2(x_30, x_8, x_29); +x_32 = lean_unbox(x_31); +if (x_32 == 0) +{ +lean_dec(x_29); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_28; +} +else +{ +x_9 = x_28; +x_10 = x_29; +goto _start; +} +} +} +else +{ +lean_dec(x_24); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_9; +} +} +else +{ +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_9; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_44 = lean_ctor_get(x_9, 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_string_utf8_byte_size(x_1); +x_48 = lean_nat_dec_le(x_47, x_45); +if (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; uint8_t x_55; +x_49 = lean_array_get_size(x_2); +x_50 = lean_nat_sub(x_49, x_10); +lean_dec(x_49); +x_51 = lean_unsigned_to_nat(1u); +x_52 = lean_nat_sub(x_50, x_51); +lean_dec(x_50); +lean_inc(x_3); +x_53 = lean_array_get_borrowed(x_3, x_4, x_52); +lean_dec(x_52); +x_54 = lean_nat_sub(x_53, x_5); +x_55 = lean_nat_dec_le(x_47, x_54); +lean_dec(x_47); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_65; +lean_free_object(x_9); +x_56 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_65 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_1, x_45, x_54); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; uint8_t x_67; lean_object* x_68; +x_66 = lean_box(0); +x_67 = lean_unbox(x_44); +lean_dec(x_44); +lean_inc(x_7); +x_68 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(x_6, x_53, x_5, x_1, x_54, x_7, x_67, x_45, x_46, x_66); +lean_dec(x_45); +lean_dec(x_54); +x_57 = x_68; +goto block_64; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; +x_69 = lean_ctor_get(x_65, 0); +lean_inc(x_69); +lean_dec_ref(x_65); +x_70 = lean_array_push(x_46, x_69); +x_71 = lean_box(0); +x_72 = lean_unbox(x_44); +lean_dec(x_44); +lean_inc(x_7); +x_73 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(x_6, x_53, x_5, x_1, x_54, x_7, x_72, x_45, x_70, x_71); +lean_dec(x_45); +lean_dec(x_54); +x_57 = x_73; +goto block_64; +} +block_64: +{ +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, 0); +lean_inc(x_58); +lean_dec_ref(x_57); +x_59 = lean_nat_add(x_10, x_51); +lean_dec(x_10); +x_60 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_56); +lean_inc(x_59); +lean_inc(x_8); +x_61 = lean_apply_2(x_60, x_8, x_59); +x_62 = lean_unbox(x_61); +if (x_62 == 0) +{ +lean_dec(x_59); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_58; +} +else +{ +x_9 = x_58; +x_10 = x_59; +goto _start; +} +} +} +else +{ +lean_object* x_74; +lean_dec(x_54); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_45); +lean_ctor_set(x_74, 1, x_46); +lean_ctor_set(x_9, 1, x_74); +return x_9; +} +} +else +{ +lean_object* x_75; +lean_dec(x_47); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_45); +lean_ctor_set(x_75, 1, x_46); +lean_ctor_set(x_9, 1, x_75); +return x_9; +} +} +} +else +{ +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; +x_76 = lean_ctor_get(x_9, 1); +x_77 = lean_ctor_get(x_9, 0); +lean_inc(x_76); +lean_inc(x_77); +lean_dec(x_9); +x_78 = lean_ctor_get(x_76, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_76, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_76)) { + lean_ctor_release(x_76, 0); + lean_ctor_release(x_76, 1); + x_80 = x_76; +} else { + lean_dec_ref(x_76); + x_80 = lean_box(0); +} +x_81 = lean_string_utf8_byte_size(x_1); +x_82 = lean_nat_dec_le(x_81, x_78); +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; uint8_t x_89; +x_83 = lean_array_get_size(x_2); +x_84 = lean_nat_sub(x_83, x_10); +lean_dec(x_83); +x_85 = lean_unsigned_to_nat(1u); +x_86 = lean_nat_sub(x_84, x_85); +lean_dec(x_84); +lean_inc(x_3); +x_87 = lean_array_get_borrowed(x_3, x_4, x_86); +lean_dec(x_86); +x_88 = lean_nat_sub(x_87, x_5); +x_89 = lean_nat_dec_le(x_81, x_88); +lean_dec(x_81); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_99; +lean_dec(x_80); +x_90 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_99 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_1, x_78, x_88); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; uint8_t x_101; lean_object* x_102; +x_100 = lean_box(0); +x_101 = lean_unbox(x_77); +lean_dec(x_77); +lean_inc(x_7); +x_102 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(x_6, x_87, x_5, x_1, x_88, x_7, x_101, x_78, x_79, x_100); +lean_dec(x_78); +lean_dec(x_88); +x_91 = x_102; +goto block_98; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; +x_103 = lean_ctor_get(x_99, 0); +lean_inc(x_103); +lean_dec_ref(x_99); +x_104 = lean_array_push(x_79, x_103); +x_105 = lean_box(0); +x_106 = lean_unbox(x_77); +lean_dec(x_77); +lean_inc(x_7); +x_107 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(x_6, x_87, x_5, x_1, x_88, x_7, x_106, x_78, x_104, x_105); +lean_dec(x_78); +lean_dec(x_88); +x_91 = x_107; +goto block_98; +} +block_98: +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +lean_dec_ref(x_91); +x_93 = lean_nat_add(x_10, x_85); +lean_dec(x_10); +x_94 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_90); +lean_inc(x_93); +lean_inc(x_8); +x_95 = lean_apply_2(x_94, x_8, x_93); +x_96 = lean_unbox(x_95); +if (x_96 == 0) +{ +lean_dec(x_93); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_92; +} +else +{ +x_9 = x_92; +x_10 = x_93; +goto _start; +} +} +} +else +{ +lean_object* x_108; lean_object* x_109; +lean_dec(x_88); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +if (lean_is_scalar(x_80)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_80; +} +lean_ctor_set(x_108, 0, x_78); +lean_ctor_set(x_108, 1, x_79); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_77); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +else +{ +lean_object* x_110; lean_object* x_111; +lean_dec(x_81); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +if (lean_is_scalar(x_80)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_80; +} +lean_ctor_set(x_110, 0, x_78); +lean_ctor_set(x_110, 1, x_79); +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_77); +lean_ctor_set(x_111, 1, x_110); +return x_111; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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, 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, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; +x_19 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_15, x_16); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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: +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_28; uint8_t x_29; lean_object* x_49; uint8_t x_50; +x_28 = lean_unsigned_to_nat(0u); +x_49 = lean_string_utf8_byte_size(x_2); +x_50 = lean_nat_dec_eq(x_49, x_28); +lean_dec(x_49); +if (x_50 == 0) +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_string_utf8_byte_size(x_3); +x_52 = lean_nat_dec_eq(x_51, x_28); +lean_dec(x_51); +x_29 = x_52; +goto block_48; +} +else +{ +x_29 = x_50; +goto block_48; +} +block_18: +{ +if (x_7 == 0) +{ +lean_object* x_10; +lean_dec_ref(x_9); +lean_dec(x_8); +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_array_get_size(x_9); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_8); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_9); +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; +x_16 = lean_array_fget(x_9, x_8); +lean_dec(x_8); +lean_dec_ref(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +} +block_27: +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_string_utf8_byte_size(x_3); +x_24 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f_nonMatch_x3f___redArg(x_3, x_21, x_23); +lean_dec(x_23); +lean_dec(x_21); +if (lean_obj_tag(x_24) == 0) +{ +x_7 = x_20; +x_8 = x_19; +x_9 = x_22; +goto block_18; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec_ref(x_24); +x_26 = lean_array_push(x_22, x_25); +x_7 = x_20; +x_8 = x_19; +x_9 = x_26; +goto block_18; +} +} +block_48: +{ +if (x_29 == 0) +{ +uint8_t x_30; +x_30 = l_Array_isEmpty___redArg(x_4); +if (x_30 == 0) +{ +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_31 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0; +x_32 = lean_array_get_size(x_4); +x_33 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10; +x_34 = l_Std_PRange_instSupportsUpperBoundOpenOfDecidableLT___redArg(x_31); +lean_inc(x_32); +x_35 = lean_apply_2(x_34, x_32, x_28); +x_36 = lean_unbox(x_35); +if (x_36 == 0) +{ +lean_dec(x_32); +lean_dec(x_5); +x_19 = x_28; +x_20 = x_30; +x_21 = x_28; +x_22 = x_33; +goto block_27; +} +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; uint8_t x_45; +x_37 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__12; +x_38 = lean_box(x_30); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg(x_3, x_1, x_28, x_4, x_6, x_2, x_5, x_32, x_39, x_28); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +lean_dec_ref(x_40); +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = lean_unbox(x_42); +lean_dec(x_42); +x_19 = x_28; +x_20 = x_45; +x_21 = x_43; +x_22 = x_44; +goto block_27; +} +} +else +{ +lean_object* x_46; +lean_dec(x_5); +x_46 = lean_box(0); +return x_46; +} +} +else +{ +lean_object* x_47; +lean_dec(x_5); +x_47 = lean_box(0); +return x_47; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0___redArg(x_1, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState___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; uint8_t x_8; +x_4 = lean_ctor_get(x_3, 0); +x_5 = lean_ctor_get(x_3, 1); +x_6 = lean_ctor_get(x_3, 2); +x_7 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0___redArg(x_5, x_4, x_1, x_5, x_2, x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_23; +x_23 = 0; +x_8 = x_23; +goto block_22; +} +else +{ +uint8_t x_24; +x_24 = 1; +x_8 = x_24; +goto block_22; +} +block_22: +{ +lean_object* x_9; +x_9 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_updateState(x_1, x_8, x_3); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_dec(x_11); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +lean_dec(x_9); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, 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_13); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec_ref(x_1); +x_16 = !lean_is_exclusive(x_9); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_9, 0); +lean_dec(x_17); +x_18 = lean_ctor_get(x_7, 0); +lean_inc(x_18); +lean_dec_ref(x_7); +lean_ctor_set(x_9, 0, x_18); +return x_9; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_dec(x_9); +x_20 = lean_ctor_get(x_7, 0); +lean_inc(x_20); +lean_dec_ref(x_7); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_7); +x_12 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_11, x_8, x_9, x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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) { +_start: +{ +lean_object* x_11; +x_11 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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: +{ +uint8_t x_19; lean_object* x_20; +x_19 = lean_unbox(x_9); +x_20 = l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_14); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_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_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_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) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_4, x_3); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec_ref(x_2); +lean_dec(x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +lean_object* x_9; 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; +x_9 = lean_array_uget(x_5, x_4); +lean_inc_ref(x_2); +lean_inc(x_1); +x_10 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_1, x_2, x_9, x_6); +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_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_5, x_4, x_13); +x_15 = 1; +x_16 = lean_usize_add(x_4, x_15); +x_17 = lean_array_uset(x_14, x_4, x_11); +x_4 = x_16; +x_5 = x_17; +x_6 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0(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) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0___redArg(x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (lean_obj_tag(x_3)) { +case 0: +{ +lean_object* x_5; lean_object* x_6; +lean_dec_ref(x_2); +x_5 = lean_ctor_get(x_3, 0); +lean_inc_ref(x_5); +lean_dec_ref(x_3); +x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_advanceTaggedTextHighlightState___redArg(x_5, x_1, x_4); +return x_6; +} +case 1: +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_array_size(x_8); +x_10 = 0; +x_11 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0___redArg(x_1, x_2, x_9, x_10, x_8, x_4); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_11, 0); +lean_ctor_set(x_3, 0, x_13); +lean_ctor_set(x_11, 0, x_3); +return x_11; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_11, 0); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_11); +lean_ctor_set(x_3, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_3); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; size_t x_18; size_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; +x_17 = lean_ctor_get(x_3, 0); +lean_inc(x_17); +lean_dec(x_3); +x_18 = lean_array_size(x_17); +x_19 = 0; +x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0___redArg(x_1, x_2, x_18, x_19, x_17, x_4); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_23 = x_20; +} else { + lean_dec_ref(x_20); + x_23 = lean_box(0); +} +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_21); +if (lean_is_scalar(x_23)) { + x_25 = lean_alloc_ctor(0, 2, 0); +} else { + x_25 = x_23; +} +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +return x_25; +} +} +default: +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_3); +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; uint8_t x_34; +x_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_2); +lean_inc(x_1); +x_29 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg), 4, 2); +lean_closure_set(x_29, 0, x_1); +lean_closure_set(x_29, 1, x_2); +lean_inc_ref(x_2); +x_30 = lean_apply_3(x_2, x_27, x_29, x_4); +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); +x_33 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_1, x_2, x_28, x_32); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_ctor_set(x_3, 1, x_35); +lean_ctor_set(x_3, 0, x_31); +lean_ctor_set(x_33, 0, x_3); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_33, 0); +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_33); +lean_ctor_set(x_3, 1, x_36); +lean_ctor_set(x_3, 0, x_31); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_3); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +else +{ +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_39 = lean_ctor_get(x_3, 0); +x_40 = lean_ctor_get(x_3, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_3); +lean_inc_ref(x_2); +lean_inc(x_1); +x_41 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg), 4, 2); +lean_closure_set(x_41, 0, x_1); +lean_closure_set(x_41, 1, x_2); +lean_inc_ref(x_2); +x_42 = lean_apply_3(x_2, x_39, x_41, x_4); +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 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_1, x_2, x_40, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_48 = x_45; +} else { + lean_dec_ref(x_45); + x_48 = lean_box(0); +} +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_43); +lean_ctor_set(x_49, 1, x_46); +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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_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: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0___redArg(x_1, x_2, x_7, x_8, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_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: +{ +size_t x_9; size_t x_10; lean_object* x_11; +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_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go_spec__0(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___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; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_inc_ref(x_2); +x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg(x_1, x_2, x_4); +x_7 = l_Array_reverse___redArg(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = 0; +x_10 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_7); +lean_ctor_set(x_10, 2, x_8); +lean_ctor_set_uint8(x_10, sizeof(void*)*3, x_9); +x_11 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_3, x_5, x_2, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 1); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*3); +lean_dec(x_13); +x_15 = lean_box(x_14); +lean_ctor_set(x_11, 1, x_15); +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_11, 1); +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_inc(x_17); +lean_dec(x_11); +x_18 = lean_ctor_get_uint8(x_16, sizeof(void*)*3); +lean_dec(x_16); +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText(lean_object* x_1, 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_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___redArg(x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_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_Widget_HighlightedSubexprInfo_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Widget_HighlightedSubexprInfo_ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_ctorElim___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; +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; +} +else +{ +return x_2; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_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_Widget_HighlightedSubexprInfo_ctorElim___redArg(x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_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_Widget_HighlightedSubexprInfo_ctorElim(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_subexpr_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_HighlightedSubexprInfo_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_subexpr_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_Widget_HighlightedSubexprInfo_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_highlighted_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_HighlightedSubexprInfo_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedSubexprInfo_highlighted_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_Widget_HighlightedSubexprInfo_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("highlighted", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0; +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_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +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 = l_Lean_Widget_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode_3233133395____hygCtx___hyg_1_(x_3, x_2); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1; +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; +} +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(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_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_1, 0); +x_15 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0; +x_16 = lean_string_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +goto block_13; +} +else +{ +lean_object* x_17; +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_17 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1___closed__0; +return x_17; +} +} +else +{ +goto block_13; +} +block_13: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode_3233133395____hygCtx___hyg_1_(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_3, 0, x_9); +return x_3; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1), 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedCodeWithInfos_ofCodeWithInfos___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedCodeWithInfos_ofCodeWithInfos(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedCodeWithInfos_ofCodeWithInfos___lam__0), 1, 0); +x_3 = l_Lean_Widget_TaggedText_map___redArg(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___closed__0; +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___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 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_4, 0, x_1); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__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; uint8_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_4 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___boxed), 1, 0); +x_5 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__1___boxed), 3, 0); +lean_inc_ref(x_2); +x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg(x_1, x_2, x_4); +x_7 = l_Array_reverse___redArg(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = 0; +x_10 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_7); +lean_ctor_set(x_10, 2, x_8); +lean_ctor_set_uint8(x_10, sizeof(void*)*3, x_9); +x_11 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_3, x_5, x_2, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 1); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*3); +lean_dec(x_13); +x_15 = lean_box(x_14); +lean_ctor_set(x_11, 1, x_15); +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_11, 1); +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_inc(x_17); +lean_dec(x_11); +x_18 = lean_ctor_get_uint8(x_16, sizeof(void*)*3); +lean_dec(x_16); +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(1); +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__1(x_1, x_2, x_3); +lean_dec_ref(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorIdx(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(2u); +return x_4; +} +case 3: +{ +lean_object* x_5; +x_5 = lean_unsigned_to_nat(3u); +return x_5; +} +default: +{ +lean_object* x_6; +x_6 = lean_unsigned_to_nat(4u); +return x_6; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Widget_HighlightedMsgEmbed_ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_ctorElim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 2: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_4); +lean_dec_ref(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +case 3: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +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); +x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +x_10 = lean_ctor_get(x_1, 3); +lean_inc_ref(x_10); +lean_dec_ref(x_1); +x_11 = lean_box(x_9); +x_12 = lean_apply_5(x_2, x_6, x_7, x_8, x_11, x_10); +return x_12; +} +case 4: +{ +return x_2; +} +default: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_13); +lean_dec(x_1); +x_14 = lean_apply_1(x_2, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_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_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_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_Widget_HighlightedMsgEmbed_ctorElim(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_expr_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_expr_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_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_goal_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_goal_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_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_widget_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_widget_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_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_trace_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_trace_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_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_highlighted_elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightedMsgEmbed_highlighted_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_Widget_HighlightedMsgEmbed_ctorElim___redArg(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instInhabitedTaggedText_default(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___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_Widget_instInhabitedHighlightedMsgEmbed_default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instInhabitedHighlightedMsgEmbed() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorIdx(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(2u); +return x_4; +} +case 3: +{ +lean_object* x_5; +x_5 = lean_unsigned_to_nat(3u); +return x_5; +} +default: +{ +lean_object* x_6; +x_6 = lean_unsigned_to_nat(4u); +return x_6; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorIdx(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 2: +{ +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_1, 1); +lean_inc(x_4); +lean_dec_ref(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +case 3: +{ +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_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(x_8); +x_9 = lean_ctor_get(x_1, 3); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); +lean_dec_ref(x_1); +x_11 = lean_apply_5(x_2, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +case 4: +{ +return x_2; +} +default: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_apply_1(x_2, x_12); +return x_13; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_expr____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_expr____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_goal____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_goal____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_widget____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_widget____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_trace____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_trace____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_highlighted____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__elim___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket_highlighted____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__ctorElim___redArg(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1___lam__0___closed__0; +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_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("trace", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("cls", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("collapsed", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("children", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__9____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(5u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__10____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__9____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__11____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__10____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__12____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__11____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__13____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__12____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__14____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__13____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__15____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__14____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object* x_1, 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; +x_8 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_9 = lean_unsigned_to_nat(5u); +x_10 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__15____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_11 = l_Lean_Json_parseTagged(x_1, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_3); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = l_Except_orElseLazy___redArg(x_11, x_2); +lean_dec_ref(x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l_Except_orElseLazy___redArg(x_15, x_2); +lean_dec_ref(x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_11); +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; +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_3); +x_19 = lean_array_get(x_3, x_18, x_4); +lean_inc(x_3); +x_20 = lean_array_get(x_3, x_18, x_5); +lean_inc(x_3); +x_21 = lean_array_get(x_3, x_18, x_6); +x_22 = lean_unsigned_to_nat(3u); +lean_inc(x_3); +x_23 = lean_array_get(x_3, x_18, x_22); +x_24 = lean_unsigned_to_nat(4u); +x_25 = lean_array_get(x_3, x_18, x_24); +lean_dec(x_18); +x_26 = lean_alloc_ctor(3, 5, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_23); +lean_ctor_set(x_26, 4, x_25); +lean_ctor_set(x_11, 0, x_26); +x_27 = l_Except_orElseLazy___redArg(x_11, x_2); +lean_dec_ref(x_11); +return x_27; +} +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; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_28 = lean_ctor_get(x_11, 0); +lean_inc(x_28); +lean_dec(x_11); +lean_inc(x_3); +x_29 = lean_array_get(x_3, x_28, x_4); +lean_inc(x_3); +x_30 = lean_array_get(x_3, x_28, x_5); +lean_inc(x_3); +x_31 = lean_array_get(x_3, x_28, x_6); +x_32 = lean_unsigned_to_nat(3u); +lean_inc(x_3); +x_33 = lean_array_get(x_3, x_28, x_32); +x_34 = lean_unsigned_to_nat(4u); +x_35 = lean_array_get(x_3, x_28, x_34); +lean_dec(x_28); +x_36 = lean_alloc_ctor(3, 5, 0); +lean_ctor_set(x_36, 0, x_29); +lean_ctor_set(x_36, 1, x_30); +lean_ctor_set(x_36, 2, x_31); +lean_ctor_set(x_36, 3, x_33); +lean_ctor_set(x_36, 4, x_35); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = l_Except_orElseLazy___redArg(x_37, x_2); +lean_dec_ref(x_37); +return x_38; +} +} +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("widget", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("wi", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("alt", 3, 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_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_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(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; +x_7 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_8 = lean_unsigned_to_nat(2u); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_9 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94____boxed), 7, 6); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_3); +lean_closure_set(x_9, 3, x_4); +lean_closure_set(x_9, 4, x_5); +lean_closure_set(x_9, 5, x_8); +x_10 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_11 = l_Lean_Json_parseTagged(x_1, x_7, x_8, x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = l_Except_orElseLazy___redArg(x_11, x_9); +lean_dec_ref(x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l_Except_orElseLazy___redArg(x_15, x_9); +lean_dec_ref(x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_11); +if (x_17 == 0) +{ +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_11, 0); +lean_inc(x_3); +x_19 = lean_array_get(x_3, x_18, x_4); +lean_dec(x_4); +x_20 = lean_array_get(x_3, x_18, x_5); +lean_dec(x_5); +lean_dec(x_18); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_11, 0, x_21); +x_22 = l_Except_orElseLazy___redArg(x_11, x_9); +lean_dec_ref(x_11); +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; +x_23 = lean_ctor_get(x_11, 0); +lean_inc(x_23); +lean_dec(x_11); +lean_inc(x_3); +x_24 = lean_array_get(x_3, x_23, x_4); +lean_dec(x_4); +x_25 = lean_array_get(x_3, x_23, x_5); +lean_dec(x_5); +lean_dec(x_23); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_24); +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 = l_Except_orElseLazy___redArg(x_27, x_9); +lean_dec_ref(x_27); +return x_28; +} +} +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("goal", 4, 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(lean_object* x_1, 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 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_9 = l_Lean_Json_parseTagged(x_1, x_8, x_2, x_3); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_5); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = l_Except_orElseLazy___redArg(x_9, x_4); +lean_dec_ref(x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = l_Except_orElseLazy___redArg(x_13, x_4); +lean_dec_ref(x_13); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_9); +if (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_9, 0); +x_17 = lean_array_get(x_5, x_16, x_6); +lean_dec(x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_9, 0, x_18); +x_19 = l_Except_orElseLazy___redArg(x_9, x_4); +lean_dec_ref(x_9); +return x_19; +} +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_9, 0); +lean_inc(x_20); +lean_dec(x_9); +x_21 = lean_array_get(x_5, x_20, x_6); +lean_dec(x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Except_orElseLazy___redArg(x_23, x_4); +lean_dec_ref(x_23); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("expr", 4, 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(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; +x_6 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_7 = lean_unsigned_to_nat(1u); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_), 6, 5); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_2); +lean_closure_set(x_8, 2, x_3); +lean_closure_set(x_8, 3, x_4); +lean_closure_set(x_8, 4, x_7); +x_9 = lean_box(0); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94____boxed), 7, 6); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_7); +lean_closure_set(x_10, 2, x_9); +lean_closure_set(x_10, 3, x_8); +lean_closure_set(x_10, 4, x_3); +lean_closure_set(x_10, 5, x_4); +x_11 = l_Lean_Json_parseTagged(x_1, x_6, x_7, x_9); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_4); +lean_dec(x_3); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = l_Except_orElseLazy___redArg(x_11, x_10); +lean_dec_ref(x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l_Except_orElseLazy___redArg(x_15, x_10); +lean_dec_ref(x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_11); +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_11, 0); +x_19 = lean_array_get(x_3, x_18, x_4); +lean_dec(x_4); +lean_dec(x_18); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_11, 0, x_20); +x_21 = l_Except_orElseLazy___redArg(x_11, x_10); +lean_dec_ref(x_11); +return x_21; +} +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_11, 0); +lean_inc(x_22); +lean_dec(x_11); +x_23 = lean_array_get(x_3, x_22, x_4); +lean_dec(x_4); +lean_dec(x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Except_orElseLazy___redArg(x_25, x_10); +lean_dec_ref(x_25); +return x_26; +} +} +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_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_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +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_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(4); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(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_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_), 1, 0); +x_3 = lean_box(0); +x_4 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0; +x_5 = lean_unsigned_to_nat(0u); +lean_inc(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_), 5, 4); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_2); +lean_closure_set(x_6, 2, x_3); +lean_closure_set(x_6, 3, x_5); +x_7 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_8 = l_Lean_Json_parseTagged(x_1, x_4, x_5, 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; +x_10 = l_Except_orElseLazy___redArg(x_8, x_6); +lean_dec_ref(x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_Except_orElseLazy___redArg(x_12, x_6); +lean_dec_ref(x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec_ref(x_8); +x_14 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_15 = l_Except_orElseLazy___redArg(x_14, x_6); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94____boxed(lean_object* x_1, 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_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94____boxed(lean_object* x_1, 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_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_3); +return x_8; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec_ref(x_1); +x_3 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = l_Lean_Json_mkObj(x_6); +return x_7; +} +case 1: +{ +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_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec_ref(x_1); +x_9 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Json_mkObj(x_12); +return x_13; +} +case 2: +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_1); +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; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_15 = lean_ctor_get(x_1, 0); +x_16 = lean_ctor_get(x_1, 1); +x_17 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_18 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +lean_ctor_set_tag(x_1, 0); +lean_ctor_set(x_1, 1, x_15); +lean_ctor_set(x_1, 0, x_18); +x_19 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_16); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +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_Json_mkObj(x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +x_27 = l_Lean_Json_mkObj(x_26); +return x_27; +} +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; 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_28 = lean_ctor_get(x_1, 0); +x_29 = lean_ctor_get(x_1, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_1); +x_30 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_31 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_28); +x_33 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_29); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_32); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Json_mkObj(x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_30); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_35); +x_41 = l_Lean_Json_mkObj(x_40); +return x_41; +} +} +case 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; 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; +x_42 = lean_ctor_get(x_1, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_1, 1); +lean_inc(x_43); +x_44 = lean_ctor_get(x_1, 2); +lean_inc(x_44); +x_45 = lean_ctor_get(x_1, 3); +lean_inc(x_45); +x_46 = lean_ctor_get(x_1, 4); +lean_inc(x_46); +lean_dec_ref(x_1); +x_47 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_48 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_42); +x_50 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_43); +x_52 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_44); +x_54 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_45); +x_56 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_; +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_46); +x_58 = lean_box(0); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_55); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_53); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_51); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_49); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Json_mkObj(x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_47); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_58); +x_67 = l_Lean_Json_mkObj(x_66); +return x_67; +} +default: +{ +lean_object* x_68; +x_68 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1; +return x_68; +} +} +} +} +static lean_object* _init_l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_3, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec_ref(x_1); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; 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; +x_8 = lean_array_uget(x_4, x_3); +lean_inc_ref(x_1); +x_9 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_1, x_8, x_5); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec_ref(x_9); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_4, x_3, x_12); +x_14 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_10); +x_15 = 1; +x_16 = lean_usize_add(x_3, x_15); +x_17 = lean_array_uset(x_13, x_3, x_14); +x_3 = x_16; +x_4 = x_17; +x_5 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_6 = lean_array_size(x_4); +x_7 = 0; +x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(x_5, x_6, x_7, x_4, x_2); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_10); +lean_ctor_set(x_1, 0, x_11); +x_12 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_50_(x_1); +lean_dec_ref(x_1); +lean_ctor_set(x_8, 0, x_12); +return x_8; +} +else +{ +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_8, 0); +x_14 = lean_ctor_get(x_8, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_8); +x_15 = l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_13); +lean_ctor_set(x_1, 0, x_15); +x_16 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_50_(x_1); +lean_dec_ref(x_1); +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; lean_object* x_19; size_t 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_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +lean_dec(x_1); +x_19 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_20 = lean_array_size(x_18); +x_21 = 0; +x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(x_19, x_20, x_21, x_18, x_2); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +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); +} +x_26 = l_Array_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_4152489880____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_23); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_50_(x_27); +lean_dec_ref(x_27); +if (lean_is_scalar(x_25)) { + x_29 = lean_alloc_ctor(0, 2, 0); +} else { + x_29 = x_25; +} +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_24); +return x_29; +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_1, 0); +x_32 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___closed__0; +x_33 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___redArg(x_32, x_31, x_2); +lean_dec(x_31); +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_ctor_set(x_1, 0, x_35); +x_36 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_50_(x_1); +lean_dec_ref(x_1); +lean_ctor_set(x_33, 0, x_36); +return x_33; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_33, 0); +x_38 = lean_ctor_get(x_33, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_33); +lean_ctor_set(x_1, 0, x_37); +x_39 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_50_(x_1); +lean_dec_ref(x_1); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +return x_40; +} +} +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_1, 0); +lean_inc(x_41); +lean_dec(x_1); +x_42 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___closed__0; +x_43 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___redArg(x_42, x_41, x_2); +lean_dec(x_41); +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(1, 1, 0); +lean_ctor_set(x_47, 0, x_44); +x_48 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_50_(x_47); +lean_dec_ref(x_47); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +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 = l_Lean_Widget_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode_3233133395____hygCtx___hyg_1_(x_3, x_2); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1; +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; +} +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(4); +x_2 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +switch (lean_obj_tag(x_1)) { +case 0: +{ +uint8_t x_4; +lean_dec_ref(x_3); +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_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_7 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_6, x_5, x_2); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_9); +lean_ctor_set(x_1, 0, x_10); +x_11 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_1); +lean_ctor_set(x_7, 0, x_11); +return x_7; +} +else +{ +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_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_12); +lean_ctor_set(x_1, 0, x_14); +x_15 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +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; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_19 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_18, x_17, x_2); +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); +} +x_23 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_20); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_24); +if (lean_is_scalar(x_22)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_22; +} +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +return x_26; +} +} +case 1: +{ +uint8_t x_27; +lean_dec_ref(x_3); +x_27 = !lean_is_exclusive(x_1); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_1, 0); +x_29 = l_Lean_Widget_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal_3114798910____hygCtx___hyg_1_(x_28, x_2); +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_ctor_set(x_1, 0, x_31); +x_32 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_1); +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_29, 0); +x_34 = lean_ctor_get(x_29, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_29); +lean_ctor_set(x_1, 0, x_33); +x_35 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_1); +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; +x_37 = lean_ctor_get(x_1, 0); +lean_inc(x_37); +lean_dec(x_1); +x_38 = l_Lean_Widget_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal_3114798910____hygCtx___hyg_1_(x_37, x_2); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_41 = x_38; +} else { + lean_dec_ref(x_38); + x_41 = lean_box(0); +} +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_39); +x_43 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_42); +if (lean_is_scalar(x_41)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_41; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_40); +return x_44; +} +} +case 2: +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_45); +x_46 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_46); +lean_dec_ref(x_1); +x_47 = l_Lean_Widget_instRpcEncodableWidgetInstance_enc____x40_Lean_Widget_Types_2243429567____hygCtx___hyg_1_(x_45, x_2); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = lean_ctor_get(x_47, 1); +x_50 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_3, x_46, x_49); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_50, 0); +x_53 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_52); +lean_ctor_set_tag(x_47, 2); +lean_ctor_set(x_47, 1, x_53); +x_54 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_47); +lean_ctor_set(x_50, 0, x_54); +return x_50; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_50, 0); +x_56 = lean_ctor_get(x_50, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_50); +x_57 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_55); +lean_ctor_set_tag(x_47, 2); +lean_ctor_set(x_47, 1, x_57); +x_58 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_47); +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 +{ +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; +x_60 = lean_ctor_get(x_47, 0); +x_61 = lean_ctor_get(x_47, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_47); +x_62 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_3, x_46, x_61); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_65 = x_62; +} else { + lean_dec_ref(x_62); + x_65 = lean_box(0); +} +x_66 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_63); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_60); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(x_67); +if (lean_is_scalar(x_65)) { + x_69 = lean_alloc_ctor(0, 2, 0); +} else { + x_69 = x_65; +} +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_64); +return x_69; +} +} +case 3: +{ +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; lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_70 = lean_ctor_get(x_1, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 1); +lean_inc(x_71); +x_72 = lean_ctor_get(x_1, 2); +lean_inc_ref(x_72); +x_73 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +x_74 = lean_ctor_get(x_1, 3); +lean_inc_ref(x_74); +lean_dec_ref(x_1); +x_75 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_3, x_72, x_2); +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 = l_Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0(x_74, x_77); +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t 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_JsonNumber_fromNat(x_70); +x_82 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = 1; +x_84 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_71, x_83); +x_85 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_76); +x_87 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_87, 0, x_73); +x_88 = lean_alloc_ctor(3, 5, 0); +lean_ctor_set(x_88, 0, x_82); +lean_ctor_set(x_88, 1, x_85); +lean_ctor_set(x_88, 2, x_86); +lean_ctor_set(x_88, 3, x_87); +lean_ctor_set(x_88, 4, x_80); +x_89 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(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; uint8_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; +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_JsonNumber_fromNat(x_70); +x_93 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_93, 0, x_92); +x_94 = 1; +x_95 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_71, x_94); +x_96 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_76); +x_98 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_98, 0, x_73); +x_99 = lean_alloc_ctor(3, 5, 0); +lean_ctor_set(x_99, 0, x_93); +lean_ctor_set(x_99, 1, x_96); +lean_ctor_set(x_99, 2, x_97); +lean_ctor_set(x_99, 3, x_98); +lean_ctor_set(x_99, 4, x_90); +x_100 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(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; +} +} +default: +{ +lean_object* x_102; lean_object* x_103; +lean_dec_ref(x_3); +x_102 = l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_; +x_103 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_2); +return x_103; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0_spec__0(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) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +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_3, x_2); +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_Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 4) +{ +lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_2); +lean_dec_ref(x_1); +x_3 = lean_array_size(x_2); +x_4 = 0; +x_5 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0_spec__0(x_3, x_4, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_6 = l_Array_fromJson_x3f___at___Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1_spec__1___closed__0; +x_7 = lean_unsigned_to_nat(80u); +x_8 = l_Lean_Json_pretty(x_1, x_7); +x_9 = lean_string_append(x_6, x_8); +lean_dec_ref(x_8); +x_10 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_3, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_uget(x_4, x_3); +x_9 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec_ref(x_9); +lean_inc_ref(x_5); +lean_inc_ref(x_1); +x_14 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_1, x_13, x_5); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +else +{ +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_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec_ref(x_14); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_4, x_3, x_19); +x_21 = 1; +x_22 = lean_usize_add(x_3, x_21); +x_23 = lean_array_uset(x_20, x_3, x_18); +x_3 = x_22; +x_4 = x_23; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Widget_InteractiveDiagnostic_29703178____hygCtx___hyg_30_(x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +lean_dec_ref(x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec_ref(x_3); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_free_object(x_7); +lean_dec_ref(x_2); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec_ref(x_10); +x_15 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_16 = lean_array_size(x_14); +x_17 = 0; +x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__2(x_15, x_16, x_17, x_14, x_2); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +lean_free_object(x_7); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_18; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_18, 0); +lean_ctor_set(x_7, 0, x_23); +lean_ctor_set(x_18, 0, x_7); +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_18, 0); +lean_inc(x_24); +lean_dec(x_18); +lean_ctor_set(x_7, 0, x_24); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_7); +return x_25; +} +} +} +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_7, 0); +lean_inc(x_26); +lean_dec(x_7); +x_27 = l_Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(x_26); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec_ref(x_2); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + x_29 = x_27; +} else { + lean_dec_ref(x_27); + x_29 = lean_box(0); +} +if (lean_is_scalar(x_29)) { + x_30 = lean_alloc_ctor(0, 1, 0); +} else { + x_30 = x_29; +} +lean_ctor_set(x_30, 0, x_28); +return x_30; +} +else +{ +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_27, 0); +lean_inc(x_31); +lean_dec_ref(x_27); +x_32 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_33 = lean_array_size(x_31); +x_34 = 0; +x_35 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__2(x_32, x_33, x_34, x_31, x_2); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + x_37 = x_35; +} else { + lean_dec_ref(x_35); + x_37 = lean_box(0); +} +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(0, 1, 0); +} else { + x_38 = x_37; +} +lean_ctor_set(x_38, 0, x_36); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_ctor_get(x_35, 0); +lean_inc(x_39); +if (lean_is_exclusive(x_35)) { + lean_ctor_release(x_35, 0); + x_40 = x_35; +} else { + lean_dec_ref(x_35); + x_40 = lean_box(0); +} +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_39); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(1, 1, 0); +} else { + x_42 = x_40; +} +lean_ctor_set(x_42, 0, x_41); +return x_42; +} +} +} +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_7); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_7, 0); +x_45 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___closed__0; +x_46 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___redArg(x_45, x_44, x_2); +if (lean_obj_tag(x_46) == 0) +{ +uint8_t x_47; +lean_free_object(x_7); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +return x_46; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +return x_49; +} +} +else +{ +uint8_t x_50; +x_50 = !lean_is_exclusive(x_46); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_46, 0); +lean_ctor_set(x_7, 0, x_51); +lean_ctor_set(x_46, 0, x_7); +return x_46; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_46, 0); +lean_inc(x_52); +lean_dec(x_46); +lean_ctor_set(x_7, 0, x_52); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_7); +return x_53; +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_7, 0); +lean_inc(x_54); +lean_dec(x_7); +x_55 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2__spec__0_spec__0___closed__0; +x_56 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___redArg(x_55, x_54, x_2); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + x_58 = x_56; +} else { + lean_dec_ref(x_56); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(0, 1, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_57); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_56, 0); +lean_inc(x_60); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + x_61 = x_56; +} else { + lean_dec_ref(x_56); + x_61 = lean_box(0); +} +x_62 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_62, 0, x_60); +if (lean_is_scalar(x_61)) { + x_63 = lean_alloc_ctor(1, 1, 0); +} else { + x_63 = x_61; +} +lean_ctor_set(x_63, 0, x_62); +return x_63; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_1, 0); +x_15 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0; +x_16 = lean_string_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +goto block_13; +} +else +{ +lean_object* x_17; +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_17 = l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1___closed__0; +return x_17; +} +} +else +{ +goto block_13; +} +block_13: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode_3233133395____hygCtx___hyg_1_(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_3, 0, x_9); +return x_3; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(4); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +lean_dec_ref(x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec_ref(x_3); +x_8 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +switch (lean_obj_tag(x_7)) { +case 0: +{ +uint8_t x_9; +lean_dec_ref(x_8); +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_7, 0); +x_11 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_free_object(x_7); +lean_dec_ref(x_2); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_dec_ref(x_11); +x_16 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_17 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_16, x_15, x_2); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_free_object(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; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_17, 0); +lean_ctor_set(x_7, 0, x_22); +lean_ctor_set(x_17, 0, x_7); +return x_17; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_17, 0); +lean_inc(x_23); +lean_dec(x_17); +lean_ctor_set(x_7, 0, x_23); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_7); +return x_24; +} +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_7, 0); +lean_inc(x_25); +lean_dec(x_7); +x_26 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec_ref(x_2); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + x_28 = x_26; +} else { + lean_dec_ref(x_26); + x_28 = lean_box(0); +} +if (lean_is_scalar(x_28)) { + x_29 = lean_alloc_ctor(0, 1, 0); +} else { + x_29 = x_28; +} +lean_ctor_set(x_29, 0, x_27); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_26, 0); +lean_inc(x_30); +lean_dec_ref(x_26); +x_31 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___lam__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +x_32 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_31, x_30, x_2); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +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); +} +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(0, 1, 0); +} else { + x_35 = x_34; +} +lean_ctor_set(x_35, 0, x_33); +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_32, 0); +lean_inc(x_36); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + x_37 = x_32; +} else { + lean_dec_ref(x_32); + x_37 = lean_box(0); +} +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_36); +if (lean_is_scalar(x_37)) { + x_39 = lean_alloc_ctor(1, 1, 0); +} else { + x_39 = x_37; +} +lean_ctor_set(x_39, 0, x_38); +return x_39; +} +} +} +} +case 1: +{ +uint8_t x_40; +lean_dec_ref(x_8); +x_40 = !lean_is_exclusive(x_7); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_7, 0); +x_42 = l_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal_3114798910____hygCtx___hyg_1_(x_41, x_2); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +lean_free_object(x_7); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +return x_42; +} +else +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_42, 0); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_45, 0, x_44); +return x_45; +} +} +else +{ +uint8_t x_46; +x_46 = !lean_is_exclusive(x_42); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_42, 0); +lean_ctor_set(x_7, 0, x_47); +lean_ctor_set(x_42, 0, x_7); +return x_42; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_42, 0); +lean_inc(x_48); +lean_dec(x_42); +lean_ctor_set(x_7, 0, x_48); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_7); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_7, 0); +lean_inc(x_50); +lean_dec(x_7); +x_51 = l_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal_3114798910____hygCtx___hyg_1_(x_50, x_2); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + x_53 = x_51; +} else { + lean_dec_ref(x_51); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 1, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_52); +return x_54; +} +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); +lean_inc(x_55); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + x_56 = x_51; +} else { + lean_dec_ref(x_51); + x_56 = lean_box(0); +} +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_55); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(1, 1, 0); +} else { + x_58 = x_56; +} +lean_ctor_set(x_58, 0, x_57); +return x_58; +} +} +} +case 2: +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_7); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_7, 0); +x_61 = lean_ctor_get(x_7, 1); +x_62 = l_Lean_Widget_instRpcEncodableWidgetInstance_dec___redArg____x40_Lean_Widget_Types_2243429567____hygCtx___hyg_1_(x_60); +if (lean_obj_tag(x_62) == 0) +{ +uint8_t x_63; +lean_free_object(x_7); +lean_dec(x_61); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) +{ +return x_62; +} +else +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_62, 0); +lean_inc(x_64); +lean_dec(x_62); +x_65 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_65, 0, x_64); +return x_65; +} +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_62, 0); +lean_inc(x_66); +lean_dec_ref(x_62); +x_67 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_61); +if (lean_obj_tag(x_67) == 0) +{ +uint8_t x_68; +lean_dec(x_66); +lean_free_object(x_7); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) +{ +return x_67; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_67, 0); +lean_inc(x_71); +lean_dec_ref(x_67); +x_72 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_8, x_71, x_2); +if (lean_obj_tag(x_72) == 0) +{ +uint8_t x_73; +lean_dec(x_66); +lean_free_object(x_7); +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +return x_72; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_72, 0); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_75, 0, x_74); +return x_75; +} +} +else +{ +uint8_t x_76; +x_76 = !lean_is_exclusive(x_72); +if (x_76 == 0) +{ +lean_object* x_77; +x_77 = lean_ctor_get(x_72, 0); +lean_ctor_set(x_7, 1, x_77); +lean_ctor_set(x_7, 0, x_66); +lean_ctor_set(x_72, 0, x_7); +return x_72; +} +else +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_72, 0); +lean_inc(x_78); +lean_dec(x_72); +lean_ctor_set(x_7, 1, x_78); +lean_ctor_set(x_7, 0, x_66); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_7); +return x_79; +} +} +} +} +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_7, 0); +x_81 = lean_ctor_get(x_7, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_7); +x_82 = l_Lean_Widget_instRpcEncodableWidgetInstance_dec___redArg____x40_Lean_Widget_Types_2243429567____hygCtx___hyg_1_(x_80); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_81); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + x_84 = x_82; +} else { + lean_dec_ref(x_82); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 1, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_83); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_82, 0); +lean_inc(x_86); +lean_dec_ref(x_82); +x_87 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_81); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_86); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + x_89 = x_87; +} else { + lean_dec_ref(x_87); + x_89 = lean_box(0); +} +if (lean_is_scalar(x_89)) { + x_90 = lean_alloc_ctor(0, 1, 0); +} else { + x_90 = x_89; +} +lean_ctor_set(x_90, 0, x_88); +return x_90; +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_87, 0); +lean_inc(x_91); +lean_dec_ref(x_87); +x_92 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_8, x_91, x_2); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_86); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + 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(0, 1, 0); +} else { + x_95 = x_94; +} +lean_ctor_set(x_95, 0, x_93); +return x_95; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_92, 0); +lean_inc(x_96); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + x_97 = x_92; +} else { + lean_dec_ref(x_92); + x_97 = lean_box(0); +} +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_86); +lean_ctor_set(x_98, 1, x_96); +if (lean_is_scalar(x_97)) { + x_99 = lean_alloc_ctor(1, 1, 0); +} else { + x_99 = x_97; +} +lean_ctor_set(x_99, 0, x_98); +return x_99; +} +} +} +} +} +case 3: +{ +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_7, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_7, 1); +lean_inc(x_101); +x_102 = lean_ctor_get(x_7, 2); +lean_inc(x_102); +x_103 = lean_ctor_get(x_7, 3); +lean_inc(x_103); +x_104 = lean_ctor_get(x_7, 4); +lean_inc(x_104); +lean_dec_ref(x_7); +x_105 = l_Lean_Json_getNat_x3f(x_100); +if (lean_obj_tag(x_105) == 0) +{ +uint8_t x_106; +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_106 = !lean_is_exclusive(x_105); +if (x_106 == 0) +{ +return x_105; +} +else +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_108, 0, x_107); +return x_108; +} +} +else +{ +lean_object* x_109; lean_object* x_110; +x_109 = lean_ctor_get(x_105, 0); +lean_inc(x_109); +lean_dec_ref(x_105); +x_110 = l_Lean_Name_fromJson_x3f(x_101); +if (lean_obj_tag(x_110) == 0) +{ +uint8_t x_111; +lean_dec(x_109); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_111 = !lean_is_exclusive(x_110); +if (x_111 == 0) +{ +return x_110; +} +else +{ +lean_object* x_112; lean_object* x_113; +x_112 = lean_ctor_get(x_110, 0); +lean_inc(x_112); +lean_dec(x_110); +x_113 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_113, 0, x_112); +return x_113; +} +} +else +{ +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_110, 0); +lean_inc(x_114); +lean_dec_ref(x_110); +x_115 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_102); +if (lean_obj_tag(x_115) == 0) +{ +uint8_t x_116; +lean_dec(x_114); +lean_dec(x_109); +lean_dec(x_104); +lean_dec(x_103); +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_116 = !lean_is_exclusive(x_115); +if (x_116 == 0) +{ +return x_115; +} +else +{ +lean_object* x_117; lean_object* x_118; +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_118, 0, x_117); +return x_118; +} +} +else +{ +lean_object* x_119; lean_object* x_120; +x_119 = lean_ctor_get(x_115, 0); +lean_inc(x_119); +lean_dec_ref(x_115); +lean_inc_ref(x_2); +x_120 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_8, x_119, x_2); +if (lean_obj_tag(x_120) == 0) +{ +uint8_t x_121; +lean_dec(x_114); +lean_dec(x_109); +lean_dec(x_104); +lean_dec(x_103); +lean_dec_ref(x_2); +x_121 = !lean_is_exclusive(x_120); +if (x_121 == 0) +{ +return x_120; +} +else +{ +lean_object* x_122; lean_object* x_123; +x_122 = lean_ctor_get(x_120, 0); +lean_inc(x_122); +lean_dec(x_120); +x_123 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_123, 0, x_122); +return x_123; +} +} +else +{ +lean_object* x_124; lean_object* x_125; +x_124 = lean_ctor_get(x_120, 0); +lean_inc(x_124); +lean_dec_ref(x_120); +x_125 = l_Lean_Json_getBool_x3f(x_103); +lean_dec(x_103); +if (lean_obj_tag(x_125) == 0) +{ +uint8_t x_126; +lean_dec(x_124); +lean_dec(x_114); +lean_dec(x_109); +lean_dec(x_104); +lean_dec_ref(x_2); +x_126 = !lean_is_exclusive(x_125); +if (x_126 == 0) +{ +return x_125; +} +else +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_125, 0); +lean_inc(x_127); +lean_dec(x_125); +x_128 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_128, 0, x_127); +return x_128; +} +} +else +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_125, 0); +lean_inc(x_129); +lean_dec_ref(x_125); +x_130 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0(x_104, x_2); +if (lean_obj_tag(x_130) == 0) +{ +uint8_t x_131; +lean_dec(x_129); +lean_dec(x_124); +lean_dec(x_114); +lean_dec(x_109); +x_131 = !lean_is_exclusive(x_130); +if (x_131 == 0) +{ +return x_130; +} +else +{ +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_130, 0); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_133, 0, x_132); +return x_133; +} +} +else +{ +uint8_t x_134; +x_134 = !lean_is_exclusive(x_130); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_135 = lean_ctor_get(x_130, 0); +x_136 = lean_alloc_ctor(3, 4, 1); +lean_ctor_set(x_136, 0, x_109); +lean_ctor_set(x_136, 1, x_114); +lean_ctor_set(x_136, 2, x_124); +lean_ctor_set(x_136, 3, x_135); +x_137 = lean_unbox(x_129); +lean_dec(x_129); +lean_ctor_set_uint8(x_136, sizeof(void*)*4, x_137); +lean_ctor_set(x_130, 0, x_136); +return x_130; +} +else +{ +lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; +x_138 = lean_ctor_get(x_130, 0); +lean_inc(x_138); +lean_dec(x_130); +x_139 = lean_alloc_ctor(3, 4, 1); +lean_ctor_set(x_139, 0, x_109); +lean_ctor_set(x_139, 1, x_114); +lean_ctor_set(x_139, 2, x_124); +lean_ctor_set(x_139, 3, x_138); +x_140 = lean_unbox(x_129); +lean_dec(x_129); +lean_ctor_set_uint8(x_139, sizeof(void*)*4, x_140); +x_141 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_141, 0, x_139); +return x_141; +} +} +} +} +} +} +} +} +default: +{ +lean_object* x_142; +lean_dec_ref(x_8); +lean_dec_ref(x_2); +x_142 = l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_; +return x_142; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_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) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +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___Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0_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___Array_fromJson_x3f___at___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__0_spec__0(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_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__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) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +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___Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1__spec__0_spec__2(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__1; +x_2 = l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___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_Widget_instRpcEncodableHighlightedMsgEmbed() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__2; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_ofMsgEmbed(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0(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_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___lam__0), 1, 0); +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l_Lean_Widget_TaggedText_map___redArg(x_5, x_6); +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +x_12 = lean_array_uset(x_8, x_2, x_9); +x_2 = x_11; +x_3 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; size_t x_4; size_t x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_array_size(x_3); +x_5 = 0; +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0(x_4, x_5, x_3); +lean_ctor_set(x_1, 0, x_6); +return x_1; +} +else +{ +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_array_size(x_7); +x_9 = 0; +x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0(x_8, x_9, x_7); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_1); +if (x_12 == 0) +{ +return x_1; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_ofMsgEmbed(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedCodeWithInfos_ofCodeWithInfos(x_3); +lean_ctor_set(x_1, 0, x_4); +return x_1; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedCodeWithInfos_ofCodeWithInfos(x_5); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +case 1: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +return x_1; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +case 2: +{ +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; +x_12 = lean_ctor_get(x_1, 1); +x_13 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___lam__0), 1, 0); +x_14 = l_Lean_Widget_TaggedText_map___redArg(x_13, x_12); +lean_ctor_set(x_1, 1, x_14); +return x_1; +} +else +{ +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_1, 0); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_1); +x_17 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___lam__0), 1, 0); +x_18 = l_Lean_Widget_TaggedText_map___redArg(x_17, x_16); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +default: +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_1); +if (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_1, 2); +x_22 = lean_ctor_get(x_1, 3); +x_23 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___lam__0), 1, 0); +x_24 = l_Lean_Widget_TaggedText_map___redArg(x_23, x_21); +x_25 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed(x_22); +lean_ctor_set(x_1, 3, x_25); +lean_ctor_set(x_1, 2, x_24); +return x_1; +} +else +{ +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; lean_object* x_33; lean_object* x_34; +x_26 = lean_ctor_get(x_1, 0); +x_27 = lean_ctor_get(x_1, 1); +x_28 = lean_ctor_get(x_1, 2); +x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +x_30 = lean_ctor_get(x_1, 3); +lean_inc(x_30); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_1); +x_31 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0___lam__0), 1, 0); +x_32 = l_Lean_Widget_TaggedText_map___redArg(x_31, x_28); +x_33 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed(x_30); +x_34 = lean_alloc_ctor(3, 4, 1); +lean_ctor_set(x_34, 0, x_26); +lean_ctor_set(x_34, 1, x_27); +lean_ctor_set(x_34, 2, x_32); +lean_ctor_set(x_34, 3, x_33); +lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_29); +return x_34; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed_spec__0(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedInteractiveMessage_ofInteractiveMessage___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_ofMsgEmbed(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedInteractiveMessage_ofInteractiveMessage(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedInteractiveMessage_ofInteractiveMessage___lam__0), 1, 0); +x_3 = l_Lean_Widget_TaggedText_map___redArg(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_toText(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_2); +lean_dec_ref(x_1); +x_3 = l_Lean_Widget_TaggedText_stripTags___redArg(x_2); +return x_3; +} +else +{ +lean_object* x_4; +lean_dec_ref(x_1); +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___closed__0; +return x_4; +} +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__1___boxed), 3, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +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; uint8_t x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg___closed__0; +x_6 = lean_box(1); +x_7 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_6, x_5, x_4, x_2); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_7, 0); +lean_ctor_set(x_1, 0, x_9); +lean_ctor_set(x_7, 0, x_1); +return x_7; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_7, 0); +x_11 = lean_ctor_get(x_7, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_7); +lean_ctor_set(x_1, 0, x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +else +{ +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_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg___closed__0; +x_15 = lean_box(1); +x_16 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_15, x_14, x_13, x_2); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_19 = x_16; +} else { + lean_dec_ref(x_16); + x_19 = lean_box(0); +} +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_17); +if (lean_is_scalar(x_19)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_19; +} +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_ofMsgEmbed(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_2); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg(x_1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go(x_1, x_2, x_3); +lean_dec_ref(x_2); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_toText), 1, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___boxed), 3, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__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; uint8_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__0; +x_5 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__1; +lean_inc_ref(x_2); +x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_findTaggedTextMatches___redArg(x_1, x_2, x_4); +x_7 = l_Array_reverse___redArg(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = 0; +x_10 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_7); +lean_ctor_set(x_10, 2, x_8); +lean_ctor_set_uint8(x_10, sizeof(void*)*3, x_9); +x_11 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText_go___redArg(x_3, x_5, x_2, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 1); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*3); +lean_dec(x_13); +x_15 = lean_box(x_14); +lean_ctor_set(x_11, 1, x_15); +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_11, 1); +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_inc(x_17); +lean_dec(x_11); +x_18 = lean_ctor_get_uint8(x_16, sizeof(void*)*3); +lean_dec(x_16); +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(4); +x_4 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__0(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) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_6, x_5); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_7); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +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_array_uget(x_7, x_6); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +x_12 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_11, x_3, x_4, x_8); +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_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_7, x_6, x_15); +x_17 = 1; +x_18 = lean_usize_add(x_6, x_17); +x_19 = lean_array_uset(x_16, x_6, x_13); +x_6 = x_18; +x_7 = x_19; +x_8 = x_14; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_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_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 = 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 uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2(lean_object* x_1, size_t x_2, size_t x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_eq(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_array_uget(x_1, x_2); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec_ref(x_5); +x_7 = lean_unbox(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_2, x_8); +x_2 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Std_Format_defWidth; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(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: +{ +switch (lean_obj_tag(x_3)) { +case 3: +{ +uint8_t x_7; +lean_dec(x_5); +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_8); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_8); +x_11 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_9, x_4, x_10, x_6); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_13, 0); +lean_ctor_set(x_3, 1, x_15); +lean_ctor_set(x_13, 0, x_3); +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_13); +lean_ctor_set(x_3, 1, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_3); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_11, 0, x_18); +return x_11; +} +} +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_11, 0); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_11); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_23 = x_19; +} else { + lean_dec_ref(x_19); + x_23 = lean_box(0); +} +lean_ctor_set(x_3, 1, x_21); +if (lean_is_scalar(x_23)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_23; +} +lean_ctor_set(x_24, 0, x_3); +lean_ctor_set(x_24, 1, 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_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_3, 0); +x_27 = lean_ctor_get(x_3, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_3); +lean_inc_ref(x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_26); +x_29 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_27, x_4, x_28, x_6); +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(x_33); +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_35 = x_30; +} else { + lean_dec_ref(x_30); + x_35 = lean_box(0); +} +x_36 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_36, 0, x_26); +lean_ctor_set(x_36, 1, x_33); +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); +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; +} +} +case 4: +{ +uint8_t x_39; +lean_dec_ref(x_4); +x_39 = !lean_is_exclusive(x_3); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_40 = lean_ctor_get(x_3, 0); +x_41 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_40); +x_42 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_41, x_40, x_5, x_6); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_42, 0); +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_3, 1, x_46); +lean_ctor_set(x_44, 0, x_3); +return x_42; +} +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_3, 1, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_3); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_42, 0, x_49); +return x_42; +} +} +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; +x_50 = lean_ctor_get(x_42, 0); +x_51 = lean_ctor_get(x_42, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_42); +x_52 = lean_ctor_get(x_50, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_50, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_54 = x_50; +} else { + lean_dec_ref(x_50); + x_54 = lean_box(0); +} +lean_ctor_set(x_3, 1, x_52); +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_3); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_51); +return x_56; +} +} +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; lean_object* x_67; lean_object* x_68; +x_57 = lean_ctor_get(x_3, 0); +x_58 = lean_ctor_get(x_3, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_3); +lean_inc_ref(x_57); +x_59 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_58, x_57, x_5, x_6); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_62 = x_59; +} else { + lean_dec_ref(x_59); + x_62 = lean_box(0); +} +x_63 = lean_ctor_get(x_60, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_60, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_65 = x_60; +} else { + lean_dec_ref(x_60); + x_65 = lean_box(0); +} +x_66 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_66, 0, x_57); +lean_ctor_set(x_66, 1, x_63); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_64); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_62; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_61); +return x_68; +} +} +case 8: +{ +uint8_t x_69; +x_69 = !lean_is_exclusive(x_3); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_70 = lean_ctor_get(x_3, 1); +x_71 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_70, x_4, x_5, x_6); +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_71, 0); +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) +{ +lean_object* x_75; +x_75 = lean_ctor_get(x_73, 0); +lean_ctor_set(x_3, 1, x_75); +lean_ctor_set(x_73, 0, x_3); +return x_71; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_73, 0); +x_77 = lean_ctor_get(x_73, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_73); +lean_ctor_set(x_3, 1, x_76); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_3); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_71, 0, x_78); +return x_71; +} +} +else +{ +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_71, 0); +x_80 = lean_ctor_get(x_71, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_71); +x_81 = lean_ctor_get(x_79, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_79, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_83 = x_79; +} else { + lean_dec_ref(x_79); + x_83 = lean_box(0); +} +lean_ctor_set(x_3, 1, x_81); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 2, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_3); +lean_ctor_set(x_84, 1, x_82); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_80); +return x_85; +} +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_86 = lean_ctor_get(x_3, 0); +x_87 = lean_ctor_get(x_3, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_3); +x_88 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_87, x_4, x_5, x_6); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +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); +} +x_92 = lean_ctor_get(x_89, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_89, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_89)) { + lean_ctor_release(x_89, 0); + lean_ctor_release(x_89, 1); + x_94 = x_89; +} else { + lean_dec_ref(x_89); + x_94 = lean_box(0); +} +x_95 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_95, 0, x_86); +lean_ctor_set(x_95, 1, x_92); +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_95); +lean_ctor_set(x_96, 1, x_93); +if (lean_is_scalar(x_91)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_91; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_90); +return x_97; +} +} +case 9: +{ +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; uint8_t x_105; +x_98 = lean_ctor_get(x_3, 0); +lean_inc_ref(x_98); +x_99 = lean_ctor_get(x_3, 1); +lean_inc_ref(x_99); +x_100 = lean_ctor_get(x_3, 2); +lean_inc_ref(x_100); +if (lean_is_exclusive(x_3)) { + lean_ctor_release(x_3, 0); + lean_ctor_release(x_3, 1); + lean_ctor_release(x_3, 2); + x_101 = x_3; +} else { + lean_dec_ref(x_3); + x_101 = lean_box(0); +} +x_102 = lean_array_size(x_100); +x_103 = 0; +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_2); +x_104 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__0(x_1, x_2, x_4, x_5, x_102, x_103, x_100, x_6); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; size_t x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; lean_object* x_153; uint8_t x_154; +x_106 = lean_ctor_get(x_104, 0); +x_107 = lean_ctor_get(x_104, 1); +x_108 = lean_array_size(x_106); +lean_inc(x_106); +x_109 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__1(x_108, x_103, x_106); +x_110 = lean_unsigned_to_nat(0u); +x_153 = lean_array_get_size(x_106); +x_154 = lean_nat_dec_lt(x_110, x_153); +if (x_154 == 0) +{ +lean_dec(x_153); +lean_free_object(x_104); +lean_dec(x_106); +x_111 = x_154; +goto block_152; +} +else +{ +if (x_154 == 0) +{ +lean_dec(x_153); +lean_free_object(x_104); +lean_dec(x_106); +x_111 = x_154; +goto block_152; +} +else +{ +size_t x_155; uint8_t x_156; +x_155 = lean_usize_of_nat(x_153); +lean_dec(x_153); +x_156 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2(x_106, x_103, x_155); +lean_dec(x_106); +if (x_156 == 0) +{ +lean_free_object(x_104); +x_111 = x_156; +goto block_152; +} +else +{ +uint8_t x_157; +lean_dec(x_101); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_157 = !lean_is_exclusive(x_98); +if (x_157 == 0) +{ +uint8_t x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_158 = 0; +lean_ctor_set_uint8(x_98, sizeof(void*)*2 + 16, x_158); +x_159 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_159, 0, x_98); +lean_ctor_set(x_159, 1, x_99); +lean_ctor_set(x_159, 2, x_109); +x_160 = lean_box(x_156); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +lean_ctor_set(x_104, 0, x_161); +return x_104; +} +else +{ +lean_object* x_162; double x_163; double x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_162 = lean_ctor_get(x_98, 0); +x_163 = lean_ctor_get_float(x_98, sizeof(void*)*2); +x_164 = lean_ctor_get_float(x_98, sizeof(void*)*2 + 8); +x_165 = lean_ctor_get(x_98, 1); +lean_inc(x_165); +lean_inc(x_162); +lean_dec(x_98); +x_166 = 0; +x_167 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_167, 0, x_162); +lean_ctor_set(x_167, 1, x_165); +lean_ctor_set_float(x_167, sizeof(void*)*2, x_163); +lean_ctor_set_float(x_167, sizeof(void*)*2 + 8, x_164); +lean_ctor_set_uint8(x_167, sizeof(void*)*2 + 16, x_166); +x_168 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_99); +lean_ctor_set(x_168, 2, x_109); +x_169 = lean_box(x_156); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +lean_ctor_set(x_104, 0, x_170); +return x_104; +} +} +} +} +block_152: +{ +lean_object* x_112; uint8_t x_113; +lean_inc_ref(x_99); +x_112 = l_Lean_MessageData_formatAux(x_4, x_5, x_99, x_107); +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_114 = lean_ctor_get(x_112, 0); +x_115 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0; +x_116 = lean_format_pretty(x_114, x_115, x_2, x_110); +x_117 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains(x_1, x_116); +lean_dec_ref(x_116); +if (x_117 == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +if (lean_is_scalar(x_101)) { + x_118 = lean_alloc_ctor(9, 3, 0); +} else { + x_118 = x_101; +} +lean_ctor_set(x_118, 0, x_98); +lean_ctor_set(x_118, 1, x_99); +lean_ctor_set(x_118, 2, x_109); +x_119 = lean_box(x_117); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +lean_ctor_set(x_112, 0, x_120); +return x_112; +} +else +{ +uint8_t x_121; +x_121 = !lean_is_exclusive(x_98); +if (x_121 == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +lean_ctor_set_uint8(x_98, sizeof(void*)*2 + 16, x_111); +if (lean_is_scalar(x_101)) { + x_122 = lean_alloc_ctor(9, 3, 0); +} else { + x_122 = x_101; +} +lean_ctor_set(x_122, 0, x_98); +lean_ctor_set(x_122, 1, x_99); +lean_ctor_set(x_122, 2, x_109); +x_123 = lean_box(x_117); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_112, 0, x_124); +return x_112; +} +else +{ +lean_object* x_125; double x_126; double x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_125 = lean_ctor_get(x_98, 0); +x_126 = lean_ctor_get_float(x_98, sizeof(void*)*2); +x_127 = lean_ctor_get_float(x_98, sizeof(void*)*2 + 8); +x_128 = lean_ctor_get(x_98, 1); +lean_inc(x_128); +lean_inc(x_125); +lean_dec(x_98); +x_129 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_129, 0, x_125); +lean_ctor_set(x_129, 1, x_128); +lean_ctor_set_float(x_129, sizeof(void*)*2, x_126); +lean_ctor_set_float(x_129, sizeof(void*)*2 + 8, x_127); +lean_ctor_set_uint8(x_129, sizeof(void*)*2 + 16, x_111); +if (lean_is_scalar(x_101)) { + x_130 = lean_alloc_ctor(9, 3, 0); +} else { + x_130 = x_101; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_99); +lean_ctor_set(x_130, 2, x_109); +x_131 = lean_box(x_117); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +lean_ctor_set(x_112, 0, x_132); +return x_112; +} +} +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; +x_133 = lean_ctor_get(x_112, 0); +x_134 = lean_ctor_get(x_112, 1); +lean_inc(x_134); +lean_inc(x_133); +lean_dec(x_112); +x_135 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0; +x_136 = lean_format_pretty(x_133, x_135, x_2, x_110); +x_137 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains(x_1, x_136); +lean_dec_ref(x_136); +if (x_137 == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +if (lean_is_scalar(x_101)) { + x_138 = lean_alloc_ctor(9, 3, 0); +} else { + x_138 = x_101; +} +lean_ctor_set(x_138, 0, x_98); +lean_ctor_set(x_138, 1, x_99); +lean_ctor_set(x_138, 2, x_109); +x_139 = lean_box(x_137); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_134); +return x_141; +} +else +{ +lean_object* x_142; double x_143; double 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; +x_142 = lean_ctor_get(x_98, 0); +lean_inc(x_142); +x_143 = lean_ctor_get_float(x_98, sizeof(void*)*2); +x_144 = lean_ctor_get_float(x_98, sizeof(void*)*2 + 8); +x_145 = lean_ctor_get(x_98, 1); +lean_inc_ref(x_145); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_146 = x_98; +} else { + lean_dec_ref(x_98); + x_146 = lean_box(0); +} +if (lean_is_scalar(x_146)) { + x_147 = lean_alloc_ctor(0, 2, 17); +} else { + x_147 = x_146; +} +lean_ctor_set(x_147, 0, x_142); +lean_ctor_set(x_147, 1, x_145); +lean_ctor_set_float(x_147, sizeof(void*)*2, x_143); +lean_ctor_set_float(x_147, sizeof(void*)*2 + 8, x_144); +lean_ctor_set_uint8(x_147, sizeof(void*)*2 + 16, x_111); +if (lean_is_scalar(x_101)) { + x_148 = lean_alloc_ctor(9, 3, 0); +} else { + x_148 = x_101; +} +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_99); +lean_ctor_set(x_148, 2, x_109); +x_149 = lean_box(x_137); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_134); +return x_151; +} +} +} +} +else +{ +lean_object* x_171; lean_object* x_172; size_t x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; lean_object* x_199; uint8_t x_200; +x_171 = lean_ctor_get(x_104, 0); +x_172 = lean_ctor_get(x_104, 1); +lean_inc(x_172); +lean_inc(x_171); +lean_dec(x_104); +x_173 = lean_array_size(x_171); +lean_inc(x_171); +x_174 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__1(x_173, x_103, x_171); +x_175 = lean_unsigned_to_nat(0u); +x_199 = lean_array_get_size(x_171); +x_200 = lean_nat_dec_lt(x_175, x_199); +if (x_200 == 0) +{ +lean_dec(x_199); +lean_dec(x_171); +x_176 = x_200; +goto block_198; +} +else +{ +if (x_200 == 0) +{ +lean_dec(x_199); +lean_dec(x_171); +x_176 = x_200; +goto block_198; +} +else +{ +size_t x_201; uint8_t x_202; +x_201 = lean_usize_of_nat(x_199); +lean_dec(x_199); +x_202 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2(x_171, x_103, x_201); +lean_dec(x_171); +if (x_202 == 0) +{ +x_176 = x_202; +goto block_198; +} +else +{ +lean_object* x_203; double x_204; double 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_dec(x_101); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_203 = lean_ctor_get(x_98, 0); +lean_inc(x_203); +x_204 = lean_ctor_get_float(x_98, sizeof(void*)*2); +x_205 = lean_ctor_get_float(x_98, sizeof(void*)*2 + 8); +x_206 = lean_ctor_get(x_98, 1); +lean_inc_ref(x_206); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_207 = x_98; +} else { + lean_dec_ref(x_98); + x_207 = lean_box(0); +} +x_208 = 0; +if (lean_is_scalar(x_207)) { + x_209 = lean_alloc_ctor(0, 2, 17); +} else { + x_209 = x_207; +} +lean_ctor_set(x_209, 0, x_203); +lean_ctor_set(x_209, 1, x_206); +lean_ctor_set_float(x_209, sizeof(void*)*2, x_204); +lean_ctor_set_float(x_209, sizeof(void*)*2 + 8, x_205); +lean_ctor_set_uint8(x_209, sizeof(void*)*2 + 16, x_208); +x_210 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_99); +lean_ctor_set(x_210, 2, x_174); +x_211 = lean_box(x_202); +x_212 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_212, 0, x_210); +lean_ctor_set(x_212, 1, x_211); +x_213 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_172); +return x_213; +} +} +} +block_198: +{ +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_inc_ref(x_99); +x_177 = l_Lean_MessageData_formatAux(x_4, x_5, x_99, x_172); +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___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0; +x_182 = lean_format_pretty(x_178, x_181, x_2, x_175); +x_183 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_contains(x_1, x_182); +lean_dec_ref(x_182); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +if (lean_is_scalar(x_101)) { + x_184 = lean_alloc_ctor(9, 3, 0); +} else { + x_184 = x_101; +} +lean_ctor_set(x_184, 0, x_98); +lean_ctor_set(x_184, 1, x_99); +lean_ctor_set(x_184, 2, x_174); +x_185 = lean_box(x_183); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +if (lean_is_scalar(x_180)) { + x_187 = lean_alloc_ctor(0, 2, 0); +} else { + x_187 = x_180; +} +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_179); +return x_187; +} +else +{ +lean_object* x_188; double x_189; double 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; +x_188 = lean_ctor_get(x_98, 0); +lean_inc(x_188); +x_189 = lean_ctor_get_float(x_98, sizeof(void*)*2); +x_190 = lean_ctor_get_float(x_98, sizeof(void*)*2 + 8); +x_191 = lean_ctor_get(x_98, 1); +lean_inc_ref(x_191); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_192 = x_98; +} else { + lean_dec_ref(x_98); + x_192 = lean_box(0); +} +if (lean_is_scalar(x_192)) { + x_193 = lean_alloc_ctor(0, 2, 17); +} else { + x_193 = x_192; +} +lean_ctor_set(x_193, 0, x_188); +lean_ctor_set(x_193, 1, x_191); +lean_ctor_set_float(x_193, sizeof(void*)*2, x_189); +lean_ctor_set_float(x_193, sizeof(void*)*2 + 8, x_190); +lean_ctor_set_uint8(x_193, sizeof(void*)*2 + 16, x_176); +if (lean_is_scalar(x_101)) { + x_194 = lean_alloc_ctor(9, 3, 0); +} else { + x_194 = x_101; +} +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_99); +lean_ctor_set(x_194, 2, x_174); +x_195 = lean_box(x_183); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +if (lean_is_scalar(x_180)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_180; +} +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_179); +return x_197; +} +} +} +} +default: +{ +uint8_t x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_214 = 0; +x_215 = lean_box(x_214); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_3); +lean_ctor_set(x_216, 1, x_215); +x_217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_217, 0, x_216); +lean_ctor_set(x_217, 1, x_6); +return x_217; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_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: +{ +size_t x_9; size_t x_10; lean_object* x_11; +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_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__0(x_1, x_2, x_3, x_4, x_9, x_10, x_7, x_8); +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2(x_1, x_4, x_5); +lean_dec_ref(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___boxed(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_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_Highlighted_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_Highlighted_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_Highlighted_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_3, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec_ref(x_1); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_uget(x_4, x_3); +lean_inc_ref(x_1); +x_9 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux(x_1, x_8, x_5); +if (lean_obj_tag(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_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec_ref(x_9); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_4, x_3, x_12); +x_14 = 1; +x_15 = lean_usize_add(x_3, x_14); +x_16 = lean_array_uset(x_13, x_3, x_10); +x_3 = x_15; +x_4 = x_16; +x_5 = x_11; +goto _start; +} +else +{ +uint8_t x_18; +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_18 = !lean_is_exclusive(x_9); +if (x_18 == 0) +{ +return x_9; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_9, 0); +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_9); +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 uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__1(lean_object* x_1, size_t x_2, size_t x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_eq(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_uget(x_1, x_2); +x_6 = lean_ctor_get_uint8(x_5, sizeof(void*)*1 + 1); +lean_dec_ref(x_5); +if (x_6 == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_2, x_7); +x_2 = x_8; +goto _start; +} +else +{ +return x_6; +} +} +else +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_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_ctor_get(x_5, 0); +lean_inc_ref(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 uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3(lean_object* x_1, size_t x_2, size_t x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_eq(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_uget(x_1, x_2); +x_6 = lean_ctor_get_uint8(x_5, sizeof(void*)*1); +lean_dec_ref(x_5); +if (x_6 == 0) +{ +size_t x_7; size_t x_8; +x_7 = 1; +x_8 = lean_usize_add(x_2, x_7); +x_2 = x_8; +goto _start; +} +else +{ +return x_6; +} +} +else +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_3, x_2); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec_ref(x_1); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_array_uget(x_4, x_3); +lean_inc_ref(x_1); +x_9 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux(x_1, x_8, x_5); +if (lean_obj_tag(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_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec_ref(x_9); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_4, x_3, x_12); +x_14 = 1; +x_15 = lean_usize_add(x_3, x_14); +x_16 = lean_array_uset(x_13, x_3, x_10); +x_3 = x_15; +x_4 = x_16; +x_5 = x_11; +goto _start; +} +else +{ +uint8_t x_18; +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_18 = !lean_is_exclusive(x_9); +if (x_18 == 0) +{ +return x_9; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_9, 0); +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_9); +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___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5___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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_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) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_4, x_3); +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_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +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; size_t x_18; size_t x_19; lean_object* x_20; +x_9 = lean_array_uget(x_5, x_4); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5___closed__0; +x_12 = lean_box(0); +lean_inc(x_2); +x_13 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining(x_1, x_2, x_10, x_11, x_12, x_6); +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(0u); +x_17 = lean_array_uset(x_5, x_4, x_16); +x_18 = 1; +x_19 = lean_usize_add(x_4, x_18); +x_20 = lean_array_uset(x_17, x_4, x_14); +x_4 = x_19; +x_5 = x_20; +x_6 = x_15; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__6(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_4, x_3); +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_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_array_uget(x_5, x_4); +lean_inc(x_2); +x_10 = l_Lean_Widget_msgToInteractive(x_9, x_1, x_2, x_6); +if (lean_obj_tag(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; +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_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_5, x_4, x_13); +x_15 = 1; +x_16 = lean_usize_add(x_4, x_15); +x_17 = lean_array_uset(x_14, x_4, x_11); +x_4 = x_16; +x_5 = x_17; +x_6 = x_12; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec_ref(x_5); +lean_dec(x_2); +x_19 = !lean_is_exclusive(x_10); +if (x_19 == 0) +{ +return x_10; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_10, 0); +x_21 = lean_ctor_get(x_10, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_10); +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_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__0(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; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; +x_6 = 0; +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_5); +x_8 = lean_alloc_ctor(3, 4, 1); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_2); +lean_ctor_set(x_8, 2, x_3); +lean_ctor_set(x_8, 3, x_7); +lean_ctor_set_uint8(x_8, sizeof(void*)*4, x_6); +x_9 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_4); +x_10 = 1; +x_11 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set_uint8(x_11, sizeof(void*)*1, x_10); +lean_ctor_set_uint8(x_11, sizeof(void*)*1 + 1, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___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, uint8_t x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_9 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedMsgEmbed_traceChildrenOfMsgEmbed(x_1); +x_10 = lean_alloc_ctor(3, 4, 1); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_3); +lean_ctor_set(x_10, 2, x_4); +lean_ctor_set(x_10, 3, x_9); +lean_ctor_set_uint8(x_10, sizeof(void*)*4, x_5); +x_11 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_6); +x_12 = 1; +x_13 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_7); +lean_ctor_set_uint8(x_13, sizeof(void*)*1 + 1, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +switch (lean_obj_tag(x_2)) { +case 0: +{ +x_4 = x_2; +x_5 = x_3; +goto block_19; +} +case 1: +{ +lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_2, 0); +x_21 = lean_array_size(x_20); +x_22 = 0; +lean_inc_ref(x_20); +lean_inc_ref(x_1); +x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0(x_1, x_21, x_22, x_20, x_3); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_53; +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); +} +x_35 = lean_unsigned_to_nat(0u); +x_36 = lean_array_get_size(x_24); +x_53 = lean_nat_dec_lt(x_35, x_36); +if (x_53 == 0) +{ +x_37 = x_53; +goto block_52; +} +else +{ +if (x_53 == 0) +{ +x_37 = x_53; +goto block_52; +} +else +{ +size_t x_54; uint8_t x_55; +x_54 = lean_usize_of_nat(x_36); +x_55 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3(x_24, x_22, x_54); +x_37 = x_55; +goto block_52; +} +} +block_34: +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_28 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs(x_1, x_2); +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_ctor(0, 1, 2); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_unbox(x_30); +lean_dec(x_30); +lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_32); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 1, x_27); +if (lean_is_scalar(x_26)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_26; +} +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_25); +return x_33; +} +block_52: +{ +uint8_t x_38; +x_38 = lean_nat_dec_lt(x_35, x_36); +if (x_38 == 0) +{ +lean_dec(x_36); +lean_dec(x_24); +x_27 = x_38; +goto block_34; +} +else +{ +if (x_38 == 0) +{ +lean_dec(x_36); +lean_dec(x_24); +x_27 = x_38; +goto block_34; +} +else +{ +size_t x_39; uint8_t x_40; +x_39 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_40 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__1(x_24, x_22, x_39); +if (x_40 == 0) +{ +lean_dec(x_24); +x_27 = x_40; +goto block_34; +} +else +{ +uint8_t x_41; +lean_dec(x_26); +lean_dec_ref(x_1); +x_41 = !lean_is_exclusive(x_2); +if (x_41 == 0) +{ +lean_object* x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_2, 0); +lean_dec(x_42); +x_43 = lean_array_size(x_24); +x_44 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_43, x_22, x_24); +lean_ctor_set(x_2, 0, x_44); +x_45 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_45, 0, x_2); +lean_ctor_set_uint8(x_45, sizeof(void*)*1, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*1 + 1, x_40); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_25); +return x_46; +} +else +{ +size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_2); +x_47 = lean_array_size(x_24); +x_48 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_47, x_22, x_24); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set_uint8(x_50, sizeof(void*)*1, x_37); +lean_ctor_set_uint8(x_50, sizeof(void*)*1 + 1, x_40); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_25); +return x_51; +} +} +} +} +} +} +else +{ +uint8_t x_56; +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_56 = !lean_is_exclusive(x_23); +if (x_56 == 0) +{ +return x_23; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_23, 0); +x_58 = lean_ctor_get(x_23, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_23); +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; +} +} +} +default: +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_2, 0); +if (lean_obj_tag(x_60) == 3) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_inc_ref(x_60); +x_61 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_61); +lean_dec_ref(x_2); +x_62 = lean_ctor_get(x_60, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_60, 1); +lean_inc(x_63); +x_64 = lean_ctor_get(x_60, 2); +lean_inc_ref(x_64); +x_65 = lean_ctor_get_uint8(x_60, sizeof(void*)*4); +x_66 = lean_ctor_get(x_60, 3); +lean_inc_ref(x_66); +lean_dec_ref(x_60); +lean_inc_ref(x_1); +x_67 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs(x_1, x_64); +x_68 = !lean_is_exclusive(x_67); +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; +x_69 = lean_ctor_get(x_67, 0); +x_70 = lean_ctor_get(x_67, 1); +x_71 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedInteractiveMessage_ofInteractiveMessage(x_61); +x_72 = lean_box(x_65); +lean_inc_ref(x_71); +lean_inc(x_69); +lean_inc(x_63); +lean_inc(x_62); +lean_inc_ref(x_66); +x_73 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__1___boxed), 8, 7); +lean_closure_set(x_73, 0, x_66); +lean_closure_set(x_73, 1, x_62); +lean_closure_set(x_73, 2, x_63); +lean_closure_set(x_73, 3, x_69); +lean_closure_set(x_73, 4, x_72); +lean_closure_set(x_73, 5, x_71); +lean_closure_set(x_73, 6, x_70); +x_74 = lean_mk_thunk(x_73); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_75; size_t x_76; size_t x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_66, 0); +lean_inc(x_75); +lean_dec_ref(x_66); +x_76 = lean_array_size(x_75); +x_77 = 0; +x_78 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__4(x_1, x_76, x_77, x_75, x_3); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +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_78); + x_81 = lean_box(0); +} +x_85 = lean_unsigned_to_nat(0u); +x_86 = lean_array_get_size(x_79); +x_87 = lean_nat_dec_lt(x_85, x_86); +if (x_87 == 0) +{ +lean_dec(x_86); +lean_dec(x_79); +lean_dec_ref(x_71); +lean_free_object(x_67); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +goto block_84; +} +else +{ +if (x_87 == 0) +{ +lean_dec(x_86); +lean_dec(x_79); +lean_dec_ref(x_71); +lean_free_object(x_67); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +goto block_84; +} +else +{ +size_t x_88; uint8_t x_89; +x_88 = lean_usize_of_nat(x_86); +lean_dec(x_86); +x_89 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3(x_79, x_77, x_88); +if (x_89 == 0) +{ +lean_dec(x_79); +lean_dec_ref(x_71); +lean_free_object(x_67); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +goto block_84; +} +else +{ +size_t x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_81); +lean_dec_ref(x_74); +x_90 = lean_array_size(x_79); +x_91 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_90, x_77, x_79); +x_92 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__0(x_62, x_63, x_69, x_71, x_91); +lean_ctor_set(x_67, 1, x_80); +lean_ctor_set(x_67, 0, x_92); +return x_67; +} +} +} +block_84: +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_thunk_get_own(x_74); +lean_dec_ref(x_74); +if (lean_is_scalar(x_81)) { + x_83 = lean_alloc_ctor(0, 2, 0); +} else { + x_83 = x_81; +} +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_80); +return x_83; +} +} +else +{ +uint8_t x_93; +lean_dec_ref(x_74); +lean_dec_ref(x_71); +lean_free_object(x_67); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +x_93 = !lean_is_exclusive(x_78); +if (x_93 == 0) +{ +return x_78; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_78, 0); +x_95 = lean_ctor_get(x_78, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_78); +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; +} +} +} +else +{ +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_110; lean_object* x_111; uint8_t x_112; +lean_free_object(x_67); +x_97 = lean_ctor_get(x_66, 0); +lean_inc(x_97); +lean_dec_ref(x_66); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +lean_dec(x_97); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc_ref(x_100); +lean_dec(x_98); +x_101 = lean_array_size(x_100); +x_102 = 0; +lean_inc(x_99); +x_103 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5(x_1, x_99, x_101, x_102, x_100, x_3); +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_106 = x_103; +} else { + lean_dec_ref(x_103); + x_106 = lean_box(0); +} +x_110 = lean_unsigned_to_nat(0u); +x_111 = lean_array_get_size(x_104); +x_112 = lean_nat_dec_lt(x_110, x_111); +if (x_112 == 0) +{ +lean_dec(x_111); +lean_dec(x_104); +lean_dec(x_99); +lean_dec_ref(x_71); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +goto block_109; +} +else +{ +if (x_112 == 0) +{ +lean_dec(x_111); +lean_dec(x_104); +lean_dec(x_99); +lean_dec_ref(x_71); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +goto block_109; +} +else +{ +size_t x_113; uint8_t x_114; +x_113 = lean_usize_of_nat(x_111); +lean_dec(x_111); +x_114 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2(x_104, x_102, x_113); +if (x_114 == 0) +{ +lean_dec(x_104); +lean_dec(x_99); +lean_dec_ref(x_71); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +goto block_109; +} +else +{ +size_t x_115; lean_object* x_116; size_t x_117; lean_object* x_118; +lean_dec(x_106); +lean_dec_ref(x_74); +x_115 = lean_array_size(x_104); +x_116 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__1(x_115, x_102, x_104); +x_117 = lean_array_size(x_116); +x_118 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__6(x_114, x_99, x_117, x_102, x_116, x_105); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; size_t 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_array_size(x_119); +x_122 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0(x_1, x_121, x_102, x_119, x_120); +if (lean_obj_tag(x_122) == 0) +{ +uint8_t x_123; +x_123 = !lean_is_exclusive(x_122); +if (x_123 == 0) +{ +lean_object* x_124; size_t x_125; lean_object* x_126; lean_object* x_127; +x_124 = lean_ctor_get(x_122, 0); +x_125 = lean_array_size(x_124); +x_126 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_125, x_102, x_124); +x_127 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__0(x_62, x_63, x_69, x_71, x_126); +lean_ctor_set(x_122, 0, x_127); +return x_122; +} +else +{ +lean_object* x_128; lean_object* x_129; size_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_128 = lean_ctor_get(x_122, 0); +x_129 = lean_ctor_get(x_122, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_122); +x_130 = lean_array_size(x_128); +x_131 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_130, x_102, x_128); +x_132 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__0(x_62, x_63, x_69, x_71, x_131); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_129); +return x_133; +} +} +else +{ +uint8_t x_134; +lean_dec_ref(x_71); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +x_134 = !lean_is_exclusive(x_122); +if (x_134 == 0) +{ +return x_122; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_122, 0); +x_136 = lean_ctor_get(x_122, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_122); +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 +{ +uint8_t x_138; +lean_dec_ref(x_71); +lean_dec(x_69); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +x_138 = !lean_is_exclusive(x_118); +if (x_138 == 0) +{ +return x_118; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_118, 0); +x_140 = lean_ctor_get(x_118, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_118); +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; +} +} +} +} +} +block_109: +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_thunk_get_own(x_74); +lean_dec_ref(x_74); +if (lean_is_scalar(x_106)) { + x_108 = lean_alloc_ctor(0, 2, 0); +} else { + x_108 = x_106; +} +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_105); +return x_108; +} +} +} +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; +x_142 = lean_ctor_get(x_67, 0); +x_143 = lean_ctor_get(x_67, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_67); +x_144 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_HighlightedInteractiveMessage_ofInteractiveMessage(x_61); +x_145 = lean_box(x_65); +lean_inc_ref(x_144); +lean_inc(x_142); +lean_inc(x_63); +lean_inc(x_62); +lean_inc_ref(x_66); +x_146 = lean_alloc_closure((void*)(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__1___boxed), 8, 7); +lean_closure_set(x_146, 0, x_66); +lean_closure_set(x_146, 1, x_62); +lean_closure_set(x_146, 2, x_63); +lean_closure_set(x_146, 3, x_142); +lean_closure_set(x_146, 4, x_145); +lean_closure_set(x_146, 5, x_144); +lean_closure_set(x_146, 6, x_143); +x_147 = lean_mk_thunk(x_146); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_148; size_t x_149; size_t x_150; lean_object* x_151; +x_148 = lean_ctor_get(x_66, 0); +lean_inc(x_148); +lean_dec_ref(x_66); +x_149 = lean_array_size(x_148); +x_150 = 0; +x_151 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__4(x_1, x_149, x_150, x_148, x_3); +if (lean_obj_tag(x_151) == 0) +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_158; lean_object* x_159; uint8_t x_160; +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_154 = x_151; +} else { + lean_dec_ref(x_151); + x_154 = lean_box(0); +} +x_158 = lean_unsigned_to_nat(0u); +x_159 = lean_array_get_size(x_152); +x_160 = lean_nat_dec_lt(x_158, x_159); +if (x_160 == 0) +{ +lean_dec(x_159); +lean_dec(x_152); +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +goto block_157; +} +else +{ +if (x_160 == 0) +{ +lean_dec(x_159); +lean_dec(x_152); +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +goto block_157; +} +else +{ +size_t x_161; uint8_t x_162; +x_161 = lean_usize_of_nat(x_159); +lean_dec(x_159); +x_162 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3(x_152, x_150, x_161); +if (x_162 == 0) +{ +lean_dec(x_152); +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +goto block_157; +} +else +{ +size_t x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +lean_dec(x_154); +lean_dec_ref(x_147); +x_163 = lean_array_size(x_152); +x_164 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_163, x_150, x_152); +x_165 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__0(x_62, x_63, x_142, x_144, x_164); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_153); +return x_166; +} +} +} +block_157: +{ +lean_object* x_155; lean_object* x_156; +x_155 = lean_thunk_get_own(x_147); +lean_dec_ref(x_147); +if (lean_is_scalar(x_154)) { + x_156 = lean_alloc_ctor(0, 2, 0); +} else { + x_156 = x_154; +} +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_153); +return x_156; +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec_ref(x_147); +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +x_167 = lean_ctor_get(x_151, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_151, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_169 = x_151; +} else { + lean_dec_ref(x_151); + x_169 = lean_box(0); +} +if (lean_is_scalar(x_169)) { + x_170 = lean_alloc_ctor(1, 2, 0); +} else { + x_170 = x_169; +} +lean_ctor_set(x_170, 0, x_167); +lean_ctor_set(x_170, 1, x_168); +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_184; lean_object* x_185; uint8_t x_186; +x_171 = lean_ctor_get(x_66, 0); +lean_inc(x_171); +lean_dec_ref(x_66); +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +lean_dec(x_171); +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc_ref(x_174); +lean_dec(x_172); +x_175 = lean_array_size(x_174); +x_176 = 0; +lean_inc(x_173); +x_177 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5(x_1, x_173, x_175, x_176, x_174, x_3); +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_184 = lean_unsigned_to_nat(0u); +x_185 = lean_array_get_size(x_178); +x_186 = lean_nat_dec_lt(x_184, x_185); +if (x_186 == 0) +{ +lean_dec(x_185); +lean_dec(x_178); +lean_dec(x_173); +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +goto block_183; +} +else +{ +if (x_186 == 0) +{ +lean_dec(x_185); +lean_dec(x_178); +lean_dec(x_173); +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +goto block_183; +} +else +{ +size_t x_187; uint8_t x_188; +x_187 = lean_usize_of_nat(x_185); +lean_dec(x_185); +x_188 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__2(x_178, x_176, x_187); +if (x_188 == 0) +{ +lean_dec(x_178); +lean_dec(x_173); +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +goto block_183; +} +else +{ +size_t x_189; lean_object* x_190; size_t x_191; lean_object* x_192; +lean_dec(x_180); +lean_dec_ref(x_147); +x_189 = lean_array_size(x_178); +x_190 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining_spec__1(x_189, x_176, x_178); +x_191 = lean_array_size(x_190); +x_192 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__6(x_188, x_173, x_191, x_176, x_190, x_179); +if (lean_obj_tag(x_192) == 0) +{ +lean_object* x_193; lean_object* x_194; size_t x_195; lean_object* x_196; +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec_ref(x_192); +x_195 = lean_array_size(x_193); +x_196 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0(x_1, x_195, x_176, x_193, x_194); +if (lean_obj_tag(x_196) == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; size_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +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_array_size(x_197); +x_201 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_200, x_176, x_197); +x_202 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__0(x_62, x_63, x_142, x_144, x_201); +if (lean_is_scalar(x_199)) { + x_203 = lean_alloc_ctor(0, 2, 0); +} else { + x_203 = x_199; +} +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_198); +return x_203; +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +lean_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +x_204 = lean_ctor_get(x_196, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_196, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_206 = x_196; +} else { + lean_dec_ref(x_196); + 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_dec_ref(x_144); +lean_dec(x_142); +lean_dec(x_63); +lean_dec(x_62); +lean_dec_ref(x_1); +x_208 = lean_ctor_get(x_192, 0); +lean_inc(x_208); +x_209 = lean_ctor_get(x_192, 1); +lean_inc(x_209); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_210 = x_192; +} else { + lean_dec_ref(x_192); + x_210 = lean_box(0); +} +if (lean_is_scalar(x_210)) { + x_211 = lean_alloc_ctor(1, 2, 0); +} else { + x_211 = x_210; +} +lean_ctor_set(x_211, 0, x_208); +lean_ctor_set(x_211, 1, x_209); +return x_211; +} +} +} +} +block_183: +{ +lean_object* x_181; lean_object* x_182; +x_181 = lean_thunk_get_own(x_147); +lean_dec_ref(x_147); +if (lean_is_scalar(x_180)) { + x_182 = lean_alloc_ctor(0, 2, 0); +} else { + x_182 = x_180; +} +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_179); +return x_182; +} +} +} +} +else +{ +x_4 = x_2; +x_5 = x_3; +goto block_19; +} +} +} +block_19: +{ +lean_object* x_6; uint8_t x_7; +x_6 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs(x_1, x_4); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_6, 1); +x_10 = 0; +x_11 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_11, 0, x_8); +x_12 = lean_unbox(x_9); +lean_dec(x_9); +lean_ctor_set_uint8(x_11, sizeof(void*)*1, x_12); +lean_ctor_set_uint8(x_11, sizeof(void*)*1 + 1, x_10); +lean_ctor_set(x_6, 1, x_5); +lean_ctor_set(x_6, 0, x_11); +return x_6; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_6, 0); +x_14 = lean_ctor_get(x_6, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_6); +x_15 = 0; +x_16 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_16, 0, x_13); +x_17 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_17); +lean_ctor_set_uint8(x_16, sizeof(void*)*1 + 1, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_5); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0___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_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__0(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__1(x_1, x_4, x_5); +lean_dec_ref(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_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_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__3(x_1, x_4, x_5); +lean_dec_ref(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__4___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_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_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__4(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_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) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_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: +{ +uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_7 = lean_unbox(x_1); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__6(x_7, x_2, x_8, x_9, x_5, x_6); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___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: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_5); +x_10 = lean_unbox(x_7); +x_11 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux___lam__1(x_1, x_2, x_3, x_4, x_9, x_6, x_10, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_HighlightMatchesParams_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_Widget_HighlightMatchesParams_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Widget_HighlightMatchesParams_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1__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_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1__ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Widget_RpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1__ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("query", 5, 5); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_(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; +x_2 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_; +lean_inc(x_1); +x_3 = l_Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25__spec__0(x_1, x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec_ref(x_3); +x_5 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +x_6 = l_Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25__spec__0(x_1, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_8); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = !lean_is_exclusive(x_1); +if (x_2 == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_1, 1); +x_5 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_; +lean_ctor_set(x_1, 1, x_3); +lean_ctor_set(x_1, 0, x_5); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +x_8 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_4); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_6); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_6); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_7); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43_; +x_14 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43__spec__0(x_12, x_13); +x_15 = l_Lean_Json_mkObj(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; 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_16 = lean_ctor_get(x_1, 0); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_1); +x_18 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_25_; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_20); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43_; +x_28 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_433270988____hygCtx___hyg_43__spec__0(x_26, x_27); +x_29 = l_Lean_Json_mkObj(x_28); +return x_29; +} +} +} +static lean_object* _init_l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams_enc____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_(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; uint8_t x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; +x_7 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_6, x_5, x_2); +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; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_4); +x_11 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_9); +lean_ctor_set(x_1, 1, x_11); +lean_ctor_set(x_1, 0, x_10); +x_12 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_(x_1); +lean_ctor_set(x_7, 0, x_12); +return x_7; +} +else +{ +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_13 = lean_ctor_get(x_7, 0); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_7); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_4); +x_16 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_13); +lean_ctor_set(x_1, 1, x_16); +lean_ctor_set(x_1, 0, x_15); +x_17 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_(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_14); +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; +x_19 = lean_ctor_get(x_1, 0); +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_1); +x_21 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0; +x_22 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_21, x_20, x_2); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +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); +} +x_26 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_26, 0, x_19); +x_27 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_23); +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 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_(x_28); +if (lean_is_scalar(x_25)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_25; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +return x_30; +} +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic_1765450820____hygCtx___hyg_1_), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_(x_1); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec_ref(x_3); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = l_Lean_Json_getStr_x3f(x_6); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_free_object(x_4); +lean_dec(x_7); +lean_dec_ref(x_2); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec_ref(x_8); +x_13 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_7); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +lean_dec(x_12); +lean_free_object(x_4); +lean_dec_ref(x_2); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec_ref(x_13); +x_18 = l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_; +x_19 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_18, x_17, x_2); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +lean_dec(x_12); +lean_free_object(x_4); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_4, 1, x_24); +lean_ctor_set(x_4, 0, x_12); +lean_ctor_set(x_19, 0, x_4); +return x_19; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_19, 0); +lean_inc(x_25); +lean_dec(x_19); +lean_ctor_set(x_4, 1, x_25); +lean_ctor_set(x_4, 0, x_12); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_4); +return x_26; +} +} +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_4); +x_29 = l_Lean_Json_getStr_x3f(x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_28); +lean_dec_ref(x_2); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + x_31 = x_29; +} else { + lean_dec_ref(x_29); + x_31 = lean_box(0); +} +if (lean_is_scalar(x_31)) { + x_32 = lean_alloc_ctor(0, 1, 0); +} else { + x_32 = x_31; +} +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_29, 0); +lean_inc(x_33); +lean_dec_ref(x_29); +x_34 = l_Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__1(x_28); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_33); +lean_dec_ref(x_2); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + 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, 1, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_35); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_34, 0); +lean_inc(x_38); +lean_dec_ref(x_34); +x_39 = l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_; +x_40 = l_Lean_Widget_TaggedText_mapM___at___Lean_Widget_instRpcEncodableInfoPopup_dec____x40_Lean_Server_FileWorker_WidgetRequests_2734021171____hygCtx___hyg_1__spec__4___redArg(x_39, x_38, x_2); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_33); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + x_42 = x_40; +} else { + lean_dec_ref(x_40); + x_42 = lean_box(0); +} +if (lean_is_scalar(x_42)) { + x_43 = lean_alloc_ctor(0, 1, 0); +} else { + x_43 = x_42; +} +lean_ctor_set(x_43, 0, x_41); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_40, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + x_45 = x_40; +} else { + lean_dec_ref(x_40); + x_45 = lean_box(0); +} +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_33); +lean_ctor_set(x_46, 1, x_44); +if (lean_is_scalar(x_45)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_45; +} +lean_ctor_set(x_47, 0, x_46); +return x_47; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightMatchesParams_enc____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__1; +x_2 = l_Lean_Widget_instRpcEncodableHighlightMatchesParams___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_Widget_instRpcEncodableHighlightMatchesParams() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__2; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_highlightMatches___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 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux(x_1, x_2, 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; +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); +lean_ctor_set(x_5, 0, x_8); +return x_5; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_5); +x_11 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_11); +lean_dec(x_9); +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; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_5); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_5, 0); +x_15 = l_Lean_Server_RequestError_ofIoError(x_14); +lean_ctor_set(x_5, 0, x_15); +return x_5; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_5, 0); +x_17 = lean_ctor_get(x_5, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_5); +x_18 = l_Lean_Server_RequestError_ofIoError(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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_highlightMatches(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_1, 0); +lean_inc_ref(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_5); +lean_dec_ref(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Widget_highlightMatches___lam__0___boxed), 4, 2); +lean_closure_set(x_6, 0, x_4); +lean_closure_set(x_6, 1, x_5); +x_7 = l_Lean_Server_RequestM_pureTask___redArg(x_6, x_2, x_3); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Widget_highlightMatches___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_Widget_highlightMatches___lam__0(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__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) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec_ref(x_2); +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec_ref(x_3); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec_ref(x_3); +x_9 = lean_st_ref_take(x_1, x_5); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec_ref(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_12); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__0; +x_15 = l_Lean_Widget_TaggedText_mapM___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__4___redArg(x_14, x_8, x_12); +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; uint8_t x_24; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +lean_closure_set(x_18, 0, x_13); +x_19 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_17); +lean_ctor_set(x_15, 0, x_19); +x_20 = l_Prod_map___redArg(x_2, x_18, x_15); +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_st_ref_set(x_1, x_22, x_11); +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_21); +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_21); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +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; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_28 = lean_ctor_get(x_15, 0); +x_29 = lean_ctor_get(x_15, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_15); +x_30 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__1), 2, 1); +lean_closure_set(x_30, 0, x_13); +x_31 = l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6(x_28); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_29); +x_33 = l_Prod_map___redArg(x_2, x_30, x_32); +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_set(x_1, x_35, x_11); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; +} else { + lean_dec_ref(x_36); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_34); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint64_t 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_6, 0); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__3___redArg(x_8, x_4); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +x_10 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1; +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec_ref(x_9); +x_13 = lean_st_ref_get(x_12, x_7); +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; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = lean_ctor_get(x_15, 0); +lean_inc_ref(x_17); +lean_dec(x_15); +lean_inc(x_5); +x_18 = l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_(x_5, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; uint8_t 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_dec(x_12); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = 3; +x_21 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_22 = 1; +x_23 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_22); +x_24 = lean_string_append(x_21, x_23); +lean_dec_ref(x_23); +x_25 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_26 = lean_string_append(x_24, x_25); +x_27 = l_Lean_Json_compress(x_5); +x_28 = lean_string_append(x_26, x_27); +lean_dec_ref(x_27); +x_29 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_30 = lean_string_append(x_28, x_29); +x_31 = lean_string_append(x_30, x_19); +lean_dec(x_19); +x_32 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_20); +lean_ctor_set_tag(x_13, 1); +lean_ctor_set(x_13, 0, x_32); +return x_13; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_free_object(x_13); +lean_dec(x_5); +lean_dec(x_1); +x_33 = lean_ctor_get(x_18, 0); +lean_inc(x_33); +lean_dec_ref(x_18); +lean_inc_ref(x_6); +x_34 = lean_apply_3(x_2, x_33, x_6, x_16); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +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 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__2___boxed), 5, 2); +lean_closure_set(x_37, 0, x_12); +lean_closure_set(x_37, 1, x_3); +x_38 = l_Lean_Server_RequestM_mapTaskCheap___redArg(x_35, x_37, x_6, x_36); +return x_38; +} +else +{ +uint8_t x_39; +lean_dec(x_12); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +return x_34; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_34); +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; lean_object* x_46; +x_43 = lean_ctor_get(x_13, 0); +x_44 = lean_ctor_get(x_13, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_13); +x_45 = lean_ctor_get(x_43, 0); +lean_inc_ref(x_45); +lean_dec(x_43); +lean_inc(x_5); +x_46 = l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_(x_5, x_45); +if (lean_obj_tag(x_46) == 0) +{ +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; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_12); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +lean_dec_ref(x_46); +x_48 = 3; +x_49 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2; +x_50 = 1; +x_51 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_50); +x_52 = lean_string_append(x_49, x_51); +lean_dec_ref(x_51); +x_53 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3; +x_54 = lean_string_append(x_52, x_53); +x_55 = l_Lean_Json_compress(x_5); +x_56 = lean_string_append(x_54, x_55); +lean_dec_ref(x_55); +x_57 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4; +x_58 = lean_string_append(x_56, x_57); +x_59 = lean_string_append(x_58, x_47); +lean_dec(x_47); +x_60 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set_uint8(x_60, sizeof(void*)*1, x_48); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_44); +return x_61; +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_5); +lean_dec(x_1); +x_62 = lean_ctor_get(x_46, 0); +lean_inc(x_62); +lean_dec_ref(x_46); +lean_inc_ref(x_6); +x_63 = lean_apply_3(x_2, x_62, x_6, x_44); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +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_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__2___boxed), 5, 2); +lean_closure_set(x_66, 0, x_12); +lean_closure_set(x_66, 1, x_3); +x_67 = l_Lean_Server_RequestM_mapTaskCheap___redArg(x_64, x_66, x_6, x_65); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_12); +lean_dec_ref(x_6); +lean_dec_ref(x_3); +x_68 = lean_ctor_get(x_63, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_63, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_70 = x_63; +} else { + lean_dec_ref(x_63); + 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; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1454953308____hygCtx___hyg_2__spec__0_spec__0___closed__0; +x_4 = lean_alloc_closure((void*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__0___boxed), 7, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_initializing(x_3); +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; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 1); +x_8 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; +x_9 = 1; +lean_inc(x_1); +x_10 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_9); +x_11 = lean_string_append(x_8, x_10); +lean_dec_ref(x_10); +x_12 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; +x_13 = lean_string_append(x_11, x_12); +x_14 = lean_unbox(x_6); +lean_dec(x_6); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec_ref(x_2); +lean_dec(x_1); +x_15 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; +x_16 = lean_string_append(x_13, x_15); +x_17 = lean_mk_io_user_error(x_16); +lean_ctor_set_tag(x_4, 1); +lean_ctor_set(x_4, 0, x_17); +return x_4; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_free_object(x_4); +x_18 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; +x_19 = lean_st_ref_get(x_18, x_7); +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 = lean_ctor_get(x_19, 1); +x_23 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_21, x_1); +if (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; uint8_t x_30; +lean_free_object(x_19); +lean_dec_ref(x_13); +x_24 = lean_st_ref_take(x_18, x_22); +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); +lean_inc(x_1); +x_27 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); +x_28 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_25, x_1, x_27); +x_29 = lean_st_ref_set(x_18, x_28, x_26); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +return x_29; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_29); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec_ref(x_2); +lean_dec(x_1); +x_34 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; +x_35 = lean_string_append(x_13, x_34); +x_36 = lean_mk_io_user_error(x_35); +lean_ctor_set_tag(x_19, 1); +lean_ctor_set(x_19, 0, x_36); +return x_19; +} +} +else +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_37 = lean_ctor_get(x_19, 0); +x_38 = lean_ctor_get(x_19, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_19); +x_39 = l_Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_37, x_1); +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; +lean_dec_ref(x_13); +x_40 = lean_st_ref_take(x_18, x_38); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec_ref(x_40); +lean_inc(x_1); +x_43 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); +x_44 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_41, x_1, x_43); +x_45 = lean_st_ref_set(x_18, x_44, x_42); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_48 = x_45; +} else { + lean_dec_ref(x_45); + x_48 = lean_box(0); +} +if (lean_is_scalar(x_48)) { + x_49 = lean_alloc_ctor(0, 2, 0); +} else { + x_49 = x_48; +} +lean_ctor_set(x_49, 0, x_46); +lean_ctor_set(x_49, 1, x_47); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec_ref(x_2); +lean_dec(x_1); +x_50 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; +x_51 = lean_string_append(x_13, x_50); +x_52 = lean_mk_io_user_error(x_51); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_38); +return x_53; +} +} +} +} +else +{ +lean_object* 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; lean_object* x_61; uint8_t x_62; +x_54 = lean_ctor_get(x_4, 0); +x_55 = lean_ctor_get(x_4, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_4); +x_56 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0; +x_57 = 1; +lean_inc(x_1); +x_58 = l_Lean_Name_toStringWithToken___at___Lean_Name_toString_spec__0(x_1, x_57); +x_59 = lean_string_append(x_56, x_58); +lean_dec_ref(x_58); +x_60 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1; +x_61 = lean_string_append(x_59, x_60); +x_62 = lean_unbox(x_54); +lean_dec(x_54); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec_ref(x_2); +lean_dec(x_1); +x_63 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2; +x_64 = lean_string_append(x_61, x_63); +x_65 = lean_mk_io_user_error(x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_55); +return x_66; +} +else +{ +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_67 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3; +x_68 = lean_st_ref_get(x_67, x_55); +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_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0___redArg(x_69, x_1); +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; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_71); +lean_dec_ref(x_61); +x_73 = lean_st_ref_take(x_67, x_70); +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_1); +x_76 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0(x_1, x_2); +x_77 = l_Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10___redArg(x_74, x_1, x_76); +x_78 = lean_st_ref_set(x_67, x_77, x_75); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +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_78); + x_81 = lean_box(0); +} +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(0, 2, 0); +} else { + x_82 = x_81; +} +lean_ctor_set(x_82, 0, x_79); +lean_ctor_set(x_82, 1, x_80); +return x_82; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_dec_ref(x_2); +lean_dec(x_1); +x_83 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4; +x_84 = lean_string_append(x_61, x_83); +x_85 = lean_mk_io_user_error(x_84); +if (lean_is_scalar(x_71)) { + x_86 = lean_alloc_ctor(1, 2, 0); +} else { + x_86 = x_71; + lean_ctor_set_tag(x_86, 1); +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_70); +return x_86; +} +} +} +} +else +{ +uint8_t x_87; +lean_dec_ref(x_2); +lean_dec(x_1); +x_87 = !lean_is_exclusive(x_4); +if (x_87 == 0) +{ +return x_4; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_4, 0); +x_89 = lean_ctor_get(x_4, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_4); +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; +} +} +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("highlightMatches", 16, 16); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Widget_highlightMatches), 3, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_; +x_3 = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_; +x_4 = l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__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) { +_start: +{ +lean_object* x_6; +x_6 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__2(x_1, x_2, x_3, x_4, x_5); +lean_dec_ref(x_4); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__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, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint64_t x_8; lean_object* x_9; +x_8 = lean_unbox_uint64(x_4); +lean_dec(x_4); +x_9 = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2__spec__0_spec__0___lam__0(x_1, x_2, x_3, x_8, x_5, x_6, x_7); +return x_9; +} +} lean_object* initialize_Lean_Widget_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Widget_InteractiveCode(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Widget_InteractiveGoal(uint8_t builtin, lean_object*); @@ -11098,51 +22484,51 @@ l_Lean_Widget_instRpcEncodableMsgToInteractive___closed__2 = _init_l_Lean_Widget lean_mark_persistent(l_Lean_Widget_instRpcEncodableMsgToInteractive___closed__2); l_Lean_Widget_instRpcEncodableMsgToInteractive = _init_l_Lean_Widget_instRpcEncodableMsgToInteractive(); lean_mark_persistent(l_Lean_Widget_instRpcEncodableMsgToInteractive); -l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0(); -l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1(); -l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0(); -lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0); -l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1(); -lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1); -l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2(); -lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2); -l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3(); -lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3); -l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0(); -lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0); -l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0(); -lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0); -l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1(); -lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1); -l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2(); -lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2); -l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3(); -lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3); -l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4(); -lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4); -l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0(); -lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0); -l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0(); -lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__0); -l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1(); -lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__1); -l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2(); -lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__2); -l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3(); -lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__3); -l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4(); -lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2__spec__0___closed__4); -l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_); -l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_); -l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_); -l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_); -l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(); -lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_); -if (builtin) {res = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2452504642____hygCtx___hyg_2_(lean_io_mk_world()); +l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__0(); +l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_PersistentHashMap_containsAux___at___Lean_PersistentHashMap_contains___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__0_spec__0___redArg___closed__1(); +l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0(); +lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__0); +l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1(); +lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__1); +l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2(); +lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__2); +l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3 = _init_l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3(); +lean_mark_persistent(l_Lean_Widget_instToJsonTaggedText_toJson___at_____private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3_spec__6___closed__3); +l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0(); +lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__2___closed__0); +l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0(); +lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__0); +l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1(); +lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__1); +l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2(); +lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__2); +l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3(); +lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__3); +l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4 = _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4(); +lean_mark_persistent(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_wrapRpcProcedure___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__3___lam__3___closed__4); +l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0 = _init_l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at___Lean_PersistentHashMap_insert___at___Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0_spec__10_spec__10___redArg___closed__0); +l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0(); +lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__0); +l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1(); +lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__1); +l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2(); +lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__2); +l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3(); +lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__3); +l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4 = _init_l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4(); +lean_mark_persistent(l_Lean_Server_registerBuiltinRpcProcedure___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2__spec__0___closed__4); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_1264552272____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Widget_instInhabitedInfoPopup_default___closed__0 = _init_l_Lean_Widget_instInhabitedInfoPopup_default___closed__0(); @@ -11312,6 +22698,183 @@ lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_W if (builtin) {res = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2425369468____hygCtx___hyg_2_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___closed__0 = _init_l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___closed__0(); +lean_mark_persistent(l___private_Init_While_0__Lean_Loop_forIn_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__0___closed__0); +l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0 = _init_l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0(); +lean_mark_persistent(l_Std_PRange_RangeIterator_instIteratorLoop_loop___at___Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable_spec__1_spec__1___redArg___closed__0); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__0); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__1 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__1(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch_buildKMPTable___closed__1); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__0 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__0(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__0); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__1 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__1(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_kmpSearch___closed__1); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__0 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__0); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__1 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__1); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__2 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__2); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__3 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__3); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__4 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__4(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__4); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__5 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__5(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__5); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__6 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__6(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__6); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__7 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__7(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__7); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__8 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__8(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__8); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__9 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__9(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__9); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__10); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__11 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__11(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__11); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__12 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__12(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_hightlightStringMatches_x3f___redArg___closed__12); +l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0 = _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__0); +l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1 = _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__0___closed__1); +l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1___closed__0 = _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1___closed__0(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo___lam__1___closed__0); +l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo = _init_l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedSubexprInfo); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___closed__0 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___closed__0(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightCodeWithInfos_spec__0___lam__0___closed__0); +l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__0 = _init_l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__0(); +lean_mark_persistent(l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__0); +l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__1 = _init_l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__1(); +lean_mark_persistent(l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default___closed__1); +l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default = _init_l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default(); +lean_mark_persistent(l_Lean_Widget_instInhabitedHighlightedMsgEmbed_default); +l_Lean_Widget_instInhabitedHighlightedMsgEmbed = _init_l_Lean_Widget_instInhabitedHighlightedMsgEmbed(); +lean_mark_persistent(l_Lean_Widget_instInhabitedHighlightedMsgEmbed); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__0___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__9____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__9____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__9____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__10____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__10____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__10____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__11____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__11____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__11____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__12____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__12____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__12____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__13____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__13____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__13____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__14____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__14____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__14____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__15____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__15____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__1___closed__15____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__3____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__4____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__5____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__6____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__7____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__2___closed__8____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__3___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___lam__4___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_94_); +l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_ = _init_l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(); +lean_mark_persistent(l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_); +l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_ = _init_l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_(); +lean_mark_persistent(l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_433376973____hygCtx___hyg_121_); +l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_ = _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_enc___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_); +l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_ = _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2377472685____hygCtx___hyg_1_); +l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__0 = _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__0(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__0); +l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__1 = _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__1(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__1); +l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__2 = _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__2(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed___closed__2); +l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed = _init_l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightedMsgEmbed); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg___closed__0 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_go___redArg___closed__0); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__0 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__0(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__0); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__1 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__1(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightTaggedText___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightInteractiveMessageWithExprs_spec__0___closed__1); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0 = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_unfoldMessageDataTracesContaining___closed__0); +l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_highlightMatchesAux_spec__5___closed__0); +l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_); +l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_); +l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_(); +lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_25_); +l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_ = _init_l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_(); +lean_mark_persistent(l_Lean_Widget_instToJsonRpcEncodablePacket___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_); +l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_ = _init_l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_(); +lean_mark_persistent(l_Lean_Widget_instToJsonRpcEncodablePacket____x40_Lean_Server_FileWorker_WidgetRequests_3934210649____hygCtx___hyg_43_); +l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_ = _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightMatchesParams_dec___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_4177755762____hygCtx___hyg_1_); +l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__0 = _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__0(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__0); +l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__1 = _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__1(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__1); +l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__2 = _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__2(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightMatchesParams___closed__2); +l_Lean_Widget_instRpcEncodableHighlightMatchesParams = _init_l_Lean_Widget_instRpcEncodableHighlightMatchesParams(); +lean_mark_persistent(l_Lean_Widget_instRpcEncodableHighlightMatchesParams); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__0____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__1____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_); +l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_ = _init_l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_(); +lean_mark_persistent(l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn___closed__2____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_); +if (builtin) {res = l___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests_2782638367____hygCtx___hyg_2_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Server/Watchdog.c b/stage0/stdlib/Lean/Server/Watchdog.c index c47d12234b..f43e1b06e5 100644 --- a/stage0/stdlib/Lean/Server/Watchdog.c +++ b/stage0/stdlib/Lean/Server/Watchdog.c @@ -1063,6 +1063,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_WorkerState_noConfusion___redArg(uint8_t, uint8_t); lean_object* lean_io_exit(uint8_t, lean_object*); lean_object* l_Lean_Server_ModuleImport_collapseIdenticalImports_x3f(lean_object*); +static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34; uint8_t lean_float_beq(double, double); static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__12; static lean_object* l_Lean_Server_Watchdog_instFromJsonCallHierarchyItemData_fromJson___closed__4; @@ -1104,6 +1105,7 @@ lean_object* l_System_Uri_fileUriToPath_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Array_filterMapM___at___Lean_Server_Watchdog_handlePrepareCallHierarchy_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__21; lean_object* l_Array_append___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleReferenceRequest___at___Lean_Server_Watchdog_handleRequest_spec__1(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_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop_spec__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_Server_Watchdog_startLoadingReferences_spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); @@ -1213,6 +1215,7 @@ static lean_object* l_Lean_Server_Watchdog_handleRequest___closed__14; static lean_object* l_Lean_Server_Watchdog_instFromJsonCallHierarchyItemData_fromJson___closed__18; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___Std_DHashMap_Internal_Raw_u2080_Const_alter___at___Array_groupByKey___at_____private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_handleCallHierarchyIncomingCalls_collapseSameIncomingCalls_spec__3_spec__3_spec__7___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_WorkerEvent_crashed_elim(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_RequestDataMutex_enqueue___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__28; static lean_object* l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__4; @@ -52942,7 +52945,7 @@ static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___clos _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__30; +x_1 = lean_box(0); x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -52951,8 +52954,40 @@ return x_2; static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32() { _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; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__31; +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_Server_Watchdog_mkLeanServerCapabilities___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32; +x_2 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__30; +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_Server_Watchdog_mkLeanServerCapabilities___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33; +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_Server_Watchdog_mkLeanServerCapabilities___closed__35() { +_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; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34; x_2 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__29; x_3 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__24; x_4 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__21; @@ -52987,7 +53022,7 @@ static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities() { _start: { lean_object* x_1; -x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32; +x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35; return x_1; } } @@ -53902,7 +53937,7 @@ block_135: { lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; x_121 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 0, x_117); lean_ctor_set(x_121, 1, x_120); x_122 = l_Lean_Server_Watchdog_parseRequestParams_x3f___redArg___closed__12; x_123 = lean_alloc_ctor(3, 1, 0); @@ -53923,13 +53958,13 @@ lean_dec(x_116); x_130 = l_List_appendTR___redArg(x_127, x_129); x_131 = l_Lean_Json_mkObj(x_130); x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_117); +lean_ctor_set(x_132, 0, x_119); lean_ctor_set(x_132, 1, x_131); x_133 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_133, 0, x_132); lean_ctor_set(x_133, 1, x_125); x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_119); +lean_ctor_set(x_134, 0, x_118); lean_ctor_set(x_134, 1, x_133); x_54 = x_134; goto block_63; @@ -53947,9 +53982,9 @@ case 0: { lean_object* x_141; x_141 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__5; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_141; goto block_135; } @@ -53957,9 +53992,9 @@ case 1: { lean_object* x_142; x_142 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__7; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_142; goto block_135; } @@ -53967,9 +54002,9 @@ case 2: { lean_object* x_143; x_143 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__9; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_143; goto block_135; } @@ -53977,9 +54012,9 @@ case 3: { lean_object* x_144; x_144 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__11; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_144; goto block_135; } @@ -53987,9 +54022,9 @@ case 4: { lean_object* x_145; x_145 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__13; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_145; goto block_135; } @@ -53997,9 +54032,9 @@ case 5: { lean_object* x_146; x_146 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__15; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_146; goto block_135; } @@ -54007,9 +54042,9 @@ case 6: { lean_object* x_147; x_147 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__17; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_147; goto block_135; } @@ -54017,9 +54052,9 @@ case 7: { lean_object* x_148; x_148 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__19; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_148; goto block_135; } @@ -54027,9 +54062,9 @@ case 8: { lean_object* x_149; x_149 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__21; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_149; goto block_135; } @@ -54037,9 +54072,9 @@ case 9: { lean_object* x_150; x_150 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__23; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_150; goto block_135; } @@ -54047,9 +54082,9 @@ case 10: { lean_object* x_151; x_151 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__25; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_151; goto block_135; } @@ -54057,9 +54092,9 @@ default: { lean_object* x_152; x_152 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__27; -x_117 = x_139; -x_118 = x_140; -x_119 = x_138; +x_117 = x_140; +x_118 = x_138; +x_119 = x_139; x_120 = x_152; goto block_135; } @@ -55770,7 +55805,7 @@ return x_37; } else { -lean_object* 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; 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_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; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_87; lean_object* x_88; lean_object* x_89; uint8_t x_95; lean_object* x_103; lean_object* x_104; +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; 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_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; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_87; lean_object* x_88; lean_object* x_89; uint8_t x_95; lean_object* x_103; lean_object* x_104; x_38 = lean_ctor_get(x_25, 0); lean_inc(x_38); lean_dec_ref(x_25); @@ -55812,13 +55847,13 @@ block_48: { lean_object* x_45; lean_object* x_46; lean_object* x_47; x_45 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_39); +lean_ctor_set(x_45, 0, x_41); +lean_ctor_set(x_45, 1, x_40); lean_ctor_set(x_45, 2, x_42); -lean_ctor_set(x_45, 3, x_41); +lean_ctor_set(x_45, 3, x_43); lean_ctor_set(x_45, 4, x_38); lean_ctor_set(x_45, 5, x_44); -lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*6, x_39); if (lean_is_scalar(x_12)) { x_46 = lean_alloc_ctor(0, 3, 0); } else { @@ -55838,46 +55873,46 @@ return x_47; } block_59: { -if (lean_obj_tag(x_51) == 0) +if (lean_obj_tag(x_50) == 0) { lean_object* x_55; -lean_dec_ref(x_51); +lean_dec_ref(x_50); x_55 = lean_box(0); x_39 = x_49; -x_40 = x_50; -x_41 = x_54; -x_42 = x_52; -x_43 = x_53; +x_40 = x_51; +x_41 = x_52; +x_42 = x_53; +x_43 = x_54; x_44 = x_55; goto block_48; } else { uint8_t x_56; -x_56 = !lean_is_exclusive(x_51); +x_56 = !lean_is_exclusive(x_50); if (x_56 == 0) { x_39 = x_49; -x_40 = x_50; -x_41 = x_54; -x_42 = x_52; -x_43 = x_53; -x_44 = x_51; +x_40 = x_51; +x_41 = x_52; +x_42 = x_53; +x_43 = x_54; +x_44 = x_50; goto block_48; } else { lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_51, 0); +x_57 = lean_ctor_get(x_50, 0); lean_inc(x_57); -lean_dec(x_51); +lean_dec(x_50); x_58 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_58, 0, x_57); x_39 = x_49; -x_40 = x_50; -x_41 = x_54; -x_42 = x_52; -x_43 = x_53; +x_40 = x_51; +x_41 = x_52; +x_42 = x_53; +x_43 = x_54; x_44 = x_58; goto block_48; } @@ -55893,8 +55928,8 @@ x_73 = lean_box(0); x_49 = x_68; x_50 = x_69; x_51 = x_70; -x_52 = x_72; -x_53 = x_71; +x_52 = x_71; +x_53 = x_72; x_54 = x_73; goto block_59; } @@ -55907,8 +55942,8 @@ if (x_74 == 0) x_49 = x_68; x_50 = x_69; x_51 = x_70; -x_52 = x_72; -x_53 = x_71; +x_52 = x_71; +x_53 = x_72; x_54 = x_67; goto block_59; } @@ -55923,8 +55958,8 @@ lean_ctor_set(x_76, 0, x_75); x_49 = x_68; x_50 = x_69; x_51 = x_70; -x_52 = x_72; -x_53 = x_71; +x_52 = x_71; +x_53 = x_72; x_54 = x_76; goto block_59; } @@ -55937,9 +55972,9 @@ if (lean_obj_tag(x_65) == 0) lean_object* x_82; lean_dec_ref(x_65); x_82 = lean_box(0); -x_68 = x_81; -x_69 = x_78; -x_70 = x_79; +x_68 = x_78; +x_69 = x_79; +x_70 = x_81; x_71 = x_80; x_72 = x_82; goto block_77; @@ -55950,9 +55985,9 @@ uint8_t x_83; x_83 = !lean_is_exclusive(x_65); if (x_83 == 0) { -x_68 = x_81; -x_69 = x_78; -x_70 = x_79; +x_68 = x_78; +x_69 = x_79; +x_70 = x_81; x_71 = x_80; x_72 = x_65; goto block_77; @@ -55965,9 +56000,9 @@ lean_inc(x_84); lean_dec(x_65); x_85 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_85, 0, x_84); -x_68 = x_81; -x_69 = x_78; -x_70 = x_79; +x_68 = x_78; +x_69 = x_79; +x_70 = x_81; x_71 = x_80; x_72 = x_85; goto block_77; @@ -56340,7 +56375,7 @@ block_193: { 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; x_179 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 0, x_175); lean_ctor_set(x_179, 1, x_178); x_180 = l_Lean_Server_Watchdog_parseRequestParams_x3f___redArg___closed__12; x_181 = lean_alloc_ctor(3, 1, 0); @@ -56361,13 +56396,13 @@ lean_dec(x_174); x_188 = l_List_appendTR___redArg(x_185, x_187); x_189 = l_Lean_Json_mkObj(x_188); x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_176); +lean_ctor_set(x_190, 0, x_177); lean_ctor_set(x_190, 1, x_189); x_191 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_191, 0, x_190); lean_ctor_set(x_191, 1, x_183); x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_175); +lean_ctor_set(x_192, 0, x_176); lean_ctor_set(x_192, 1, x_191); x_112 = x_192; goto block_121; @@ -56385,9 +56420,9 @@ case 0: { lean_object* x_199; x_199 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__5; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_199; goto block_193; } @@ -56395,9 +56430,9 @@ case 1: { lean_object* x_200; x_200 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__7; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_200; goto block_193; } @@ -56405,9 +56440,9 @@ case 2: { lean_object* x_201; x_201 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__9; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_201; goto block_193; } @@ -56415,9 +56450,9 @@ case 3: { lean_object* x_202; x_202 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__11; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_202; goto block_193; } @@ -56425,9 +56460,9 @@ case 4: { lean_object* x_203; x_203 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__13; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_203; goto block_193; } @@ -56435,9 +56470,9 @@ case 5: { lean_object* x_204; x_204 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__15; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_204; goto block_193; } @@ -56445,9 +56480,9 @@ case 6: { lean_object* x_205; x_205 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__17; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_205; goto block_193; } @@ -56455,9 +56490,9 @@ case 7: { lean_object* x_206; x_206 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__19; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_206; goto block_193; } @@ -56465,9 +56500,9 @@ case 8: { lean_object* x_207; x_207 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__21; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_207; goto block_193; } @@ -56475,9 +56510,9 @@ case 9: { lean_object* x_208; x_208 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__23; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_208; goto block_193; } @@ -56485,9 +56520,9 @@ case 10: { lean_object* x_209; x_209 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__25; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_209; goto block_193; } @@ -56495,9 +56530,9 @@ default: { lean_object* x_210; x_210 = l_IO_FS_Stream_readNotificationAs___at___IO_FS_Stream_readLspNotificationAs___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__1_spec__1___closed__27; -x_175 = x_196; -x_176 = x_197; -x_177 = x_198; +x_175 = x_198; +x_176 = x_196; +x_177 = x_197; x_178 = x_210; goto block_193; } @@ -58205,6 +58240,12 @@ l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__31 = _init_l_Lean_Serv lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__31); l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32(); lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__32); +l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33(); +lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__33); +l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34(); +lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__34); +l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35 = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35(); +lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__35); l_Lean_Server_Watchdog_mkLeanServerCapabilities = _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities(); lean_mark_persistent(l_Lean_Server_Watchdog_mkLeanServerCapabilities); l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__0___redArg___closed__0 = _init_l___private_Init_While_0__Lean_Loop_forIn_loop___at___Lean_Server_Watchdog_initAndRunWatchdogAux_spec__0___redArg___closed__0(); diff --git a/stage0/stdlib/Lean/ToExpr.c b/stage0/stdlib/Lean/ToExpr.c index e6d2e858cc..74caa58464 100644 --- a/stage0/stdlib/Lean/ToExpr.c +++ b/stage0/stdlib/Lean/ToExpr.c @@ -22,7 +22,6 @@ lean_object* l_Lean_mkNatLit(lean_object*); uint32_t lean_int32_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprBool; uint8_t lean_int16_dec_le(uint16_t, uint16_t); -static lean_object* l_Lean_Expr_toCtorIfLit___closed__8; LEAN_EXPORT lean_object* l_Lean_instToExprUInt8; static lean_object* l_Lean_instToExprInt8_mkNat___closed__1; static lean_object* l_Lean_instToExprBool___lam__0___closed__3; @@ -31,9 +30,7 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Lean_instToExprPreresolved___lam__0___closed__7; static lean_object* l_Lean_instToExprString___closed__2; LEAN_EXPORT lean_object* l_Lean_instToExprArrayOfToLevel(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_toCtorIfLit___closed__9; static lean_object* l_Lean_instToExprProdOfToLevel___redArg___lam__0___closed__0; -static lean_object* l_Lean_Expr_toCtorIfLit___closed__7; lean_object* lean_uint32_to_nat(uint32_t); static lean_object* l_Lean_instToExprInt64_mkNat___closed__3; static lean_object* l_Lean_instToExprString___closed__4; @@ -49,7 +46,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprFin___lam__0(lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_instToExprFVarId___lam__0(lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToExprInt64_mkNat___closed__4; -static lean_object* l_Lean_Expr_toCtorIfLit___closed__3; lean_object* lean_int64_to_int_sint(uint64_t); static lean_object* l_Lean_instToExprInt_mkNat___closed__2; static lean_object* l_Lean_instToExprFilePath___lam__0___closed__0; @@ -86,7 +82,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprPreresolved___lam__0(lean_object*, lea static lean_object* l_Lean_instToExprBool___closed__0; LEAN_EXPORT lean_object* l_Lean_instToExprBitVec___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprInt8; -static lean_object* l_Lean_Expr_toCtorIfLit___closed__2; static lean_object* l_Lean_instToExprUInt8___lam__0___closed__3; static lean_object* l_Lean_instToExprBitVec___lam__0___closed__0; static lean_object* l_Lean_instToExprNat___closed__1; @@ -105,7 +100,6 @@ static lean_object* l_Lean_instToExprUInt8___lam__0___closed__0; lean_object* l_Lean_Level_ofNat(lean_object*); static lean_object* l_Lean_instToExprLiteral___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_instToExprISize___lam__0___boxed(lean_object*); -static lean_object* l_Lean_Expr_toCtorIfLit___closed__0; static lean_object* l_Lean_instToExprLiteral___lam__0___closed__6; static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux___closed__0; size_t lean_isize_of_nat(lean_object*); @@ -150,7 +144,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprUInt8___lam__0(uint8_t); static lean_object* l_Lean_instToExprInt32_mkNat___closed__3; static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_mkStr___closed__7; static lean_object* l_Lean_instToExprInt16___closed__0; -static lean_object* l_Lean_Expr_toCtorIfLit___closed__6; LEAN_EXPORT lean_object* l_Lean_instToExprISize___lam__0(size_t); LEAN_EXPORT lean_object* l_Lean_instToExprInt64___lam__0___boxed(lean_object*); static lean_object* l_Lean_instToExprFVarId___closed__0; @@ -225,7 +218,6 @@ LEAN_EXPORT lean_object* l_Lean_instToExprInt32; LEAN_EXPORT lean_object* l_Lean_instToExprInt64_mkNat(lean_object*); static lean_object* l_Lean_instToExprISize_mkNat___closed__2; LEAN_EXPORT lean_object* l_Lean_instToExprChar___lam__0___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_toCtorIfLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprUSize___lam__0(size_t); LEAN_EXPORT lean_object* l_Lean_instToExprInt16; LEAN_EXPORT lean_object* l_Lean_instToExprUInt16; @@ -233,11 +225,9 @@ static lean_object* l_Lean_instToExprOptionOfToLevel___redArg___lam__0___closed_ static lean_object* l_Lean_instToExprInt32_mkNat___closed__2; static lean_object* l_Lean_instToExprNat___closed__2; static lean_object* l_Lean_instToExprOptionOfToLevel___redArg___lam__0___closed__3; -lean_object* l_String_toList(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_mkStr(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprOptionOfToLevel___redArg(lean_object*, lean_object*); -static lean_object* l_Lean_Expr_toCtorIfLit___closed__1; LEAN_EXPORT lean_object* l_Lean_instToExprProdOfToLevel___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToExprChar___lam__0___closed__2; static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_go___closed__5; @@ -252,7 +242,6 @@ static lean_object* l_Lean_instToExprInt32_mkNat___closed__0; static lean_object* l_Lean_instToExprISize___lam__0___closed__2; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); lean_object* lean_int16_to_int(uint16_t); -uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToExprPreresolved___closed__0; static lean_object* l_Lean_instToExprListOfToLevel___redArg___closed__3; @@ -287,7 +276,6 @@ static lean_object* l_Lean_instToExprUInt32___lam__0___closed__4; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_instToExprInt32___lam__0___closed__1; static lean_object* l_Lean_instToExprUnit___lam__0___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprUInt32; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_instToExprUInt32___lam__0___closed__1; @@ -301,7 +289,6 @@ uint64_t lean_int64_of_nat(lean_object*); static lean_object* l_Lean_instToExprUSize___lam__0___closed__1; static lean_object* l_Lean_instToExprUInt64___lam__0___closed__2; static lean_object* l_Lean_instToExprChar___lam__0___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_int8_dec_le(uint8_t, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_go(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprUInt16___lam__0___boxed(lean_object*); @@ -331,7 +318,6 @@ static lean_object* l_Lean_instToExprLiteral___lam__0___closed__5; static lean_object* l_Lean_instToExprInt___lam__0___closed__6; LEAN_EXPORT lean_object* l_Lean_instToExprBool___lam__0(uint8_t); LEAN_EXPORT lean_object* l_Lean_instToExprInt_mkNat(lean_object*); -static lean_object* l_Lean_Expr_toCtorIfLit___closed__5; static lean_object* l_Lean_instToExprChar___closed__0; static lean_object* l_Lean_instToExprLiteral___lam__0___closed__1; static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_go___closed__0; @@ -351,7 +337,6 @@ static lean_object* l_Lean_instToExprUnit___closed__1; static lean_object* l_Lean_instToExprInt64___closed__0; static lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux_mkStr___closed__2; static lean_object* l_Lean_instToExprNat___closed__4; -static lean_object* l_Lean_Expr_toCtorIfLit___closed__4; lean_object* lean_int_neg(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprBitVec(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -3918,196 +3903,6 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_dec_ref(x_2); -lean_inc_ref(x_1); -return x_1; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint32_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_4 = lean_ctor_get(x_3, 0); -x_5 = lean_ctor_get(x_3, 1); -x_6 = l_Lean_instToExprChar___lam__0___closed__2; -x_7 = lean_unbox_uint32(x_4); -x_8 = lean_uint32_to_nat(x_7); -x_9 = l_Lean_mkRawNatLit(x_8); -x_10 = l_Lean_Expr_app___override(x_6, x_9); -lean_inc_ref(x_2); -x_11 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_1, x_2, x_5); -x_12 = l_Lean_mkAppB(x_2, x_10, x_11); -return x_12; -} -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("succ", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Expr_toCtorIfLit___closed__0; -x_2 = l_Lean_instToExprNat___closed__1; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_toCtorIfLit___closed__1; -x_3 = l_Lean_mkConst(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("zero", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Expr_toCtorIfLit___closed__3; -x_2 = l_Lean_instToExprNat___closed__1; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_toCtorIfLit___closed__4; -x_3 = l_Lean_mkConst(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instToExprFilePath___lam__0___closed__2; -x_2 = l_Lean_instToExprString___closed__1; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_toCtorIfLit___closed__6; -x_3 = l_Lean_mkConst(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instToExprChar___closed__1; -x_2 = l_Lean_instToExprPreresolved___lam__0___closed__9; -x_3 = l_Lean_Expr_app___override(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Expr_toCtorIfLit___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instToExprChar___closed__1; -x_2 = l_Lean_instToExprPreresolved___lam__0___closed__11; -x_3 = l_Lean_Expr_app___override(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_toCtorIfLit(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 9) -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_2); -lean_dec_ref(x_1); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -lean_dec_ref(x_2); -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_eq(x_3, 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; -x_6 = l_Lean_Expr_toCtorIfLit___closed__2; -x_7 = lean_unsigned_to_nat(1u); -x_8 = lean_nat_sub(x_3, x_7); -lean_dec(x_3); -x_9 = l_Lean_mkRawNatLit(x_8); -x_10 = l_Lean_Expr_app___override(x_6, x_9); -return x_10; -} -else -{ -lean_object* x_11; -lean_dec(x_3); -x_11 = l_Lean_Expr_toCtorIfLit___closed__5; -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; lean_object* x_18; -x_12 = lean_ctor_get(x_2, 0); -lean_inc_ref(x_12); -lean_dec_ref(x_2); -x_13 = l_Lean_Expr_toCtorIfLit___closed__7; -x_14 = l_Lean_Expr_toCtorIfLit___closed__8; -x_15 = l_Lean_Expr_toCtorIfLit___closed__9; -x_16 = l_String_toList(x_12); -x_17 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_14, x_15, x_16); -lean_dec(x_16); -x_18 = l_Lean_Expr_app___override(x_13, x_17); -return x_18; -} -} -else -{ -return x_1; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Lean_ToExpr_0__Lean_List_toExprAux___at___Lean_Expr_toCtorIfLit_spec__0(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec_ref(x_1); -return x_4; -} -} lean_object* initialize_Lean_Expr(uint8_t builtin, lean_object*); lean_object* initialize_Lean_ToLevel(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_BitVec_Basic(uint8_t builtin, lean_object*); @@ -4586,26 +4381,6 @@ l_Lean_instToExprPreresolved___closed__1 = _init_l_Lean_instToExprPreresolved___ lean_mark_persistent(l_Lean_instToExprPreresolved___closed__1); l_Lean_instToExprPreresolved = _init_l_Lean_instToExprPreresolved(); lean_mark_persistent(l_Lean_instToExprPreresolved); -l_Lean_Expr_toCtorIfLit___closed__0 = _init_l_Lean_Expr_toCtorIfLit___closed__0(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__0); -l_Lean_Expr_toCtorIfLit___closed__1 = _init_l_Lean_Expr_toCtorIfLit___closed__1(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__1); -l_Lean_Expr_toCtorIfLit___closed__2 = _init_l_Lean_Expr_toCtorIfLit___closed__2(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__2); -l_Lean_Expr_toCtorIfLit___closed__3 = _init_l_Lean_Expr_toCtorIfLit___closed__3(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__3); -l_Lean_Expr_toCtorIfLit___closed__4 = _init_l_Lean_Expr_toCtorIfLit___closed__4(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__4); -l_Lean_Expr_toCtorIfLit___closed__5 = _init_l_Lean_Expr_toCtorIfLit___closed__5(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__5); -l_Lean_Expr_toCtorIfLit___closed__6 = _init_l_Lean_Expr_toCtorIfLit___closed__6(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__6); -l_Lean_Expr_toCtorIfLit___closed__7 = _init_l_Lean_Expr_toCtorIfLit___closed__7(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__7); -l_Lean_Expr_toCtorIfLit___closed__8 = _init_l_Lean_Expr_toCtorIfLit___closed__8(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__8); -l_Lean_Expr_toCtorIfLit___closed__9 = _init_l_Lean_Expr_toCtorIfLit___closed__9(); -lean_mark_persistent(l_Lean_Expr_toCtorIfLit___closed__9); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c index e8d52cbb7e..cefab4cf55 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c +++ b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c @@ -161,6 +161,7 @@ lean_object* l_Lean_JsonNumber_fromInt(lean_object*); lean_object* l_Lean_Widget_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode_3233133395____hygCtx___hyg_1_(lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Widget_MsgEmbed_trace_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instTypeNameInteractiveMessage; lean_object* l_instMonadExceptOfMonadExceptOf___redArg(lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__5____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_106_; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic_1765450820____hygCtx___hyg_1__spec__5___redArg___boxed(lean_object*); @@ -302,6 +303,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__2____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_106_; lean_object* l_Lean_instFromJsonJson___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Widget_InteractiveDiagnostic_2315129857____hygCtx___hyg_92_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1; lean_object* l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_ExceptT_instMonad___redArg___lam__9(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); @@ -413,6 +415,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_W LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_124__spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractive_fmtToTT___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ExceptT_map(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__1; LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___Lean_Widget_instFromJsonTaggedText_fromJson___at___Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic_1765450820____hygCtx___hyg_1__spec__0_spec__0(lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic_2157017296____hygCtx___hyg_1____at___Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic_1765450820____hygCtx___hyg_1__spec__5(lean_object*, lean_object*); @@ -517,6 +520,7 @@ static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__11; static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___lam__1___closed__1; static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc___redArg___closed__12____x40_Lean_Widget_InteractiveDiagnostic_2989700264____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Widget_StrictOrLazy_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__0; extern lean_object* l_Lean_instImpl____x40_Lean_Message_4238524789____hygCtx___hyg_234_; double lean_float_sub(double, double); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Array_toJson___at___Lean_Widget_instToJsonTaggedText_toJson___at___Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic_1765450820____hygCtx___hyg_1__spec__2_spec__2_spec__2(size_t, size_t, lean_object*); @@ -5988,6 +5992,41 @@ x_1 = l_Lean_Widget_instRpcEncodableMsgEmbed___closed__2; return x_1; } } +static lean_object* _init_l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("InteractiveMessage", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__0; +x_2 = l_Lean_Widget_instImpl___closed__1____x40_Lean_Widget_InteractiveDiagnostic_72002168____hygCtx___hyg_27_; +x_3 = l_Lean_Widget_instImpl___closed__0____x40_Lean_Widget_InteractiveDiagnostic_72002168____hygCtx___hyg_27_; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Widget_instTypeNameInteractiveMessage() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1; +return x_1; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_RpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic_2989700264____hygCtx___hyg_2__ctorIdx(lean_object* x_1) { _start: { @@ -6918,14 +6957,14 @@ if (lean_is_scalar(x_15)) { x_30 = x_15; } lean_ctor_set(x_30, 0, x_19); -lean_ctor_set(x_30, 1, x_23); -lean_ctor_set(x_30, 2, x_22); -lean_ctor_set(x_30, 3, x_20); -lean_ctor_set(x_30, 4, x_27); -lean_ctor_set(x_30, 5, x_25); -lean_ctor_set(x_30, 6, x_24); -lean_ctor_set(x_30, 7, x_26); -lean_ctor_set(x_30, 8, x_21); +lean_ctor_set(x_30, 1, x_22); +lean_ctor_set(x_30, 2, x_20); +lean_ctor_set(x_30, 3, x_27); +lean_ctor_set(x_30, 4, x_26); +lean_ctor_set(x_30, 5, x_21); +lean_ctor_set(x_30, 6, x_23); +lean_ctor_set(x_30, 7, x_25); +lean_ctor_set(x_30, 8, x_24); lean_ctor_set(x_30, 9, x_28); lean_ctor_set(x_30, 10, x_14); x_31 = l_Lean_Widget_instToJsonRpcEncodablePacket_toJson____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_124_(x_30); @@ -6945,13 +6984,13 @@ lean_object* x_44; lean_dec_ref(x_17); x_44 = lean_box(0); x_20 = x_34; -x_21 = x_41; +x_21 = x_35; x_22 = x_36; -x_23 = x_35; -x_24 = x_37; -x_25 = x_38; -x_26 = x_40; -x_27 = x_39; +x_23 = x_37; +x_24 = x_41; +x_25 = x_39; +x_26 = x_38; +x_27 = x_40; x_28 = x_44; x_29 = x_42; goto block_33; @@ -6977,13 +7016,13 @@ x_53 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc___redArg___closed__20___ x_54 = l_Array_toJson___redArg(x_53, x_51); lean_ctor_set(x_13, 0, x_54); x_20 = x_34; -x_21 = x_41; +x_21 = x_35; x_22 = x_36; -x_23 = x_35; -x_24 = x_37; -x_25 = x_38; -x_26 = x_40; -x_27 = x_39; +x_23 = x_37; +x_24 = x_41; +x_25 = x_39; +x_26 = x_38; +x_27 = x_40; x_28 = x_13; x_29 = x_52; goto block_33; @@ -7008,13 +7047,13 @@ x_63 = l_Array_toJson___redArg(x_62, x_60); x_64 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_64, 0, x_63); x_20 = x_34; -x_21 = x_41; +x_21 = x_35; x_22 = x_36; -x_23 = x_35; -x_24 = x_37; -x_25 = x_38; -x_26 = x_40; -x_27 = x_39; +x_23 = x_37; +x_24 = x_41; +x_25 = x_39; +x_26 = x_38; +x_27 = x_40; x_28 = x_64; x_29 = x_61; goto block_33; @@ -7031,12 +7070,12 @@ lean_object* x_75; lean_dec_ref(x_16); x_75 = lean_box(0); x_34 = x_66; -x_35 = x_68; -x_36 = x_67; +x_35 = x_67; +x_36 = x_68; x_37 = x_69; x_38 = x_70; -x_39 = x_71; -x_40 = x_72; +x_39 = x_72; +x_40 = x_71; x_41 = x_75; x_42 = x_73; goto block_65; @@ -7062,12 +7101,12 @@ x_84 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc___redArg___closed__20___ x_85 = l_Array_toJson___redArg(x_84, x_82); lean_ctor_set(x_12, 0, x_85); x_34 = x_66; -x_35 = x_68; -x_36 = x_67; +x_35 = x_67; +x_36 = x_68; x_37 = x_69; x_38 = x_70; -x_39 = x_71; -x_40 = x_72; +x_39 = x_72; +x_40 = x_71; x_41 = x_12; x_42 = x_83; goto block_65; @@ -7092,12 +7131,12 @@ x_94 = l_Array_toJson___redArg(x_93, x_91); x_95 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_95, 0, x_94); x_34 = x_66; -x_35 = x_68; -x_36 = x_67; +x_35 = x_67; +x_36 = x_68; x_37 = x_69; x_38 = x_70; -x_39 = x_71; -x_40 = x_72; +x_39 = x_72; +x_40 = x_71; x_41 = x_95; x_42 = x_92; goto block_65; @@ -7123,10 +7162,10 @@ lean_object* x_108; lean_dec_ref(x_18); x_108 = lean_box(0); x_66 = x_97; -x_67 = x_99; +x_67 = x_101; x_68 = x_98; x_69 = x_105; -x_70 = x_101; +x_70 = x_99; x_71 = x_100; x_72 = x_108; x_73 = x_106; @@ -7153,10 +7192,10 @@ x_117 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc___redArg___closed__20__ x_118 = l_Array_toJson___redArg(x_117, x_115); lean_ctor_set(x_11, 0, x_118); x_66 = x_97; -x_67 = x_99; +x_67 = x_101; x_68 = x_98; x_69 = x_105; -x_70 = x_101; +x_70 = x_99; x_71 = x_100; x_72 = x_11; x_73 = x_116; @@ -7182,10 +7221,10 @@ x_127 = l_Array_toJson___redArg(x_126, x_124); x_128 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_128, 0, x_127); x_66 = x_97; -x_67 = x_99; +x_67 = x_101; x_68 = x_98; x_69 = x_105; -x_70 = x_101; +x_70 = x_99; x_71 = x_100; x_72 = x_128; x_73 = x_125; @@ -7200,9 +7239,9 @@ if (lean_obj_tag(x_9) == 0) lean_object* x_135; x_135 = lean_box(0); x_97 = x_130; -x_98 = x_132; -x_99 = x_131; -x_100 = x_133; +x_98 = x_131; +x_99 = x_133; +x_100 = x_132; x_101 = x_135; x_102 = x_134; goto block_129; @@ -7219,9 +7258,9 @@ x_138 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_138, 0, x_137); lean_ctor_set(x_9, 0, x_138); x_97 = x_130; -x_98 = x_132; -x_99 = x_131; -x_100 = x_133; +x_98 = x_131; +x_99 = x_133; +x_100 = x_132; x_101 = x_9; x_102 = x_134; goto block_129; @@ -7237,9 +7276,9 @@ lean_ctor_set(x_140, 0, x_139); x_141 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_141, 0, x_140); x_97 = x_130; -x_98 = x_132; -x_99 = x_131; -x_100 = x_133; +x_98 = x_131; +x_99 = x_133; +x_100 = x_132; x_101 = x_141; x_102 = x_134; goto block_129; @@ -7252,8 +7291,8 @@ lean_object* x_148; x_148 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_148, 0, x_146); x_130 = x_143; -x_131 = x_145; -x_132 = x_144; +x_131 = x_144; +x_132 = x_145; x_133 = x_148; x_134 = x_147; goto block_142; @@ -7264,9 +7303,9 @@ if (lean_obj_tag(x_8) == 0) { lean_object* x_154; x_154 = lean_box(0); -x_130 = x_152; +x_130 = x_150; x_131 = x_151; -x_132 = x_150; +x_132 = x_152; x_133 = x_154; x_134 = x_153; goto block_142; @@ -7288,9 +7327,9 @@ x_157 = lean_ctor_get(x_155, 0); x_158 = l_Lean_JsonNumber_fromInt(x_157); lean_ctor_set_tag(x_155, 2); lean_ctor_set(x_155, 0, x_158); -x_143 = x_152; -x_144 = x_150; -x_145 = x_151; +x_143 = x_150; +x_144 = x_151; +x_145 = x_152; x_146 = x_155; x_147 = x_153; goto block_149; @@ -7304,9 +7343,9 @@ lean_dec(x_155); x_160 = l_Lean_JsonNumber_fromInt(x_159); x_161 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_161, 0, x_160); -x_143 = x_152; -x_144 = x_150; -x_145 = x_151; +x_143 = x_150; +x_144 = x_151; +x_145 = x_152; x_146 = x_161; x_147 = x_153; goto block_149; @@ -7319,9 +7358,9 @@ x_162 = !lean_is_exclusive(x_155); if (x_162 == 0) { lean_ctor_set_tag(x_155, 3); -x_143 = x_152; -x_144 = x_150; -x_145 = x_151; +x_143 = x_150; +x_144 = x_151; +x_145 = x_152; x_146 = x_155; x_147 = x_153; goto block_149; @@ -7334,9 +7373,9 @@ lean_inc(x_163); lean_dec(x_155); x_164 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_164, 0, x_163); -x_143 = x_152; -x_144 = x_150; -x_145 = x_151; +x_143 = x_150; +x_144 = x_151; +x_145 = x_152; x_146 = x_164; x_147 = x_153; goto block_149; @@ -7350,8 +7389,8 @@ if (lean_obj_tag(x_7) == 0) { lean_object* x_169; x_169 = lean_box(0); -x_150 = x_166; -x_151 = x_167; +x_150 = x_167; +x_151 = x_166; x_152 = x_169; x_153 = x_168; goto block_165; @@ -7369,8 +7408,8 @@ x_173 = lean_unbox(x_171); lean_dec(x_171); lean_ctor_set_uint8(x_172, 0, x_173); lean_ctor_set(x_7, 0, x_172); -x_150 = x_166; -x_151 = x_167; +x_150 = x_167; +x_151 = x_166; x_152 = x_7; x_153 = x_168; goto block_165; @@ -7387,8 +7426,8 @@ lean_dec(x_174); lean_ctor_set_uint8(x_175, 0, x_176); x_177 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_177, 0, x_175); -x_150 = x_166; -x_151 = x_167; +x_150 = x_167; +x_151 = x_166; x_152 = x_177; x_153 = x_168; goto block_165; @@ -8182,15 +8221,15 @@ if (lean_is_scalar(x_27)) { x_46 = x_27; } lean_ctor_set(x_46, 0, x_34); -lean_ctor_set(x_46, 1, x_36); -lean_ctor_set(x_46, 2, x_44); -lean_ctor_set(x_46, 3, x_41); -lean_ctor_set(x_46, 4, x_40); -lean_ctor_set(x_46, 5, x_38); +lean_ctor_set(x_46, 1, x_40); +lean_ctor_set(x_46, 2, x_43); +lean_ctor_set(x_46, 3, x_39); +lean_ctor_set(x_46, 4, x_38); +lean_ctor_set(x_46, 5, x_42); lean_ctor_set(x_46, 6, x_37); -lean_ctor_set(x_46, 7, x_39); -lean_ctor_set(x_46, 8, x_42); -lean_ctor_set(x_46, 9, x_43); +lean_ctor_set(x_46, 7, x_36); +lean_ctor_set(x_46, 8, x_44); +lean_ctor_set(x_46, 9, x_41); lean_ctor_set(x_46, 10, x_45); if (lean_is_scalar(x_35)) { x_47 = lean_alloc_ctor(1, 1, 0); @@ -8207,14 +8246,14 @@ if (lean_obj_tag(x_26) == 0) lean_dec_ref(x_58); lean_dec_ref(x_15); lean_dec(x_6); -x_36 = x_49; -x_37 = x_51; -x_38 = x_50; -x_39 = x_54; -x_40 = x_53; -x_41 = x_52; +x_36 = x_50; +x_37 = x_49; +x_38 = x_51; +x_39 = x_53; +x_40 = x_52; +x_41 = x_57; x_42 = x_55; -x_43 = x_57; +x_43 = x_54; x_44 = x_56; x_45 = x_26; goto block_48; @@ -8274,14 +8313,14 @@ x_67 = lean_ctor_get(x_63, 0); lean_inc(x_67); lean_dec_ref(x_63); lean_ctor_set(x_26, 0, x_67); -x_36 = x_49; -x_37 = x_51; -x_38 = x_50; -x_39 = x_54; -x_40 = x_53; -x_41 = x_52; +x_36 = x_50; +x_37 = x_49; +x_38 = x_51; +x_39 = x_53; +x_40 = x_52; +x_41 = x_57; x_42 = x_55; -x_43 = x_57; +x_43 = x_54; x_44 = x_56; x_45 = x_26; goto block_48; @@ -8341,14 +8380,14 @@ lean_inc(x_75); lean_dec_ref(x_71); x_76 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_76, 0, x_75); -x_36 = x_49; -x_37 = x_51; -x_38 = x_50; -x_39 = x_54; -x_40 = x_53; -x_41 = x_52; +x_36 = x_50; +x_37 = x_49; +x_38 = x_51; +x_39 = x_53; +x_40 = x_52; +x_41 = x_57; x_42 = x_55; -x_43 = x_57; +x_43 = x_54; x_44 = x_56; x_45 = x_76; goto block_48; @@ -8363,14 +8402,14 @@ if (lean_obj_tag(x_25) == 0) lean_object* x_88; lean_dec_ref(x_78); x_88 = lean_box(0); -x_49 = x_79; -x_50 = x_81; -x_51 = x_80; -x_52 = x_84; -x_53 = x_83; -x_54 = x_82; -x_55 = x_86; -x_56 = x_85; +x_49 = x_80; +x_50 = x_79; +x_51 = x_81; +x_52 = x_83; +x_53 = x_82; +x_54 = x_85; +x_55 = x_84; +x_56 = x_86; x_57 = x_88; x_58 = x_87; goto block_77; @@ -8474,14 +8513,14 @@ x_104 = lean_ctor_get(x_100, 0); lean_inc(x_104); lean_dec_ref(x_100); lean_ctor_set(x_25, 0, x_104); -x_49 = x_79; -x_50 = x_81; -x_51 = x_80; -x_52 = x_84; -x_53 = x_83; -x_54 = x_82; -x_55 = x_86; -x_56 = x_85; +x_49 = x_80; +x_50 = x_79; +x_51 = x_81; +x_52 = x_83; +x_53 = x_82; +x_54 = x_85; +x_55 = x_84; +x_56 = x_86; x_57 = x_25; x_58 = x_87; goto block_77; @@ -8586,14 +8625,14 @@ lean_inc(x_119); lean_dec_ref(x_115); x_120 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_120, 0, x_119); -x_49 = x_79; -x_50 = x_81; -x_51 = x_80; -x_52 = x_84; -x_53 = x_83; -x_54 = x_82; -x_55 = x_86; -x_56 = x_85; +x_49 = x_80; +x_50 = x_79; +x_51 = x_81; +x_52 = x_83; +x_53 = x_82; +x_54 = x_85; +x_55 = x_84; +x_56 = x_86; x_57 = x_120; x_58 = x_87; goto block_77; @@ -8609,13 +8648,13 @@ if (lean_obj_tag(x_24) == 0) lean_object* x_131; lean_dec_ref(x_122); x_131 = lean_box(0); -x_79 = x_123; -x_80 = x_125; +x_79 = x_129; +x_80 = x_123; x_81 = x_124; -x_82 = x_129; -x_83 = x_127; -x_84 = x_126; -x_85 = x_128; +x_82 = x_126; +x_83 = x_125; +x_84 = x_128; +x_85 = x_127; x_86 = x_131; x_87 = x_130; goto block_121; @@ -8721,13 +8760,13 @@ x_147 = lean_ctor_get(x_143, 0); lean_inc(x_147); lean_dec_ref(x_143); lean_ctor_set(x_24, 0, x_147); -x_79 = x_123; -x_80 = x_125; +x_79 = x_129; +x_80 = x_123; x_81 = x_124; -x_82 = x_129; -x_83 = x_127; -x_84 = x_126; -x_85 = x_128; +x_82 = x_126; +x_83 = x_125; +x_84 = x_128; +x_85 = x_127; x_86 = x_24; x_87 = x_130; goto block_121; @@ -8834,13 +8873,13 @@ lean_inc(x_162); lean_dec_ref(x_158); x_163 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_163, 0, x_162); -x_79 = x_123; -x_80 = x_125; +x_79 = x_129; +x_80 = x_123; x_81 = x_124; -x_82 = x_129; -x_83 = x_127; -x_84 = x_126; -x_85 = x_128; +x_82 = x_126; +x_83 = x_125; +x_84 = x_128; +x_85 = x_127; x_86 = x_163; x_87 = x_130; goto block_121; @@ -8904,12 +8943,12 @@ x_177 = lean_ctor_get(x_173, 0); lean_inc(x_177); lean_dec_ref(x_173); x_178 = lean_box(0); -x_123 = x_166; -x_124 = x_170; -x_125 = x_177; -x_126 = x_168; -x_127 = x_167; -x_128 = x_169; +x_123 = x_177; +x_124 = x_166; +x_125 = x_168; +x_126 = x_167; +x_127 = x_169; +x_128 = x_170; x_129 = x_178; x_130 = x_171; goto block_164; @@ -9020,12 +9059,12 @@ x_195 = lean_ctor_get(x_191, 0); lean_inc(x_195); lean_dec_ref(x_191); lean_ctor_set(x_23, 0, x_195); -x_123 = x_166; -x_124 = x_170; -x_125 = x_179; -x_126 = x_168; -x_127 = x_167; -x_128 = x_169; +x_123 = x_179; +x_124 = x_166; +x_125 = x_168; +x_126 = x_167; +x_127 = x_169; +x_128 = x_170; x_129 = x_23; x_130 = x_171; goto block_164; @@ -9134,12 +9173,12 @@ lean_inc(x_210); lean_dec_ref(x_206); x_211 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_211, 0, x_210); -x_123 = x_166; -x_124 = x_170; -x_125 = x_179; -x_126 = x_168; -x_127 = x_167; -x_128 = x_169; +x_123 = x_179; +x_124 = x_166; +x_125 = x_168; +x_126 = x_167; +x_127 = x_169; +x_128 = x_170; x_129 = x_211; x_130 = x_171; goto block_164; @@ -9155,9 +9194,9 @@ if (lean_obj_tag(x_21) == 0) { lean_object* x_218; x_218 = lean_box(0); -x_166 = x_213; -x_167 = x_216; -x_168 = x_214; +x_166 = x_216; +x_167 = x_214; +x_168 = x_213; x_169 = x_215; x_170 = x_218; x_171 = x_217; @@ -9222,9 +9261,9 @@ x_227 = lean_ctor_get(x_223, 0); lean_inc(x_227); lean_dec_ref(x_223); lean_ctor_set(x_21, 0, x_227); -x_166 = x_213; -x_167 = x_216; -x_168 = x_214; +x_166 = x_216; +x_167 = x_214; +x_168 = x_213; x_169 = x_215; x_170 = x_21; x_171 = x_217; @@ -9289,9 +9328,9 @@ lean_inc(x_235); lean_dec_ref(x_231); x_236 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_236, 0, x_235); -x_166 = x_213; -x_167 = x_216; -x_168 = x_214; +x_166 = x_216; +x_167 = x_214; +x_168 = x_213; x_169 = x_215; x_170 = x_236; x_171 = x_217; @@ -9306,9 +9345,9 @@ if (lean_obj_tag(x_242) == 0) { uint8_t x_243; lean_dec(x_241); -lean_dec_ref(x_240); +lean_dec(x_240); lean_dec(x_239); -lean_dec(x_238); +lean_dec_ref(x_238); lean_dec_ref(x_165); lean_dec_ref(x_122); lean_dec_ref(x_78); @@ -9348,11 +9387,11 @@ lean_inc(x_246); lean_dec_ref(x_242); x_247 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_247, 0, x_246); -x_213 = x_238; +x_213 = x_240; x_214 = x_239; x_215 = x_241; x_216 = x_247; -x_217 = x_240; +x_217 = x_238; goto block_237; } } @@ -9370,11 +9409,11 @@ x_260 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_260, 0, x_259); lean_inc_ref(x_15); x_261 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_260); -lean_inc_ref(x_251); -x_262 = lean_apply_1(x_261, x_251); +lean_inc_ref(x_249); +x_262 = lean_apply_1(x_261, x_249); x_238 = x_249; -x_239 = x_250; -x_240 = x_251; +x_239 = x_251; +x_240 = x_250; x_241 = x_252; x_242 = x_262; goto block_248; @@ -9412,9 +9451,9 @@ x_275 = lean_nat_dec_eq(x_273, x_274); if (x_275 == 0) { lean_free_object(x_20); -x_249 = x_264; -x_250 = x_266; -x_251 = x_267; +x_249 = x_267; +x_250 = x_264; +x_251 = x_266; x_252 = x_265; x_253 = x_270; goto block_263; @@ -9435,9 +9474,9 @@ lean_inc_ref(x_15); x_278 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_20); lean_inc_ref(x_267); x_279 = lean_apply_1(x_278, x_267); -x_238 = x_264; +x_238 = x_267; x_239 = x_266; -x_240 = x_267; +x_240 = x_264; x_241 = x_265; x_242 = x_279; goto block_248; @@ -9453,9 +9492,9 @@ lean_inc_ref(x_15); x_281 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_20); lean_inc_ref(x_267); x_282 = lean_apply_1(x_281, x_267); -x_238 = x_264; +x_238 = x_267; x_239 = x_266; -x_240 = x_267; +x_240 = x_264; x_241 = x_265; x_242 = x_282; goto block_248; @@ -9474,9 +9513,9 @@ lean_inc_ref(x_15); x_284 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_20); lean_inc_ref(x_267); x_285 = lean_apply_1(x_284, x_267); -x_238 = x_264; +x_238 = x_267; x_239 = x_266; -x_240 = x_267; +x_240 = x_264; x_241 = x_265; x_242 = x_285; goto block_248; @@ -9494,9 +9533,9 @@ lean_inc_ref(x_15); x_288 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_20); lean_inc_ref(x_267); x_289 = lean_apply_1(x_288, x_267); -x_238 = x_264; +x_238 = x_267; x_239 = x_266; -x_240 = x_267; +x_240 = x_264; x_241 = x_265; x_242 = x_289; goto block_248; @@ -9505,9 +9544,9 @@ goto block_248; default: { lean_free_object(x_20); -x_249 = x_264; -x_250 = x_266; -x_251 = x_267; +x_249 = x_267; +x_250 = x_264; +x_251 = x_266; x_252 = x_265; x_253 = x_270; goto block_263; @@ -9531,9 +9570,9 @@ x_294 = lean_unsigned_to_nat(0u); x_295 = lean_nat_dec_eq(x_293, x_294); if (x_295 == 0) { -x_249 = x_264; -x_250 = x_266; -x_251 = x_267; +x_249 = x_267; +x_250 = x_264; +x_251 = x_266; x_252 = x_265; x_253 = x_290; goto block_263; @@ -9562,9 +9601,9 @@ lean_inc_ref(x_15); x_299 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_298); lean_inc_ref(x_267); x_300 = lean_apply_1(x_299, x_267); -x_238 = x_264; +x_238 = x_267; x_239 = x_266; -x_240 = x_267; +x_240 = x_264; x_241 = x_265; x_242 = x_300; goto block_248; @@ -9595,18 +9634,18 @@ lean_inc_ref(x_15); x_305 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_304); lean_inc_ref(x_267); x_306 = lean_apply_1(x_305, x_267); -x_238 = x_264; +x_238 = x_267; x_239 = x_266; -x_240 = x_267; +x_240 = x_264; x_241 = x_265; x_242 = x_306; goto block_248; } default: { -x_249 = x_264; -x_250 = x_266; -x_251 = x_267; +x_249 = x_267; +x_250 = x_264; +x_251 = x_266; x_252 = x_265; x_253 = x_290; goto block_263; @@ -9767,8 +9806,8 @@ block_339: if (lean_obj_tag(x_333) == 0) { uint8_t x_334; -lean_dec_ref(x_332); -lean_dec(x_331); +lean_dec(x_332); +lean_dec_ref(x_331); lean_dec_ref(x_165); lean_dec_ref(x_122); lean_dec_ref(x_78); @@ -9810,9 +9849,9 @@ lean_inc(x_337); lean_dec_ref(x_333); x_338 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_338, 0, x_337); -x_308 = x_331; +x_308 = x_332; x_309 = x_338; -x_310 = x_332; +x_310 = x_331; goto block_330; } } @@ -9830,8 +9869,8 @@ x_349 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_349, 0, x_348); lean_inc_ref(x_15); x_350 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_349); -lean_inc_ref(x_341); -x_351 = lean_apply_1(x_350, x_341); +lean_inc_ref(x_340); +x_351 = lean_apply_1(x_350, x_340); x_331 = x_340; x_332 = x_341; x_333 = x_351; @@ -9859,8 +9898,8 @@ x_357 = l_Lean_Json_getNat_x3f(x_356); if (lean_obj_tag(x_357) == 0) { lean_dec_ref(x_357); -x_340 = x_353; -x_341 = x_354; +x_340 = x_354; +x_341 = x_353; x_342 = x_356; goto block_352; } @@ -9890,8 +9929,8 @@ x_366 = lean_nat_dec_eq(x_358, x_365); lean_dec(x_358); if (x_366 == 0) { -x_340 = x_353; -x_341 = x_354; +x_340 = x_354; +x_341 = x_353; x_342 = x_356; goto block_352; } @@ -9904,8 +9943,8 @@ lean_inc_ref(x_15); x_368 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_367); lean_inc_ref(x_354); x_369 = lean_apply_1(x_368, x_354); -x_331 = x_353; -x_332 = x_354; +x_331 = x_354; +x_332 = x_353; x_333 = x_369; goto block_339; } @@ -9920,8 +9959,8 @@ lean_inc_ref(x_15); x_371 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_370); lean_inc_ref(x_354); x_372 = lean_apply_1(x_371, x_354); -x_331 = x_353; -x_332 = x_354; +x_331 = x_354; +x_332 = x_353; x_333 = x_372; goto block_339; } @@ -9936,8 +9975,8 @@ lean_inc_ref(x_15); x_374 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_373); lean_inc_ref(x_354); x_375 = lean_apply_1(x_374, x_354); -x_331 = x_353; -x_332 = x_354; +x_331 = x_354; +x_332 = x_353; x_333 = x_375; goto block_339; } @@ -9952,8 +9991,8 @@ lean_inc_ref(x_15); x_377 = l_MonadExcept_ofExcept___redArg(x_8, x_15, x_376); lean_inc_ref(x_354); x_378 = lean_apply_1(x_377, x_354); -x_331 = x_353; -x_332 = x_354; +x_331 = x_354; +x_332 = x_353; x_333 = x_378; goto block_339; } @@ -10172,15 +10211,15 @@ if (lean_is_scalar(x_416)) { x_435 = x_416; } lean_ctor_set(x_435, 0, x_423); -lean_ctor_set(x_435, 1, x_425); -lean_ctor_set(x_435, 2, x_433); -lean_ctor_set(x_435, 3, x_430); -lean_ctor_set(x_435, 4, x_429); -lean_ctor_set(x_435, 5, x_427); +lean_ctor_set(x_435, 1, x_429); +lean_ctor_set(x_435, 2, x_432); +lean_ctor_set(x_435, 3, x_428); +lean_ctor_set(x_435, 4, x_427); +lean_ctor_set(x_435, 5, x_431); lean_ctor_set(x_435, 6, x_426); -lean_ctor_set(x_435, 7, x_428); -lean_ctor_set(x_435, 8, x_431); -lean_ctor_set(x_435, 9, x_432); +lean_ctor_set(x_435, 7, x_425); +lean_ctor_set(x_435, 8, x_433); +lean_ctor_set(x_435, 9, x_430); lean_ctor_set(x_435, 10, x_434); if (lean_is_scalar(x_424)) { x_436 = lean_alloc_ctor(1, 1, 0); @@ -10197,14 +10236,14 @@ if (lean_obj_tag(x_415) == 0) lean_dec_ref(x_447); lean_dec_ref(x_404); lean_dec(x_6); -x_425 = x_438; -x_426 = x_440; -x_427 = x_439; -x_428 = x_443; -x_429 = x_442; -x_430 = x_441; +x_425 = x_439; +x_426 = x_438; +x_427 = x_440; +x_428 = x_442; +x_429 = x_441; +x_430 = x_446; x_431 = x_444; -x_432 = x_446; +x_432 = x_443; x_433 = x_445; x_434 = x_415; goto block_437; @@ -10274,14 +10313,14 @@ if (lean_is_scalar(x_449)) { x_457 = x_449; } lean_ctor_set(x_457, 0, x_456); -x_425 = x_438; -x_426 = x_440; -x_427 = x_439; -x_428 = x_443; -x_429 = x_442; -x_430 = x_441; +x_425 = x_439; +x_426 = x_438; +x_427 = x_440; +x_428 = x_442; +x_429 = x_441; +x_430 = x_446; x_431 = x_444; -x_432 = x_446; +x_432 = x_443; x_433 = x_445; x_434 = x_457; goto block_437; @@ -10295,14 +10334,14 @@ if (lean_obj_tag(x_414) == 0) lean_object* x_469; lean_dec_ref(x_459); x_469 = lean_box(0); -x_438 = x_460; -x_439 = x_462; -x_440 = x_461; -x_441 = x_465; -x_442 = x_464; -x_443 = x_463; -x_444 = x_467; -x_445 = x_466; +x_438 = x_461; +x_439 = x_460; +x_440 = x_462; +x_441 = x_464; +x_442 = x_463; +x_443 = x_466; +x_444 = x_465; +x_445 = x_467; x_446 = x_469; x_447 = x_468; goto block_458; @@ -10417,14 +10456,14 @@ if (lean_is_scalar(x_471)) { x_486 = x_471; } lean_ctor_set(x_486, 0, x_485); -x_438 = x_460; -x_439 = x_462; -x_440 = x_461; -x_441 = x_465; -x_442 = x_464; -x_443 = x_463; -x_444 = x_467; -x_445 = x_466; +x_438 = x_461; +x_439 = x_460; +x_440 = x_462; +x_441 = x_464; +x_442 = x_463; +x_443 = x_466; +x_444 = x_465; +x_445 = x_467; x_446 = x_486; x_447 = x_468; goto block_458; @@ -10439,13 +10478,13 @@ if (lean_obj_tag(x_413) == 0) lean_object* x_497; lean_dec_ref(x_488); x_497 = lean_box(0); -x_460 = x_489; -x_461 = x_491; +x_460 = x_495; +x_461 = x_489; x_462 = x_490; -x_463 = x_495; -x_464 = x_493; -x_465 = x_492; -x_466 = x_494; +x_463 = x_492; +x_464 = x_491; +x_465 = x_494; +x_466 = x_493; x_467 = x_497; x_468 = x_496; goto block_487; @@ -10562,13 +10601,13 @@ if (lean_is_scalar(x_499)) { x_514 = x_499; } lean_ctor_set(x_514, 0, x_513); -x_460 = x_489; -x_461 = x_491; +x_460 = x_495; +x_461 = x_489; x_462 = x_490; -x_463 = x_495; -x_464 = x_493; -x_465 = x_492; -x_466 = x_494; +x_463 = x_492; +x_464 = x_491; +x_465 = x_494; +x_466 = x_493; x_467 = x_514; x_468 = x_496; goto block_487; @@ -10632,12 +10671,12 @@ x_528 = lean_ctor_get(x_524, 0); lean_inc(x_528); lean_dec_ref(x_524); x_529 = lean_box(0); -x_489 = x_517; -x_490 = x_521; -x_491 = x_528; -x_492 = x_519; -x_493 = x_518; -x_494 = x_520; +x_489 = x_528; +x_490 = x_517; +x_491 = x_519; +x_492 = x_518; +x_493 = x_520; +x_494 = x_521; x_495 = x_529; x_496 = x_522; goto block_515; @@ -10759,12 +10798,12 @@ if (lean_is_scalar(x_532)) { x_547 = x_532; } lean_ctor_set(x_547, 0, x_546); -x_489 = x_517; -x_490 = x_521; -x_491 = x_530; -x_492 = x_519; -x_493 = x_518; -x_494 = x_520; +x_489 = x_530; +x_490 = x_517; +x_491 = x_519; +x_492 = x_518; +x_493 = x_520; +x_494 = x_521; x_495 = x_547; x_496 = x_522; goto block_515; @@ -10779,9 +10818,9 @@ if (lean_obj_tag(x_410) == 0) { lean_object* x_554; x_554 = lean_box(0); -x_517 = x_549; -x_518 = x_552; -x_519 = x_550; +x_517 = x_552; +x_518 = x_550; +x_519 = x_549; x_520 = x_551; x_521 = x_554; x_522 = x_553; @@ -10856,9 +10895,9 @@ if (lean_is_scalar(x_556)) { x_564 = x_556; } lean_ctor_set(x_564, 0, x_563); -x_517 = x_549; -x_518 = x_552; -x_519 = x_550; +x_517 = x_552; +x_518 = x_550; +x_519 = x_549; x_520 = x_551; x_521 = x_564; x_522 = x_553; @@ -10872,9 +10911,9 @@ if (lean_obj_tag(x_570) == 0) { lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_dec(x_569); -lean_dec_ref(x_568); +lean_dec(x_568); lean_dec(x_567); -lean_dec(x_566); +lean_dec_ref(x_566); lean_dec_ref(x_516); lean_dec_ref(x_488); lean_dec_ref(x_459); @@ -10915,11 +10954,11 @@ lean_inc(x_574); lean_dec_ref(x_570); x_575 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_575, 0, x_574); -x_549 = x_566; +x_549 = x_568; x_550 = x_567; x_551 = x_569; x_552 = x_575; -x_553 = x_568; +x_553 = x_566; goto block_565; } } @@ -10937,11 +10976,11 @@ x_588 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_588, 0, x_587); lean_inc_ref(x_404); x_589 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_588); -lean_inc_ref(x_579); -x_590 = lean_apply_1(x_589, x_579); +lean_inc_ref(x_577); +x_590 = lean_apply_1(x_589, x_577); x_566 = x_577; -x_567 = x_578; -x_568 = x_579; +x_567 = x_579; +x_568 = x_578; x_569 = x_580; x_570 = x_590; goto block_576; @@ -10983,9 +11022,9 @@ x_603 = lean_nat_dec_eq(x_601, x_602); if (x_603 == 0) { lean_dec(x_598); -x_577 = x_592; -x_578 = x_594; -x_579 = x_595; +x_577 = x_595; +x_578 = x_592; +x_579 = x_594; x_580 = x_593; x_581 = x_597; goto block_591; @@ -11018,9 +11057,9 @@ lean_inc_ref(x_404); x_607 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_606); lean_inc_ref(x_595); x_608 = lean_apply_1(x_607, x_595); -x_566 = x_592; +x_566 = x_595; x_567 = x_594; -x_568 = x_595; +x_568 = x_592; x_569 = x_593; x_570 = x_608; goto block_576; @@ -11055,9 +11094,9 @@ lean_inc_ref(x_404); x_613 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_612); lean_inc_ref(x_595); x_614 = lean_apply_1(x_613, x_595); -x_566 = x_592; +x_566 = x_595; x_567 = x_594; -x_568 = x_595; +x_568 = x_592; x_569 = x_593; x_570 = x_614; goto block_576; @@ -11065,9 +11104,9 @@ goto block_576; default: { lean_dec(x_598); -x_577 = x_592; -x_578 = x_594; -x_579 = x_595; +x_577 = x_595; +x_578 = x_592; +x_579 = x_594; x_580 = x_593; x_581 = x_597; goto block_591; @@ -11170,8 +11209,8 @@ block_639: if (lean_obj_tag(x_633) == 0) { lean_object* x_634; lean_object* x_635; lean_object* x_636; -lean_dec_ref(x_632); -lean_dec(x_631); +lean_dec(x_632); +lean_dec_ref(x_631); lean_dec_ref(x_516); lean_dec_ref(x_488); lean_dec_ref(x_459); @@ -11214,9 +11253,9 @@ lean_inc(x_637); lean_dec_ref(x_633); x_638 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_638, 0, x_637); -x_616 = x_631; +x_616 = x_632; x_617 = x_638; -x_618 = x_632; +x_618 = x_631; goto block_630; } } @@ -11234,8 +11273,8 @@ x_649 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_649, 0, x_648); lean_inc_ref(x_404); x_650 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_649); -lean_inc_ref(x_641); -x_651 = lean_apply_1(x_650, x_641); +lean_inc_ref(x_640); +x_651 = lean_apply_1(x_650, x_640); x_631 = x_640; x_632 = x_641; x_633 = x_651; @@ -11263,8 +11302,8 @@ x_657 = l_Lean_Json_getNat_x3f(x_656); if (lean_obj_tag(x_657) == 0) { lean_dec_ref(x_657); -x_640 = x_653; -x_641 = x_654; +x_640 = x_654; +x_641 = x_653; x_642 = x_656; goto block_652; } @@ -11294,8 +11333,8 @@ x_666 = lean_nat_dec_eq(x_658, x_665); lean_dec(x_658); if (x_666 == 0) { -x_640 = x_653; -x_641 = x_654; +x_640 = x_654; +x_641 = x_653; x_642 = x_656; goto block_652; } @@ -11308,8 +11347,8 @@ lean_inc_ref(x_404); x_668 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_667); lean_inc_ref(x_654); x_669 = lean_apply_1(x_668, x_654); -x_631 = x_653; -x_632 = x_654; +x_631 = x_654; +x_632 = x_653; x_633 = x_669; goto block_639; } @@ -11324,8 +11363,8 @@ lean_inc_ref(x_404); x_671 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_670); lean_inc_ref(x_654); x_672 = lean_apply_1(x_671, x_654); -x_631 = x_653; -x_632 = x_654; +x_631 = x_654; +x_632 = x_653; x_633 = x_672; goto block_639; } @@ -11340,8 +11379,8 @@ lean_inc_ref(x_404); x_674 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_673); lean_inc_ref(x_654); x_675 = lean_apply_1(x_674, x_654); -x_631 = x_653; -x_632 = x_654; +x_631 = x_654; +x_632 = x_653; x_633 = x_675; goto block_639; } @@ -11356,8 +11395,8 @@ lean_inc_ref(x_404); x_677 = l_MonadExcept_ofExcept___redArg(x_8, x_404, x_676); lean_inc_ref(x_654); x_678 = lean_apply_1(x_677, x_654); -x_631 = x_653; -x_632 = x_654; +x_631 = x_654; +x_632 = x_653; x_633 = x_678; goto block_639; } @@ -12483,7 +12522,7 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(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_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* 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_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_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; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_130; lean_object* x_131; double x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; double x_139; 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_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; 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_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 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_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_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_object* x_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_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; double x_136; uint8_t x_137; lean_object* x_138; double x_139; 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_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; 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_337 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6; if (lean_obj_tag(x_2) == 0) { @@ -12669,10 +12708,10 @@ x_395 = lean_ctor_get(x_3, 0); lean_inc_ref(x_395); lean_dec_ref(x_3); x_396 = lean_box(0); -x_338 = x_2; +x_338 = x_5; x_339 = x_395; -x_340 = x_5; -x_341 = x_4; +x_340 = x_4; +x_341 = x_2; x_342 = x_396; goto block_358; } @@ -13040,10 +13079,10 @@ lean_dec_ref(x_3); x_479 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext(x_1, x_477); x_480 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_480, 0, x_479); -x_338 = x_2; +x_338 = x_5; x_339 = x_478; -x_340 = x_5; -x_341 = x_4; +x_340 = x_4; +x_341 = x_2; x_342 = x_480; goto block_358; } @@ -13220,9 +13259,9 @@ return x_60; block_81: { size_t x_69; size_t x_70; lean_object* x_71; -x_69 = lean_array_size(x_66); +x_69 = lean_array_size(x_65); x_70 = 0; -x_71 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go_spec__0(x_1, x_67, x_69, x_70, x_66, x_65, x_63); +x_71 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go_spec__0(x_1, x_67, x_69, x_70, x_65, x_64, x_66); 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; @@ -13239,7 +13278,7 @@ lean_dec(x_72); x_76 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_76, 0, x_74); x_33 = x_62; -x_34 = x_64; +x_34 = x_63; x_35 = x_68; x_36 = x_76; x_37 = x_75; @@ -13249,7 +13288,7 @@ goto block_61; else { uint8_t x_77; -lean_dec(x_64); +lean_dec(x_63); lean_dec(x_62); x_77 = !lean_is_exclusive(x_71); if (x_77 == 0) @@ -13275,19 +13314,19 @@ block_94: { lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; x_89 = lean_unsigned_to_nat(0u); -x_90 = lean_array_get_size(x_83); -x_91 = l_Array_toSubarray___redArg(x_83, x_89, x_90); -lean_inc(x_86); -x_92 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_86, x_88, x_91); +x_90 = lean_array_get_size(x_86); +x_91 = l_Array_toSubarray___redArg(x_86, x_89, x_90); +lean_inc(x_83); +x_92 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_83, x_88, x_91); lean_dec(x_88); x_93 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_93, 0, x_92); x_33 = x_82; -x_34 = x_86; +x_34 = x_83; x_35 = x_87; x_36 = x_93; -x_37 = x_85; -x_38 = x_84; +x_37 = x_84; +x_38 = x_85; goto block_61; } block_103: @@ -13296,8 +13335,8 @@ lean_object* x_101; lean_object* x_102; x_101 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__0; x_102 = lean_ctor_get(x_101, 1); lean_inc(x_102); -x_82 = x_96; -x_83 = x_95; +x_82 = x_95; +x_83 = x_96; x_84 = x_97; x_85 = x_99; x_86 = x_98; @@ -13308,16 +13347,16 @@ goto block_94; block_119: { size_t x_111; size_t x_112; lean_object* x_113; -x_111 = lean_array_size(x_108); +x_111 = lean_array_size(x_107); x_112 = 0; -x_113 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go_spec__1(x_109, x_1, x_111, x_112, x_108); +x_113 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go_spec__1(x_109, x_1, x_111, x_112, x_107); if (lean_obj_tag(x_109) == 0) { -x_95 = x_113; -x_96 = x_104; -x_97 = x_105; -x_98 = x_106; -x_99 = x_107; +x_95 = x_104; +x_96 = x_105; +x_97 = x_106; +x_98 = x_113; +x_99 = x_108; x_100 = x_110; goto block_103; } @@ -13335,11 +13374,11 @@ x_117 = l_Lean_Option_get_x3f___at_____private_Lean_Widget_InteractiveDiagnostic lean_dec(x_115); if (lean_obj_tag(x_117) == 0) { -x_95 = x_113; -x_96 = x_104; -x_97 = x_105; -x_98 = x_106; -x_99 = x_107; +x_95 = x_104; +x_96 = x_105; +x_97 = x_106; +x_98 = x_113; +x_99 = x_108; x_100 = x_110; goto block_103; } @@ -13350,10 +13389,10 @@ x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); lean_dec_ref(x_117); x_82 = x_104; -x_83 = x_113; -x_84 = x_105; -x_85 = x_107; -x_86 = x_106; +x_83 = x_105; +x_84 = x_106; +x_85 = x_108; +x_86 = x_113; x_87 = x_110; x_88 = x_118; goto block_94; @@ -13365,10 +13404,10 @@ block_129: if (x_124 == 0) { x_62 = x_125; -x_63 = x_127; -x_64 = x_120; -x_65 = x_126; -x_66 = x_122; +x_63 = x_121; +x_64 = x_126; +x_65 = x_122; +x_66 = x_127; x_67 = x_123; x_68 = x_124; goto block_81; @@ -13380,23 +13419,23 @@ x_128 = l_Array_isEmpty___redArg(x_122); if (x_128 == 0) { x_104 = x_125; -x_105 = x_127; -x_106 = x_120; -x_107 = x_126; -x_108 = x_122; +x_105 = x_121; +x_106 = x_126; +x_107 = x_122; +x_108 = x_127; x_109 = x_123; x_110 = x_124; goto block_119; } else { -if (x_121 == 0) +if (x_120 == 0) { x_62 = x_125; -x_63 = x_127; -x_64 = x_120; -x_65 = x_126; -x_66 = x_122; +x_63 = x_121; +x_64 = x_126; +x_65 = x_122; +x_66 = x_127; x_67 = x_123; x_68 = x_124; goto block_81; @@ -13404,10 +13443,10 @@ goto block_81; else { x_104 = x_125; -x_105 = x_127; -x_106 = x_120; -x_107 = x_126; -x_108 = x_122; +x_105 = x_121; +x_106 = x_126; +x_107 = x_122; +x_108 = x_127; x_109 = x_123; x_110 = x_124; goto block_119; @@ -13419,7 +13458,7 @@ block_148: { lean_object* x_140; double 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_140 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2; -x_141 = lean_float_sub(x_139, x_132); +x_141 = lean_float_sub(x_139, x_136); x_142 = lean_float_to_string(x_141); x_143 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_143, 0, x_142); @@ -13432,15 +13471,15 @@ lean_ctor_set(x_146, 0, x_144); lean_ctor_set(x_146, 1, x_145); x_147 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_133); -x_120 = x_131; -x_121 = x_134; -x_122 = x_135; -x_123 = x_137; -x_124 = x_138; +lean_ctor_set(x_147, 1, x_134); +x_120 = x_130; +x_121 = x_132; +x_122 = x_133; +x_123 = x_135; +x_124 = x_137; x_125 = x_147; -x_126 = x_136; -x_127 = x_130; +x_126 = x_131; +x_127 = x_138; goto block_129; } block_202: @@ -13481,15 +13520,15 @@ x_167 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToIntera x_168 = lean_float_beq(x_156, x_167); if (x_168 == 0) { -x_130 = x_162; -x_131 = x_155; -x_132 = x_156; -x_133 = x_161; -x_134 = x_159; -x_135 = x_152; -x_136 = x_165; -x_137 = x_149; -x_138 = x_158; +x_130 = x_159; +x_131 = x_165; +x_132 = x_155; +x_133 = x_152; +x_134 = x_161; +x_135 = x_149; +x_136 = x_156; +x_137 = x_158; +x_138 = x_162; x_139 = x_157; goto block_148; } @@ -13497,8 +13536,8 @@ else { if (x_159 == 0) { -x_120 = x_155; -x_121 = x_159; +x_120 = x_159; +x_121 = x_155; x_122 = x_152; x_123 = x_149; x_124 = x_158; @@ -13509,15 +13548,15 @@ goto block_129; } else { -x_130 = x_162; -x_131 = x_155; -x_132 = x_156; -x_133 = x_161; -x_134 = x_159; -x_135 = x_152; -x_136 = x_165; -x_137 = x_149; -x_138 = x_158; +x_130 = x_159; +x_131 = x_165; +x_132 = x_155; +x_133 = x_152; +x_134 = x_161; +x_135 = x_149; +x_136 = x_156; +x_137 = x_158; +x_138 = x_162; x_139 = x_157; goto block_148; } @@ -13539,15 +13578,15 @@ x_173 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToIntera x_174 = lean_float_beq(x_156, x_173); if (x_174 == 0) { -x_130 = x_162; -x_131 = x_155; -x_132 = x_156; -x_133 = x_172; -x_134 = x_159; -x_135 = x_152; -x_136 = x_170; -x_137 = x_149; -x_138 = x_158; +x_130 = x_159; +x_131 = x_170; +x_132 = x_155; +x_133 = x_152; +x_134 = x_172; +x_135 = x_149; +x_136 = x_156; +x_137 = x_158; +x_138 = x_162; x_139 = x_157; goto block_148; } @@ -13555,8 +13594,8 @@ else { if (x_159 == 0) { -x_120 = x_155; -x_121 = x_159; +x_120 = x_159; +x_121 = x_155; x_122 = x_152; x_123 = x_149; x_124 = x_158; @@ -13567,15 +13606,15 @@ goto block_129; } else { -x_130 = x_162; -x_131 = x_155; -x_132 = x_156; -x_133 = x_172; -x_134 = x_159; -x_135 = x_152; -x_136 = x_170; -x_137 = x_149; -x_138 = x_158; +x_130 = x_159; +x_131 = x_170; +x_132 = x_155; +x_133 = x_152; +x_134 = x_172; +x_135 = x_149; +x_136 = x_156; +x_137 = x_158; +x_138 = x_162; x_139 = x_157; goto block_148; } @@ -14194,7 +14233,7 @@ return x_315; block_358: { lean_object* x_343; uint8_t x_344; -x_343 = lean_apply_2(x_339, x_342, x_340); +x_343 = lean_apply_2(x_339, x_342, x_338); x_344 = !lean_is_exclusive(x_343); if (x_344 == 0) { @@ -14206,8 +14245,8 @@ lean_dec(x_345); if (lean_obj_tag(x_347) == 0) { lean_object* x_348; -lean_dec_ref(x_341); -lean_dec(x_338); +lean_dec(x_341); +lean_dec_ref(x_340); lean_dec_ref(x_1); x_348 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8; lean_ctor_set_tag(x_343, 1); @@ -14221,9 +14260,9 @@ lean_free_object(x_343); x_349 = lean_ctor_get(x_347, 0); lean_inc(x_349); lean_dec_ref(x_347); -x_2 = x_338; +x_2 = x_341; x_3 = x_349; -x_4 = x_341; +x_4 = x_340; x_5 = x_346; goto _start; } @@ -14241,8 +14280,8 @@ lean_dec(x_351); if (lean_obj_tag(x_353) == 0) { lean_object* x_354; lean_object* x_355; -lean_dec_ref(x_341); -lean_dec(x_338); +lean_dec(x_341); +lean_dec_ref(x_340); lean_dec_ref(x_1); x_354 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8; x_355 = lean_alloc_ctor(1, 2, 0); @@ -14256,9 +14295,9 @@ lean_object* x_356; x_356 = lean_ctor_get(x_353, 0); lean_inc(x_356); lean_dec_ref(x_353); -x_2 = x_338; +x_2 = x_341; x_3 = x_356; -x_4 = x_341; +x_4 = x_340; x_5 = x_352; goto _start; } @@ -15706,7 +15745,7 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic(lean_object* x_1, lean_object* x_2, uint8_t 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; lean_object* x_14; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t 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_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_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_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; lean_object* x_77; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_114; lean_object* x_115; lean_object* x_118; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 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_20; lean_object* x_21; uint8_t x_22; uint8_t 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_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_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_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; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_114; lean_object* x_115; lean_object* x_118; x_20 = lean_ctor_get(x_2, 1); lean_inc_ref(x_20); x_21 = lean_ctor_get(x_2, 2); @@ -15740,23 +15779,23 @@ block_19: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 0, x_11); x_16 = lean_box(0); x_17 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_17, 0, x_12); lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_10); -lean_ctor_set(x_17, 3, x_9); +lean_ctor_set(x_17, 2, x_7); +lean_ctor_set(x_17, 3, x_6); lean_ctor_set(x_17, 4, x_14); -lean_ctor_set(x_17, 5, x_6); +lean_ctor_set(x_17, 5, x_10); lean_ctor_set(x_17, 6, x_13); -lean_ctor_set(x_17, 7, x_8); -lean_ctor_set(x_17, 8, x_12); +lean_ctor_set(x_17, 7, x_9); +lean_ctor_set(x_17, 8, x_5); lean_ctor_set(x_17, 9, x_16); lean_ctor_set(x_17, 10, 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_7); +lean_ctor_set(x_18, 1, x_8); return x_18; } block_47: @@ -15771,10 +15810,10 @@ if (lean_obj_tag(x_37) == 0) lean_object* x_38; x_38 = lean_box(0); x_5 = x_26; -x_6 = x_28; -x_7 = x_31; +x_6 = x_29; +x_7 = x_28; x_8 = x_30; -x_9 = x_29; +x_9 = x_31; x_10 = x_33; x_11 = x_32; x_12 = x_34; @@ -15795,10 +15834,10 @@ x_42 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_37, 0, x_42); x_5 = x_26; -x_6 = x_28; -x_7 = x_31; +x_6 = x_29; +x_7 = x_28; x_8 = x_30; -x_9 = x_29; +x_9 = x_31; x_10 = x_33; x_11 = x_32; x_12 = x_34; @@ -15818,10 +15857,10 @@ lean_ctor_set(x_45, 0, x_44); x_46 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_46, 0, x_45); x_5 = x_26; -x_6 = x_28; -x_7 = x_31; +x_6 = x_29; +x_7 = x_28; x_8 = x_30; -x_9 = x_29; +x_9 = x_31; x_10 = x_33; x_11 = x_32; x_12 = x_34; @@ -15845,15 +15884,15 @@ lean_inc(x_58); x_59 = lean_ctor_get(x_57, 1); lean_inc(x_59); lean_dec_ref(x_57); -x_26 = x_48; -x_27 = x_49; -x_28 = x_50; -x_29 = x_51; -x_30 = x_52; -x_31 = x_59; -x_32 = x_53; -x_33 = x_54; -x_34 = x_55; +x_26 = x_55; +x_27 = x_48; +x_28 = x_49; +x_29 = x_50; +x_30 = x_59; +x_31 = x_51; +x_32 = x_52; +x_33 = x_53; +x_34 = x_54; x_35 = x_58; goto block_47; } @@ -15873,15 +15912,15 @@ x_65 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__1; x_66 = lean_string_append(x_64, x_65); x_67 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_67, 0, x_66); -x_26 = x_48; -x_27 = x_49; -x_28 = x_50; -x_29 = x_51; -x_30 = x_52; -x_31 = x_61; -x_32 = x_53; -x_33 = x_54; -x_34 = x_55; +x_26 = x_55; +x_27 = x_48; +x_28 = x_49; +x_29 = x_50; +x_30 = x_61; +x_31 = x_51; +x_32 = x_52; +x_33 = x_53; +x_34 = x_54; x_35 = x_67; goto block_47; } @@ -15903,10 +15942,10 @@ x_80 = lean_box(0); x_48 = x_71; x_49 = x_73; x_50 = x_72; -x_51 = x_74; -x_52 = x_77; -x_53 = x_76; -x_54 = x_75; +x_51 = x_77; +x_52 = x_75; +x_53 = x_74; +x_54 = x_76; x_55 = x_80; goto block_68; } @@ -15917,10 +15956,10 @@ x_81 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__4; x_48 = x_71; x_49 = x_73; x_50 = x_72; -x_51 = x_74; -x_52 = x_77; -x_53 = x_76; -x_54 = x_75; +x_51 = x_77; +x_52 = x_75; +x_53 = x_74; +x_54 = x_76; x_55 = x_81; goto block_68; } @@ -15933,10 +15972,10 @@ x_82 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__6; x_48 = x_71; x_49 = x_73; x_50 = x_72; -x_51 = x_74; -x_52 = x_77; -x_53 = x_76; -x_54 = x_75; +x_51 = x_77; +x_52 = x_75; +x_53 = x_74; +x_54 = x_76; x_55 = x_82; goto block_68; } @@ -15957,11 +15996,11 @@ if (x_91 == 0) lean_object* x_92; x_92 = lean_box(0); x_71 = x_84; -x_72 = x_89; +x_72 = x_88; x_73 = x_85; -x_74 = x_88; -x_75 = x_87; -x_76 = x_86; +x_74 = x_89; +x_75 = x_86; +x_76 = x_87; x_77 = x_92; goto block_83; } @@ -15970,11 +16009,11 @@ else lean_object* x_93; x_93 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__11; x_71 = x_84; -x_72 = x_89; +x_72 = x_88; x_73 = x_85; -x_74 = x_88; -x_75 = x_87; -x_76 = x_86; +x_74 = x_89; +x_75 = x_86; +x_76 = x_87; x_77 = x_93; goto block_83; } @@ -15984,11 +16023,11 @@ else lean_object* x_94; x_94 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__13; x_71 = x_84; -x_72 = x_89; +x_72 = x_88; x_73 = x_85; -x_74 = x_88; -x_75 = x_87; -x_76 = x_86; +x_74 = x_89; +x_75 = x_86; +x_76 = x_87; x_77 = x_94; goto block_83; } @@ -16004,10 +16043,10 @@ if (x_24 == 0) { lean_object* x_102; x_102 = lean_box(0); -x_84 = x_96; -x_85 = x_101; -x_86 = x_97; -x_87 = x_100; +x_84 = x_101; +x_85 = x_100; +x_86 = x_96; +x_87 = x_97; x_88 = x_102; goto block_95; } @@ -16015,10 +16054,10 @@ else { lean_object* x_103; x_103 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__14; -x_84 = x_96; -x_85 = x_101; -x_86 = x_97; -x_87 = x_100; +x_84 = x_101; +x_85 = x_100; +x_86 = x_96; +x_87 = x_97; x_88 = x_103; goto block_95; } @@ -16066,8 +16105,8 @@ goto block_104; block_117: { lean_object* x_116; -x_116 = l_Lean_FileMap_leanPosToLspPos(x_1, x_115); -x_106 = x_114; +x_116 = l_Lean_FileMap_leanPosToLspPos(x_1, x_114); +x_106 = x_115; x_107 = x_116; goto block_113; } @@ -16101,8 +16140,8 @@ x_123 = lean_nat_dec_lt(x_121, x_122); if (x_123 == 0) { lean_dec(x_121); -x_114 = x_119; -x_115 = x_120; +x_114 = x_120; +x_115 = x_119; goto block_117; } else @@ -16152,8 +16191,8 @@ lean_dec_ref(x_20); x_136 = lean_ctor_get(x_21, 0); lean_inc(x_136); lean_dec_ref(x_21); -x_114 = x_119; -x_115 = x_136; +x_114 = x_136; +x_115 = x_119; goto block_117; } } @@ -16344,6 +16383,14 @@ l_Lean_Widget_instRpcEncodableMsgEmbed___closed__2 = _init_l_Lean_Widget_instRpc lean_mark_persistent(l_Lean_Widget_instRpcEncodableMsgEmbed___closed__2); l_Lean_Widget_instRpcEncodableMsgEmbed = _init_l_Lean_Widget_instRpcEncodableMsgEmbed(); lean_mark_persistent(l_Lean_Widget_instRpcEncodableMsgEmbed); +l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__0 = _init_l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__0(); +lean_mark_persistent(l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__0); +l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__1 = _init_l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__1(); +lean_mark_persistent(l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1___closed__1); +l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1 = _init_l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1(); +lean_mark_persistent(l_Lean_Widget_instTypeNameInteractiveMessage_unsafe__1); +l_Lean_Widget_instTypeNameInteractiveMessage = _init_l_Lean_Widget_instTypeNameInteractiveMessage(); +lean_mark_persistent(l_Lean_Widget_instTypeNameInteractiveMessage); l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_106__spec__1_spec__1___closed__0 = _init_l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_106__spec__1_spec__1___closed__0(); lean_mark_persistent(l_Option_fromJson_x3f___at___Lean_Json_getObjValAs_x3f___at___Lean_Widget_instFromJsonRpcEncodablePacket_fromJson____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_106__spec__1_spec__1___closed__0); l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_106_ = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket_fromJson___closed__0____x40_Lean_Widget_InteractiveDiagnostic_3833933514____hygCtx___hyg_106_();