// Lean compiler output
// Module: Lean.Meta.PPGoal
// Imports: Lean.Meta.InferType
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l_Lean_Meta_getGoalPrefix(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__3;
lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_getGoalPrefix___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MetavarContext_findDecl_x3f(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__2;
size_t lean_usize_shift_right(size_t, size_t);
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__9(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_getGoalPrefix___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_pp_auxDecls;
lean_object* lean_uint32_to_nat(uint32_t);
static lean_object* l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___lambda__1___boxed(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__4;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__4;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__1;
LEAN_EXPORT lean_object* l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__1;
static lean_object* l_Lean_Meta_ppGoal___closed__5;
LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_eq(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Meta_pp_showLetValues;
static lean_object* l_Lean_Meta_ppGoal___closed__7;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__4;
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal___closed__3;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__4;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__3;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal___closed__6;
uint32_t l_Lean_Expr_approxDepth(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__3;
lean_object* l_Lean_instInhabitedPersistentArrayNode(lean_object*);
static lean_object* l_Lean_Meta_ppGoal___closed__4;
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_pushPending(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__5;
uint8_t l_Std_Format_isNil(lean_object*);
uint8_t l_Lean_Expr_isAtomic(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__4;
lean_object* l_Lean_isLHSGoal_x3f(lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__2;
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_pp_implementationDetailHyps;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__2;
uint8_t lean_expr_eqv(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45_(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__7(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1;
lean_object* lean_nat_to_int(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_MetavarKind_isSyntheticOpaque(uint8_t);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85_(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__2;
LEAN_EXPORT uint8_t l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___lambda__1(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__4;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__5;
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6;
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_pushPending___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___closed__1;
uint8_t l_List_isEmpty___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__8(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__3;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__2;
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Meta_ppGoal___spec__2(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__3;
static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_pp_inaccessibleNames;
static lean_object* l_Lean_Meta_ppGoal___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205_(lean_object*);
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_pp_showLetValues_tactic_threshold;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5_(lean_object*);
static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__1;
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_5____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_usize_to_nat(size_t);
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lean_Meta_ppGoal_pushPending___spec__1(lean_object*, lean_object*);
uint8_t l_Lean_LocalDecl_isImplementationDetail(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__5;
static lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__1;
lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_simp_macro_scopes(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__3;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__4;
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Meta_ppGoal___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* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__4;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___lambda__1(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1;
lean_object* lean_erase_macro_scopes(lean_object*);
lean_object* l_List_reverse___rarg(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__5;
size_t lean_usize_sub(size_t, size_t);
static lean_object* l_Lean_Meta_ppGoal___lambda__1___closed__2;
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125_(lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__2;
static lean_object* l_Lean_Meta_ppGoal___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__5;
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_shift_left(size_t, size_t);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__8;
static lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___closed__1;
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__5;
lean_object* lean_array_get_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165_(lean_object*);
lean_object* l_Lean_LocalContext_sanitizeNames(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__1;
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_pp_showLetValues_threshold;
static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__3;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__5;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__5(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_land(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__6;
static lean_object* l_Lean_Meta_getGoalPrefix___closed__2;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__2;
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pp", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("auxDecls", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("display auxiliary declarations used to compile recursive functions", 66, 66);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__5() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 0;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__4;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Meta", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__3;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__5;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__8;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("implementationDetailHyps", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("display implementation detail hypotheses in the local context", 61, 61);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__4() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 0;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__3;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__2;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__4;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__5;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inaccessibleNames", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("display inaccessible declarations in the local context", 54, 54);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__4() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__3;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__2;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__4;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__5;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("showLetValues", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("always display let-declaration values in the info view", 54, 54);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__4() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 0;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__3;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__2;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__4;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__5;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_5____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("threshold", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("when `pp.showLetValues` is false, the maximum size of a term allowed before it is replaced by `⋯`", 99, 97);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__3;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1;
x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1;
x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__2;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__4;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__5;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_5____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__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_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__1;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("when `pp.showLetValues` is false, the maximum size of a term allowed before it is replaced by `⋯`, for tactic goals", 117, 115);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_unsigned_to_nat(255u);
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__3;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1;
x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__1;
x_6 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1;
x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__2;
x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__4;
x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__5;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_5____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_showLetValues_threshold;
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_showLetValues_tactic_threshold;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; lean_object* x_11; uint32_t x_12; lean_object* x_13; 
x_10 = l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__1;
x_11 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_10);
x_12 = l_Lean_Expr_approxDepth(x_2);
x_13 = lean_uint32_to_nat(x_12);
if (x_3 == 0)
{
lean_object* x_14; uint8_t x_15; 
x_14 = lean_unsigned_to_nat(0u);
x_15 = lean_nat_dec_le(x_11, x_14);
if (x_15 == 0)
{
lean_object* x_16; uint8_t x_17; 
x_16 = lean_unsigned_to_nat(254u);
x_17 = lean_nat_dec_le(x_16, x_11);
if (x_17 == 0)
{
uint8_t x_18; lean_object* x_19; lean_object* x_20; 
x_18 = lean_nat_dec_le(x_13, x_11);
lean_dec(x_11);
lean_dec(x_13);
x_19 = lean_box(x_18);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_9);
return x_20;
}
else
{
uint8_t x_21; lean_object* x_22; lean_object* x_23; 
lean_dec(x_11);
x_21 = lean_nat_dec_le(x_13, x_16);
lean_dec(x_13);
x_22 = lean_box(x_21);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_9);
return x_23;
}
}
else
{
uint8_t x_24; lean_object* x_25; lean_object* x_26; 
lean_dec(x_11);
x_24 = lean_nat_dec_le(x_13, x_14);
lean_dec(x_13);
x_25 = lean_box(x_24);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_9);
return x_26;
}
}
else
{
lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_27 = l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__2;
x_28 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_27);
x_29 = lean_nat_dec_le(x_11, x_28);
if (x_29 == 0)
{
lean_object* x_30; uint8_t x_31; 
lean_dec(x_28);
x_30 = lean_unsigned_to_nat(254u);
x_31 = lean_nat_dec_le(x_30, x_11);
if (x_31 == 0)
{
uint8_t x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_nat_dec_le(x_13, x_11);
lean_dec(x_11);
lean_dec(x_13);
x_33 = lean_box(x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_9);
return x_34;
}
else
{
uint8_t x_35; lean_object* x_36; lean_object* x_37; 
lean_dec(x_11);
x_35 = lean_nat_dec_le(x_13, x_30);
lean_dec(x_13);
x_36 = lean_box(x_35);
x_37 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_9);
return x_37;
}
}
else
{
lean_object* x_38; uint8_t x_39; 
lean_dec(x_11);
x_38 = lean_unsigned_to_nat(254u);
x_39 = lean_nat_dec_le(x_38, x_28);
if (x_39 == 0)
{
uint8_t x_40; lean_object* x_41; lean_object* x_42; 
x_40 = lean_nat_dec_le(x_13, x_28);
lean_dec(x_28);
lean_dec(x_13);
x_41 = lean_box(x_40);
x_42 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_42, 0, x_41);
lean_ctor_set(x_42, 1, x_9);
return x_42;
}
else
{
uint8_t x_43; lean_object* x_44; lean_object* x_45; 
lean_dec(x_28);
x_43 = lean_nat_dec_le(x_13, x_38);
lean_dec(x_13);
x_44 = lean_box(x_43);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_9);
return x_45;
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_showLetValues;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_9 = lean_ctor_get(x_6, 2);
x_10 = l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___closed__1;
x_11 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_9, x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_box(0);
x_13 = l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1(x_9, x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8);
return x_13;
}
else
{
uint8_t x_14; lean_object* x_15; lean_object* x_16; 
x_14 = 1;
x_15 = lean_box(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_8);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue(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) {
_start:
{
uint8_t x_8; 
x_8 = l_Lean_Expr_isAtomic(x_2);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_box(0);
x_10 = l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2(x_2, x_1, x_9, x_3, x_4, x_5, x_6, x_7);
return x_10;
}
else
{
uint8_t x_11; lean_object* x_12; lean_object* x_13; 
x_11 = 1;
x_12 = lean_box(x_11);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_7);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__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_3);
lean_dec(x_3);
x_11 = l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; lean_object* x_10; 
x_9 = lean_unbox(x_2);
lean_dec(x_2);
x_10 = l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_shouldShowLetValue___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; lean_object* x_9; 
x_8 = lean_unbox(x_1);
lean_dec(x_1);
x_9 = l_Lean_Meta_ppGoal_shouldShowLetValue(x_8, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_9;
}
}
static lean_object* _init_l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__1() {
_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_PPGoal_0__Lean_Meta_addLine___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = l_Std_Format_isNil(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; 
x_3 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
x_4 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_3);
return x_4;
}
else
{
return x_1;
}
}
}
static lean_object* _init_l_Lean_Meta_getGoalPrefix___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("⊢ ", 4, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_getGoalPrefix___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("| ", 2, 2);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_getGoalPrefix(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_ctor_get(x_1, 2);
x_3 = l_Lean_isLHSGoal_x3f(x_2);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; 
x_4 = l_Lean_Meta_getGoalPrefix___closed__1;
return x_4;
}
else
{
lean_object* x_5; 
lean_dec(x_3);
x_5 = l_Lean_Meta_getGoalPrefix___closed__2;
return x_5;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_getGoalPrefix___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Meta_getGoalPrefix(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT uint8_t l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___lambda__1(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = 0;
return x_2;
}
}
static lean_object* _init_l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___lambda__1___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_dec(x_1);
return x_2;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_1);
lean_ctor_set_tag(x_3, 5);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 0, x_2);
x_7 = 1;
x_8 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_9 = l_Lean_Name_toString(x_5, x_7, x_8);
x_10 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_3);
lean_ctor_set(x_11, 1, x_10);
x_2 = x_11;
x_3 = x_6;
goto _start;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_13 = lean_ctor_get(x_3, 0);
x_14 = lean_ctor_get(x_3, 1);
lean_inc(x_14);
lean_inc(x_13);
lean_dec(x_3);
lean_inc(x_1);
x_15 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_15, 0, x_2);
lean_ctor_set(x_15, 1, x_1);
x_16 = 1;
x_17 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_18 = l_Lean_Name_toString(x_13, x_16, x_17);
x_19 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_19, 0, x_18);
x_20 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_20, 0, x_15);
lean_ctor_set(x_20, 1, x_19);
x_2 = x_20;
x_3 = x_14;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at_Lean_Meta_ppGoal_pushPending___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; 
lean_dec(x_2);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; 
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_5 = lean_ctor_get(x_1, 0);
lean_inc(x_5);
lean_dec(x_1);
x_6 = 1;
x_7 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_8 = l_Lean_Name_toString(x_5, x_6, x_7);
x_9 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_9, 0, x_8);
return x_9;
}
else
{
lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_10 = lean_ctor_get(x_1, 0);
lean_inc(x_10);
lean_dec(x_1);
x_11 = 1;
x_12 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_13 = l_Lean_Name_toString(x_10, x_11, x_12);
x_14 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_14, 0, x_13);
x_15 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2(x_2, x_14, x_4);
return x_15;
}
}
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_pushPending___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" ", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_pushPending___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_ppGoal_pushPending___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_pushPending___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" :", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_pushPending___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_ppGoal_pushPending___closed__3;
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_Meta_ppGoal_pushPending(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; 
x_10 = l_List_isEmpty___rarg(x_2);
if (x_10 == 0)
{
lean_object* x_11; 
x_11 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_4);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_12; 
lean_dec(x_2);
lean_dec(x_1);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_9);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = l_Lean_Meta_ppExpr(x_13, x_5, x_6, x_7, x_8, x_9);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; 
x_16 = lean_ctor_get(x_14, 0);
x_17 = l_List_reverse___rarg(x_2);
x_18 = l_Lean_Meta_ppGoal_pushPending___closed__2;
x_19 = l_Std_Format_joinSep___at_Lean_Meta_ppGoal_pushPending___spec__1(x_17, x_18);
x_20 = l_Lean_Meta_ppGoal_pushPending___closed__4;
x_21 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_box(1);
x_23 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_16);
x_24 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_24, 0, x_1);
lean_ctor_set(x_24, 1, x_23);
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_21);
lean_ctor_set(x_25, 1, x_24);
x_26 = 0;
x_27 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26);
x_28 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_28, 0, x_11);
lean_ctor_set(x_28, 1, x_27);
lean_ctor_set(x_14, 0, x_28);
return x_14;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_29 = lean_ctor_get(x_14, 0);
x_30 = lean_ctor_get(x_14, 1);
lean_inc(x_30);
lean_inc(x_29);
lean_dec(x_14);
x_31 = l_List_reverse___rarg(x_2);
x_32 = l_Lean_Meta_ppGoal_pushPending___closed__2;
x_33 = l_Std_Format_joinSep___at_Lean_Meta_ppGoal_pushPending___spec__1(x_31, x_32);
x_34 = l_Lean_Meta_ppGoal_pushPending___closed__4;
x_35 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_box(1);
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_29);
x_38 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_38, 0, x_1);
lean_ctor_set(x_38, 1, x_37);
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_35);
lean_ctor_set(x_39, 1, x_38);
x_40 = 0;
x_41 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_41, 0, x_39);
lean_ctor_set_uint8(x_41, sizeof(void*)*1, x_40);
x_42 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_42, 0, x_11);
lean_ctor_set(x_42, 1, x_41);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_30);
return x_43;
}
}
}
else
{
lean_object* x_44; 
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_4);
lean_ctor_set(x_44, 1, x_9);
return x_44;
}
}
}
LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___lambda__1___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___lambda__1(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_pushPending___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l_Lean_Meta_ppGoal_pushPending(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
return x_10;
}
}
LEAN_EXPORT uint8_t l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_3; 
x_3 = 1;
return x_3;
}
else
{
uint8_t x_4; 
x_4 = 0;
return x_4;
}
}
else
{
if (lean_obj_tag(x_2) == 0)
{
uint8_t x_5; 
x_5 = 0;
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_6 = lean_ctor_get(x_1, 0);
x_7 = lean_ctor_get(x_2, 0);
x_8 = lean_expr_eqv(x_6, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
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; 
x_9 = 0;
x_10 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_10, 0, x_2);
lean_ctor_set_uint8(x_10, sizeof(void*)*1, x_9);
x_11 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_11, 0, x_1);
lean_ctor_set(x_11, 1, x_10);
x_12 = lean_box(0);
x_13 = lean_box(0);
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_11);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_12);
lean_ctor_set(x_15, 1, 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_8);
return x_16;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_ppVars___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" : ", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_ppVars___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_ppGoal_ppVars___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_ppVars___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" := ⋯", 7, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_ppVars___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_ppGoal_ppVars___closed__3;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_ppVars___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" :=", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal_ppVars___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_ppGoal_ppVars___closed__5;
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_Meta_ppGoal_ppVars(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_12 = lean_ctor_get(x_6, 2);
lean_inc(x_12);
x_13 = lean_ctor_get(x_6, 3);
lean_inc(x_13);
lean_dec(x_6);
x_14 = lean_simp_macro_scopes(x_12);
x_15 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_13, x_7, x_8, x_9, x_10, x_11);
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_17 = lean_ctor_get(x_15, 0);
x_18 = lean_ctor_get(x_15, 1);
x_19 = lean_box(0);
x_20 = l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_19);
if (x_20 == 0)
{
lean_object* x_21; uint8_t x_22; 
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_17);
x_22 = l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_21);
if (x_22 == 0)
{
lean_object* x_23; uint8_t x_24; 
lean_free_object(x_15);
x_23 = l_Lean_Meta_ppGoal_pushPending(x_1, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_18);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_box(0);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_14);
lean_ctor_set(x_27, 1, x_26);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_21);
lean_ctor_set(x_28, 1, x_25);
x_29 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
lean_ctor_set(x_23, 0, x_29);
return x_23;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_30 = lean_ctor_get(x_23, 0);
x_31 = lean_ctor_get(x_23, 1);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_23);
x_32 = lean_box(0);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_14);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_21);
lean_ctor_set(x_34, 1, x_30);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_31);
return x_36;
}
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
lean_dec(x_4);
lean_dec(x_1);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_14);
lean_ctor_set(x_37, 1, x_3);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_21);
lean_ctor_set(x_38, 1, x_5);
x_39 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
lean_ctor_set(x_15, 0, x_39);
return x_15;
}
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
lean_dec(x_4);
lean_dec(x_1);
x_40 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_40, 0, x_14);
lean_ctor_set(x_40, 1, x_3);
x_41 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_41, 0, x_17);
x_42 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_42, 0, x_41);
lean_ctor_set(x_42, 1, x_5);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_40);
lean_ctor_set(x_43, 1, x_42);
lean_ctor_set(x_15, 0, x_43);
return x_15;
}
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; 
x_44 = lean_ctor_get(x_15, 0);
x_45 = lean_ctor_get(x_15, 1);
lean_inc(x_45);
lean_inc(x_44);
lean_dec(x_15);
x_46 = lean_box(0);
x_47 = l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_46);
if (x_47 == 0)
{
lean_object* x_48; uint8_t x_49; 
x_48 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_48, 0, x_44);
x_49 = l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_48);
if (x_49 == 0)
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_50 = l_Lean_Meta_ppGoal_pushPending(x_1, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_45);
x_51 = lean_ctor_get(x_50, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_50, 1);
lean_inc(x_52);
if (lean_is_exclusive(x_50)) {
 lean_ctor_release(x_50, 0);
 lean_ctor_release(x_50, 1);
 x_53 = x_50;
} else {
 lean_dec_ref(x_50);
 x_53 = lean_box(0);
}
x_54 = lean_box(0);
x_55 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_55, 0, x_14);
lean_ctor_set(x_55, 1, x_54);
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_48);
lean_ctor_set(x_56, 1, x_51);
x_57 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_56);
if (lean_is_scalar(x_53)) {
 x_58 = lean_alloc_ctor(0, 2, 0);
} else {
 x_58 = x_53;
}
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_52);
return x_58;
}
else
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; 
lean_dec(x_4);
lean_dec(x_1);
x_59 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_59, 0, x_14);
lean_ctor_set(x_59, 1, x_3);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_48);
lean_ctor_set(x_60, 1, x_5);
x_61 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_61, 0, x_59);
lean_ctor_set(x_61, 1, 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_45);
return x_62;
}
}
else
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; 
lean_dec(x_4);
lean_dec(x_1);
x_63 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_63, 0, x_14);
lean_ctor_set(x_63, 1, x_3);
x_64 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_64, 0, x_44);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_64);
lean_ctor_set(x_65, 1, x_5);
x_66 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_66, 0, x_63);
lean_ctor_set(x_66, 1, 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_45);
return x_67;
}
}
}
else
{
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_68 = lean_ctor_get(x_6, 2);
lean_inc(x_68);
x_69 = lean_ctor_get(x_6, 3);
lean_inc(x_69);
x_70 = lean_ctor_get(x_6, 4);
lean_inc(x_70);
lean_dec(x_6);
x_71 = lean_simp_macro_scopes(x_68);
lean_inc(x_1);
x_72 = l_Lean_Meta_ppGoal_pushPending(x_1, x_3, x_4, x_5, x_7, x_8, x_9, x_10, x_11);
x_73 = !lean_is_exclusive(x_72);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; 
x_74 = lean_ctor_get(x_72, 0);
x_75 = lean_ctor_get(x_72, 1);
x_76 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_74);
x_77 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_69, x_7, x_8, x_9, x_10, x_75);
x_78 = !lean_is_exclusive(x_77);
if (x_78 == 0)
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; 
x_79 = lean_ctor_get(x_77, 0);
x_80 = lean_ctor_get(x_77, 1);
x_81 = l_Lean_Meta_ppExpr(x_79, x_7, x_8, x_9, x_10, x_80);
x_82 = !lean_is_exclusive(x_81);
if (x_82 == 0)
{
lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; 
x_83 = lean_ctor_get(x_81, 0);
x_84 = lean_ctor_get(x_81, 1);
x_85 = 1;
x_86 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_87 = l_Lean_Name_toString(x_71, x_85, x_86);
x_88 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_88, 0, x_87);
x_89 = l_Lean_Meta_ppGoal_ppVars___closed__2;
lean_ctor_set_tag(x_81, 5);
lean_ctor_set(x_81, 1, x_89);
lean_ctor_set(x_81, 0, x_88);
lean_ctor_set_tag(x_77, 5);
lean_ctor_set(x_77, 1, x_83);
lean_ctor_set(x_77, 0, x_81);
x_90 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_70, x_7, x_8, x_9, x_10, x_84);
x_91 = !lean_is_exclusive(x_90);
if (x_91 == 0)
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; 
x_92 = lean_ctor_get(x_90, 0);
x_93 = lean_ctor_get(x_90, 1);
x_94 = l_Lean_Meta_ppGoal_shouldShowLetValue(x_2, x_92, x_7, x_8, x_9, x_10, x_93);
x_95 = lean_ctor_get(x_94, 0);
lean_inc(x_95);
x_96 = lean_unbox(x_95);
lean_dec(x_95);
if (x_96 == 0)
{
uint8_t x_97; 
lean_free_object(x_90);
lean_dec(x_92);
lean_free_object(x_72);
lean_dec(x_1);
x_97 = !lean_is_exclusive(x_94);
if (x_97 == 0)
{
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; 
x_98 = lean_ctor_get(x_94, 1);
x_99 = lean_ctor_get(x_94, 0);
lean_dec(x_99);
x_100 = l_Lean_Meta_ppGoal_ppVars___closed__4;
lean_ctor_set_tag(x_94, 5);
lean_ctor_set(x_94, 1, x_100);
lean_ctor_set(x_94, 0, x_77);
x_101 = lean_box(0);
x_102 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_94, x_101, x_7, x_8, x_9, x_10, x_98);
return x_102;
}
else
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 
x_103 = lean_ctor_get(x_94, 1);
lean_inc(x_103);
lean_dec(x_94);
x_104 = l_Lean_Meta_ppGoal_ppVars___closed__4;
x_105 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_105, 0, x_77);
lean_ctor_set(x_105, 1, x_104);
x_106 = lean_box(0);
x_107 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_105, x_106, x_7, x_8, x_9, x_10, x_103);
return x_107;
}
}
else
{
uint8_t x_108; 
x_108 = !lean_is_exclusive(x_94);
if (x_108 == 0)
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; 
x_109 = lean_ctor_get(x_94, 1);
x_110 = lean_ctor_get(x_94, 0);
lean_dec(x_110);
x_111 = l_Lean_Meta_ppExpr(x_92, x_7, x_8, x_9, x_10, x_109);
x_112 = !lean_is_exclusive(x_111);
if (x_112 == 0)
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; 
x_113 = lean_ctor_get(x_111, 0);
x_114 = lean_ctor_get(x_111, 1);
x_115 = l_Lean_Meta_ppGoal_ppVars___closed__6;
lean_ctor_set_tag(x_111, 5);
lean_ctor_set(x_111, 1, x_115);
lean_ctor_set(x_111, 0, x_77);
x_116 = lean_box(1);
lean_ctor_set_tag(x_94, 5);
lean_ctor_set(x_94, 1, x_113);
lean_ctor_set(x_94, 0, x_116);
lean_ctor_set_tag(x_90, 4);
lean_ctor_set(x_90, 1, x_94);
lean_ctor_set(x_90, 0, x_1);
lean_ctor_set_tag(x_72, 5);
lean_ctor_set(x_72, 1, x_90);
lean_ctor_set(x_72, 0, x_111);
x_117 = lean_box(0);
x_118 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_72, x_117, x_7, x_8, x_9, x_10, x_114);
return x_118;
}
else
{
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; 
x_119 = lean_ctor_get(x_111, 0);
x_120 = lean_ctor_get(x_111, 1);
lean_inc(x_120);
lean_inc(x_119);
lean_dec(x_111);
x_121 = l_Lean_Meta_ppGoal_ppVars___closed__6;
x_122 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_122, 0, x_77);
lean_ctor_set(x_122, 1, x_121);
x_123 = lean_box(1);
lean_ctor_set_tag(x_94, 5);
lean_ctor_set(x_94, 1, x_119);
lean_ctor_set(x_94, 0, x_123);
lean_ctor_set_tag(x_90, 4);
lean_ctor_set(x_90, 1, x_94);
lean_ctor_set(x_90, 0, x_1);
lean_ctor_set_tag(x_72, 5);
lean_ctor_set(x_72, 1, x_90);
lean_ctor_set(x_72, 0, x_122);
x_124 = lean_box(0);
x_125 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_72, x_124, x_7, x_8, x_9, x_10, x_120);
return x_125;
}
}
else
{
lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; 
x_126 = lean_ctor_get(x_94, 1);
lean_inc(x_126);
lean_dec(x_94);
x_127 = l_Lean_Meta_ppExpr(x_92, x_7, x_8, x_9, x_10, x_126);
x_128 = lean_ctor_get(x_127, 0);
lean_inc(x_128);
x_129 = lean_ctor_get(x_127, 1);
lean_inc(x_129);
if (lean_is_exclusive(x_127)) {
 lean_ctor_release(x_127, 0);
 lean_ctor_release(x_127, 1);
 x_130 = x_127;
} else {
 lean_dec_ref(x_127);
 x_130 = lean_box(0);
}
x_131 = l_Lean_Meta_ppGoal_ppVars___closed__6;
if (lean_is_scalar(x_130)) {
 x_132 = lean_alloc_ctor(5, 2, 0);
} else {
 x_132 = x_130;
 lean_ctor_set_tag(x_132, 5);
}
lean_ctor_set(x_132, 0, x_77);
lean_ctor_set(x_132, 1, x_131);
x_133 = lean_box(1);
x_134 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_134, 0, x_133);
lean_ctor_set(x_134, 1, x_128);
lean_ctor_set_tag(x_90, 4);
lean_ctor_set(x_90, 1, x_134);
lean_ctor_set(x_90, 0, x_1);
lean_ctor_set_tag(x_72, 5);
lean_ctor_set(x_72, 1, x_90);
lean_ctor_set(x_72, 0, x_132);
x_135 = lean_box(0);
x_136 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_72, x_135, x_7, x_8, x_9, x_10, x_129);
return x_136;
}
}
}
else
{
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; 
x_137 = lean_ctor_get(x_90, 0);
x_138 = lean_ctor_get(x_90, 1);
lean_inc(x_138);
lean_inc(x_137);
lean_dec(x_90);
x_139 = l_Lean_Meta_ppGoal_shouldShowLetValue(x_2, x_137, x_7, x_8, x_9, x_10, x_138);
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_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; 
lean_dec(x_137);
lean_free_object(x_72);
lean_dec(x_1);
x_142 = lean_ctor_get(x_139, 1);
lean_inc(x_142);
if (lean_is_exclusive(x_139)) {
 lean_ctor_release(x_139, 0);
 lean_ctor_release(x_139, 1);
 x_143 = x_139;
} else {
 lean_dec_ref(x_139);
 x_143 = lean_box(0);
}
x_144 = l_Lean_Meta_ppGoal_ppVars___closed__4;
if (lean_is_scalar(x_143)) {
 x_145 = lean_alloc_ctor(5, 2, 0);
} else {
 x_145 = x_143;
 lean_ctor_set_tag(x_145, 5);
}
lean_ctor_set(x_145, 0, x_77);
lean_ctor_set(x_145, 1, x_144);
x_146 = lean_box(0);
x_147 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_145, x_146, x_7, x_8, x_9, x_10, x_142);
return x_147;
}
else
{
lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_148 = lean_ctor_get(x_139, 1);
lean_inc(x_148);
if (lean_is_exclusive(x_139)) {
 lean_ctor_release(x_139, 0);
 lean_ctor_release(x_139, 1);
 x_149 = x_139;
} else {
 lean_dec_ref(x_139);
 x_149 = lean_box(0);
}
x_150 = l_Lean_Meta_ppExpr(x_137, x_7, x_8, x_9, x_10, x_148);
x_151 = lean_ctor_get(x_150, 0);
lean_inc(x_151);
x_152 = lean_ctor_get(x_150, 1);
lean_inc(x_152);
if (lean_is_exclusive(x_150)) {
 lean_ctor_release(x_150, 0);
 lean_ctor_release(x_150, 1);
 x_153 = x_150;
} else {
 lean_dec_ref(x_150);
 x_153 = lean_box(0);
}
x_154 = l_Lean_Meta_ppGoal_ppVars___closed__6;
if (lean_is_scalar(x_153)) {
 x_155 = lean_alloc_ctor(5, 2, 0);
} else {
 x_155 = x_153;
 lean_ctor_set_tag(x_155, 5);
}
lean_ctor_set(x_155, 0, x_77);
lean_ctor_set(x_155, 1, x_154);
x_156 = lean_box(1);
if (lean_is_scalar(x_149)) {
 x_157 = lean_alloc_ctor(5, 2, 0);
} else {
 x_157 = x_149;
 lean_ctor_set_tag(x_157, 5);
}
lean_ctor_set(x_157, 0, x_156);
lean_ctor_set(x_157, 1, x_151);
x_158 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_158, 0, x_1);
lean_ctor_set(x_158, 1, x_157);
lean_ctor_set_tag(x_72, 5);
lean_ctor_set(x_72, 1, x_158);
lean_ctor_set(x_72, 0, x_155);
x_159 = lean_box(0);
x_160 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_72, x_159, x_7, x_8, x_9, x_10, x_152);
return x_160;
}
}
}
else
{
lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; 
x_161 = lean_ctor_get(x_81, 0);
x_162 = lean_ctor_get(x_81, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_81);
x_163 = 1;
x_164 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_165 = l_Lean_Name_toString(x_71, x_163, x_164);
x_166 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_166, 0, x_165);
x_167 = l_Lean_Meta_ppGoal_ppVars___closed__2;
x_168 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_168, 0, x_166);
lean_ctor_set(x_168, 1, x_167);
lean_ctor_set_tag(x_77, 5);
lean_ctor_set(x_77, 1, x_161);
lean_ctor_set(x_77, 0, x_168);
x_169 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_70, x_7, x_8, x_9, x_10, x_162);
x_170 = lean_ctor_get(x_169, 0);
lean_inc(x_170);
x_171 = lean_ctor_get(x_169, 1);
lean_inc(x_171);
if (lean_is_exclusive(x_169)) {
 lean_ctor_release(x_169, 0);
 lean_ctor_release(x_169, 1);
 x_172 = x_169;
} else {
 lean_dec_ref(x_169);
 x_172 = lean_box(0);
}
x_173 = l_Lean_Meta_ppGoal_shouldShowLetValue(x_2, x_170, x_7, x_8, x_9, x_10, x_171);
x_174 = lean_ctor_get(x_173, 0);
lean_inc(x_174);
x_175 = lean_unbox(x_174);
lean_dec(x_174);
if (x_175 == 0)
{
lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; 
lean_dec(x_172);
lean_dec(x_170);
lean_free_object(x_72);
lean_dec(x_1);
x_176 = lean_ctor_get(x_173, 1);
lean_inc(x_176);
if (lean_is_exclusive(x_173)) {
 lean_ctor_release(x_173, 0);
 lean_ctor_release(x_173, 1);
 x_177 = x_173;
} else {
 lean_dec_ref(x_173);
 x_177 = lean_box(0);
}
x_178 = l_Lean_Meta_ppGoal_ppVars___closed__4;
if (lean_is_scalar(x_177)) {
 x_179 = lean_alloc_ctor(5, 2, 0);
} else {
 x_179 = x_177;
 lean_ctor_set_tag(x_179, 5);
}
lean_ctor_set(x_179, 0, x_77);
lean_ctor_set(x_179, 1, x_178);
x_180 = lean_box(0);
x_181 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_179, x_180, x_7, x_8, x_9, x_10, x_176);
return x_181;
}
else
{
lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; 
x_182 = lean_ctor_get(x_173, 1);
lean_inc(x_182);
if (lean_is_exclusive(x_173)) {
 lean_ctor_release(x_173, 0);
 lean_ctor_release(x_173, 1);
 x_183 = x_173;
} else {
 lean_dec_ref(x_173);
 x_183 = lean_box(0);
}
x_184 = l_Lean_Meta_ppExpr(x_170, x_7, x_8, x_9, x_10, x_182);
x_185 = lean_ctor_get(x_184, 0);
lean_inc(x_185);
x_186 = lean_ctor_get(x_184, 1);
lean_inc(x_186);
if (lean_is_exclusive(x_184)) {
 lean_ctor_release(x_184, 0);
 lean_ctor_release(x_184, 1);
 x_187 = x_184;
} else {
 lean_dec_ref(x_184);
 x_187 = lean_box(0);
}
x_188 = l_Lean_Meta_ppGoal_ppVars___closed__6;
if (lean_is_scalar(x_187)) {
 x_189 = lean_alloc_ctor(5, 2, 0);
} else {
 x_189 = x_187;
 lean_ctor_set_tag(x_189, 5);
}
lean_ctor_set(x_189, 0, x_77);
lean_ctor_set(x_189, 1, x_188);
x_190 = lean_box(1);
if (lean_is_scalar(x_183)) {
 x_191 = lean_alloc_ctor(5, 2, 0);
} else {
 x_191 = x_183;
 lean_ctor_set_tag(x_191, 5);
}
lean_ctor_set(x_191, 0, x_190);
lean_ctor_set(x_191, 1, x_185);
if (lean_is_scalar(x_172)) {
 x_192 = lean_alloc_ctor(4, 2, 0);
} else {
 x_192 = x_172;
 lean_ctor_set_tag(x_192, 4);
}
lean_ctor_set(x_192, 0, x_1);
lean_ctor_set(x_192, 1, x_191);
lean_ctor_set_tag(x_72, 5);
lean_ctor_set(x_72, 1, x_192);
lean_ctor_set(x_72, 0, x_189);
x_193 = lean_box(0);
x_194 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_72, x_193, x_7, x_8, x_9, x_10, x_186);
return x_194;
}
}
}
else
{
lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; 
x_195 = lean_ctor_get(x_77, 0);
x_196 = lean_ctor_get(x_77, 1);
lean_inc(x_196);
lean_inc(x_195);
lean_dec(x_77);
x_197 = l_Lean_Meta_ppExpr(x_195, x_7, x_8, x_9, x_10, x_196);
x_198 = lean_ctor_get(x_197, 0);
lean_inc(x_198);
x_199 = lean_ctor_get(x_197, 1);
lean_inc(x_199);
if (lean_is_exclusive(x_197)) {
 lean_ctor_release(x_197, 0);
 lean_ctor_release(x_197, 1);
 x_200 = x_197;
} else {
 lean_dec_ref(x_197);
 x_200 = lean_box(0);
}
x_201 = 1;
x_202 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_203 = l_Lean_Name_toString(x_71, x_201, x_202);
x_204 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_204, 0, x_203);
x_205 = l_Lean_Meta_ppGoal_ppVars___closed__2;
if (lean_is_scalar(x_200)) {
 x_206 = lean_alloc_ctor(5, 2, 0);
} else {
 x_206 = x_200;
 lean_ctor_set_tag(x_206, 5);
}
lean_ctor_set(x_206, 0, x_204);
lean_ctor_set(x_206, 1, x_205);
x_207 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_207, 0, x_206);
lean_ctor_set(x_207, 1, x_198);
x_208 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_70, x_7, x_8, x_9, x_10, x_199);
x_209 = lean_ctor_get(x_208, 0);
lean_inc(x_209);
x_210 = lean_ctor_get(x_208, 1);
lean_inc(x_210);
if (lean_is_exclusive(x_208)) {
 lean_ctor_release(x_208, 0);
 lean_ctor_release(x_208, 1);
 x_211 = x_208;
} else {
 lean_dec_ref(x_208);
 x_211 = lean_box(0);
}
x_212 = l_Lean_Meta_ppGoal_shouldShowLetValue(x_2, x_209, x_7, x_8, x_9, x_10, x_210);
x_213 = lean_ctor_get(x_212, 0);
lean_inc(x_213);
x_214 = lean_unbox(x_213);
lean_dec(x_213);
if (x_214 == 0)
{
lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; 
lean_dec(x_211);
lean_dec(x_209);
lean_free_object(x_72);
lean_dec(x_1);
x_215 = lean_ctor_get(x_212, 1);
lean_inc(x_215);
if (lean_is_exclusive(x_212)) {
 lean_ctor_release(x_212, 0);
 lean_ctor_release(x_212, 1);
 x_216 = x_212;
} else {
 lean_dec_ref(x_212);
 x_216 = lean_box(0);
}
x_217 = l_Lean_Meta_ppGoal_ppVars___closed__4;
if (lean_is_scalar(x_216)) {
 x_218 = lean_alloc_ctor(5, 2, 0);
} else {
 x_218 = x_216;
 lean_ctor_set_tag(x_218, 5);
}
lean_ctor_set(x_218, 0, x_207);
lean_ctor_set(x_218, 1, x_217);
x_219 = lean_box(0);
x_220 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_218, x_219, x_7, x_8, x_9, x_10, x_215);
return x_220;
}
else
{
lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; 
x_221 = lean_ctor_get(x_212, 1);
lean_inc(x_221);
if (lean_is_exclusive(x_212)) {
 lean_ctor_release(x_212, 0);
 lean_ctor_release(x_212, 1);
 x_222 = x_212;
} else {
 lean_dec_ref(x_212);
 x_222 = lean_box(0);
}
x_223 = l_Lean_Meta_ppExpr(x_209, x_7, x_8, x_9, x_10, x_221);
x_224 = lean_ctor_get(x_223, 0);
lean_inc(x_224);
x_225 = lean_ctor_get(x_223, 1);
lean_inc(x_225);
if (lean_is_exclusive(x_223)) {
 lean_ctor_release(x_223, 0);
 lean_ctor_release(x_223, 1);
 x_226 = x_223;
} else {
 lean_dec_ref(x_223);
 x_226 = lean_box(0);
}
x_227 = l_Lean_Meta_ppGoal_ppVars___closed__6;
if (lean_is_scalar(x_226)) {
 x_228 = lean_alloc_ctor(5, 2, 0);
} else {
 x_228 = x_226;
 lean_ctor_set_tag(x_228, 5);
}
lean_ctor_set(x_228, 0, x_207);
lean_ctor_set(x_228, 1, x_227);
x_229 = lean_box(1);
if (lean_is_scalar(x_222)) {
 x_230 = lean_alloc_ctor(5, 2, 0);
} else {
 x_230 = x_222;
 lean_ctor_set_tag(x_230, 5);
}
lean_ctor_set(x_230, 0, x_229);
lean_ctor_set(x_230, 1, x_224);
if (lean_is_scalar(x_211)) {
 x_231 = lean_alloc_ctor(4, 2, 0);
} else {
 x_231 = x_211;
 lean_ctor_set_tag(x_231, 4);
}
lean_ctor_set(x_231, 0, x_1);
lean_ctor_set(x_231, 1, x_230);
lean_ctor_set_tag(x_72, 5);
lean_ctor_set(x_72, 1, x_231);
lean_ctor_set(x_72, 0, x_228);
x_232 = lean_box(0);
x_233 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_76, x_72, x_232, x_7, x_8, x_9, x_10, x_225);
return x_233;
}
}
}
else
{
lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; 
x_234 = lean_ctor_get(x_72, 0);
x_235 = lean_ctor_get(x_72, 1);
lean_inc(x_235);
lean_inc(x_234);
lean_dec(x_72);
x_236 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_234);
x_237 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_69, x_7, x_8, x_9, x_10, x_235);
x_238 = lean_ctor_get(x_237, 0);
lean_inc(x_238);
x_239 = lean_ctor_get(x_237, 1);
lean_inc(x_239);
if (lean_is_exclusive(x_237)) {
 lean_ctor_release(x_237, 0);
 lean_ctor_release(x_237, 1);
 x_240 = x_237;
} else {
 lean_dec_ref(x_237);
 x_240 = lean_box(0);
}
x_241 = l_Lean_Meta_ppExpr(x_238, x_7, x_8, x_9, x_10, x_239);
x_242 = lean_ctor_get(x_241, 0);
lean_inc(x_242);
x_243 = lean_ctor_get(x_241, 1);
lean_inc(x_243);
if (lean_is_exclusive(x_241)) {
 lean_ctor_release(x_241, 0);
 lean_ctor_release(x_241, 1);
 x_244 = x_241;
} else {
 lean_dec_ref(x_241);
 x_244 = lean_box(0);
}
x_245 = 1;
x_246 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_247 = l_Lean_Name_toString(x_71, x_245, x_246);
x_248 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_248, 0, x_247);
x_249 = l_Lean_Meta_ppGoal_ppVars___closed__2;
if (lean_is_scalar(x_244)) {
 x_250 = lean_alloc_ctor(5, 2, 0);
} else {
 x_250 = x_244;
 lean_ctor_set_tag(x_250, 5);
}
lean_ctor_set(x_250, 0, x_248);
lean_ctor_set(x_250, 1, x_249);
if (lean_is_scalar(x_240)) {
 x_251 = lean_alloc_ctor(5, 2, 0);
} else {
 x_251 = x_240;
 lean_ctor_set_tag(x_251, 5);
}
lean_ctor_set(x_251, 0, x_250);
lean_ctor_set(x_251, 1, x_242);
x_252 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_70, x_7, x_8, x_9, x_10, x_243);
x_253 = lean_ctor_get(x_252, 0);
lean_inc(x_253);
x_254 = lean_ctor_get(x_252, 1);
lean_inc(x_254);
if (lean_is_exclusive(x_252)) {
 lean_ctor_release(x_252, 0);
 lean_ctor_release(x_252, 1);
 x_255 = x_252;
} else {
 lean_dec_ref(x_252);
 x_255 = lean_box(0);
}
x_256 = l_Lean_Meta_ppGoal_shouldShowLetValue(x_2, x_253, x_7, x_8, x_9, x_10, x_254);
x_257 = lean_ctor_get(x_256, 0);
lean_inc(x_257);
x_258 = lean_unbox(x_257);
lean_dec(x_257);
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; 
lean_dec(x_255);
lean_dec(x_253);
lean_dec(x_1);
x_259 = lean_ctor_get(x_256, 1);
lean_inc(x_259);
if (lean_is_exclusive(x_256)) {
 lean_ctor_release(x_256, 0);
 lean_ctor_release(x_256, 1);
 x_260 = x_256;
} else {
 lean_dec_ref(x_256);
 x_260 = lean_box(0);
}
x_261 = l_Lean_Meta_ppGoal_ppVars___closed__4;
if (lean_is_scalar(x_260)) {
 x_262 = lean_alloc_ctor(5, 2, 0);
} else {
 x_262 = x_260;
 lean_ctor_set_tag(x_262, 5);
}
lean_ctor_set(x_262, 0, x_251);
lean_ctor_set(x_262, 1, x_261);
x_263 = lean_box(0);
x_264 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_236, x_262, x_263, x_7, x_8, x_9, x_10, x_259);
return x_264;
}
else
{
lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; 
x_265 = lean_ctor_get(x_256, 1);
lean_inc(x_265);
if (lean_is_exclusive(x_256)) {
 lean_ctor_release(x_256, 0);
 lean_ctor_release(x_256, 1);
 x_266 = x_256;
} else {
 lean_dec_ref(x_256);
 x_266 = lean_box(0);
}
x_267 = l_Lean_Meta_ppExpr(x_253, x_7, x_8, x_9, x_10, x_265);
x_268 = lean_ctor_get(x_267, 0);
lean_inc(x_268);
x_269 = lean_ctor_get(x_267, 1);
lean_inc(x_269);
if (lean_is_exclusive(x_267)) {
 lean_ctor_release(x_267, 0);
 lean_ctor_release(x_267, 1);
 x_270 = x_267;
} else {
 lean_dec_ref(x_267);
 x_270 = lean_box(0);
}
x_271 = l_Lean_Meta_ppGoal_ppVars___closed__6;
if (lean_is_scalar(x_270)) {
 x_272 = lean_alloc_ctor(5, 2, 0);
} else {
 x_272 = x_270;
 lean_ctor_set_tag(x_272, 5);
}
lean_ctor_set(x_272, 0, x_251);
lean_ctor_set(x_272, 1, x_271);
x_273 = lean_box(1);
if (lean_is_scalar(x_266)) {
 x_274 = lean_alloc_ctor(5, 2, 0);
} else {
 x_274 = x_266;
 lean_ctor_set_tag(x_274, 5);
}
lean_ctor_set(x_274, 0, x_273);
lean_ctor_set(x_274, 1, x_268);
if (lean_is_scalar(x_255)) {
 x_275 = lean_alloc_ctor(4, 2, 0);
} else {
 x_275 = x_255;
 lean_ctor_set_tag(x_275, 4);
}
lean_ctor_set(x_275, 0, x_1);
lean_ctor_set(x_275, 1, x_274);
x_276 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_276, 0, x_272);
lean_ctor_set(x_276, 1, x_275);
x_277 = lean_box(0);
x_278 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_236, x_276, x_277, x_7, x_8, x_9, x_10, x_269);
return x_278;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at_Lean_Meta_ppGoal_ppVars___spec__1(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Meta_ppGoal_ppVars___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_2);
lean_dec(x_2);
x_13 = l_Lean_Meta_ppGoal_ppVars(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__5(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; 
x_15 = lean_array_uget(x_5, x_6);
lean_inc(x_1);
x_16 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4(x_1, x_2, x_3, x_4, x_15, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_15);
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(x_16);
x_19 = 1;
x_20 = lean_usize_add(x_6, x_19);
x_6 = x_20;
x_8 = x_17;
x_13 = x_18;
goto _start;
}
else
{
lean_object* x_22; 
lean_dec(x_1);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_8);
lean_ctor_set(x_22, 1, x_13);
return x_22;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_array_uget(x_5, x_6);
if (lean_obj_tag(x_15) == 0)
{
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
else
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_8, 1);
lean_inc(x_22);
if (x_2 == 0)
{
lean_object* x_23; uint8_t x_24; 
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = !lean_is_exclusive(x_8);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_ctor_get(x_8, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_dec(x_26);
x_27 = !lean_is_exclusive(x_22);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_28 = lean_ctor_get(x_22, 0);
x_29 = lean_ctor_get(x_22, 1);
x_30 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_30 == 0)
{
if (x_3 == 0)
{
uint8_t x_31; 
x_31 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_32 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_32);
x_16 = x_33;
x_17 = x_34;
goto block_21;
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_35 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_35);
x_16 = x_36;
x_17 = x_37;
goto block_21;
}
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_38 = lean_ctor_get(x_22, 0);
x_39 = lean_ctor_get(x_22, 1);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_22);
x_40 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_40 == 0)
{
if (x_3 == 0)
{
uint8_t x_41; 
x_41 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_free_object(x_8);
lean_inc(x_1);
x_42 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_16 = x_43;
x_17 = x_44;
goto block_21;
}
else
{
lean_object* x_45; 
lean_dec(x_23);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_38);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_8, 1, x_45);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
lean_free_object(x_8);
lean_inc(x_1);
x_46 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_46);
x_16 = x_47;
x_17 = x_48;
goto block_21;
}
}
else
{
lean_object* x_49; 
lean_dec(x_23);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_38);
lean_ctor_set(x_49, 1, x_39);
lean_ctor_set(x_8, 1, x_49);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_50 = lean_ctor_get(x_8, 0);
lean_inc(x_50);
lean_dec(x_8);
x_51 = lean_ctor_get(x_22, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_22, 1);
lean_inc(x_52);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_53 = x_22;
} else {
 lean_dec_ref(x_22);
 x_53 = lean_box(0);
}
x_54 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_54 == 0)
{
if (x_3 == 0)
{
uint8_t x_55; 
x_55 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_55 == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
lean_dec(x_53);
lean_inc(x_1);
x_56 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_56);
x_16 = x_57;
x_17 = x_58;
goto block_21;
}
else
{
lean_object* x_59; lean_object* x_60; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_59 = lean_alloc_ctor(0, 2, 0);
} else {
 x_59 = x_53;
}
lean_ctor_set(x_59, 0, x_51);
lean_ctor_set(x_59, 1, x_52);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_50);
lean_ctor_set(x_60, 1, x_59);
x_16 = x_60;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_53);
lean_inc(x_1);
x_61 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
x_16 = x_62;
x_17 = x_63;
goto block_21;
}
}
else
{
lean_object* x_64; lean_object* x_65; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_53;
}
lean_ctor_set(x_64, 0, x_51);
lean_ctor_set(x_64, 1, x_52);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_50);
lean_ctor_set(x_65, 1, x_64);
x_16 = x_65;
x_17 = x_13;
goto block_21;
}
}
}
else
{
if (x_3 == 0)
{
lean_object* x_66; uint8_t x_67; 
x_66 = lean_ctor_get(x_15, 0);
lean_inc(x_66);
lean_dec(x_15);
x_67 = !lean_is_exclusive(x_8);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_68 = lean_ctor_get(x_8, 0);
x_69 = lean_ctor_get(x_8, 1);
lean_dec(x_69);
x_70 = !lean_is_exclusive(x_22);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_71 = lean_ctor_get(x_22, 0);
x_72 = lean_ctor_get(x_22, 1);
x_73 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_74 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_71, x_72, x_66, x_9, x_10, x_11, x_12, x_13);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_74, 1);
lean_inc(x_76);
lean_dec(x_74);
x_16 = x_75;
x_17 = x_76;
goto block_21;
}
else
{
lean_dec(x_66);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_77; lean_object* x_78; uint8_t x_79; 
x_77 = lean_ctor_get(x_22, 0);
x_78 = lean_ctor_get(x_22, 1);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_22);
x_79 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_79 == 0)
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_free_object(x_8);
lean_inc(x_1);
x_80 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_77, x_78, x_66, x_9, x_10, x_11, x_12, x_13);
x_81 = lean_ctor_get(x_80, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_80, 1);
lean_inc(x_82);
lean_dec(x_80);
x_16 = x_81;
x_17 = x_82;
goto block_21;
}
else
{
lean_object* x_83; 
lean_dec(x_66);
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_77);
lean_ctor_set(x_83, 1, x_78);
lean_ctor_set(x_8, 1, x_83);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_84 = lean_ctor_get(x_8, 0);
lean_inc(x_84);
lean_dec(x_8);
x_85 = lean_ctor_get(x_22, 0);
lean_inc(x_85);
x_86 = lean_ctor_get(x_22, 1);
lean_inc(x_86);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_87 = x_22;
} else {
 lean_dec_ref(x_22);
 x_87 = lean_box(0);
}
x_88 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
lean_dec(x_87);
lean_inc(x_1);
x_89 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_84, x_85, x_86, x_66, x_9, x_10, x_11, x_12, x_13);
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(x_89);
x_16 = x_90;
x_17 = x_91;
goto block_21;
}
else
{
lean_object* x_92; lean_object* x_93; 
lean_dec(x_66);
if (lean_is_scalar(x_87)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_87;
}
lean_ctor_set(x_92, 0, x_85);
lean_ctor_set(x_92, 1, x_86);
x_93 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_93, 0, x_84);
lean_ctor_set(x_93, 1, x_92);
x_16 = x_93;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_94 = lean_ctor_get(x_15, 0);
lean_inc(x_94);
lean_dec(x_15);
x_95 = lean_ctor_get(x_8, 0);
lean_inc(x_95);
lean_dec(x_8);
x_96 = lean_ctor_get(x_22, 0);
lean_inc(x_96);
x_97 = lean_ctor_get(x_22, 1);
lean_inc(x_97);
lean_dec(x_22);
lean_inc(x_1);
x_98 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_95, x_96, x_97, x_94, x_9, x_10, x_11, x_12, x_13);
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(x_98);
x_16 = x_99;
x_17 = x_100;
goto block_21;
}
}
}
block_21:
{
size_t x_18; size_t x_19; 
x_18 = 1;
x_19 = lean_usize_add(x_6, x_18);
x_6 = x_19;
x_8 = x_16;
x_13 = x_17;
goto _start;
}
}
else
{
lean_object* x_101; 
lean_dec(x_1);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_8);
lean_ctor_set(x_101, 1, x_13);
return x_101;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_12 = lean_ctor_get(x_5, 0);
x_13 = lean_array_get_size(x_12);
x_14 = lean_unsigned_to_nat(0u);
x_15 = lean_nat_dec_lt(x_14, x_13);
if (x_15 == 0)
{
lean_object* x_16; 
lean_dec(x_13);
lean_dec(x_1);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_6);
lean_ctor_set(x_16, 1, x_11);
return x_16;
}
else
{
uint8_t x_17; 
x_17 = lean_nat_dec_le(x_13, x_13);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_13);
lean_dec(x_1);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_6);
lean_ctor_set(x_18, 1, x_11);
return x_18;
}
else
{
size_t x_19; size_t x_20; lean_object* x_21; 
x_19 = 0;
x_20 = lean_usize_of_nat(x_13);
lean_dec(x_13);
x_21 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__5(x_1, x_2, x_3, x_4, x_12, x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11);
return x_21;
}
}
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_22 = lean_ctor_get(x_5, 0);
x_23 = lean_array_get_size(x_22);
x_24 = lean_unsigned_to_nat(0u);
x_25 = lean_nat_dec_lt(x_24, x_23);
if (x_25 == 0)
{
lean_object* x_26; 
lean_dec(x_23);
lean_dec(x_1);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_6);
lean_ctor_set(x_26, 1, x_11);
return x_26;
}
else
{
uint8_t x_27; 
x_27 = lean_nat_dec_le(x_23, x_23);
if (x_27 == 0)
{
lean_object* x_28; 
lean_dec(x_23);
lean_dec(x_1);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_6);
lean_ctor_set(x_28, 1, x_11);
return x_28;
}
else
{
size_t x_29; size_t x_30; lean_object* x_31; 
x_29 = 0;
x_30 = lean_usize_of_nat(x_23);
lean_dec(x_23);
x_31 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6(x_1, x_2, x_3, x_4, x_22, x_29, x_30, x_6, x_7, x_8, x_9, x_10, x_11);
return x_31;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__7(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; 
x_15 = lean_array_uget(x_5, x_6);
lean_inc(x_1);
x_16 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4(x_1, x_2, x_3, x_4, x_15, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_15);
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(x_16);
x_19 = 1;
x_20 = lean_usize_add(x_6, x_19);
x_6 = x_20;
x_8 = x_17;
x_13 = x_18;
goto _start;
}
else
{
lean_object* x_22; 
lean_dec(x_1);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_8);
lean_ctor_set(x_22, 1, x_13);
return x_22;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__8(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_array_uget(x_5, x_6);
if (lean_obj_tag(x_15) == 0)
{
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
else
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_8, 1);
lean_inc(x_22);
if (x_2 == 0)
{
lean_object* x_23; uint8_t x_24; 
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = !lean_is_exclusive(x_8);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_ctor_get(x_8, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_dec(x_26);
x_27 = !lean_is_exclusive(x_22);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_28 = lean_ctor_get(x_22, 0);
x_29 = lean_ctor_get(x_22, 1);
x_30 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_30 == 0)
{
if (x_3 == 0)
{
uint8_t x_31; 
x_31 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_32 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_32);
x_16 = x_33;
x_17 = x_34;
goto block_21;
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_35 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_35);
x_16 = x_36;
x_17 = x_37;
goto block_21;
}
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_38 = lean_ctor_get(x_22, 0);
x_39 = lean_ctor_get(x_22, 1);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_22);
x_40 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_40 == 0)
{
if (x_3 == 0)
{
uint8_t x_41; 
x_41 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_free_object(x_8);
lean_inc(x_1);
x_42 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_16 = x_43;
x_17 = x_44;
goto block_21;
}
else
{
lean_object* x_45; 
lean_dec(x_23);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_38);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_8, 1, x_45);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
lean_free_object(x_8);
lean_inc(x_1);
x_46 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_46);
x_16 = x_47;
x_17 = x_48;
goto block_21;
}
}
else
{
lean_object* x_49; 
lean_dec(x_23);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_38);
lean_ctor_set(x_49, 1, x_39);
lean_ctor_set(x_8, 1, x_49);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_50 = lean_ctor_get(x_8, 0);
lean_inc(x_50);
lean_dec(x_8);
x_51 = lean_ctor_get(x_22, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_22, 1);
lean_inc(x_52);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_53 = x_22;
} else {
 lean_dec_ref(x_22);
 x_53 = lean_box(0);
}
x_54 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_54 == 0)
{
if (x_3 == 0)
{
uint8_t x_55; 
x_55 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_55 == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
lean_dec(x_53);
lean_inc(x_1);
x_56 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_56);
x_16 = x_57;
x_17 = x_58;
goto block_21;
}
else
{
lean_object* x_59; lean_object* x_60; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_59 = lean_alloc_ctor(0, 2, 0);
} else {
 x_59 = x_53;
}
lean_ctor_set(x_59, 0, x_51);
lean_ctor_set(x_59, 1, x_52);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_50);
lean_ctor_set(x_60, 1, x_59);
x_16 = x_60;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_53);
lean_inc(x_1);
x_61 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
x_16 = x_62;
x_17 = x_63;
goto block_21;
}
}
else
{
lean_object* x_64; lean_object* x_65; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_53;
}
lean_ctor_set(x_64, 0, x_51);
lean_ctor_set(x_64, 1, x_52);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_50);
lean_ctor_set(x_65, 1, x_64);
x_16 = x_65;
x_17 = x_13;
goto block_21;
}
}
}
else
{
if (x_3 == 0)
{
lean_object* x_66; uint8_t x_67; 
x_66 = lean_ctor_get(x_15, 0);
lean_inc(x_66);
lean_dec(x_15);
x_67 = !lean_is_exclusive(x_8);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_68 = lean_ctor_get(x_8, 0);
x_69 = lean_ctor_get(x_8, 1);
lean_dec(x_69);
x_70 = !lean_is_exclusive(x_22);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_71 = lean_ctor_get(x_22, 0);
x_72 = lean_ctor_get(x_22, 1);
x_73 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_74 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_71, x_72, x_66, x_9, x_10, x_11, x_12, x_13);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_74, 1);
lean_inc(x_76);
lean_dec(x_74);
x_16 = x_75;
x_17 = x_76;
goto block_21;
}
else
{
lean_dec(x_66);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_77; lean_object* x_78; uint8_t x_79; 
x_77 = lean_ctor_get(x_22, 0);
x_78 = lean_ctor_get(x_22, 1);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_22);
x_79 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_79 == 0)
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_free_object(x_8);
lean_inc(x_1);
x_80 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_77, x_78, x_66, x_9, x_10, x_11, x_12, x_13);
x_81 = lean_ctor_get(x_80, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_80, 1);
lean_inc(x_82);
lean_dec(x_80);
x_16 = x_81;
x_17 = x_82;
goto block_21;
}
else
{
lean_object* x_83; 
lean_dec(x_66);
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_77);
lean_ctor_set(x_83, 1, x_78);
lean_ctor_set(x_8, 1, x_83);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_84 = lean_ctor_get(x_8, 0);
lean_inc(x_84);
lean_dec(x_8);
x_85 = lean_ctor_get(x_22, 0);
lean_inc(x_85);
x_86 = lean_ctor_get(x_22, 1);
lean_inc(x_86);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_87 = x_22;
} else {
 lean_dec_ref(x_22);
 x_87 = lean_box(0);
}
x_88 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
lean_dec(x_87);
lean_inc(x_1);
x_89 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_84, x_85, x_86, x_66, x_9, x_10, x_11, x_12, x_13);
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(x_89);
x_16 = x_90;
x_17 = x_91;
goto block_21;
}
else
{
lean_object* x_92; lean_object* x_93; 
lean_dec(x_66);
if (lean_is_scalar(x_87)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_87;
}
lean_ctor_set(x_92, 0, x_85);
lean_ctor_set(x_92, 1, x_86);
x_93 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_93, 0, x_84);
lean_ctor_set(x_93, 1, x_92);
x_16 = x_93;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_94 = lean_ctor_get(x_15, 0);
lean_inc(x_94);
lean_dec(x_15);
x_95 = lean_ctor_get(x_8, 0);
lean_inc(x_95);
lean_dec(x_8);
x_96 = lean_ctor_get(x_22, 0);
lean_inc(x_96);
x_97 = lean_ctor_get(x_22, 1);
lean_inc(x_97);
lean_dec(x_22);
lean_inc(x_1);
x_98 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_95, x_96, x_97, x_94, x_9, x_10, x_11, x_12, x_13);
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(x_98);
x_16 = x_99;
x_17 = x_100;
goto block_21;
}
}
}
block_21:
{
size_t x_18; size_t x_19; 
x_18 = 1;
x_19 = lean_usize_add(x_6, x_18);
x_6 = x_19;
x_8 = x_16;
x_13 = x_17;
goto _start;
}
}
else
{
lean_object* x_101; 
lean_dec(x_1);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_8);
lean_ctor_set(x_101, 1, x_13);
return x_101;
}
}
}
static lean_object* _init_l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instInhabitedPersistentArrayNode(lean_box(0));
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; size_t x_21; size_t x_22; size_t x_23; size_t x_24; lean_object* x_25; uint8_t x_26; 
x_14 = lean_ctor_get(x_5, 0);
x_15 = lean_usize_shift_right(x_6, x_7);
x_16 = lean_usize_to_nat(x_15);
x_17 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___closed__1;
x_18 = lean_array_get(x_17, x_14, x_16);
x_19 = 1;
x_20 = lean_usize_shift_left(x_19, x_7);
x_21 = lean_usize_sub(x_20, x_19);
x_22 = lean_usize_land(x_6, x_21);
x_23 = 5;
x_24 = lean_usize_sub(x_7, x_23);
lean_inc(x_1);
x_25 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3(x_1, x_2, x_3, x_4, x_18, x_22, x_24, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_18);
x_26 = !lean_is_exclusive(x_25);
if (x_26 == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; 
x_27 = lean_ctor_get(x_25, 0);
x_28 = lean_ctor_get(x_25, 1);
x_29 = lean_unsigned_to_nat(1u);
x_30 = lean_nat_add(x_16, x_29);
lean_dec(x_16);
x_31 = lean_array_get_size(x_14);
x_32 = lean_nat_dec_lt(x_30, x_31);
if (x_32 == 0)
{
lean_dec(x_31);
lean_dec(x_30);
lean_dec(x_1);
return x_25;
}
else
{
uint8_t x_33; 
x_33 = lean_nat_dec_le(x_31, x_31);
if (x_33 == 0)
{
lean_dec(x_31);
lean_dec(x_30);
lean_dec(x_1);
return x_25;
}
else
{
size_t x_34; size_t x_35; lean_object* x_36; 
lean_free_object(x_25);
x_34 = lean_usize_of_nat(x_30);
lean_dec(x_30);
x_35 = lean_usize_of_nat(x_31);
lean_dec(x_31);
x_36 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__7(x_1, x_2, x_3, x_4, x_14, x_34, x_35, x_27, x_9, x_10, x_11, x_12, x_28);
return x_36;
}
}
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; 
x_37 = lean_ctor_get(x_25, 0);
x_38 = lean_ctor_get(x_25, 1);
lean_inc(x_38);
lean_inc(x_37);
lean_dec(x_25);
x_39 = lean_unsigned_to_nat(1u);
x_40 = lean_nat_add(x_16, x_39);
lean_dec(x_16);
x_41 = lean_array_get_size(x_14);
x_42 = lean_nat_dec_lt(x_40, x_41);
if (x_42 == 0)
{
lean_object* x_43; 
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_1);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_37);
lean_ctor_set(x_43, 1, x_38);
return x_43;
}
else
{
uint8_t x_44; 
x_44 = lean_nat_dec_le(x_41, x_41);
if (x_44 == 0)
{
lean_object* x_45; 
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_1);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_37);
lean_ctor_set(x_45, 1, x_38);
return x_45;
}
else
{
size_t x_46; size_t x_47; lean_object* x_48; 
x_46 = lean_usize_of_nat(x_40);
lean_dec(x_40);
x_47 = lean_usize_of_nat(x_41);
lean_dec(x_41);
x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__7(x_1, x_2, x_3, x_4, x_14, x_46, x_47, x_37, x_9, x_10, x_11, x_12, x_38);
return x_48;
}
}
}
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; 
x_49 = lean_ctor_get(x_5, 0);
x_50 = lean_usize_to_nat(x_6);
x_51 = lean_array_get_size(x_49);
x_52 = lean_nat_dec_lt(x_50, x_51);
if (x_52 == 0)
{
lean_object* x_53; 
lean_dec(x_51);
lean_dec(x_50);
lean_dec(x_1);
x_53 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_53, 0, x_8);
lean_ctor_set(x_53, 1, x_13);
return x_53;
}
else
{
uint8_t x_54; 
x_54 = lean_nat_dec_le(x_51, x_51);
if (x_54 == 0)
{
lean_object* x_55; 
lean_dec(x_51);
lean_dec(x_50);
lean_dec(x_1);
x_55 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_55, 0, x_8);
lean_ctor_set(x_55, 1, x_13);
return x_55;
}
else
{
size_t x_56; size_t x_57; lean_object* x_58; 
x_56 = lean_usize_of_nat(x_50);
lean_dec(x_50);
x_57 = lean_usize_of_nat(x_51);
lean_dec(x_51);
x_58 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__8(x_1, x_2, x_3, x_4, x_49, x_56, x_57, x_8, x_9, x_10, x_11, x_12, x_13);
return x_58;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__9(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_array_uget(x_5, x_6);
if (lean_obj_tag(x_15) == 0)
{
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
else
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_8, 1);
lean_inc(x_22);
if (x_2 == 0)
{
lean_object* x_23; uint8_t x_24; 
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = !lean_is_exclusive(x_8);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_ctor_get(x_8, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_dec(x_26);
x_27 = !lean_is_exclusive(x_22);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_28 = lean_ctor_get(x_22, 0);
x_29 = lean_ctor_get(x_22, 1);
x_30 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_30 == 0)
{
if (x_3 == 0)
{
uint8_t x_31; 
x_31 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_32 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_32);
x_16 = x_33;
x_17 = x_34;
goto block_21;
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_35 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_35);
x_16 = x_36;
x_17 = x_37;
goto block_21;
}
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_38 = lean_ctor_get(x_22, 0);
x_39 = lean_ctor_get(x_22, 1);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_22);
x_40 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_40 == 0)
{
if (x_3 == 0)
{
uint8_t x_41; 
x_41 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_free_object(x_8);
lean_inc(x_1);
x_42 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_16 = x_43;
x_17 = x_44;
goto block_21;
}
else
{
lean_object* x_45; 
lean_dec(x_23);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_38);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_8, 1, x_45);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
lean_free_object(x_8);
lean_inc(x_1);
x_46 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_46);
x_16 = x_47;
x_17 = x_48;
goto block_21;
}
}
else
{
lean_object* x_49; 
lean_dec(x_23);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_38);
lean_ctor_set(x_49, 1, x_39);
lean_ctor_set(x_8, 1, x_49);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_50 = lean_ctor_get(x_8, 0);
lean_inc(x_50);
lean_dec(x_8);
x_51 = lean_ctor_get(x_22, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_22, 1);
lean_inc(x_52);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_53 = x_22;
} else {
 lean_dec_ref(x_22);
 x_53 = lean_box(0);
}
x_54 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_54 == 0)
{
if (x_3 == 0)
{
uint8_t x_55; 
x_55 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_55 == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
lean_dec(x_53);
lean_inc(x_1);
x_56 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_56);
x_16 = x_57;
x_17 = x_58;
goto block_21;
}
else
{
lean_object* x_59; lean_object* x_60; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_59 = lean_alloc_ctor(0, 2, 0);
} else {
 x_59 = x_53;
}
lean_ctor_set(x_59, 0, x_51);
lean_ctor_set(x_59, 1, x_52);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_50);
lean_ctor_set(x_60, 1, x_59);
x_16 = x_60;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_53);
lean_inc(x_1);
x_61 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
x_16 = x_62;
x_17 = x_63;
goto block_21;
}
}
else
{
lean_object* x_64; lean_object* x_65; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_53;
}
lean_ctor_set(x_64, 0, x_51);
lean_ctor_set(x_64, 1, x_52);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_50);
lean_ctor_set(x_65, 1, x_64);
x_16 = x_65;
x_17 = x_13;
goto block_21;
}
}
}
else
{
if (x_3 == 0)
{
lean_object* x_66; uint8_t x_67; 
x_66 = lean_ctor_get(x_15, 0);
lean_inc(x_66);
lean_dec(x_15);
x_67 = !lean_is_exclusive(x_8);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_68 = lean_ctor_get(x_8, 0);
x_69 = lean_ctor_get(x_8, 1);
lean_dec(x_69);
x_70 = !lean_is_exclusive(x_22);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_71 = lean_ctor_get(x_22, 0);
x_72 = lean_ctor_get(x_22, 1);
x_73 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_74 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_71, x_72, x_66, x_9, x_10, x_11, x_12, x_13);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_74, 1);
lean_inc(x_76);
lean_dec(x_74);
x_16 = x_75;
x_17 = x_76;
goto block_21;
}
else
{
lean_dec(x_66);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_77; lean_object* x_78; uint8_t x_79; 
x_77 = lean_ctor_get(x_22, 0);
x_78 = lean_ctor_get(x_22, 1);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_22);
x_79 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_79 == 0)
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_free_object(x_8);
lean_inc(x_1);
x_80 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_77, x_78, x_66, x_9, x_10, x_11, x_12, x_13);
x_81 = lean_ctor_get(x_80, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_80, 1);
lean_inc(x_82);
lean_dec(x_80);
x_16 = x_81;
x_17 = x_82;
goto block_21;
}
else
{
lean_object* x_83; 
lean_dec(x_66);
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_77);
lean_ctor_set(x_83, 1, x_78);
lean_ctor_set(x_8, 1, x_83);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_84 = lean_ctor_get(x_8, 0);
lean_inc(x_84);
lean_dec(x_8);
x_85 = lean_ctor_get(x_22, 0);
lean_inc(x_85);
x_86 = lean_ctor_get(x_22, 1);
lean_inc(x_86);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_87 = x_22;
} else {
 lean_dec_ref(x_22);
 x_87 = lean_box(0);
}
x_88 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
lean_dec(x_87);
lean_inc(x_1);
x_89 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_84, x_85, x_86, x_66, x_9, x_10, x_11, x_12, x_13);
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(x_89);
x_16 = x_90;
x_17 = x_91;
goto block_21;
}
else
{
lean_object* x_92; lean_object* x_93; 
lean_dec(x_66);
if (lean_is_scalar(x_87)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_87;
}
lean_ctor_set(x_92, 0, x_85);
lean_ctor_set(x_92, 1, x_86);
x_93 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_93, 0, x_84);
lean_ctor_set(x_93, 1, x_92);
x_16 = x_93;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_94 = lean_ctor_get(x_15, 0);
lean_inc(x_94);
lean_dec(x_15);
x_95 = lean_ctor_get(x_8, 0);
lean_inc(x_95);
lean_dec(x_8);
x_96 = lean_ctor_get(x_22, 0);
lean_inc(x_96);
x_97 = lean_ctor_get(x_22, 1);
lean_inc(x_97);
lean_dec(x_22);
lean_inc(x_1);
x_98 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_95, x_96, x_97, x_94, x_9, x_10, x_11, x_12, x_13);
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(x_98);
x_16 = x_99;
x_17 = x_100;
goto block_21;
}
}
}
block_21:
{
size_t x_18; size_t x_19; 
x_18 = 1;
x_19 = lean_usize_add(x_6, x_18);
x_6 = x_19;
x_8 = x_16;
x_13 = x_17;
goto _start;
}
}
else
{
lean_object* x_101; 
lean_dec(x_1);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_8);
lean_ctor_set(x_101, 1, x_13);
return x_101;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_array_uget(x_5, x_6);
if (lean_obj_tag(x_15) == 0)
{
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
else
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_8, 1);
lean_inc(x_22);
if (x_2 == 0)
{
lean_object* x_23; uint8_t x_24; 
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = !lean_is_exclusive(x_8);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_ctor_get(x_8, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_dec(x_26);
x_27 = !lean_is_exclusive(x_22);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_28 = lean_ctor_get(x_22, 0);
x_29 = lean_ctor_get(x_22, 1);
x_30 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_30 == 0)
{
if (x_3 == 0)
{
uint8_t x_31; 
x_31 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_32 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_32);
x_16 = x_33;
x_17 = x_34;
goto block_21;
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_35 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_35);
x_16 = x_36;
x_17 = x_37;
goto block_21;
}
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_38 = lean_ctor_get(x_22, 0);
x_39 = lean_ctor_get(x_22, 1);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_22);
x_40 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_40 == 0)
{
if (x_3 == 0)
{
uint8_t x_41; 
x_41 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_free_object(x_8);
lean_inc(x_1);
x_42 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_16 = x_43;
x_17 = x_44;
goto block_21;
}
else
{
lean_object* x_45; 
lean_dec(x_23);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_38);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_8, 1, x_45);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
lean_free_object(x_8);
lean_inc(x_1);
x_46 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_46);
x_16 = x_47;
x_17 = x_48;
goto block_21;
}
}
else
{
lean_object* x_49; 
lean_dec(x_23);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_38);
lean_ctor_set(x_49, 1, x_39);
lean_ctor_set(x_8, 1, x_49);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_50 = lean_ctor_get(x_8, 0);
lean_inc(x_50);
lean_dec(x_8);
x_51 = lean_ctor_get(x_22, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_22, 1);
lean_inc(x_52);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_53 = x_22;
} else {
 lean_dec_ref(x_22);
 x_53 = lean_box(0);
}
x_54 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_54 == 0)
{
if (x_3 == 0)
{
uint8_t x_55; 
x_55 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_55 == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
lean_dec(x_53);
lean_inc(x_1);
x_56 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_56);
x_16 = x_57;
x_17 = x_58;
goto block_21;
}
else
{
lean_object* x_59; lean_object* x_60; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_59 = lean_alloc_ctor(0, 2, 0);
} else {
 x_59 = x_53;
}
lean_ctor_set(x_59, 0, x_51);
lean_ctor_set(x_59, 1, x_52);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_50);
lean_ctor_set(x_60, 1, x_59);
x_16 = x_60;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_53);
lean_inc(x_1);
x_61 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
x_16 = x_62;
x_17 = x_63;
goto block_21;
}
}
else
{
lean_object* x_64; lean_object* x_65; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_53;
}
lean_ctor_set(x_64, 0, x_51);
lean_ctor_set(x_64, 1, x_52);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_50);
lean_ctor_set(x_65, 1, x_64);
x_16 = x_65;
x_17 = x_13;
goto block_21;
}
}
}
else
{
if (x_3 == 0)
{
lean_object* x_66; uint8_t x_67; 
x_66 = lean_ctor_get(x_15, 0);
lean_inc(x_66);
lean_dec(x_15);
x_67 = !lean_is_exclusive(x_8);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_68 = lean_ctor_get(x_8, 0);
x_69 = lean_ctor_get(x_8, 1);
lean_dec(x_69);
x_70 = !lean_is_exclusive(x_22);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_71 = lean_ctor_get(x_22, 0);
x_72 = lean_ctor_get(x_22, 1);
x_73 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_74 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_71, x_72, x_66, x_9, x_10, x_11, x_12, x_13);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_74, 1);
lean_inc(x_76);
lean_dec(x_74);
x_16 = x_75;
x_17 = x_76;
goto block_21;
}
else
{
lean_dec(x_66);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_77; lean_object* x_78; uint8_t x_79; 
x_77 = lean_ctor_get(x_22, 0);
x_78 = lean_ctor_get(x_22, 1);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_22);
x_79 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_79 == 0)
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_free_object(x_8);
lean_inc(x_1);
x_80 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_77, x_78, x_66, x_9, x_10, x_11, x_12, x_13);
x_81 = lean_ctor_get(x_80, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_80, 1);
lean_inc(x_82);
lean_dec(x_80);
x_16 = x_81;
x_17 = x_82;
goto block_21;
}
else
{
lean_object* x_83; 
lean_dec(x_66);
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_77);
lean_ctor_set(x_83, 1, x_78);
lean_ctor_set(x_8, 1, x_83);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_84 = lean_ctor_get(x_8, 0);
lean_inc(x_84);
lean_dec(x_8);
x_85 = lean_ctor_get(x_22, 0);
lean_inc(x_85);
x_86 = lean_ctor_get(x_22, 1);
lean_inc(x_86);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_87 = x_22;
} else {
 lean_dec_ref(x_22);
 x_87 = lean_box(0);
}
x_88 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
lean_dec(x_87);
lean_inc(x_1);
x_89 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_84, x_85, x_86, x_66, x_9, x_10, x_11, x_12, x_13);
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(x_89);
x_16 = x_90;
x_17 = x_91;
goto block_21;
}
else
{
lean_object* x_92; lean_object* x_93; 
lean_dec(x_66);
if (lean_is_scalar(x_87)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_87;
}
lean_ctor_set(x_92, 0, x_85);
lean_ctor_set(x_92, 1, x_86);
x_93 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_93, 0, x_84);
lean_ctor_set(x_93, 1, x_92);
x_16 = x_93;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_94 = lean_ctor_get(x_15, 0);
lean_inc(x_94);
lean_dec(x_15);
x_95 = lean_ctor_get(x_8, 0);
lean_inc(x_95);
lean_dec(x_8);
x_96 = lean_ctor_get(x_22, 0);
lean_inc(x_96);
x_97 = lean_ctor_get(x_22, 1);
lean_inc(x_97);
lean_dec(x_22);
lean_inc(x_1);
x_98 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_95, x_96, x_97, x_94, x_9, x_10, x_11, x_12, x_13);
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(x_98);
x_16 = x_99;
x_17 = x_100;
goto block_21;
}
}
}
block_21:
{
size_t x_18; size_t x_19; 
x_18 = 1;
x_19 = lean_usize_add(x_6, x_18);
x_6 = x_19;
x_8 = x_16;
x_13 = x_17;
goto _start;
}
}
else
{
lean_object* x_101; 
lean_dec(x_1);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_8);
lean_ctor_set(x_101, 1, x_13);
return x_101;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; 
x_15 = lean_array_uget(x_5, x_6);
lean_inc(x_1);
x_16 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11(x_1, x_2, x_3, x_4, x_15, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_15);
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(x_16);
x_19 = 1;
x_20 = lean_usize_add(x_6, x_19);
x_6 = x_20;
x_8 = x_17;
x_13 = x_18;
goto _start;
}
else
{
lean_object* x_22; 
lean_dec(x_1);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_8);
lean_ctor_set(x_22, 1, x_13);
return x_22;
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_array_uget(x_5, x_6);
if (lean_obj_tag(x_15) == 0)
{
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
else
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_8, 1);
lean_inc(x_22);
if (x_2 == 0)
{
lean_object* x_23; uint8_t x_24; 
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = !lean_is_exclusive(x_8);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_ctor_get(x_8, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_dec(x_26);
x_27 = !lean_is_exclusive(x_22);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_28 = lean_ctor_get(x_22, 0);
x_29 = lean_ctor_get(x_22, 1);
x_30 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_30 == 0)
{
if (x_3 == 0)
{
uint8_t x_31; 
x_31 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_32 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_32);
x_16 = x_33;
x_17 = x_34;
goto block_21;
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_35 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_35);
x_16 = x_36;
x_17 = x_37;
goto block_21;
}
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_38 = lean_ctor_get(x_22, 0);
x_39 = lean_ctor_get(x_22, 1);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_22);
x_40 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_40 == 0)
{
if (x_3 == 0)
{
uint8_t x_41; 
x_41 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_free_object(x_8);
lean_inc(x_1);
x_42 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_16 = x_43;
x_17 = x_44;
goto block_21;
}
else
{
lean_object* x_45; 
lean_dec(x_23);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_38);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_8, 1, x_45);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
lean_free_object(x_8);
lean_inc(x_1);
x_46 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_46);
x_16 = x_47;
x_17 = x_48;
goto block_21;
}
}
else
{
lean_object* x_49; 
lean_dec(x_23);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_38);
lean_ctor_set(x_49, 1, x_39);
lean_ctor_set(x_8, 1, x_49);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_50 = lean_ctor_get(x_8, 0);
lean_inc(x_50);
lean_dec(x_8);
x_51 = lean_ctor_get(x_22, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_22, 1);
lean_inc(x_52);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_53 = x_22;
} else {
 lean_dec_ref(x_22);
 x_53 = lean_box(0);
}
x_54 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_54 == 0)
{
if (x_3 == 0)
{
uint8_t x_55; 
x_55 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_55 == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
lean_dec(x_53);
lean_inc(x_1);
x_56 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_56);
x_16 = x_57;
x_17 = x_58;
goto block_21;
}
else
{
lean_object* x_59; lean_object* x_60; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_59 = lean_alloc_ctor(0, 2, 0);
} else {
 x_59 = x_53;
}
lean_ctor_set(x_59, 0, x_51);
lean_ctor_set(x_59, 1, x_52);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_50);
lean_ctor_set(x_60, 1, x_59);
x_16 = x_60;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_53);
lean_inc(x_1);
x_61 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
x_16 = x_62;
x_17 = x_63;
goto block_21;
}
}
else
{
lean_object* x_64; lean_object* x_65; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_53;
}
lean_ctor_set(x_64, 0, x_51);
lean_ctor_set(x_64, 1, x_52);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_50);
lean_ctor_set(x_65, 1, x_64);
x_16 = x_65;
x_17 = x_13;
goto block_21;
}
}
}
else
{
if (x_3 == 0)
{
lean_object* x_66; uint8_t x_67; 
x_66 = lean_ctor_get(x_15, 0);
lean_inc(x_66);
lean_dec(x_15);
x_67 = !lean_is_exclusive(x_8);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_68 = lean_ctor_get(x_8, 0);
x_69 = lean_ctor_get(x_8, 1);
lean_dec(x_69);
x_70 = !lean_is_exclusive(x_22);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_71 = lean_ctor_get(x_22, 0);
x_72 = lean_ctor_get(x_22, 1);
x_73 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_74 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_71, x_72, x_66, x_9, x_10, x_11, x_12, x_13);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_74, 1);
lean_inc(x_76);
lean_dec(x_74);
x_16 = x_75;
x_17 = x_76;
goto block_21;
}
else
{
lean_dec(x_66);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_77; lean_object* x_78; uint8_t x_79; 
x_77 = lean_ctor_get(x_22, 0);
x_78 = lean_ctor_get(x_22, 1);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_22);
x_79 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_79 == 0)
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_free_object(x_8);
lean_inc(x_1);
x_80 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_77, x_78, x_66, x_9, x_10, x_11, x_12, x_13);
x_81 = lean_ctor_get(x_80, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_80, 1);
lean_inc(x_82);
lean_dec(x_80);
x_16 = x_81;
x_17 = x_82;
goto block_21;
}
else
{
lean_object* x_83; 
lean_dec(x_66);
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_77);
lean_ctor_set(x_83, 1, x_78);
lean_ctor_set(x_8, 1, x_83);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_84 = lean_ctor_get(x_8, 0);
lean_inc(x_84);
lean_dec(x_8);
x_85 = lean_ctor_get(x_22, 0);
lean_inc(x_85);
x_86 = lean_ctor_get(x_22, 1);
lean_inc(x_86);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_87 = x_22;
} else {
 lean_dec_ref(x_22);
 x_87 = lean_box(0);
}
x_88 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
lean_dec(x_87);
lean_inc(x_1);
x_89 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_84, x_85, x_86, x_66, x_9, x_10, x_11, x_12, x_13);
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(x_89);
x_16 = x_90;
x_17 = x_91;
goto block_21;
}
else
{
lean_object* x_92; lean_object* x_93; 
lean_dec(x_66);
if (lean_is_scalar(x_87)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_87;
}
lean_ctor_set(x_92, 0, x_85);
lean_ctor_set(x_92, 1, x_86);
x_93 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_93, 0, x_84);
lean_ctor_set(x_93, 1, x_92);
x_16 = x_93;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_94 = lean_ctor_get(x_15, 0);
lean_inc(x_94);
lean_dec(x_15);
x_95 = lean_ctor_get(x_8, 0);
lean_inc(x_95);
lean_dec(x_8);
x_96 = lean_ctor_get(x_22, 0);
lean_inc(x_96);
x_97 = lean_ctor_get(x_22, 1);
lean_inc(x_97);
lean_dec(x_22);
lean_inc(x_1);
x_98 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_95, x_96, x_97, x_94, x_9, x_10, x_11, x_12, x_13);
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(x_98);
x_16 = x_99;
x_17 = x_100;
goto block_21;
}
}
}
block_21:
{
size_t x_18; size_t x_19; 
x_18 = 1;
x_19 = lean_usize_add(x_6, x_18);
x_6 = x_19;
x_8 = x_16;
x_13 = x_17;
goto _start;
}
}
else
{
lean_object* x_101; 
lean_dec(x_1);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_8);
lean_ctor_set(x_101, 1, x_13);
return x_101;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_12 = lean_ctor_get(x_5, 0);
x_13 = lean_array_get_size(x_12);
x_14 = lean_unsigned_to_nat(0u);
x_15 = lean_nat_dec_lt(x_14, x_13);
if (x_15 == 0)
{
lean_object* x_16; 
lean_dec(x_13);
lean_dec(x_1);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_6);
lean_ctor_set(x_16, 1, x_11);
return x_16;
}
else
{
uint8_t x_17; 
x_17 = lean_nat_dec_le(x_13, x_13);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_13);
lean_dec(x_1);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_6);
lean_ctor_set(x_18, 1, x_11);
return x_18;
}
else
{
size_t x_19; size_t x_20; lean_object* x_21; 
x_19 = 0;
x_20 = lean_usize_of_nat(x_13);
lean_dec(x_13);
x_21 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12(x_1, x_2, x_3, x_4, x_12, x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11);
return x_21;
}
}
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_22 = lean_ctor_get(x_5, 0);
x_23 = lean_array_get_size(x_22);
x_24 = lean_unsigned_to_nat(0u);
x_25 = lean_nat_dec_lt(x_24, x_23);
if (x_25 == 0)
{
lean_object* x_26; 
lean_dec(x_23);
lean_dec(x_1);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_6);
lean_ctor_set(x_26, 1, x_11);
return x_26;
}
else
{
uint8_t x_27; 
x_27 = lean_nat_dec_le(x_23, x_23);
if (x_27 == 0)
{
lean_object* x_28; 
lean_dec(x_23);
lean_dec(x_1);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_6);
lean_ctor_set(x_28, 1, x_11);
return x_28;
}
else
{
size_t x_29; size_t x_30; lean_object* x_31; 
x_29 = 0;
x_30 = lean_usize_of_nat(x_23);
lean_dec(x_23);
x_31 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13(x_1, x_2, x_3, x_4, x_22, x_29, x_30, x_6, x_7, x_8, x_9, x_10, x_11);
return x_31;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_6, x_7);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_array_uget(x_5, x_6);
if (lean_obj_tag(x_15) == 0)
{
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
else
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_8, 1);
lean_inc(x_22);
if (x_2 == 0)
{
lean_object* x_23; uint8_t x_24; 
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = !lean_is_exclusive(x_8);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_ctor_get(x_8, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_dec(x_26);
x_27 = !lean_is_exclusive(x_22);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_28 = lean_ctor_get(x_22, 0);
x_29 = lean_ctor_get(x_22, 1);
x_30 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_30 == 0)
{
if (x_3 == 0)
{
uint8_t x_31; 
x_31 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_32 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_32);
x_16 = x_33;
x_17 = x_34;
goto block_21;
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_35 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_28, x_29, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_35);
x_16 = x_36;
x_17 = x_37;
goto block_21;
}
}
else
{
lean_dec(x_23);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_38 = lean_ctor_get(x_22, 0);
x_39 = lean_ctor_get(x_22, 1);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_22);
x_40 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_40 == 0)
{
if (x_3 == 0)
{
uint8_t x_41; 
x_41 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
lean_free_object(x_8);
lean_inc(x_1);
x_42 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_16 = x_43;
x_17 = x_44;
goto block_21;
}
else
{
lean_object* x_45; 
lean_dec(x_23);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_38);
lean_ctor_set(x_45, 1, x_39);
lean_ctor_set(x_8, 1, x_45);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
lean_free_object(x_8);
lean_inc(x_1);
x_46 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_25, x_38, x_39, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_46);
x_16 = x_47;
x_17 = x_48;
goto block_21;
}
}
else
{
lean_object* x_49; 
lean_dec(x_23);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_38);
lean_ctor_set(x_49, 1, x_39);
lean_ctor_set(x_8, 1, x_49);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_50 = lean_ctor_get(x_8, 0);
lean_inc(x_50);
lean_dec(x_8);
x_51 = lean_ctor_get(x_22, 0);
lean_inc(x_51);
x_52 = lean_ctor_get(x_22, 1);
lean_inc(x_52);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_53 = x_22;
} else {
 lean_dec_ref(x_22);
 x_53 = lean_box(0);
}
x_54 = l_Lean_LocalDecl_isAuxDecl(x_23);
if (x_54 == 0)
{
if (x_3 == 0)
{
uint8_t x_55; 
x_55 = l_Lean_LocalDecl_isImplementationDetail(x_23);
if (x_55 == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
lean_dec(x_53);
lean_inc(x_1);
x_56 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
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(x_56);
x_16 = x_57;
x_17 = x_58;
goto block_21;
}
else
{
lean_object* x_59; lean_object* x_60; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_59 = lean_alloc_ctor(0, 2, 0);
} else {
 x_59 = x_53;
}
lean_ctor_set(x_59, 0, x_51);
lean_ctor_set(x_59, 1, x_52);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_50);
lean_ctor_set(x_60, 1, x_59);
x_16 = x_60;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_53);
lean_inc(x_1);
x_61 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_50, x_51, x_52, x_23, x_9, x_10, x_11, x_12, x_13);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
x_16 = x_62;
x_17 = x_63;
goto block_21;
}
}
else
{
lean_object* x_64; lean_object* x_65; 
lean_dec(x_23);
if (lean_is_scalar(x_53)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_53;
}
lean_ctor_set(x_64, 0, x_51);
lean_ctor_set(x_64, 1, x_52);
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_50);
lean_ctor_set(x_65, 1, x_64);
x_16 = x_65;
x_17 = x_13;
goto block_21;
}
}
}
else
{
if (x_3 == 0)
{
lean_object* x_66; uint8_t x_67; 
x_66 = lean_ctor_get(x_15, 0);
lean_inc(x_66);
lean_dec(x_15);
x_67 = !lean_is_exclusive(x_8);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_68 = lean_ctor_get(x_8, 0);
x_69 = lean_ctor_get(x_8, 1);
lean_dec(x_69);
x_70 = !lean_is_exclusive(x_22);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_71 = lean_ctor_get(x_22, 0);
x_72 = lean_ctor_get(x_22, 1);
x_73 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_73 == 0)
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; 
lean_free_object(x_22);
lean_free_object(x_8);
lean_inc(x_1);
x_74 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_71, x_72, x_66, x_9, x_10, x_11, x_12, x_13);
x_75 = lean_ctor_get(x_74, 0);
lean_inc(x_75);
x_76 = lean_ctor_get(x_74, 1);
lean_inc(x_76);
lean_dec(x_74);
x_16 = x_75;
x_17 = x_76;
goto block_21;
}
else
{
lean_dec(x_66);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
else
{
lean_object* x_77; lean_object* x_78; uint8_t x_79; 
x_77 = lean_ctor_get(x_22, 0);
x_78 = lean_ctor_get(x_22, 1);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_22);
x_79 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_79 == 0)
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_free_object(x_8);
lean_inc(x_1);
x_80 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_68, x_77, x_78, x_66, x_9, x_10, x_11, x_12, x_13);
x_81 = lean_ctor_get(x_80, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_80, 1);
lean_inc(x_82);
lean_dec(x_80);
x_16 = x_81;
x_17 = x_82;
goto block_21;
}
else
{
lean_object* x_83; 
lean_dec(x_66);
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_77);
lean_ctor_set(x_83, 1, x_78);
lean_ctor_set(x_8, 1, x_83);
x_16 = x_8;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_84 = lean_ctor_get(x_8, 0);
lean_inc(x_84);
lean_dec(x_8);
x_85 = lean_ctor_get(x_22, 0);
lean_inc(x_85);
x_86 = lean_ctor_get(x_22, 1);
lean_inc(x_86);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_87 = x_22;
} else {
 lean_dec_ref(x_22);
 x_87 = lean_box(0);
}
x_88 = l_Lean_LocalDecl_isImplementationDetail(x_66);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
lean_dec(x_87);
lean_inc(x_1);
x_89 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_84, x_85, x_86, x_66, x_9, x_10, x_11, x_12, x_13);
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(x_89);
x_16 = x_90;
x_17 = x_91;
goto block_21;
}
else
{
lean_object* x_92; lean_object* x_93; 
lean_dec(x_66);
if (lean_is_scalar(x_87)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_87;
}
lean_ctor_set(x_92, 0, x_85);
lean_ctor_set(x_92, 1, x_86);
x_93 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_93, 0, x_84);
lean_ctor_set(x_93, 1, x_92);
x_16 = x_93;
x_17 = x_13;
goto block_21;
}
}
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_94 = lean_ctor_get(x_15, 0);
lean_inc(x_94);
lean_dec(x_15);
x_95 = lean_ctor_get(x_8, 0);
lean_inc(x_95);
lean_dec(x_8);
x_96 = lean_ctor_get(x_22, 0);
lean_inc(x_96);
x_97 = lean_ctor_get(x_22, 1);
lean_inc(x_97);
lean_dec(x_22);
lean_inc(x_1);
x_98 = l_Lean_Meta_ppGoal_ppVars(x_1, x_4, x_95, x_96, x_97, x_94, x_9, x_10, x_11, x_12, x_13);
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(x_98);
x_16 = x_99;
x_17 = x_100;
goto block_21;
}
}
}
block_21:
{
size_t x_18; size_t x_19; 
x_18 = 1;
x_19 = lean_usize_add(x_6, x_18);
x_6 = x_19;
x_8 = x_16;
x_13 = x_17;
goto _start;
}
}
else
{
lean_object* x_101; 
lean_dec(x_1);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_8);
lean_ctor_set(x_101, 1, x_13);
return x_101;
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Meta_ppGoal___spec__2(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; uint8_t x_14; 
x_13 = lean_unsigned_to_nat(0u);
x_14 = lean_nat_dec_eq(x_7, x_13);
if (x_14 == 0)
{
lean_object* x_15; uint8_t x_16; 
x_15 = lean_ctor_get(x_5, 3);
x_16 = lean_nat_dec_le(x_15, x_7);
if (x_16 == 0)
{
lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_5, 0);
x_18 = lean_usize_of_nat(x_7);
x_19 = lean_ctor_get_usize(x_5, 4);
lean_inc(x_1);
x_20 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3(x_1, x_2, x_3, x_4, x_17, x_18, x_19, x_6, x_8, x_9, x_10, x_11, x_12);
x_21 = !lean_is_exclusive(x_20);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; 
x_22 = lean_ctor_get(x_20, 0);
x_23 = lean_ctor_get(x_20, 1);
x_24 = lean_ctor_get(x_5, 1);
x_25 = lean_array_get_size(x_24);
x_26 = lean_nat_dec_lt(x_13, x_25);
if (x_26 == 0)
{
lean_dec(x_25);
lean_dec(x_1);
return x_20;
}
else
{
uint8_t x_27; 
x_27 = lean_nat_dec_le(x_25, x_25);
if (x_27 == 0)
{
lean_dec(x_25);
lean_dec(x_1);
return x_20;
}
else
{
size_t x_28; size_t x_29; lean_object* x_30; 
lean_free_object(x_20);
x_28 = 0;
x_29 = lean_usize_of_nat(x_25);
lean_dec(x_25);
x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__9(x_1, x_2, x_3, x_4, x_24, x_28, x_29, x_22, x_8, x_9, x_10, x_11, x_23);
return x_30;
}
}
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; 
x_31 = lean_ctor_get(x_20, 0);
x_32 = lean_ctor_get(x_20, 1);
lean_inc(x_32);
lean_inc(x_31);
lean_dec(x_20);
x_33 = lean_ctor_get(x_5, 1);
x_34 = lean_array_get_size(x_33);
x_35 = lean_nat_dec_lt(x_13, x_34);
if (x_35 == 0)
{
lean_object* x_36; 
lean_dec(x_34);
lean_dec(x_1);
x_36 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_36, 0, x_31);
lean_ctor_set(x_36, 1, x_32);
return x_36;
}
else
{
uint8_t x_37; 
x_37 = lean_nat_dec_le(x_34, x_34);
if (x_37 == 0)
{
lean_object* x_38; 
lean_dec(x_34);
lean_dec(x_1);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_31);
lean_ctor_set(x_38, 1, x_32);
return x_38;
}
else
{
size_t x_39; size_t x_40; lean_object* x_41; 
x_39 = 0;
x_40 = lean_usize_of_nat(x_34);
lean_dec(x_34);
x_41 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__9(x_1, x_2, x_3, x_4, x_33, x_39, x_40, x_31, x_8, x_9, x_10, x_11, x_32);
return x_41;
}
}
}
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; 
x_42 = lean_ctor_get(x_5, 1);
x_43 = lean_nat_sub(x_7, x_15);
x_44 = lean_array_get_size(x_42);
x_45 = lean_nat_dec_lt(x_43, x_44);
if (x_45 == 0)
{
lean_object* x_46; 
lean_dec(x_44);
lean_dec(x_43);
lean_dec(x_1);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_6);
lean_ctor_set(x_46, 1, x_12);
return x_46;
}
else
{
uint8_t x_47; 
x_47 = lean_nat_dec_le(x_44, x_44);
if (x_47 == 0)
{
lean_object* x_48; 
lean_dec(x_44);
lean_dec(x_43);
lean_dec(x_1);
x_48 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_48, 0, x_6);
lean_ctor_set(x_48, 1, x_12);
return x_48;
}
else
{
size_t x_49; size_t x_50; lean_object* x_51; 
x_49 = lean_usize_of_nat(x_43);
lean_dec(x_43);
x_50 = lean_usize_of_nat(x_44);
lean_dec(x_44);
x_51 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10(x_1, x_2, x_3, x_4, x_42, x_49, x_50, x_6, x_8, x_9, x_10, x_11, x_12);
return x_51;
}
}
}
}
else
{
lean_object* x_52; lean_object* x_53; uint8_t x_54; 
x_52 = lean_ctor_get(x_5, 0);
lean_inc(x_1);
x_53 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11(x_1, x_2, x_3, x_4, x_52, x_6, x_8, x_9, x_10, x_11, x_12);
x_54 = !lean_is_exclusive(x_53);
if (x_54 == 0)
{
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);
x_56 = lean_ctor_get(x_53, 1);
x_57 = lean_ctor_get(x_5, 1);
x_58 = lean_array_get_size(x_57);
x_59 = lean_nat_dec_lt(x_13, x_58);
if (x_59 == 0)
{
lean_dec(x_58);
lean_dec(x_1);
return x_53;
}
else
{
uint8_t x_60; 
x_60 = lean_nat_dec_le(x_58, x_58);
if (x_60 == 0)
{
lean_dec(x_58);
lean_dec(x_1);
return x_53;
}
else
{
size_t x_61; size_t x_62; lean_object* x_63; 
lean_free_object(x_53);
x_61 = 0;
x_62 = lean_usize_of_nat(x_58);
lean_dec(x_58);
x_63 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14(x_1, x_2, x_3, x_4, x_57, x_61, x_62, x_55, x_8, x_9, x_10, x_11, x_56);
return x_63;
}
}
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; 
x_64 = lean_ctor_get(x_53, 0);
x_65 = lean_ctor_get(x_53, 1);
lean_inc(x_65);
lean_inc(x_64);
lean_dec(x_53);
x_66 = lean_ctor_get(x_5, 1);
x_67 = lean_array_get_size(x_66);
x_68 = lean_nat_dec_lt(x_13, x_67);
if (x_68 == 0)
{
lean_object* x_69; 
lean_dec(x_67);
lean_dec(x_1);
x_69 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_69, 0, x_64);
lean_ctor_set(x_69, 1, x_65);
return x_69;
}
else
{
uint8_t x_70; 
x_70 = lean_nat_dec_le(x_67, x_67);
if (x_70 == 0)
{
lean_object* x_71; 
lean_dec(x_67);
lean_dec(x_1);
x_71 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_71, 0, x_64);
lean_ctor_set(x_71, 1, x_65);
return x_71;
}
else
{
size_t x_72; size_t x_73; lean_object* x_74; 
x_72 = 0;
x_73 = lean_usize_of_nat(x_67);
lean_dec(x_67);
x_74 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14(x_1, x_2, x_3, x_4, x_66, x_72, x_73, x_64, x_8, x_9, x_10, x_11, x_65);
return x_74;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_5, 1);
x_14 = l_Lean_PersistentArray_foldlM___at_Lean_Meta_ppGoal___spec__2(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_14;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("case ", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_ppGoal___lambda__1___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_13 = lean_unsigned_to_nat(0u);
lean_inc(x_1);
x_14 = l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12);
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
x_17 = !lean_is_exclusive(x_14);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_18 = lean_ctor_get(x_14, 1);
x_19 = lean_ctor_get(x_14, 0);
lean_dec(x_19);
x_20 = !lean_is_exclusive(x_15);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = lean_ctor_get(x_15, 0);
x_22 = lean_ctor_get(x_15, 1);
lean_dec(x_22);
x_23 = !lean_is_exclusive(x_16);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_24 = lean_ctor_get(x_16, 0);
x_25 = lean_ctor_get(x_16, 1);
lean_inc(x_1);
x_26 = l_Lean_Meta_ppGoal_pushPending(x_1, x_21, x_24, x_25, x_8, x_9, x_10, x_11, x_18);
x_27 = !lean_is_exclusive(x_26);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_28 = lean_ctor_get(x_26, 0);
x_29 = lean_ctor_get(x_26, 1);
x_30 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_28);
x_31 = lean_ctor_get(x_7, 2);
lean_inc(x_31);
x_32 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_31, x_8, x_9, x_10, x_11, x_29);
x_33 = !lean_is_exclusive(x_32);
if (x_33 == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_34 = lean_ctor_get(x_32, 0);
x_35 = lean_ctor_get(x_32, 1);
x_36 = l_Lean_Meta_ppExpr(x_34, x_8, x_9, x_10, x_11, x_35);
x_37 = !lean_is_exclusive(x_36);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_38 = lean_ctor_get(x_36, 0);
x_39 = l_Lean_Meta_getGoalPrefix(x_7);
x_40 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set_tag(x_32, 5);
lean_ctor_set(x_32, 1, x_40);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set_tag(x_26, 4);
lean_ctor_set(x_26, 1, x_38);
lean_ctor_set(x_26, 0, x_1);
lean_ctor_set_tag(x_16, 5);
lean_ctor_set(x_16, 1, x_26);
lean_ctor_set(x_16, 0, x_32);
x_41 = lean_ctor_get(x_7, 0);
lean_inc(x_41);
lean_dec(x_7);
if (lean_obj_tag(x_41) == 0)
{
lean_free_object(x_15);
lean_free_object(x_14);
lean_ctor_set(x_36, 0, x_16);
return x_36;
}
else
{
lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_42 = lean_erase_macro_scopes(x_41);
x_43 = 1;
x_44 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_45 = l_Lean_Name_toString(x_42, x_43, x_44);
x_46 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_46, 0, x_45);
x_47 = l_Lean_Meta_ppGoal___lambda__1___closed__2;
lean_ctor_set_tag(x_15, 5);
lean_ctor_set(x_15, 1, x_46);
lean_ctor_set(x_15, 0, x_47);
x_48 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
lean_ctor_set_tag(x_14, 5);
lean_ctor_set(x_14, 1, x_48);
x_49 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_49, 0, x_14);
lean_ctor_set(x_49, 1, x_16);
lean_ctor_set(x_36, 0, x_49);
return x_36;
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 
x_50 = lean_ctor_get(x_36, 0);
x_51 = lean_ctor_get(x_36, 1);
lean_inc(x_51);
lean_inc(x_50);
lean_dec(x_36);
x_52 = l_Lean_Meta_getGoalPrefix(x_7);
x_53 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set_tag(x_32, 5);
lean_ctor_set(x_32, 1, x_53);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set_tag(x_26, 4);
lean_ctor_set(x_26, 1, x_50);
lean_ctor_set(x_26, 0, x_1);
lean_ctor_set_tag(x_16, 5);
lean_ctor_set(x_16, 1, x_26);
lean_ctor_set(x_16, 0, x_32);
x_54 = lean_ctor_get(x_7, 0);
lean_inc(x_54);
lean_dec(x_7);
if (lean_obj_tag(x_54) == 0)
{
lean_object* x_55; 
lean_free_object(x_15);
lean_free_object(x_14);
x_55 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_55, 0, x_16);
lean_ctor_set(x_55, 1, x_51);
return x_55;
}
else
{
lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_56 = lean_erase_macro_scopes(x_54);
x_57 = 1;
x_58 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_59 = l_Lean_Name_toString(x_56, x_57, x_58);
x_60 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_60, 0, x_59);
x_61 = l_Lean_Meta_ppGoal___lambda__1___closed__2;
lean_ctor_set_tag(x_15, 5);
lean_ctor_set(x_15, 1, x_60);
lean_ctor_set(x_15, 0, x_61);
x_62 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
lean_ctor_set_tag(x_14, 5);
lean_ctor_set(x_14, 1, x_62);
x_63 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_63, 0, x_14);
lean_ctor_set(x_63, 1, x_16);
x_64 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_64, 0, x_63);
lean_ctor_set(x_64, 1, x_51);
return x_64;
}
}
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_65 = lean_ctor_get(x_32, 0);
x_66 = lean_ctor_get(x_32, 1);
lean_inc(x_66);
lean_inc(x_65);
lean_dec(x_32);
x_67 = l_Lean_Meta_ppExpr(x_65, x_8, x_9, x_10, x_11, x_66);
x_68 = lean_ctor_get(x_67, 0);
lean_inc(x_68);
x_69 = lean_ctor_get(x_67, 1);
lean_inc(x_69);
if (lean_is_exclusive(x_67)) {
 lean_ctor_release(x_67, 0);
 lean_ctor_release(x_67, 1);
 x_70 = x_67;
} else {
 lean_dec_ref(x_67);
 x_70 = lean_box(0);
}
x_71 = l_Lean_Meta_getGoalPrefix(x_7);
x_72 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_72, 0, x_71);
x_73 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_73, 0, x_30);
lean_ctor_set(x_73, 1, x_72);
lean_ctor_set_tag(x_26, 4);
lean_ctor_set(x_26, 1, x_68);
lean_ctor_set(x_26, 0, x_1);
lean_ctor_set_tag(x_16, 5);
lean_ctor_set(x_16, 1, x_26);
lean_ctor_set(x_16, 0, x_73);
x_74 = lean_ctor_get(x_7, 0);
lean_inc(x_74);
lean_dec(x_7);
if (lean_obj_tag(x_74) == 0)
{
lean_object* x_75; 
lean_free_object(x_15);
lean_free_object(x_14);
if (lean_is_scalar(x_70)) {
 x_75 = lean_alloc_ctor(0, 2, 0);
} else {
 x_75 = x_70;
}
lean_ctor_set(x_75, 0, x_16);
lean_ctor_set(x_75, 1, x_69);
return x_75;
}
else
{
lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_76 = lean_erase_macro_scopes(x_74);
x_77 = 1;
x_78 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_79 = l_Lean_Name_toString(x_76, x_77, x_78);
x_80 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_80, 0, x_79);
x_81 = l_Lean_Meta_ppGoal___lambda__1___closed__2;
lean_ctor_set_tag(x_15, 5);
lean_ctor_set(x_15, 1, x_80);
lean_ctor_set(x_15, 0, x_81);
x_82 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
lean_ctor_set_tag(x_14, 5);
lean_ctor_set(x_14, 1, x_82);
x_83 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_83, 0, x_14);
lean_ctor_set(x_83, 1, x_16);
if (lean_is_scalar(x_70)) {
 x_84 = lean_alloc_ctor(0, 2, 0);
} else {
 x_84 = x_70;
}
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_69);
return x_84;
}
}
}
else
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_85 = lean_ctor_get(x_26, 0);
x_86 = lean_ctor_get(x_26, 1);
lean_inc(x_86);
lean_inc(x_85);
lean_dec(x_26);
x_87 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_85);
x_88 = lean_ctor_get(x_7, 2);
lean_inc(x_88);
x_89 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_88, x_8, x_9, x_10, x_11, x_86);
x_90 = lean_ctor_get(x_89, 0);
lean_inc(x_90);
x_91 = lean_ctor_get(x_89, 1);
lean_inc(x_91);
if (lean_is_exclusive(x_89)) {
 lean_ctor_release(x_89, 0);
 lean_ctor_release(x_89, 1);
 x_92 = x_89;
} else {
 lean_dec_ref(x_89);
 x_92 = lean_box(0);
}
x_93 = l_Lean_Meta_ppExpr(x_90, x_8, x_9, x_10, x_11, x_91);
x_94 = lean_ctor_get(x_93, 0);
lean_inc(x_94);
x_95 = lean_ctor_get(x_93, 1);
lean_inc(x_95);
if (lean_is_exclusive(x_93)) {
 lean_ctor_release(x_93, 0);
 lean_ctor_release(x_93, 1);
 x_96 = x_93;
} else {
 lean_dec_ref(x_93);
 x_96 = lean_box(0);
}
x_97 = l_Lean_Meta_getGoalPrefix(x_7);
x_98 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_98, 0, x_97);
if (lean_is_scalar(x_92)) {
 x_99 = lean_alloc_ctor(5, 2, 0);
} else {
 x_99 = x_92;
 lean_ctor_set_tag(x_99, 5);
}
lean_ctor_set(x_99, 0, x_87);
lean_ctor_set(x_99, 1, x_98);
x_100 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_100, 0, x_1);
lean_ctor_set(x_100, 1, x_94);
lean_ctor_set_tag(x_16, 5);
lean_ctor_set(x_16, 1, x_100);
lean_ctor_set(x_16, 0, x_99);
x_101 = lean_ctor_get(x_7, 0);
lean_inc(x_101);
lean_dec(x_7);
if (lean_obj_tag(x_101) == 0)
{
lean_object* x_102; 
lean_free_object(x_15);
lean_free_object(x_14);
if (lean_is_scalar(x_96)) {
 x_102 = lean_alloc_ctor(0, 2, 0);
} else {
 x_102 = x_96;
}
lean_ctor_set(x_102, 0, x_16);
lean_ctor_set(x_102, 1, x_95);
return x_102;
}
else
{
lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; 
x_103 = lean_erase_macro_scopes(x_101);
x_104 = 1;
x_105 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_106 = l_Lean_Name_toString(x_103, x_104, x_105);
x_107 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_107, 0, x_106);
x_108 = l_Lean_Meta_ppGoal___lambda__1___closed__2;
lean_ctor_set_tag(x_15, 5);
lean_ctor_set(x_15, 1, x_107);
lean_ctor_set(x_15, 0, x_108);
x_109 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
lean_ctor_set_tag(x_14, 5);
lean_ctor_set(x_14, 1, x_109);
x_110 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_110, 0, x_14);
lean_ctor_set(x_110, 1, x_16);
if (lean_is_scalar(x_96)) {
 x_111 = lean_alloc_ctor(0, 2, 0);
} else {
 x_111 = x_96;
}
lean_ctor_set(x_111, 0, x_110);
lean_ctor_set(x_111, 1, x_95);
return x_111;
}
}
}
else
{
lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; 
x_112 = lean_ctor_get(x_16, 0);
x_113 = lean_ctor_get(x_16, 1);
lean_inc(x_113);
lean_inc(x_112);
lean_dec(x_16);
lean_inc(x_1);
x_114 = l_Lean_Meta_ppGoal_pushPending(x_1, x_21, x_112, x_113, x_8, x_9, x_10, x_11, x_18);
x_115 = lean_ctor_get(x_114, 0);
lean_inc(x_115);
x_116 = lean_ctor_get(x_114, 1);
lean_inc(x_116);
if (lean_is_exclusive(x_114)) {
 lean_ctor_release(x_114, 0);
 lean_ctor_release(x_114, 1);
 x_117 = x_114;
} else {
 lean_dec_ref(x_114);
 x_117 = lean_box(0);
}
x_118 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_115);
x_119 = lean_ctor_get(x_7, 2);
lean_inc(x_119);
x_120 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_119, x_8, x_9, x_10, x_11, x_116);
x_121 = lean_ctor_get(x_120, 0);
lean_inc(x_121);
x_122 = lean_ctor_get(x_120, 1);
lean_inc(x_122);
if (lean_is_exclusive(x_120)) {
 lean_ctor_release(x_120, 0);
 lean_ctor_release(x_120, 1);
 x_123 = x_120;
} else {
 lean_dec_ref(x_120);
 x_123 = lean_box(0);
}
x_124 = l_Lean_Meta_ppExpr(x_121, x_8, x_9, x_10, x_11, x_122);
x_125 = lean_ctor_get(x_124, 0);
lean_inc(x_125);
x_126 = lean_ctor_get(x_124, 1);
lean_inc(x_126);
if (lean_is_exclusive(x_124)) {
 lean_ctor_release(x_124, 0);
 lean_ctor_release(x_124, 1);
 x_127 = x_124;
} else {
 lean_dec_ref(x_124);
 x_127 = lean_box(0);
}
x_128 = l_Lean_Meta_getGoalPrefix(x_7);
x_129 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_129, 0, x_128);
if (lean_is_scalar(x_123)) {
 x_130 = lean_alloc_ctor(5, 2, 0);
} else {
 x_130 = x_123;
 lean_ctor_set_tag(x_130, 5);
}
lean_ctor_set(x_130, 0, x_118);
lean_ctor_set(x_130, 1, x_129);
if (lean_is_scalar(x_117)) {
 x_131 = lean_alloc_ctor(4, 2, 0);
} else {
 x_131 = x_117;
 lean_ctor_set_tag(x_131, 4);
}
lean_ctor_set(x_131, 0, x_1);
lean_ctor_set(x_131, 1, x_125);
x_132 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_132, 0, x_130);
lean_ctor_set(x_132, 1, x_131);
x_133 = lean_ctor_get(x_7, 0);
lean_inc(x_133);
lean_dec(x_7);
if (lean_obj_tag(x_133) == 0)
{
lean_object* x_134; 
lean_free_object(x_15);
lean_free_object(x_14);
if (lean_is_scalar(x_127)) {
 x_134 = lean_alloc_ctor(0, 2, 0);
} else {
 x_134 = x_127;
}
lean_ctor_set(x_134, 0, x_132);
lean_ctor_set(x_134, 1, x_126);
return x_134;
}
else
{
lean_object* x_135; uint8_t x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; 
x_135 = lean_erase_macro_scopes(x_133);
x_136 = 1;
x_137 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_138 = l_Lean_Name_toString(x_135, x_136, x_137);
x_139 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_139, 0, x_138);
x_140 = l_Lean_Meta_ppGoal___lambda__1___closed__2;
lean_ctor_set_tag(x_15, 5);
lean_ctor_set(x_15, 1, x_139);
lean_ctor_set(x_15, 0, x_140);
x_141 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
lean_ctor_set_tag(x_14, 5);
lean_ctor_set(x_14, 1, x_141);
x_142 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_142, 0, x_14);
lean_ctor_set(x_142, 1, x_132);
if (lean_is_scalar(x_127)) {
 x_143 = lean_alloc_ctor(0, 2, 0);
} else {
 x_143 = x_127;
}
lean_ctor_set(x_143, 0, x_142);
lean_ctor_set(x_143, 1, x_126);
return x_143;
}
}
}
else
{
lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; 
x_144 = lean_ctor_get(x_15, 0);
lean_inc(x_144);
lean_dec(x_15);
x_145 = lean_ctor_get(x_16, 0);
lean_inc(x_145);
x_146 = lean_ctor_get(x_16, 1);
lean_inc(x_146);
if (lean_is_exclusive(x_16)) {
 lean_ctor_release(x_16, 0);
 lean_ctor_release(x_16, 1);
 x_147 = x_16;
} else {
 lean_dec_ref(x_16);
 x_147 = lean_box(0);
}
lean_inc(x_1);
x_148 = l_Lean_Meta_ppGoal_pushPending(x_1, x_144, x_145, x_146, x_8, x_9, x_10, x_11, x_18);
x_149 = lean_ctor_get(x_148, 0);
lean_inc(x_149);
x_150 = lean_ctor_get(x_148, 1);
lean_inc(x_150);
if (lean_is_exclusive(x_148)) {
 lean_ctor_release(x_148, 0);
 lean_ctor_release(x_148, 1);
 x_151 = x_148;
} else {
 lean_dec_ref(x_148);
 x_151 = lean_box(0);
}
x_152 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_149);
x_153 = lean_ctor_get(x_7, 2);
lean_inc(x_153);
x_154 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_153, x_8, x_9, x_10, x_11, x_150);
x_155 = lean_ctor_get(x_154, 0);
lean_inc(x_155);
x_156 = lean_ctor_get(x_154, 1);
lean_inc(x_156);
if (lean_is_exclusive(x_154)) {
 lean_ctor_release(x_154, 0);
 lean_ctor_release(x_154, 1);
 x_157 = x_154;
} else {
 lean_dec_ref(x_154);
 x_157 = lean_box(0);
}
x_158 = l_Lean_Meta_ppExpr(x_155, x_8, x_9, x_10, x_11, x_156);
x_159 = lean_ctor_get(x_158, 0);
lean_inc(x_159);
x_160 = lean_ctor_get(x_158, 1);
lean_inc(x_160);
if (lean_is_exclusive(x_158)) {
 lean_ctor_release(x_158, 0);
 lean_ctor_release(x_158, 1);
 x_161 = x_158;
} else {
 lean_dec_ref(x_158);
 x_161 = lean_box(0);
}
x_162 = l_Lean_Meta_getGoalPrefix(x_7);
x_163 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_163, 0, x_162);
if (lean_is_scalar(x_157)) {
 x_164 = lean_alloc_ctor(5, 2, 0);
} else {
 x_164 = x_157;
 lean_ctor_set_tag(x_164, 5);
}
lean_ctor_set(x_164, 0, x_152);
lean_ctor_set(x_164, 1, x_163);
if (lean_is_scalar(x_151)) {
 x_165 = lean_alloc_ctor(4, 2, 0);
} else {
 x_165 = x_151;
 lean_ctor_set_tag(x_165, 4);
}
lean_ctor_set(x_165, 0, x_1);
lean_ctor_set(x_165, 1, x_159);
if (lean_is_scalar(x_147)) {
 x_166 = lean_alloc_ctor(5, 2, 0);
} else {
 x_166 = x_147;
 lean_ctor_set_tag(x_166, 5);
}
lean_ctor_set(x_166, 0, x_164);
lean_ctor_set(x_166, 1, x_165);
x_167 = lean_ctor_get(x_7, 0);
lean_inc(x_167);
lean_dec(x_7);
if (lean_obj_tag(x_167) == 0)
{
lean_object* x_168; 
lean_free_object(x_14);
if (lean_is_scalar(x_161)) {
 x_168 = lean_alloc_ctor(0, 2, 0);
} else {
 x_168 = x_161;
}
lean_ctor_set(x_168, 0, x_166);
lean_ctor_set(x_168, 1, x_160);
return x_168;
}
else
{
lean_object* x_169; uint8_t x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; 
x_169 = lean_erase_macro_scopes(x_167);
x_170 = 1;
x_171 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_172 = l_Lean_Name_toString(x_169, x_170, x_171);
x_173 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_173, 0, x_172);
x_174 = l_Lean_Meta_ppGoal___lambda__1___closed__2;
x_175 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_175, 0, x_174);
lean_ctor_set(x_175, 1, x_173);
x_176 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
lean_ctor_set_tag(x_14, 5);
lean_ctor_set(x_14, 1, x_176);
lean_ctor_set(x_14, 0, x_175);
x_177 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_177, 0, x_14);
lean_ctor_set(x_177, 1, x_166);
if (lean_is_scalar(x_161)) {
 x_178 = lean_alloc_ctor(0, 2, 0);
} else {
 x_178 = x_161;
}
lean_ctor_set(x_178, 0, x_177);
lean_ctor_set(x_178, 1, x_160);
return x_178;
}
}
}
else
{
lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; 
x_179 = lean_ctor_get(x_14, 1);
lean_inc(x_179);
lean_dec(x_14);
x_180 = lean_ctor_get(x_15, 0);
lean_inc(x_180);
if (lean_is_exclusive(x_15)) {
 lean_ctor_release(x_15, 0);
 lean_ctor_release(x_15, 1);
 x_181 = x_15;
} else {
 lean_dec_ref(x_15);
 x_181 = lean_box(0);
}
x_182 = lean_ctor_get(x_16, 0);
lean_inc(x_182);
x_183 = lean_ctor_get(x_16, 1);
lean_inc(x_183);
if (lean_is_exclusive(x_16)) {
 lean_ctor_release(x_16, 0);
 lean_ctor_release(x_16, 1);
 x_184 = x_16;
} else {
 lean_dec_ref(x_16);
 x_184 = lean_box(0);
}
lean_inc(x_1);
x_185 = l_Lean_Meta_ppGoal_pushPending(x_1, x_180, x_182, x_183, x_8, x_9, x_10, x_11, x_179);
x_186 = lean_ctor_get(x_185, 0);
lean_inc(x_186);
x_187 = lean_ctor_get(x_185, 1);
lean_inc(x_187);
if (lean_is_exclusive(x_185)) {
 lean_ctor_release(x_185, 0);
 lean_ctor_release(x_185, 1);
 x_188 = x_185;
} else {
 lean_dec_ref(x_185);
 x_188 = lean_box(0);
}
x_189 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine(x_186);
x_190 = lean_ctor_get(x_7, 2);
lean_inc(x_190);
x_191 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_190, x_8, x_9, x_10, x_11, x_187);
x_192 = lean_ctor_get(x_191, 0);
lean_inc(x_192);
x_193 = lean_ctor_get(x_191, 1);
lean_inc(x_193);
if (lean_is_exclusive(x_191)) {
 lean_ctor_release(x_191, 0);
 lean_ctor_release(x_191, 1);
 x_194 = x_191;
} else {
 lean_dec_ref(x_191);
 x_194 = lean_box(0);
}
x_195 = l_Lean_Meta_ppExpr(x_192, x_8, x_9, x_10, x_11, x_193);
x_196 = lean_ctor_get(x_195, 0);
lean_inc(x_196);
x_197 = lean_ctor_get(x_195, 1);
lean_inc(x_197);
if (lean_is_exclusive(x_195)) {
 lean_ctor_release(x_195, 0);
 lean_ctor_release(x_195, 1);
 x_198 = x_195;
} else {
 lean_dec_ref(x_195);
 x_198 = lean_box(0);
}
x_199 = l_Lean_Meta_getGoalPrefix(x_7);
x_200 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_200, 0, x_199);
if (lean_is_scalar(x_194)) {
 x_201 = lean_alloc_ctor(5, 2, 0);
} else {
 x_201 = x_194;
 lean_ctor_set_tag(x_201, 5);
}
lean_ctor_set(x_201, 0, x_189);
lean_ctor_set(x_201, 1, x_200);
if (lean_is_scalar(x_188)) {
 x_202 = lean_alloc_ctor(4, 2, 0);
} else {
 x_202 = x_188;
 lean_ctor_set_tag(x_202, 4);
}
lean_ctor_set(x_202, 0, x_1);
lean_ctor_set(x_202, 1, x_196);
if (lean_is_scalar(x_184)) {
 x_203 = lean_alloc_ctor(5, 2, 0);
} else {
 x_203 = x_184;
 lean_ctor_set_tag(x_203, 5);
}
lean_ctor_set(x_203, 0, x_201);
lean_ctor_set(x_203, 1, x_202);
x_204 = lean_ctor_get(x_7, 0);
lean_inc(x_204);
lean_dec(x_7);
if (lean_obj_tag(x_204) == 0)
{
lean_object* x_205; 
lean_dec(x_181);
if (lean_is_scalar(x_198)) {
 x_205 = lean_alloc_ctor(0, 2, 0);
} else {
 x_205 = x_198;
}
lean_ctor_set(x_205, 0, x_203);
lean_ctor_set(x_205, 1, x_197);
return x_205;
}
else
{
lean_object* x_206; uint8_t 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; 
x_206 = lean_erase_macro_scopes(x_204);
x_207 = 1;
x_208 = l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1;
x_209 = l_Lean_Name_toString(x_206, x_207, x_208);
x_210 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_210, 0, x_209);
x_211 = l_Lean_Meta_ppGoal___lambda__1___closed__2;
if (lean_is_scalar(x_181)) {
 x_212 = lean_alloc_ctor(5, 2, 0);
} else {
 x_212 = x_181;
 lean_ctor_set_tag(x_212, 5);
}
lean_ctor_set(x_212, 0, x_211);
lean_ctor_set(x_212, 1, x_210);
x_213 = l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2;
x_214 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_214, 0, x_212);
lean_ctor_set(x_214, 1, x_213);
x_215 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_215, 0, x_214);
lean_ctor_set(x_215, 1, x_203);
if (lean_is_scalar(x_198)) {
 x_216 = lean_alloc_ctor(0, 2, 0);
} else {
 x_216 = x_198;
}
lean_ctor_set(x_216, 0, x_215);
lean_ctor_set(x_216, 1, x_197);
return x_216;
}
}
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown goal", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Meta_ppGoal___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_auxDecls;
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_implementationDetailHyps;
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___closed__6() {
_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_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_ppGoal___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_ppGoal___closed__6;
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_Lean_Meta_ppGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_st_ref_get(x_3, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = lean_ctor_get(x_9, 0);
lean_inc(x_11);
lean_dec(x_9);
x_12 = l_Lean_MetavarContext_findDecl_x3f(x_11, x_1);
if (lean_obj_tag(x_12) == 0)
{
lean_object* x_13; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_13 = l_Lean_Meta_ppGoal___closed__2;
lean_ctor_set(x_7, 0, x_13);
return x_7;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; uint8_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; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_free_object(x_7);
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_ctor_get(x_4, 2);
lean_inc(x_15);
x_16 = l_Lean_Meta_ppGoal___closed__4;
x_17 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_15, x_16);
x_18 = l_Lean_Meta_ppGoal___closed__5;
x_19 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_15, x_18);
x_20 = lean_ctor_get_uint8(x_14, sizeof(void*)*7);
x_21 = l_Lean_MetavarKind_isSyntheticOpaque(x_20);
x_22 = lean_ctor_get(x_14, 1);
lean_inc(x_22);
x_23 = lean_box(0);
x_24 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_24, 0, x_15);
lean_ctor_set(x_24, 1, x_23);
lean_ctor_set(x_24, 2, x_23);
x_25 = l_Lean_LocalContext_sanitizeNames(x_22, x_24);
x_26 = lean_ctor_get(x_25, 0);
lean_inc(x_26);
lean_dec(x_25);
x_27 = lean_ctor_get(x_14, 4);
lean_inc(x_27);
x_28 = l_Lean_Meta_ppGoal___closed__3;
x_29 = l_Lean_Meta_ppGoal___closed__7;
x_30 = lean_box(x_17);
x_31 = lean_box(x_19);
x_32 = lean_box(x_21);
lean_inc(x_26);
x_33 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 12, 7);
lean_closure_set(x_33, 0, x_28);
lean_closure_set(x_33, 1, x_30);
lean_closure_set(x_33, 2, x_31);
lean_closure_set(x_33, 3, x_32);
lean_closure_set(x_33, 4, x_26);
lean_closure_set(x_33, 5, x_29);
lean_closure_set(x_33, 6, x_14);
x_34 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2___rarg(x_26, x_27, x_33, x_2, x_3, x_4, x_5, x_10);
return x_34;
}
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_35 = lean_ctor_get(x_7, 0);
x_36 = lean_ctor_get(x_7, 1);
lean_inc(x_36);
lean_inc(x_35);
lean_dec(x_7);
x_37 = lean_ctor_get(x_35, 0);
lean_inc(x_37);
lean_dec(x_35);
x_38 = l_Lean_MetavarContext_findDecl_x3f(x_37, x_1);
if (lean_obj_tag(x_38) == 0)
{
lean_object* x_39; lean_object* x_40; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_39 = l_Lean_Meta_ppGoal___closed__2;
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_36);
return x_40;
}
else
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_41 = lean_ctor_get(x_38, 0);
lean_inc(x_41);
lean_dec(x_38);
x_42 = lean_ctor_get(x_4, 2);
lean_inc(x_42);
x_43 = l_Lean_Meta_ppGoal___closed__4;
x_44 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_42, x_43);
x_45 = l_Lean_Meta_ppGoal___closed__5;
x_46 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_42, x_45);
x_47 = lean_ctor_get_uint8(x_41, sizeof(void*)*7);
x_48 = l_Lean_MetavarKind_isSyntheticOpaque(x_47);
x_49 = lean_ctor_get(x_41, 1);
lean_inc(x_49);
x_50 = lean_box(0);
x_51 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_51, 0, x_42);
lean_ctor_set(x_51, 1, x_50);
lean_ctor_set(x_51, 2, x_50);
x_52 = l_Lean_LocalContext_sanitizeNames(x_49, x_51);
x_53 = lean_ctor_get(x_52, 0);
lean_inc(x_53);
lean_dec(x_52);
x_54 = lean_ctor_get(x_41, 4);
lean_inc(x_54);
x_55 = l_Lean_Meta_ppGoal___closed__3;
x_56 = l_Lean_Meta_ppGoal___closed__7;
x_57 = lean_box(x_44);
x_58 = lean_box(x_46);
x_59 = lean_box(x_48);
lean_inc(x_53);
x_60 = lean_alloc_closure((void*)(l_Lean_Meta_ppGoal___lambda__1___boxed), 12, 7);
lean_closure_set(x_60, 0, x_55);
lean_closure_set(x_60, 1, x_57);
lean_closure_set(x_60, 2, x_58);
lean_closure_set(x_60, 3, x_59);
lean_closure_set(x_60, 4, x_53);
lean_closure_set(x_60, 5, x_56);
lean_closure_set(x_60, 6, x_41);
x_61 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___spec__2___rarg(x_53, x_54, x_60, x_2, x_3, x_4, x_5, x_36);
return x_61;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__5(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_12 = lean_unbox(x_2);
lean_dec(x_2);
x_13 = lean_unbox(x_3);
lean_dec(x_3);
x_14 = lean_unbox(x_4);
lean_dec(x_4);
x_15 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__4(x_1, x_12, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_5);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__7(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__8(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__9(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__10(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__12(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_12 = lean_unbox(x_2);
lean_dec(x_2);
x_13 = lean_unbox(x_3);
lean_dec(x_3);
x_14 = lean_unbox(x_4);
lean_dec(x_4);
x_15 = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11(x_1, x_12, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_5);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = lean_unbox(x_4);
lean_dec(x_4);
x_17 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_18 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__14(x_1, x_14, x_15, x_16, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_5);
return x_19;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldlM___at_Lean_Meta_ppGoal___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_13 = lean_unbox(x_2);
lean_dec(x_2);
x_14 = lean_unbox(x_3);
lean_dec(x_3);
x_15 = lean_unbox(x_4);
lean_dec(x_4);
x_16 = l_Lean_PersistentArray_foldlM___at_Lean_Meta_ppGoal___spec__2(x_1, x_13, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_5);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_13 = lean_unbox(x_2);
lean_dec(x_2);
x_14 = lean_unbox(x_3);
lean_dec(x_3);
x_15 = lean_unbox(x_4);
lean_dec(x_4);
x_16 = l_Lean_LocalContext_foldlM___at_Lean_Meta_ppGoal___spec__1(x_1, x_13, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_5);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_13 = lean_unbox(x_2);
lean_dec(x_2);
x_14 = lean_unbox(x_3);
lean_dec(x_3);
x_15 = lean_unbox(x_4);
lean_dec(x_4);
x_16 = l_Lean_Meta_ppGoal___lambda__1(x_1, x_13, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_5);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___boxed(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_Meta_ppGoal(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_1);
return x_7;
}
}
lean_object* initialize_Lean_Meta_InferType(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Meta_PPGoal(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Meta_InferType(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__2();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__2);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__3();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__3);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__4();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__4);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__5();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__5);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__6);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__7);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__8();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5____closed__8);
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_5_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_pp_auxDecls = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_pp_auxDecls);
lean_dec_ref(res);
}l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__2();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__2);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__3();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__3);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__4();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__4);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__5();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45____closed__5);
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_45_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_pp_implementationDetailHyps = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_pp_implementationDetailHyps);
lean_dec_ref(res);
}l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__2();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__2);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__3();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__3);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__4();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__4);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__5();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85____closed__5);
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_85_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_pp_inaccessibleNames = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_pp_inaccessibleNames);
lean_dec_ref(res);
}l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__2();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__2);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__3();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__3);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__4();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__4);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__5();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125____closed__5);
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_125_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_pp_showLetValues = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_pp_showLetValues);
lean_dec_ref(res);
}l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__2();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__2);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__3();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__3);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__4();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__4);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__5();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165____closed__5);
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_165_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_pp_showLetValues_threshold = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_pp_showLetValues_threshold);
lean_dec_ref(res);
}l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__1();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__1);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__2();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__2);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__3();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__3);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__4();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__4);
l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__5();
lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205____closed__5);
if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_205_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Meta_pp_showLetValues_tactic_threshold = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Meta_pp_showLetValues_tactic_threshold);
lean_dec_ref(res);
}l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__1 = _init_l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__1);
l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__2 = _init_l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__1___closed__2);
l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___closed__1 = _init_l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Meta_ppGoal_shouldShowLetValue___lambda__2___closed__1);
l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__1 = _init_l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__1();
lean_mark_persistent(l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__1);
l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2 = _init_l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2();
lean_mark_persistent(l___private_Lean_Meta_PPGoal_0__Lean_Meta_addLine___closed__2);
l_Lean_Meta_getGoalPrefix___closed__1 = _init_l_Lean_Meta_getGoalPrefix___closed__1();
lean_mark_persistent(l_Lean_Meta_getGoalPrefix___closed__1);
l_Lean_Meta_getGoalPrefix___closed__2 = _init_l_Lean_Meta_getGoalPrefix___closed__2();
lean_mark_persistent(l_Lean_Meta_getGoalPrefix___closed__2);
l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1 = _init_l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1();
lean_mark_persistent(l_List_foldl___at_Lean_Meta_ppGoal_pushPending___spec__2___closed__1);
l_Lean_Meta_ppGoal_pushPending___closed__1 = _init_l_Lean_Meta_ppGoal_pushPending___closed__1();
lean_mark_persistent(l_Lean_Meta_ppGoal_pushPending___closed__1);
l_Lean_Meta_ppGoal_pushPending___closed__2 = _init_l_Lean_Meta_ppGoal_pushPending___closed__2();
lean_mark_persistent(l_Lean_Meta_ppGoal_pushPending___closed__2);
l_Lean_Meta_ppGoal_pushPending___closed__3 = _init_l_Lean_Meta_ppGoal_pushPending___closed__3();
lean_mark_persistent(l_Lean_Meta_ppGoal_pushPending___closed__3);
l_Lean_Meta_ppGoal_pushPending___closed__4 = _init_l_Lean_Meta_ppGoal_pushPending___closed__4();
lean_mark_persistent(l_Lean_Meta_ppGoal_pushPending___closed__4);
l_Lean_Meta_ppGoal_ppVars___closed__1 = _init_l_Lean_Meta_ppGoal_ppVars___closed__1();
lean_mark_persistent(l_Lean_Meta_ppGoal_ppVars___closed__1);
l_Lean_Meta_ppGoal_ppVars___closed__2 = _init_l_Lean_Meta_ppGoal_ppVars___closed__2();
lean_mark_persistent(l_Lean_Meta_ppGoal_ppVars___closed__2);
l_Lean_Meta_ppGoal_ppVars___closed__3 = _init_l_Lean_Meta_ppGoal_ppVars___closed__3();
lean_mark_persistent(l_Lean_Meta_ppGoal_ppVars___closed__3);
l_Lean_Meta_ppGoal_ppVars___closed__4 = _init_l_Lean_Meta_ppGoal_ppVars___closed__4();
lean_mark_persistent(l_Lean_Meta_ppGoal_ppVars___closed__4);
l_Lean_Meta_ppGoal_ppVars___closed__5 = _init_l_Lean_Meta_ppGoal_ppVars___closed__5();
lean_mark_persistent(l_Lean_Meta_ppGoal_ppVars___closed__5);
l_Lean_Meta_ppGoal_ppVars___closed__6 = _init_l_Lean_Meta_ppGoal_ppVars___closed__6();
lean_mark_persistent(l_Lean_Meta_ppGoal_ppVars___closed__6);
l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___closed__1 = _init_l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___closed__1();
lean_mark_persistent(l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Meta_ppGoal___spec__3___closed__1);
l_Lean_Meta_ppGoal___lambda__1___closed__1 = _init_l_Lean_Meta_ppGoal___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Meta_ppGoal___lambda__1___closed__1);
l_Lean_Meta_ppGoal___lambda__1___closed__2 = _init_l_Lean_Meta_ppGoal___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Meta_ppGoal___lambda__1___closed__2);
l_Lean_Meta_ppGoal___closed__1 = _init_l_Lean_Meta_ppGoal___closed__1();
lean_mark_persistent(l_Lean_Meta_ppGoal___closed__1);
l_Lean_Meta_ppGoal___closed__2 = _init_l_Lean_Meta_ppGoal___closed__2();
lean_mark_persistent(l_Lean_Meta_ppGoal___closed__2);
l_Lean_Meta_ppGoal___closed__3 = _init_l_Lean_Meta_ppGoal___closed__3();
lean_mark_persistent(l_Lean_Meta_ppGoal___closed__3);
l_Lean_Meta_ppGoal___closed__4 = _init_l_Lean_Meta_ppGoal___closed__4();
lean_mark_persistent(l_Lean_Meta_ppGoal___closed__4);
l_Lean_Meta_ppGoal___closed__5 = _init_l_Lean_Meta_ppGoal___closed__5();
lean_mark_persistent(l_Lean_Meta_ppGoal___closed__5);
l_Lean_Meta_ppGoal___closed__6 = _init_l_Lean_Meta_ppGoal___closed__6();
lean_mark_persistent(l_Lean_Meta_ppGoal___closed__6);
l_Lean_Meta_ppGoal___closed__7 = _init_l_Lean_Meta_ppGoal___closed__7();
lean_mark_persistent(l_Lean_Meta_ppGoal___closed__7);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
