From a9d6bc60d016ce3be42632d947fb5ec57e002e86 Mon Sep 17 00:00:00 2001 From: Kim Morrison Date: Sat, 25 Oct 2025 19:01:48 +1100 Subject: [PATCH] chore: update stage0 --- stage0/stdlib/Lean/PremiseSelection.c | 6 +- .../Lean/PremiseSelection/SymbolFrequency.c | 5747 +++++++++++++++++ 2 files changed, 5752 insertions(+), 1 deletion(-) create mode 100644 stage0/stdlib/Lean/PremiseSelection/SymbolFrequency.c diff --git a/stage0/stdlib/Lean/PremiseSelection.c b/stage0/stdlib/Lean/PremiseSelection.c index 8122879e70..2972ab1e30 100644 --- a/stage0/stdlib/Lean/PremiseSelection.c +++ b/stage0/stdlib/Lean/PremiseSelection.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.PremiseSelection -// Imports: import Lean.PremiseSelection.Basic import Lean.PremiseSelection.MePo +// Imports: import Lean.PremiseSelection.Basic import Lean.PremiseSelection.SymbolFrequency import Lean.PremiseSelection.MePo #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* initialize_Lean_PremiseSelection_Basic(uint8_t builtin); +lean_object* initialize_Lean_PremiseSelection_SymbolFrequency(uint8_t builtin); lean_object* initialize_Lean_PremiseSelection_MePo(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_PremiseSelection(uint8_t builtin) { @@ -23,6 +24,9 @@ _G_initialized = true; res = initialize_Lean_PremiseSelection_Basic(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_PremiseSelection_SymbolFrequency(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_PremiseSelection_MePo(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/PremiseSelection/SymbolFrequency.c b/stage0/stdlib/Lean/PremiseSelection/SymbolFrequency.c new file mode 100644 index 0000000000..f8533d1cb0 --- /dev/null +++ b/stage0/stdlib/Lean/PremiseSelection/SymbolFrequency.c @@ -0,0 +1,5747 @@ +// Lean compiler output +// Module: Lean.PremiseSelection.SymbolFrequency +// Imports: public import Lean.CoreM import Lean.Meta.InferType import Lean.Meta.FunInfo import Lean.AddDecl +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_symbolFrequency(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5_spec__5(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__11; +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__21; +lean_object* l_Lean_Core_getMaxHeartbeats(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PremiseSelection_initFn___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__4_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__22; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*, uint8_t); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_constants(lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_ConstantInfo_type(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_MessageData_toString(lean_object*); +extern lean_object* l_Lean_instInhabitedFileMap_default; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_State_ctorIdx(lean_object*); +uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__6; +size_t lean_uint64_to_usize(uint64_t); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_instInhabitedConfigWithKey___private__1; +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Std_DTreeMap_Internal_Impl_balance___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__2_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__1; +uint8_t lean_usize_dec_eq(size_t, size_t); +lean_object* l_Lean_KVMap_find(lean_object*, lean_object*); +uint8_t l_Lean_NameHashSet_contains(lean_object*, lean_object*); +uint8_t l_Lean_Name_isInternalDetail(lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_2997076389____hygCtx___hyg_2____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__8; +static lean_object* l_Lean_PremiseSelection_initFn___lam__3___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__1; +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__20; +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMapRef; +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_panic___redArg(lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__4; +extern lean_object* l_Lean_maxRecDepth; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Exception_toMessageData(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1___closed__0; +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__0; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__8_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3_spec__3(lean_object*, size_t, size_t, lean_object*); +uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__18; +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__4; +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__25; +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__8_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__2; +lean_object* lean_st_ref_take(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__17; +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__4_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__6_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__19; +lean_object* l_Lean_Meta_getFunInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_usize_to_uint64(size_t); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__23; +lean_object* lean_nat_div(lean_object*, lean_object*); +lean_object* l_Array_empty(lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__0; +lean_object* l_Lean_Name_quickCmp___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_symbolFrequency___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__9; +lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0___boxed(lean_object*); +lean_object* lean_st_mk_ref(lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__2; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__26; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__12; +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instZeroNameMapNat; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__0; +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__3; +uint8_t l_Lean_Meta_ParamInfo_isInstImplicit(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_diagnostics; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0(lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__0; +lean_object* l_unsafeBaseIO___redArg(lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_inheritedTraceOptions; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4___lam__0(lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4___lam__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +extern lean_object* l_Lean_NameSet_empty; +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__1; +static lean_object* l_Lean_PremiseSelection_initFn___lam__4___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__7_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__16; +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__24; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_PremiseSelection_initFn___lam__3___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__14; +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_xor(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__7; +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__2_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg(lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_Lean_NameHashSet_insert(lean_object*, lean_object*); +lean_object* l_Nat_nextPowerOfTwo(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__3_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_firstFrontendMacroScope; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_sub(size_t, size_t); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__5; +uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_2997076389____hygCtx___hyg_2_(); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__13; +LEAN_EXPORT uint8_t l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__0(lean_object*, lean_object*); +lean_object* lean_io_error_to_string(lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1(lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr1(lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__15; +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4(lean_object*); +static lean_object* l_Lean_PremiseSelection_initFn___lam__6___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PremiseSelection_initFn___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_symbolFrequency___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__5_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_State_ctorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__5_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3; +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___boxed(lean_object**); +lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyExt; +lean_object* l_Lean_mkPtrSet___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__10; +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6; +uint8_t l_Lean_wasOriginallyTheorem(lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Std_DTreeMap_Internal_Impl_foldl___redArg(lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__3_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*); +extern lean_object* l_Lean_Meta_instInhabitedParamInfo_default; +lean_object* l_Lean_Meta_isProof(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_PremiseSelection_symbolFrequency___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__6_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__7_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_State_ctorIdx(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_State_ctorIdx___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_State_ctorIdx(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; +x_9 = lean_apply_7(x_1, x_3, x_2, x_4, x_5, x_6, x_7, lean_box(0)); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___lam__0___boxed), 8, 2); +lean_closure_set(x_12, 0, x_4); +lean_closure_set(x_12, 1, x_6); +x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_box(0), x_1, x_2, x_3, x_12, x_5, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_13, 0); +lean_inc(x_18); +lean_dec(x_13); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_ptr_addr(x_4); +x_7 = lean_ptr_addr(x_1); +x_8 = lean_usize_dec_eq(x_6, x_7); +if (x_8 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +return x_8; +} +} +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; size_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; size_t x_19; lean_object* x_20; uint8_t x_21; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = lean_ptr_addr(x_2); +x_6 = lean_usize_to_uint64(x_5); +x_7 = 11; +x_8 = lean_uint64_mix_hash(x_6, x_7); +x_9 = 32; +x_10 = lean_uint64_shift_right(x_8, x_9); +x_11 = lean_uint64_xor(x_8, x_10); +x_12 = 16; +x_13 = lean_uint64_shift_right(x_11, x_12); +x_14 = lean_uint64_xor(x_11, x_13); +x_15 = lean_uint64_to_usize(x_14); +x_16 = lean_usize_of_nat(x_4); +lean_dec(x_4); +x_17 = 1; +x_18 = lean_usize_sub(x_16, x_17); +x_19 = lean_usize_land(x_15, x_18); +x_20 = lean_array_uget(x_3, x_19); +x_21 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg(x_2, x_20); +lean_dec(x_20); +return x_21; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = lean_ptr_addr(x_4); +x_8 = lean_usize_to_uint64(x_7); +x_9 = 11; +x_10 = lean_uint64_mix_hash(x_8, x_9); +x_11 = 32; +x_12 = lean_uint64_shift_right(x_10, x_11); +x_13 = lean_uint64_xor(x_10, x_12); +x_14 = 16; +x_15 = lean_uint64_shift_right(x_13, x_14); +x_16 = lean_uint64_xor(x_13, x_15); +x_17 = lean_uint64_to_usize(x_16); +x_18 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_19 = 1; +x_20 = lean_usize_sub(x_18, x_19); +x_21 = lean_usize_land(x_17, x_20); +x_22 = lean_array_uget(x_1, x_21); +lean_ctor_set(x_2, 2, x_22); +x_23 = lean_array_uset(x_1, x_21, x_2); +x_1 = x_23; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; uint64_t x_33; uint64_t x_34; uint64_t x_35; uint64_t x_36; uint64_t x_37; uint64_t x_38; size_t x_39; size_t x_40; size_t x_41; size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_25 = lean_ctor_get(x_2, 0); +x_26 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_2); +x_28 = lean_array_get_size(x_1); +x_29 = lean_ptr_addr(x_25); +x_30 = lean_usize_to_uint64(x_29); +x_31 = 11; +x_32 = lean_uint64_mix_hash(x_30, x_31); +x_33 = 32; +x_34 = lean_uint64_shift_right(x_32, x_33); +x_35 = lean_uint64_xor(x_32, x_34); +x_36 = 16; +x_37 = lean_uint64_shift_right(x_35, x_36); +x_38 = lean_uint64_xor(x_35, x_37); +x_39 = lean_uint64_to_usize(x_38); +x_40 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_41 = 1; +x_42 = lean_usize_sub(x_40, x_41); +x_43 = lean_usize_land(x_39, x_42); +x_44 = lean_array_uget(x_1, x_43); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_25); +lean_ctor_set(x_45, 1, x_26); +lean_ctor_set(x_45, 2, x_44); +x_46 = lean_array_uset(x_1, x_43, x_45); +x_1 = x_46; +x_2 = x_27; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3_spec__3___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec_ref(x_2); +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3_spec__3___redArg(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(2u); +x_4 = lean_nat_mul(x_2, x_3); +lean_dec(x_2); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_4, x_6); +x_8 = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3_spec__3___redArg(x_5, x_1, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3___redArg(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; size_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; size_t x_17; size_t x_18; size_t x_19; size_t x_20; size_t x_21; lean_object* x_22; uint8_t x_23; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_array_get_size(x_5); +x_7 = lean_ptr_addr(x_2); +x_8 = lean_usize_to_uint64(x_7); +x_9 = 11; +x_10 = lean_uint64_mix_hash(x_8, x_9); +x_11 = 32; +x_12 = lean_uint64_shift_right(x_10, x_11); +x_13 = lean_uint64_xor(x_10, x_12); +x_14 = 16; +x_15 = lean_uint64_shift_right(x_13, x_14); +x_16 = lean_uint64_xor(x_13, x_15); +x_17 = lean_uint64_to_usize(x_16); +x_18 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_19 = 1; +x_20 = lean_usize_sub(x_18, x_19); +x_21 = lean_usize_land(x_17, x_20); +x_22 = lean_array_uget(x_5, x_21); +x_23 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg(x_2, x_22); +if (x_23 == 0) +{ +uint8_t x_24; +lean_inc_ref(x_5); +lean_inc(x_4); +x_24 = !lean_is_exclusive(x_1); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_25 = lean_ctor_get(x_1, 1); +lean_dec(x_25); +x_26 = lean_ctor_get(x_1, 0); +lean_dec(x_26); +x_27 = lean_unsigned_to_nat(1u); +x_28 = lean_nat_add(x_4, x_27); +lean_dec(x_4); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_2); +lean_ctor_set(x_29, 1, x_3); +lean_ctor_set(x_29, 2, x_22); +x_30 = lean_array_uset(x_5, x_21, x_29); +x_31 = lean_unsigned_to_nat(4u); +x_32 = lean_nat_mul(x_28, x_31); +x_33 = lean_unsigned_to_nat(3u); +x_34 = lean_nat_div(x_32, x_33); +lean_dec(x_32); +x_35 = lean_array_get_size(x_30); +x_36 = lean_nat_dec_le(x_34, x_35); +lean_dec(x_35); +lean_dec(x_34); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3___redArg(x_30); +lean_ctor_set(x_1, 1, x_37); +lean_ctor_set(x_1, 0, x_28); +return x_1; +} +else +{ +lean_ctor_set(x_1, 1, x_30); +lean_ctor_set(x_1, 0, x_28); +return x_1; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +lean_dec(x_1); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_add(x_4, x_38); +lean_dec(x_4); +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_2); +lean_ctor_set(x_40, 1, x_3); +lean_ctor_set(x_40, 2, x_22); +x_41 = lean_array_uset(x_5, x_21, x_40); +x_42 = lean_unsigned_to_nat(4u); +x_43 = lean_nat_mul(x_39, x_42); +x_44 = lean_unsigned_to_nat(3u); +x_45 = lean_nat_div(x_43, x_44); +lean_dec(x_43); +x_46 = lean_array_get_size(x_41); +x_47 = lean_nat_dec_le(x_45, x_46); +lean_dec(x_46); +lean_dec(x_45); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3_spec__3___redArg(x_41); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_39); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +else +{ +lean_object* x_50; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_39); +lean_ctor_set(x_50, 1, x_41); +return x_50; +} +} +} +else +{ +lean_dec(x_22); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___lam__0___boxed), 8, 2); +lean_closure_set(x_13, 0, x_4); +lean_closure_set(x_13, 1, x_7); +x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp(lean_box(0), x_1, x_2, x_3, x_13, x_5, x_6, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_expr_instantiate1(x_1, x_4); +x_12 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_2, x_11, x_3, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_expr_instantiate1(x_1, x_4); +x_12 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_2, x_11, x_3, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_instInhabitedParamInfo_default; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_4, 0); +x_29 = lean_ctor_get(x_4, 1); +x_30 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___redArg(x_28, x_2); +if (x_30 == 0) +{ +uint8_t x_31; +lean_inc_ref(x_29); +lean_inc_ref(x_28); +x_31 = !lean_is_exclusive(x_4); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_4, 1); +lean_dec(x_32); +x_33 = lean_ctor_get(x_4, 0); +lean_dec(x_33); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_2); +x_34 = l_Lean_Meta_isProof(x_2, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_box(0); +lean_inc_ref(x_2); +x_38 = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3___redArg(x_28, x_2, x_37); +lean_inc_ref(x_29); +lean_inc_ref(x_38); +lean_ctor_set(x_4, 0, x_38); +x_39 = lean_unbox(x_36); +lean_dec(x_36); +if (x_39 == 0) +{ +switch (lean_obj_tag(x_2)) { +case 4: +{ +lean_object* x_40; uint8_t x_41; +x_40 = lean_ctor_get(x_2, 0); +lean_inc(x_40); +lean_dec_ref(x_2); +x_41 = l_Lean_NameHashSet_contains(x_29, x_40); +if (x_41 == 0) +{ +lean_object* x_42; +lean_dec_ref(x_4); +lean_free_object(x_34); +lean_inc(x_40); +x_42 = lean_apply_7(x_1, x_40, x_3, x_5, x_6, x_7, x_8, lean_box(0)); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_42, 0); +x_45 = l_Lean_NameHashSet_insert(x_29, x_40); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_38); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_42, 0, x_47); +return x_42; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_42, 0); +lean_inc(x_48); +lean_dec(x_42); +x_49 = l_Lean_NameHashSet_insert(x_29, x_40); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_50); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_51); +return x_52; +} +} +else +{ +uint8_t x_53; +lean_dec(x_40); +lean_dec_ref(x_38); +lean_dec_ref(x_29); +x_53 = !lean_is_exclusive(x_42); +if (x_53 == 0) +{ +return x_42; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_42, 0); +lean_inc(x_54); +lean_dec(x_42); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_54); +return x_55; +} +} +} +else +{ +lean_object* x_56; +lean_dec(x_40); +lean_dec_ref(x_38); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_3); +lean_ctor_set(x_56, 1, x_4); +lean_ctor_set(x_34, 0, x_56); +return x_34; +} +} +case 5: +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec_ref(x_38); +lean_free_object(x_34); +lean_dec_ref(x_29); +x_57 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_57); +x_58 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_58); +lean_dec_ref(x_2); +x_59 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_57); +x_60 = l_Lean_Meta_getFunInfo(x_57, x_59, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +lean_dec_ref(x_60); +x_62 = lean_ctor_get(x_61, 0); +lean_inc_ref(x_62); +lean_dec(x_61); +x_63 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1; +x_64 = lean_unsigned_to_nat(0u); +x_65 = lean_array_get(x_63, x_62, x_64); +lean_dec_ref(x_62); +x_66 = l_Lean_Meta_ParamInfo_isInstImplicit(x_65); +lean_dec_ref(x_65); +if (x_66 == 0) +{ +lean_object* x_67; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_1); +x_67 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_57, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +lean_dec_ref(x_67); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_2 = x_58; +x_3 = x_69; +x_4 = x_70; +goto _start; +} +else +{ +lean_dec_ref(x_58); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_67; +} +} +else +{ +lean_dec_ref(x_58); +x_2 = x_57; +goto _start; +} +} +else +{ +uint8_t x_73; +lean_dec_ref(x_58); +lean_dec_ref(x_57); +lean_dec_ref(x_4); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_73 = !lean_is_exclusive(x_60); +if (x_73 == 0) +{ +return x_60; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_60, 0); +lean_inc(x_74); +lean_dec(x_60); +x_75 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_75, 0, x_74); +return x_75; +} +} +} +case 6: +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; +lean_dec_ref(x_38); +lean_free_object(x_34); +lean_dec_ref(x_29); +x_76 = lean_ctor_get(x_2, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_77); +x_78 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_78); +x_79 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec_ref(x_2); +x_10 = x_76; +x_11 = x_77; +x_12 = x_78; +x_13 = x_79; +x_14 = x_4; +x_15 = x_5; +x_16 = x_6; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_27; +} +case 7: +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +lean_dec_ref(x_38); +lean_free_object(x_34); +lean_dec_ref(x_29); +x_80 = lean_ctor_get(x_2, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_81); +x_82 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_82); +x_83 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec_ref(x_2); +x_10 = x_80; +x_11 = x_81; +x_12 = x_82; +x_13 = x_83; +x_14 = x_4; +x_15 = x_5; +x_16 = x_6; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_27; +} +case 8: +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; +lean_dec_ref(x_38); +lean_free_object(x_34); +lean_dec_ref(x_29); +x_84 = lean_ctor_get(x_2, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_85); +x_86 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_86); +x_87 = lean_ctor_get(x_2, 3); +lean_inc_ref(x_87); +x_88 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +lean_dec_ref(x_2); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_85); +lean_inc_ref(x_1); +x_89 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_85, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +lean_dec_ref(x_89); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_86); +lean_inc_ref(x_1); +x_93 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_86, x_91, x_92, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +lean_dec_ref(x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1___boxed), 10, 3); +lean_closure_set(x_97, 0, x_87); +lean_closure_set(x_97, 1, x_1); +lean_closure_set(x_97, 2, x_95); +x_98 = 0; +x_99 = l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg(x_84, x_85, x_86, x_97, x_88, x_98, x_96, x_5, x_6, x_7, x_8); +return x_99; +} +else +{ +lean_dec_ref(x_87); +lean_dec_ref(x_86); +lean_dec_ref(x_85); +lean_dec(x_84); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_93; +} +} +else +{ +lean_dec_ref(x_87); +lean_dec_ref(x_86); +lean_dec_ref(x_85); +lean_dec(x_84); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_89; +} +} +case 10: +{ +lean_object* x_100; +lean_dec_ref(x_38); +lean_free_object(x_34); +lean_dec_ref(x_29); +x_100 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_100); +lean_dec_ref(x_2); +x_2 = x_100; +goto _start; +} +case 11: +{ +lean_object* x_102; +lean_dec_ref(x_38); +lean_free_object(x_34); +lean_dec_ref(x_29); +x_102 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_102); +lean_dec_ref(x_2); +x_2 = x_102; +goto _start; +} +default: +{ +lean_object* x_104; +lean_dec_ref(x_38); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_3); +lean_ctor_set(x_104, 1, x_4); +lean_ctor_set(x_34, 0, x_104); +return x_34; +} +} +} +else +{ +lean_object* x_105; +lean_dec_ref(x_38); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_3); +lean_ctor_set(x_105, 1, x_4); +lean_ctor_set(x_34, 0, x_105); +return x_34; +} +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_106 = lean_ctor_get(x_34, 0); +lean_inc(x_106); +lean_dec(x_34); +x_107 = lean_box(0); +lean_inc_ref(x_2); +x_108 = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3___redArg(x_28, x_2, x_107); +lean_inc_ref(x_29); +lean_inc_ref(x_108); +lean_ctor_set(x_4, 0, x_108); +x_109 = lean_unbox(x_106); +lean_dec(x_106); +if (x_109 == 0) +{ +switch (lean_obj_tag(x_2)) { +case 4: +{ +lean_object* x_110; uint8_t x_111; +x_110 = lean_ctor_get(x_2, 0); +lean_inc(x_110); +lean_dec_ref(x_2); +x_111 = l_Lean_NameHashSet_contains(x_29, x_110); +if (x_111 == 0) +{ +lean_object* x_112; +lean_dec_ref(x_4); +lean_inc(x_110); +x_112 = lean_apply_7(x_1, x_110, x_3, x_5, x_6, x_7, x_8, lean_box(0)); +if (lean_obj_tag(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_112, 0); +lean_inc(x_113); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + x_114 = x_112; +} else { + lean_dec_ref(x_112); + x_114 = lean_box(0); +} +x_115 = l_Lean_NameHashSet_insert(x_29, x_110); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_108); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_113); +lean_ctor_set(x_117, 1, x_116); +if (lean_is_scalar(x_114)) { + x_118 = lean_alloc_ctor(0, 1, 0); +} else { + x_118 = x_114; +} +lean_ctor_set(x_118, 0, x_117); +return x_118; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_110); +lean_dec_ref(x_108); +lean_dec_ref(x_29); +x_119 = lean_ctor_get(x_112, 0); +lean_inc(x_119); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + x_120 = x_112; +} else { + lean_dec_ref(x_112); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 1, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_119); +return x_121; +} +} +else +{ +lean_object* x_122; lean_object* x_123; +lean_dec(x_110); +lean_dec_ref(x_108); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_3); +lean_ctor_set(x_122, 1, x_4); +x_123 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_123, 0, x_122); +return x_123; +} +} +case 5: +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +x_124 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_124); +x_125 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_125); +lean_dec_ref(x_2); +x_126 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_124); +x_127 = l_Lean_Meta_getFunInfo(x_124, x_126, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_127) == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +lean_dec_ref(x_127); +x_129 = lean_ctor_get(x_128, 0); +lean_inc_ref(x_129); +lean_dec(x_128); +x_130 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1; +x_131 = lean_unsigned_to_nat(0u); +x_132 = lean_array_get(x_130, x_129, x_131); +lean_dec_ref(x_129); +x_133 = l_Lean_Meta_ParamInfo_isInstImplicit(x_132); +lean_dec_ref(x_132); +if (x_133 == 0) +{ +lean_object* x_134; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_1); +x_134 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_124, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +lean_dec_ref(x_134); +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_2 = x_125; +x_3 = x_136; +x_4 = x_137; +goto _start; +} +else +{ +lean_dec_ref(x_125); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_134; +} +} +else +{ +lean_dec_ref(x_125); +x_2 = x_124; +goto _start; +} +} +else +{ +lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec_ref(x_125); +lean_dec_ref(x_124); +lean_dec_ref(x_4); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_140 = lean_ctor_get(x_127, 0); +lean_inc(x_140); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + x_141 = x_127; +} else { + lean_dec_ref(x_127); + x_141 = lean_box(0); +} +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 1, 0); +} else { + x_142 = x_141; +} +lean_ctor_set(x_142, 0, x_140); +return x_142; +} +} +case 6: +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +x_143 = lean_ctor_get(x_2, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_144); +x_145 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_145); +x_146 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec_ref(x_2); +x_10 = x_143; +x_11 = x_144; +x_12 = x_145; +x_13 = x_146; +x_14 = x_4; +x_15 = x_5; +x_16 = x_6; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_27; +} +case 7: +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +x_147 = lean_ctor_get(x_2, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_148); +x_149 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_149); +x_150 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec_ref(x_2); +x_10 = x_147; +x_11 = x_148; +x_12 = x_149; +x_13 = x_150; +x_14 = x_4; +x_15 = x_5; +x_16 = x_6; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_27; +} +case 8: +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +x_151 = lean_ctor_get(x_2, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_152); +x_153 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_153); +x_154 = lean_ctor_get(x_2, 3); +lean_inc_ref(x_154); +x_155 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +lean_dec_ref(x_2); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_152); +lean_inc_ref(x_1); +x_156 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_152, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_156) == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +lean_dec_ref(x_156); +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_153); +lean_inc_ref(x_1); +x_160 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_153, x_158, x_159, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_160) == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +lean_dec_ref(x_160); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1___boxed), 10, 3); +lean_closure_set(x_164, 0, x_154); +lean_closure_set(x_164, 1, x_1); +lean_closure_set(x_164, 2, x_162); +x_165 = 0; +x_166 = l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg(x_151, x_152, x_153, x_164, x_155, x_165, x_163, x_5, x_6, x_7, x_8); +return x_166; +} +else +{ +lean_dec_ref(x_154); +lean_dec_ref(x_153); +lean_dec_ref(x_152); +lean_dec(x_151); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_160; +} +} +else +{ +lean_dec_ref(x_154); +lean_dec_ref(x_153); +lean_dec_ref(x_152); +lean_dec(x_151); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_156; +} +} +case 10: +{ +lean_object* x_167; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +x_167 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_167); +lean_dec_ref(x_2); +x_2 = x_167; +goto _start; +} +case 11: +{ +lean_object* x_169; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +x_169 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_169); +lean_dec_ref(x_2); +x_2 = x_169; +goto _start; +} +default: +{ +lean_object* x_171; lean_object* x_172; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_3); +lean_ctor_set(x_171, 1, x_4); +x_172 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_172, 0, x_171); +return x_172; +} +} +} +else +{ +lean_object* x_173; lean_object* x_174; +lean_dec_ref(x_108); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_3); +lean_ctor_set(x_173, 1, x_4); +x_174 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_174, 0, x_173); +return x_174; +} +} +} +else +{ +uint8_t x_175; +lean_free_object(x_4); +lean_dec_ref(x_29); +lean_dec_ref(x_28); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_175 = !lean_is_exclusive(x_34); +if (x_175 == 0) +{ +return x_34; +} +else +{ +lean_object* x_176; lean_object* x_177; +x_176 = lean_ctor_get(x_34, 0); +lean_inc(x_176); +lean_dec(x_34); +x_177 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_177, 0, x_176); +return x_177; +} +} +} +else +{ +lean_object* x_178; +lean_dec(x_4); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_2); +x_178 = l_Lean_Meta_isProof(x_2, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_178) == 0) +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; +x_179 = lean_ctor_get(x_178, 0); +lean_inc(x_179); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + x_180 = x_178; +} else { + lean_dec_ref(x_178); + x_180 = lean_box(0); +} +x_181 = lean_box(0); +lean_inc_ref(x_2); +x_182 = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__3___redArg(x_28, x_2, x_181); +lean_inc_ref(x_29); +lean_inc_ref(x_182); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_29); +x_184 = lean_unbox(x_179); +lean_dec(x_179); +if (x_184 == 0) +{ +switch (lean_obj_tag(x_2)) { +case 4: +{ +lean_object* x_185; uint8_t x_186; +x_185 = lean_ctor_get(x_2, 0); +lean_inc(x_185); +lean_dec_ref(x_2); +x_186 = l_Lean_NameHashSet_contains(x_29, x_185); +if (x_186 == 0) +{ +lean_object* x_187; +lean_dec_ref(x_183); +lean_dec(x_180); +lean_inc(x_185); +x_187 = lean_apply_7(x_1, x_185, x_3, x_5, x_6, x_7, x_8, lean_box(0)); +if (lean_obj_tag(x_187) == 0) +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + x_189 = x_187; +} else { + lean_dec_ref(x_187); + x_189 = lean_box(0); +} +x_190 = l_Lean_NameHashSet_insert(x_29, x_185); +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_182); +lean_ctor_set(x_191, 1, x_190); +x_192 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_192, 0, x_188); +lean_ctor_set(x_192, 1, x_191); +if (lean_is_scalar(x_189)) { + x_193 = lean_alloc_ctor(0, 1, 0); +} else { + x_193 = x_189; +} +lean_ctor_set(x_193, 0, x_192); +return x_193; +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +lean_dec(x_185); +lean_dec_ref(x_182); +lean_dec_ref(x_29); +x_194 = lean_ctor_get(x_187, 0); +lean_inc(x_194); +if (lean_is_exclusive(x_187)) { + lean_ctor_release(x_187, 0); + x_195 = x_187; +} else { + lean_dec_ref(x_187); + x_195 = lean_box(0); +} +if (lean_is_scalar(x_195)) { + x_196 = lean_alloc_ctor(1, 1, 0); +} else { + x_196 = x_195; +} +lean_ctor_set(x_196, 0, x_194); +return x_196; +} +} +else +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_185); +lean_dec_ref(x_182); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_3); +lean_ctor_set(x_197, 1, x_183); +if (lean_is_scalar(x_180)) { + x_198 = lean_alloc_ctor(0, 1, 0); +} else { + x_198 = x_180; +} +lean_ctor_set(x_198, 0, x_197); +return x_198; +} +} +case 5: +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_dec_ref(x_182); +lean_dec(x_180); +lean_dec_ref(x_29); +x_199 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_199); +x_200 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_200); +lean_dec_ref(x_2); +x_201 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_199); +x_202 = l_Lean_Meta_getFunInfo(x_199, x_201, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_202) == 0) +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +lean_dec_ref(x_202); +x_204 = lean_ctor_get(x_203, 0); +lean_inc_ref(x_204); +lean_dec(x_203); +x_205 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1; +x_206 = lean_unsigned_to_nat(0u); +x_207 = lean_array_get(x_205, x_204, x_206); +lean_dec_ref(x_204); +x_208 = l_Lean_Meta_ParamInfo_isInstImplicit(x_207); +lean_dec_ref(x_207); +if (x_208 == 0) +{ +lean_object* x_209; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_1); +x_209 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_199, x_3, x_183, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +lean_dec_ref(x_209); +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_210, 1); +lean_inc(x_212); +lean_dec(x_210); +x_2 = x_200; +x_3 = x_211; +x_4 = x_212; +goto _start; +} +else +{ +lean_dec_ref(x_200); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_209; +} +} +else +{ +lean_dec_ref(x_200); +x_2 = x_199; +x_4 = x_183; +goto _start; +} +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; +lean_dec_ref(x_200); +lean_dec_ref(x_199); +lean_dec_ref(x_183); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_3); +lean_dec_ref(x_1); +x_215 = lean_ctor_get(x_202, 0); +lean_inc(x_215); +if (lean_is_exclusive(x_202)) { + lean_ctor_release(x_202, 0); + x_216 = x_202; +} else { + lean_dec_ref(x_202); + x_216 = lean_box(0); +} +if (lean_is_scalar(x_216)) { + x_217 = lean_alloc_ctor(1, 1, 0); +} else { + x_217 = x_216; +} +lean_ctor_set(x_217, 0, x_215); +return x_217; +} +} +case 6: +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; +lean_dec_ref(x_182); +lean_dec(x_180); +lean_dec_ref(x_29); +x_218 = lean_ctor_get(x_2, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_219); +x_220 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_220); +x_221 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec_ref(x_2); +x_10 = x_218; +x_11 = x_219; +x_12 = x_220; +x_13 = x_221; +x_14 = x_183; +x_15 = x_5; +x_16 = x_6; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_27; +} +case 7: +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +lean_dec_ref(x_182); +lean_dec(x_180); +lean_dec_ref(x_29); +x_222 = lean_ctor_get(x_2, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_223); +x_224 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_224); +x_225 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 8); +lean_dec_ref(x_2); +x_10 = x_222; +x_11 = x_223; +x_12 = x_224; +x_13 = x_225; +x_14 = x_183; +x_15 = x_5; +x_16 = x_6; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_27; +} +case 8: +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; +lean_dec_ref(x_182); +lean_dec(x_180); +lean_dec_ref(x_29); +x_226 = lean_ctor_get(x_2, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_227); +x_228 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_228); +x_229 = lean_ctor_get(x_2, 3); +lean_inc_ref(x_229); +x_230 = lean_ctor_get_uint8(x_2, sizeof(void*)*4 + 8); +lean_dec_ref(x_2); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_227); +lean_inc_ref(x_1); +x_231 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_227, x_3, x_183, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_231) == 0) +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_232 = lean_ctor_get(x_231, 0); +lean_inc(x_232); +lean_dec_ref(x_231); +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc_ref(x_228); +lean_inc_ref(x_1); +x_235 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_228, x_233, x_234, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_235) == 0) +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_241; +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +lean_dec_ref(x_235); +x_237 = lean_ctor_get(x_236, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_236, 1); +lean_inc(x_238); +lean_dec(x_236); +x_239 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1___boxed), 10, 3); +lean_closure_set(x_239, 0, x_229); +lean_closure_set(x_239, 1, x_1); +lean_closure_set(x_239, 2, x_237); +x_240 = 0; +x_241 = l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg(x_226, x_227, x_228, x_239, x_230, x_240, x_238, x_5, x_6, x_7, x_8); +return x_241; +} +else +{ +lean_dec_ref(x_229); +lean_dec_ref(x_228); +lean_dec_ref(x_227); +lean_dec(x_226); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_235; +} +} +else +{ +lean_dec_ref(x_229); +lean_dec_ref(x_228); +lean_dec_ref(x_227); +lean_dec(x_226); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_231; +} +} +case 10: +{ +lean_object* x_242; +lean_dec_ref(x_182); +lean_dec(x_180); +lean_dec_ref(x_29); +x_242 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_242); +lean_dec_ref(x_2); +x_2 = x_242; +x_4 = x_183; +goto _start; +} +case 11: +{ +lean_object* x_244; +lean_dec_ref(x_182); +lean_dec(x_180); +lean_dec_ref(x_29); +x_244 = lean_ctor_get(x_2, 2); +lean_inc_ref(x_244); +lean_dec_ref(x_2); +x_2 = x_244; +x_4 = x_183; +goto _start; +} +default: +{ +lean_object* x_246; lean_object* x_247; +lean_dec_ref(x_182); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_3); +lean_ctor_set(x_246, 1, x_183); +if (lean_is_scalar(x_180)) { + x_247 = lean_alloc_ctor(0, 1, 0); +} else { + x_247 = x_180; +} +lean_ctor_set(x_247, 0, x_246); +return x_247; +} +} +} +else +{ +lean_object* x_248; lean_object* x_249; +lean_dec_ref(x_182); +lean_dec_ref(x_29); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_3); +lean_ctor_set(x_248, 1, x_183); +if (lean_is_scalar(x_180)) { + x_249 = lean_alloc_ctor(0, 1, 0); +} else { + x_249 = x_180; +} +lean_ctor_set(x_249, 0, x_248); +return x_249; +} +} +else +{ +lean_object* x_250; lean_object* x_251; lean_object* x_252; +lean_dec_ref(x_29); +lean_dec_ref(x_28); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_250 = lean_ctor_get(x_178, 0); +lean_inc(x_250); +if (lean_is_exclusive(x_178)) { + lean_ctor_release(x_178, 0); + x_251 = x_178; +} else { + lean_dec_ref(x_178); + x_251 = lean_box(0); +} +if (lean_is_scalar(x_251)) { + x_252 = lean_alloc_ctor(1, 1, 0); +} else { + x_252 = x_251; +} +lean_ctor_set(x_252, 0, x_250); +return x_252; +} +} +} +else +{ +lean_object* x_253; lean_object* x_254; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_253, 0, x_3); +lean_ctor_set(x_253, 1, x_4); +x_254 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_254, 0, x_253); +return x_254; +} +block_27: +{ +lean_object* x_20; +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc(x_16); +lean_inc_ref(x_15); +lean_inc_ref(x_11); +lean_inc_ref(x_1); +x_20 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_11, x_3, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__0___boxed), 10, 3); +lean_closure_set(x_24, 0, x_12); +lean_closure_set(x_24, 1, x_1); +lean_closure_set(x_24, 2, x_22); +x_25 = 0; +x_26 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg(x_10, x_13, x_11, x_24, x_25, x_23, x_15, x_16, x_17, x_18); +return x_26; +} +else +{ +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +lean_dec_ref(x_15); +lean_dec_ref(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_1); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_2); +x_13 = lean_unbox(x_5); +x_14 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___redArg(x_1, x_12, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_3); +x_14 = lean_unbox(x_6); +x_15 = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__0(x_1, x_2, x_13, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec_ref(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1_spec__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___redArg(x_1, x_2); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__1(x_1, x_2, x_3); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_5); +x_14 = lean_unbox(x_6); +x_15 = l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7___redArg(x_1, x_2, x_3, x_4, x_13, x_14, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_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; lean_object* x_16; +x_14 = lean_unbox(x_6); +x_15 = lean_unbox(x_7); +x_16 = l_Lean_Meta_withLetDecl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit_spec__7(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(64u); +x_2 = l_Lean_mkPtrSet___redArg(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_unsigned_to_nat(8u); +x_3 = lean_nat_mul(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(3u); +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__1; +x_3 = lean_nat_div(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__2; +x_2 = l_Nat_nextPowerOfTwo(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__3; +x_3 = lean_mk_array(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__4; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__5; +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__0; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6; +x_10 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_3, x_1, x_2, x_9, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_10); +if (x_17 == 0) +{ +return x_10; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +lean_dec(x_10); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_4, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_11); +if (x_18 == 0) +{ +return x_11; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_11, 0); +lean_inc(x_19); +lean_dec(x_11); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT uint8_t l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = l_Lean_KVMap_find(x_1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = lean_unbox(x_4); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec_ref(x_5); +if (lean_obj_tag(x_7) == 1) +{ +uint8_t x_8; +x_8 = lean_ctor_get_uint8(x_7, 0); +lean_dec_ref(x_7); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_7); +x_9 = lean_unbox(x_4); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = l_Lean_KVMap_find(x_1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_inc(x_4); +return x_4; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec_ref(x_5); +if (lean_obj_tag(x_6) == 3) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec_ref(x_6); +return x_7; +} +else +{ +lean_dec(x_6); +lean_inc(x_4); +return x_4; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_take(x_1); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 5); +lean_dec(x_11); +x_12 = l_Lean_Environment_setExporting(x_10, x_2); +lean_ctor_set(x_8, 5, x_3); +lean_ctor_set(x_8, 0, x_12); +x_13 = lean_st_ref_set(x_1, x_8); +x_14 = lean_st_ref_take(x_4); +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; +x_16 = lean_ctor_get(x_14, 1); +lean_dec(x_16); +lean_ctor_set(x_14, 1, x_5); +x_17 = lean_st_ref_set(x_4, x_14); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 2); +x_22 = lean_ctor_get(x_14, 3); +x_23 = lean_ctor_get(x_14, 4); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_24 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_5); +lean_ctor_set(x_24, 2, x_21); +lean_ctor_set(x_24, 3, x_22); +lean_ctor_set(x_24, 4, x_23); +x_25 = lean_st_ref_set(x_4, x_24); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_28 = lean_ctor_get(x_8, 0); +x_29 = lean_ctor_get(x_8, 1); +x_30 = lean_ctor_get(x_8, 2); +x_31 = lean_ctor_get(x_8, 3); +x_32 = lean_ctor_get(x_8, 4); +x_33 = lean_ctor_get(x_8, 6); +x_34 = lean_ctor_get(x_8, 7); +x_35 = lean_ctor_get(x_8, 8); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_8); +x_36 = l_Lean_Environment_setExporting(x_28, x_2); +x_37 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_29); +lean_ctor_set(x_37, 2, x_30); +lean_ctor_set(x_37, 3, x_31); +lean_ctor_set(x_37, 4, x_32); +lean_ctor_set(x_37, 5, x_3); +lean_ctor_set(x_37, 6, x_33); +lean_ctor_set(x_37, 7, x_34); +lean_ctor_set(x_37, 8, x_35); +x_38 = lean_st_ref_set(x_1, x_37); +x_39 = lean_st_ref_take(x_4); +x_40 = lean_ctor_get(x_39, 0); +lean_inc_ref(x_40); +x_41 = lean_ctor_get(x_39, 2); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 3); +lean_inc_ref(x_42); +x_43 = lean_ctor_get(x_39, 4); +lean_inc_ref(x_43); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + lean_ctor_release(x_39, 3); + lean_ctor_release(x_39, 4); + x_44 = x_39; +} else { + lean_dec_ref(x_39); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 5, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_5); +lean_ctor_set(x_45, 2, x_41); +lean_ctor_set(x_45, 3, x_42); +lean_ctor_set(x_45, 4, x_43); +x_46 = lean_st_ref_set(x_4, x_45); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +} +static lean_object* _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__0; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__1; +x_2 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +lean_ctor_set(x_2, 3, x_1); +lean_ctor_set(x_2, 4, x_1); +lean_ctor_set(x_2, 5, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_st_ref_get(x_6); +x_9 = lean_ctor_get(x_8, 0); +lean_inc_ref(x_9); +lean_dec_ref(x_8); +x_10 = lean_ctor_get_uint8(x_9, sizeof(void*)*8); +lean_dec_ref(x_9); +x_11 = lean_st_ref_take(x_6); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 5); +lean_dec(x_14); +x_15 = l_Lean_Environment_setExporting(x_13, x_2); +x_16 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__2; +lean_ctor_set(x_11, 5, x_16); +lean_ctor_set(x_11, 0, x_15); +x_17 = lean_st_ref_set(x_6, x_11); +x_18 = lean_st_ref_take(x_4); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_18, 1); +lean_dec(x_20); +x_21 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3; +lean_ctor_set(x_18, 1, x_21); +x_22 = lean_st_ref_set(x_4, x_18); +lean_inc(x_6); +lean_inc(x_4); +x_23 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, lean_box(0)); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_ctor_set_tag(x_23, 1); +x_26 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_6, x_10, x_16, x_4, x_21, x_23); +lean_dec_ref(x_23); +lean_dec(x_4); +lean_dec(x_6); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +else +{ +lean_object* x_29; +lean_dec(x_26); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_25); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_23, 0); +lean_inc(x_30); +lean_dec(x_23); +lean_inc(x_30); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_6, x_10, x_16, x_4, x_21, x_31); +lean_dec_ref(x_31); +lean_dec(x_4); +lean_dec(x_6); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + x_33 = x_32; +} else { + lean_dec_ref(x_32); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 1, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_30); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_23, 0); +lean_inc(x_35); +lean_dec_ref(x_23); +x_36 = lean_box(0); +x_37 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_6, x_10, x_16, x_4, x_21, x_36); +lean_dec(x_4); +lean_dec(x_6); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set_tag(x_37, 1); +lean_ctor_set(x_37, 0, x_35); +return x_37; +} +else +{ +lean_object* x_40; +lean_dec(x_37); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_35); +return x_40; +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get(x_18, 0); +x_42 = lean_ctor_get(x_18, 2); +x_43 = lean_ctor_get(x_18, 3); +x_44 = lean_ctor_get(x_18, 4); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_18); +x_45 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3; +x_46 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_46, 0, x_41); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_46, 2, x_42); +lean_ctor_set(x_46, 3, x_43); +lean_ctor_set(x_46, 4, x_44); +x_47 = lean_st_ref_set(x_4, x_46); +lean_inc(x_6); +lean_inc(x_4); +x_48 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, lean_box(0)); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + x_50 = x_48; +} else { + lean_dec_ref(x_48); + x_50 = lean_box(0); +} +lean_inc(x_49); +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(1, 1, 0); +} else { + x_51 = x_50; + lean_ctor_set_tag(x_51, 1); +} +lean_ctor_set(x_51, 0, x_49); +x_52 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_6, x_10, x_16, x_4, x_45, x_51); +lean_dec_ref(x_51); +lean_dec(x_4); +lean_dec(x_6); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + x_53 = x_52; +} else { + lean_dec_ref(x_52); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(0, 1, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_49); +return x_54; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_48, 0); +lean_inc(x_55); +lean_dec_ref(x_48); +x_56 = lean_box(0); +x_57 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_6, x_10, x_16, x_4, x_45, x_56); +lean_dec(x_4); +lean_dec(x_6); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + x_58 = x_57; +} else { + lean_dec_ref(x_57); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 1, 0); +} else { + x_59 = x_58; + lean_ctor_set_tag(x_59, 1); +} +lean_ctor_set(x_59, 0, x_55); +return x_59; +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_60 = lean_ctor_get(x_11, 0); +x_61 = lean_ctor_get(x_11, 1); +x_62 = lean_ctor_get(x_11, 2); +x_63 = lean_ctor_get(x_11, 3); +x_64 = lean_ctor_get(x_11, 4); +x_65 = lean_ctor_get(x_11, 6); +x_66 = lean_ctor_get(x_11, 7); +x_67 = lean_ctor_get(x_11, 8); +lean_inc(x_67); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_inc(x_62); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_11); +x_68 = l_Lean_Environment_setExporting(x_60, x_2); +x_69 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__2; +x_70 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_61); +lean_ctor_set(x_70, 2, x_62); +lean_ctor_set(x_70, 3, x_63); +lean_ctor_set(x_70, 4, x_64); +lean_ctor_set(x_70, 5, x_69); +lean_ctor_set(x_70, 6, x_65); +lean_ctor_set(x_70, 7, x_66); +lean_ctor_set(x_70, 8, x_67); +x_71 = lean_st_ref_set(x_6, x_70); +x_72 = lean_st_ref_take(x_4); +x_73 = lean_ctor_get(x_72, 0); +lean_inc_ref(x_73); +x_74 = lean_ctor_get(x_72, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_72, 3); +lean_inc_ref(x_75); +x_76 = lean_ctor_get(x_72, 4); +lean_inc_ref(x_76); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + lean_ctor_release(x_72, 2); + lean_ctor_release(x_72, 3); + lean_ctor_release(x_72, 4); + x_77 = x_72; +} else { + lean_dec_ref(x_72); + x_77 = lean_box(0); +} +x_78 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3; +if (lean_is_scalar(x_77)) { + x_79 = lean_alloc_ctor(0, 5, 0); +} else { + x_79 = x_77; +} +lean_ctor_set(x_79, 0, x_73); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_79, 2, x_74); +lean_ctor_set(x_79, 3, x_75); +lean_ctor_set(x_79, 4, x_76); +x_80 = lean_st_ref_set(x_4, x_79); +lean_inc(x_6); +lean_inc(x_4); +x_81 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, lean_box(0)); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + x_83 = x_81; +} else { + lean_dec_ref(x_81); + x_83 = lean_box(0); +} +lean_inc(x_82); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(1, 1, 0); +} else { + x_84 = x_83; + lean_ctor_set_tag(x_84, 1); +} +lean_ctor_set(x_84, 0, x_82); +x_85 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_6, x_10, x_69, x_4, x_78, x_84); +lean_dec_ref(x_84); +lean_dec(x_4); +lean_dec(x_6); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + x_86 = x_85; +} else { + lean_dec_ref(x_85); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(0, 1, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_82); +return x_87; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_88 = lean_ctor_get(x_81, 0); +lean_inc(x_88); +lean_dec_ref(x_81); +x_89 = lean_box(0); +x_90 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_6, x_10, x_69, x_4, x_78, x_89); +lean_dec(x_4); +lean_dec(x_6); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + x_91 = x_90; +} else { + lean_dec_ref(x_90); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 1, 0); +} else { + x_92 = x_91; + lean_ctor_set_tag(x_92, 1); +} +lean_ctor_set(x_92, 0, x_88); +return x_92; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (x_2 == 0) +{ +lean_object* x_8; +x_8 = lean_apply_5(x_1, x_3, x_4, x_5, x_6, lean_box(0)); +return x_8; +} +else +{ +uint8_t x_9; lean_object* x_10; +x_9 = 0; +x_10 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg(x_1, x_9, x_3, x_4, x_5, x_6); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_inheritedTraceOptions; +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_diagnostics; +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_maxRecDepth; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, uint8_t x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; uint8_t x_45; uint8_t x_64; +x_19 = lean_st_mk_ref(x_1); +x_25 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__0; +x_26 = lean_st_ref_get(x_25); +x_27 = lean_st_ref_get(x_19); +x_28 = lean_ctor_get(x_27, 0); +lean_inc_ref(x_28); +lean_dec_ref(x_27); +x_29 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__1; +x_30 = l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__0(x_2, x_29); +x_64 = l_Lean_Kernel_isDiagnosticsEnabled(x_28); +lean_dec_ref(x_28); +if (x_64 == 0) +{ +if (x_30 == 0) +{ +lean_dec_ref(x_17); +lean_inc(x_19); +x_31 = x_19; +x_32 = lean_box(0); +goto block_44; +} +else +{ +x_45 = x_64; +goto block_63; +} +} +else +{ +x_45 = x_30; +goto block_63; +} +block_24: +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_st_ref_get(x_19); +lean_dec(x_19); +lean_dec_ref(x_22); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_20); +return x_23; +} +block_44: +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_st_mk_ref(x_3); +x_34 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__2; +x_35 = l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__1(x_2, x_34); +lean_inc(x_8); +lean_inc(x_6); +x_36 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_36, 0, x_4); +lean_ctor_set(x_36, 1, x_5); +lean_ctor_set(x_36, 2, x_2); +lean_ctor_set(x_36, 3, x_6); +lean_ctor_set(x_36, 4, x_35); +lean_ctor_set(x_36, 5, x_7); +lean_ctor_set(x_36, 6, x_8); +lean_ctor_set(x_36, 7, x_9); +lean_ctor_set(x_36, 8, x_6); +lean_ctor_set(x_36, 9, x_10); +lean_ctor_set(x_36, 10, x_8); +lean_ctor_set(x_36, 11, x_11); +lean_ctor_set(x_36, 12, x_12); +lean_ctor_set(x_36, 13, x_26); +lean_ctor_set_uint8(x_36, sizeof(void*)*14, x_30); +lean_ctor_set_uint8(x_36, sizeof(void*)*14 + 1, x_13); +lean_inc(x_33); +x_37 = l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___redArg(x_14, x_15, x_16, x_33, x_36, x_31); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +lean_dec_ref(x_37); +x_39 = lean_st_ref_get(x_33); +lean_dec(x_33); +lean_dec_ref(x_39); +x_20 = x_38; +x_21 = lean_box(0); +goto block_24; +} +else +{ +lean_dec(x_33); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_37, 0); +lean_inc(x_40); +lean_dec_ref(x_37); +x_20 = x_40; +x_21 = lean_box(0); +goto block_24; +} +else +{ +uint8_t x_41; +lean_dec(x_19); +x_41 = !lean_is_exclusive(x_37); +if (x_41 == 0) +{ +lean_ctor_set_tag(x_37, 0); +return x_37; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_37, 0); +lean_inc(x_42); +lean_dec(x_37); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +return x_43; +} +} +} +} +block_63: +{ +if (x_45 == 0) +{ +lean_object* x_46; uint8_t x_47; +x_46 = lean_st_ref_take(x_19); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_46, 0); +x_49 = lean_ctor_get(x_46, 5); +lean_dec(x_49); +x_50 = l_Lean_Kernel_enableDiag(x_48, x_30); +lean_ctor_set(x_46, 5, x_17); +lean_ctor_set(x_46, 0, x_50); +x_51 = lean_st_ref_set(x_19, x_46); +lean_inc(x_19); +x_31 = x_19; +x_32 = lean_box(0); +goto block_44; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_52 = lean_ctor_get(x_46, 0); +x_53 = lean_ctor_get(x_46, 1); +x_54 = lean_ctor_get(x_46, 2); +x_55 = lean_ctor_get(x_46, 3); +x_56 = lean_ctor_get(x_46, 4); +x_57 = lean_ctor_get(x_46, 6); +x_58 = lean_ctor_get(x_46, 7); +x_59 = lean_ctor_get(x_46, 8); +lean_inc(x_59); +lean_inc(x_58); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_46); +x_60 = l_Lean_Kernel_enableDiag(x_52, x_30); +x_61 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_53); +lean_ctor_set(x_61, 2, x_54); +lean_ctor_set(x_61, 3, x_55); +lean_ctor_set(x_61, 4, x_56); +lean_ctor_set(x_61, 5, x_17); +lean_ctor_set(x_61, 6, x_57); +lean_ctor_set(x_61, 7, x_58); +lean_ctor_set(x_61, 8, x_59); +x_62 = lean_st_ref_set(x_19, x_61); +lean_inc(x_19); +x_31 = x_19; +x_32 = lean_box(0); +goto block_44; +} +} +else +{ +lean_dec_ref(x_17); +lean_inc(x_19); +x_31 = x_19; +x_32 = lean_box(0); +goto block_44; +} +} +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__3; +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__4; +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(1); +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5; +x_3 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_box(0); +x_3 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__7; +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__6; +x_5 = lean_box(1); +x_6 = 0; +x_7 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__0; +x_8 = lean_alloc_ctor(0, 7, 3); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_4); +lean_ctor_set(x_8, 3, x_3); +lean_ctor_set(x_8, 4, x_2); +lean_ctor_set(x_8, 5, x_1); +lean_ctor_set(x_8, 6, x_2); +lean_ctor_set_uint8(x_8, sizeof(void*)*7, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*7 + 1, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*7 + 2, x_6); +return x_8; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_1); +lean_ctor_set(x_3, 4, x_1); +lean_ctor_set(x_3, 5, x_1); +lean_ctor_set(x_3, 6, x_1); +lean_ctor_set(x_3, 7, x_1); +lean_ctor_set(x_3, 8, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2; +x_2 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +lean_ctor_set(x_2, 3, x_1); +lean_ctor_set(x_2, 4, x_1); +lean_ctor_set(x_2, 5, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2; +x_2 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +lean_ctor_set(x_2, 3, x_1); +lean_ctor_set(x_2, 4, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__11; +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5; +x_3 = lean_box(1); +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__10; +x_5 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__9; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_1); +return x_6; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("symbolFrequency", 15, 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instInhabitedFileMap_default; +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = l_Lean_Core_getMaxHeartbeats(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_firstFrontendMacroScope; +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__16; +x_3 = lean_nat_add(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_uniq", 5, 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__18; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__19; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__22() { +_start: +{ +lean_object* x_1; uint64_t x_2; lean_object* x_3; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5; +x_2 = 0; +x_3 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint64(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_NameSet_empty; +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__24; +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5; +x_2 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2; +x_3 = 1; +x_4 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +lean_ctor_set_uint8(x_4, sizeof(void*)*3, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_3 = 1; +x_4 = 0; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__7; +x_7 = lean_box(0); +x_8 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__8; +x_9 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__12; +x_10 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__13; +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__14; +x_12 = lean_box(0); +x_13 = lean_box(0); +x_14 = lean_box(0); +x_15 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__15; +x_16 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__16; +x_17 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__17; +x_18 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__20; +x_19 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__21; +x_20 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__22; +x_21 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__23; +x_22 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__25; +x_23 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__26; +x_24 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_17); +lean_ctor_set(x_24, 2, x_18); +lean_ctor_set(x_24, 3, x_19); +lean_ctor_set(x_24, 4, x_20); +lean_ctor_set(x_24, 5, x_21); +lean_ctor_set(x_24, 6, x_22); +lean_ctor_set(x_24, 7, x_23); +lean_ctor_set(x_24, 8, x_6); +x_25 = lean_box(x_4); +x_26 = lean_box(x_3); +x_27 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___boxed), 18, 17); +lean_closure_set(x_27, 0, x_24); +lean_closure_set(x_27, 1, x_12); +lean_closure_set(x_27, 2, x_9); +lean_closure_set(x_27, 3, x_10); +lean_closure_set(x_27, 4, x_11); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_13); +lean_closure_set(x_27, 7, x_14); +lean_closure_set(x_27, 8, x_12); +lean_closure_set(x_27, 9, x_15); +lean_closure_set(x_27, 10, x_16); +lean_closure_set(x_27, 11, x_7); +lean_closure_set(x_27, 12, x_25); +lean_closure_set(x_27, 13, x_2); +lean_closure_set(x_27, 14, x_26); +lean_closure_set(x_27, 15, x_8); +lean_closure_set(x_27, 16, x_21); +x_28 = l_unsafeBaseIO___redArg(x_27); +return x_28; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__0(x_1, x_2); +lean_dec_ref(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Option_get___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__1(x_1, x_2); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___lam__0(x_1, x_8, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg(x_1, x_8, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +x_10 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2(x_1, x_2, x_9, x_4, x_5, x_6, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___redArg(x_1, x_8, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +x_10 = l_Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2(x_1, x_2, x_9, x_4, x_5, x_6, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_unbox(x_13); +x_20 = lean_unbox(x_15); +x_21 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19, x_14, x_20, x_16, x_17); +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_MessageData_toString(x_1); +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Exception_toMessageData(x_1); +x_3 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4___lam__0___boxed), 2, 1); +lean_closure_set(x_3, 0, x_2); +x_4 = l_unsafeBaseIO___redArg(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4___lam__0(x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean.PremiseSelection.SymbolFrequency", 37, 37); +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_private.Lean.PremiseSelection.SymbolFrequency.0.Lean.PremiseSelection.runMetaM", 79, 79); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg(x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_14; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +lean_dec_ref(x_4); +x_6 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__0; +x_7 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__1; +x_8 = lean_unsigned_to_nat(85u); +x_9 = lean_unsigned_to_nat(24u); +x_14 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__4(x_5); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec_ref(x_14); +x_16 = lean_io_error_to_string(x_15); +x_10 = x_16; +goto block_13; +} +else +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec_ref(x_14); +x_10 = x_17; +goto block_13; +} +block_13: +{ +lean_object* x_11; lean_object* x_12; +x_11 = l_mkPanicMessageWithDecl(x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_10); +x_12 = l_panic___redArg(x_1, x_11); +return x_12; +} +} +else +{ +lean_object* x_18; +lean_dec(x_1); +x_18 = lean_ctor_get(x_4, 0); +lean_inc(x_18); +lean_dec_ref(x_4); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_7; +x_7 = lean_unsigned_to_nat(0u); +x_2 = x_7; +goto block_6; +} +else +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_1, 0); +x_2 = x_8; +goto block_6; +} +block_6: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_add(x_2, x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_ctor_get(x_2, 3); +x_8 = lean_ctor_get(x_2, 4); +x_9 = l_Lean_Name_quickCmp(x_1, x_5); +switch (x_9) { +case 0: +{ +lean_object* x_10; lean_object* x_11; +lean_free_object(x_2); +lean_dec(x_4); +x_10 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(x_1, x_7); +x_11 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_5, x_6, x_10, x_8); +return x_11; +} +case 1: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_6); +x_13 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0(x_12); +lean_dec_ref(x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec(x_13); +lean_ctor_set(x_2, 2, x_14); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +default: +{ +lean_object* x_15; lean_object* x_16; +lean_free_object(x_2); +lean_dec(x_4); +x_15 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(x_1, x_8); +x_16 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_5, x_6, x_7, x_15); +return x_16; +} +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_17 = lean_ctor_get(x_2, 0); +x_18 = lean_ctor_get(x_2, 1); +x_19 = lean_ctor_get(x_2, 2); +x_20 = lean_ctor_get(x_2, 3); +x_21 = lean_ctor_get(x_2, 4); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_2); +x_22 = l_Lean_Name_quickCmp(x_1, x_18); +switch (x_22) { +case 0: +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_17); +x_23 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(x_1, x_20); +x_24 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_18, x_19, x_23, x_21); +return x_24; +} +case 1: +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_19); +x_26 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0(x_25); +lean_dec_ref(x_25); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_28, 0, x_17); +lean_ctor_set(x_28, 1, x_1); +lean_ctor_set(x_28, 2, x_27); +lean_ctor_set(x_28, 3, x_20); +lean_ctor_set(x_28, 4, x_21); +return x_28; +} +default: +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_17); +x_29 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(x_1, x_21); +x_30 = l_Std_DTreeMap_Internal_Impl_balance___redArg(x_18, x_19, x_20, x_29); +return x_30; +} +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_box(0); +x_32 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0(x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_1); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_35, 3, x_2); +lean_ctor_set(x_35, 4, x_2); +return x_35; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(x_1, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_17; uint8_t x_20; +x_20 = lean_usize_dec_eq(x_3, x_4); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_array_uget(x_2, x_3); +switch (lean_obj_tag(x_21)) { +case 0: +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec_ref(x_21); +lean_inc_ref(x_1); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_24 = lean_apply_8(x_1, x_5, x_22, x_23, x_6, x_7, x_8, x_9, lean_box(0)); +x_17 = x_24; +goto block_19; +} +case 1: +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec_ref(x_21); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc_ref(x_1); +x_26 = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(x_1, x_25, x_5, x_6, x_7, x_8, x_9); +x_17 = x_26; +goto block_19; +} +default: +{ +x_11 = x_5; +x_12 = lean_box(0); +goto block_16; +} +} +} +else +{ +lean_object* x_27; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_5); +return x_27; +} +block_16: +{ +size_t x_13; size_t x_14; +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +x_5 = x_11; +goto _start; +} +block_19: +{ +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec_ref(x_17); +x_11 = x_18; +x_12 = lean_box(0); +goto block_16; +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_array_get_size(x_2); +x_12 = lean_nat_dec_lt(x_4, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_5); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_array_fget_borrowed(x_2, x_4); +x_15 = lean_array_fget_borrowed(x_3, x_4); +lean_inc_ref(x_1); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_15); +lean_inc(x_14); +x_16 = lean_apply_8(x_1, x_5, x_14, x_15, x_6, x_7, x_8, x_9, lean_box(0)); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec_ref(x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_4, x_18); +lean_dec(x_4); +x_4 = x_19; +x_5 = x_17; +goto _start; +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_1); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___redArg(x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_2); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_get_size(x_10); +x_13 = lean_nat_dec_lt(x_11, x_12); +if (x_13 == 0) +{ +lean_dec(x_12); +lean_dec_ref(x_10); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +lean_ctor_set(x_2, 0, x_3); +return x_2; +} +else +{ +uint8_t x_14; +x_14 = lean_nat_dec_le(x_12, x_12); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec_ref(x_10); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +lean_ctor_set(x_2, 0, x_3); +return x_2; +} +else +{ +size_t x_15; size_t x_16; lean_object* x_17; +lean_free_object(x_2); +x_15 = 0; +x_16 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_17 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg(x_1, x_10, x_15, x_16, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_10); +return x_17; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_2, 0); +lean_inc(x_18); +lean_dec(x_2); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_get_size(x_18); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_20); +lean_dec_ref(x_18); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_3); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = lean_nat_dec_le(x_20, x_20); +if (x_23 == 0) +{ +lean_object* x_24; +lean_dec(x_20); +lean_dec_ref(x_18); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_1); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_3); +return x_24; +} +else +{ +size_t x_25; size_t x_26; lean_object* x_27; +x_25 = 0; +x_26 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_27 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg(x_1, x_18, x_25, x_26, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_18); +return x_27; +} +} +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_28 = lean_ctor_get(x_2, 0); +lean_inc_ref(x_28); +x_29 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_29); +lean_dec_ref(x_2); +x_30 = lean_unsigned_to_nat(0u); +x_31 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___redArg(x_1, x_28, x_29, x_30, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_29); +lean_dec_ref(x_28); +return x_31; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(x_2, x_1, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(x_4, x_3, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_4, 0, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1, uint8_t x_2) { +_start: +{ +lean_internal_panic_unreachable(); +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__2_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg(x_1, x_2); +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_PremiseSelection_initFn___lam__3___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("symbol frequency extension", 26, 26); +return x_1; +} +} +static lean_object* _init_l_Lean_PremiseSelection_initFn___lam__3___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_PremiseSelection_initFn___lam__3___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +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_PremiseSelection_initFn___lam__3_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PremiseSelection_initFn___lam__3___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +return x_2; +} +} +static lean_object* _init_l_Lean_PremiseSelection_initFn___lam__4___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__4_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PremiseSelection_initFn___lam__4___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__5_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_11; uint8_t x_26; +lean_inc(x_4); +x_26 = l_Lean_Name_isInternalDetail(x_4); +if (x_26 == 0) +{ +uint8_t x_27; +x_27 = l_Lean_wasOriginallyTheorem(x_2, x_4); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_3); +return x_28; +} +else +{ +x_11 = x_26; +goto block_25; +} +} +else +{ +lean_dec(x_4); +lean_dec_ref(x_2); +x_11 = x_26; +goto block_25; +} +block_25: +{ +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_ConstantInfo_type(x_5); +x_13 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6; +x_14 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg(x_1, x_12, x_3, x_13, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_14, 0); +lean_inc(x_22); +lean_dec(x_14); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +} +} +else +{ +lean_object* x_24; +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_1); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_3); +return x_24; +} +} +} +} +static lean_object* _init_l_Lean_PremiseSelection_initFn___lam__6___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__6_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Lean_PremiseSelection_initFn___lam__6___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +x_13 = lean_array_push(x_12, x_11); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); +lean_dec(x_9); +x_15 = l_Lean_PremiseSelection_initFn___lam__6___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +x_16 = lean_array_push(x_15, x_14); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_9); +if (x_18 == 0) +{ +return x_9; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_9, 0); +lean_inc(x_19); +lean_dec(x_9); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__7_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_inc_ref(x_3); +x_6 = l_Lean_Environment_constants(x_3); +x_7 = lean_ctor_get(x_6, 1); +lean_inc_ref(x_7); +lean_dec_ref(x_6); +lean_inc_ref(x_3); +x_8 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__5_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 10, 2); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_3); +x_9 = lean_box(1); +x_10 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__6_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 8, 3); +lean_closure_set(x_10, 0, x_8); +lean_closure_set(x_10, 1, x_7); +lean_closure_set(x_10, 2, x_9); +x_11 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg(x_2, x_3, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__8_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(lean_object* x_1) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_PremiseSelection_initFn___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = l_Array_empty(lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_PremiseSelection_initFn___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__13; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_2 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 3, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 2, 0); +x_4 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__2_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 7, 0); +x_5 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__3_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 1, 0); +x_6 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__4_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 1, 0); +x_7 = l_Lean_PremiseSelection_initFn___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +x_8 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__7_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 5, 2); +lean_closure_set(x_8, 0, x_4); +lean_closure_set(x_8, 1, x_7); +x_9 = l_Lean_PremiseSelection_initFn___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +x_10 = lean_alloc_closure((void*)(l_Lean_PremiseSelection_initFn___lam__8_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed), 2, 1); +lean_closure_set(x_10, 0, x_7); +x_11 = lean_box(2); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_2); +lean_ctor_set(x_13, 3, x_3); +lean_ctor_set(x_13, 4, x_8); +lean_ctor_set(x_13, 5, x_5); +lean_ctor_set(x_13, 6, x_11); +lean_ctor_set(x_13, 7, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_6); +x_15 = l_Lean_registerPersistentEnvExtensionUnsafe___redArg(x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Std_DTreeMap_Internal_Impl_Const_alter___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__0___redArg___lam__0(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___redArg(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_15 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_16 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12); +lean_dec_ref(x_5); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PersistentHashMap_foldlM___at___00Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2__spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PremiseSelection_initFn___lam__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1, x_2); +lean_dec_ref(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +x_4 = l_Lean_PremiseSelection_initFn___lam__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__2_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_PremiseSelection_initFn___lam__2_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__3_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PremiseSelection_initFn___lam__3_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__4_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PremiseSelection_initFn___lam__4_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1); +lean_dec_ref(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__5_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_PremiseSelection_initFn___lam__5_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__6_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PremiseSelection_initFn___lam__6_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__7_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_5); +x_7 = l_Lean_PremiseSelection_initFn___lam__7_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1, x_2, x_3, x_4, x_6); +lean_dec_ref(x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn___lam__8_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_PremiseSelection_initFn___lam__8_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_2997076389____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_box(0); +x_3 = lean_st_mk_ref(x_2); +x_4 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_2997076389____hygCtx___hyg_2____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_2997076389____hygCtx___hyg_2_(); +return x_2; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instZeroNameMapNat() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(1); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_unsigned_to_nat(0u); +lean_inc(x_3); +lean_inc(x_2); +x_6 = l_Std_DTreeMap_Internal_Impl_Const_getD___redArg(x_1, x_2, x_3, x_5); +x_7 = lean_nat_add(x_6, x_4); +lean_dec(x_6); +x_8 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_3, x_7, x_2); +return x_8; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Name_quickCmp___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1___closed__0; +x_4 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__0___boxed), 4, 1); +lean_closure_set(x_4, 0, x_3); +x_5 = l_Std_DTreeMap_Internal_Impl_foldl___redArg(x_4, x_1, x_2); +return x_5; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__0(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 2); +x_6 = lean_ctor_get(x_1, 3); +x_7 = lean_ctor_get(x_1, 4); +x_8 = l_Lean_Name_quickCmp(x_2, x_4); +switch (x_8) { +case 0: +{ +x_1 = x_6; +goto _start; +} +case 1: +{ +lean_inc(x_5); +return x_5; +} +default: +{ +x_1 = x_7; +goto _start; +} +} +} +else +{ +lean_inc(x_3); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1_spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_3 = lean_ctor_get(x_2, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 2); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 3); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 4); +lean_inc(x_6); +lean_dec_ref(x_2); +x_7 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1_spec__1(x_1, x_5); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg(x_7, x_3, x_8); +x_10 = lean_nat_add(x_9, x_4); +lean_dec(x_4); +lean_dec(x_9); +x_11 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_3, x_10, x_7); +x_1 = x_11; +x_2 = x_6; +goto _start; +} +else +{ +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1_spec__1(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1_spec__1(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3_spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1_spec__1(x_4, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1_spec__1(x_4, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_10 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3_spec__3(x_1, x_9, x_3, x_7); +return x_10; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5_spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_10; +x_10 = lean_usize_dec_eq(x_2, x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_array_uget(x_1, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_get_size(x_11); +x_14 = lean_nat_dec_lt(x_12, x_13); +if (x_14 == 0) +{ +lean_dec(x_13); +lean_dec_ref(x_11); +x_5 = x_4; +goto block_9; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_13, x_13); +if (x_15 == 0) +{ +lean_dec(x_13); +lean_dec_ref(x_11); +x_5 = x_4; +goto block_9; +} +else +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_18 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3(x_11, x_16, x_17, x_4); +lean_dec_ref(x_11); +x_5 = x_18; +goto block_9; +} +} +} +else +{ +return x_4; +} +block_9: +{ +size_t x_6; size_t x_7; +x_6 = 1; +x_7 = lean_usize_add(x_2, x_6); +x_2 = x_7; +x_4 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_10; +x_10 = lean_usize_dec_eq(x_2, x_3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_array_uget(x_1, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_get_size(x_11); +x_14 = lean_nat_dec_lt(x_12, x_13); +if (x_14 == 0) +{ +lean_dec(x_13); +lean_dec_ref(x_11); +x_5 = x_4; +goto block_9; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_13, x_13); +if (x_15 == 0) +{ +lean_dec(x_13); +lean_dec_ref(x_11); +x_5 = x_4; +goto block_9; +} +else +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_18 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3(x_11, x_16, x_17, x_4); +lean_dec_ref(x_11); +x_5 = x_18; +goto block_9; +} +} +} +else +{ +return x_4; +} +block_9: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = 1; +x_7 = lean_usize_add(x_2, x_6); +x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5_spec__5(x_1, x_7, x_3, x_5); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMapRef; +return x_1; +} +} +static lean_object* _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyExt; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__0; +x_4 = lean_st_ref_get(x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_5 = lean_st_ref_get(x_1); +x_11 = lean_ctor_get(x_5, 0); +lean_inc_ref(x_11); +lean_dec_ref(x_5); +x_12 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__1; +x_13 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_13); +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +lean_dec_ref(x_13); +x_15 = l_Lean_PremiseSelection_initFn___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_; +x_16 = lean_box(0); +x_17 = l_Lean_PersistentEnvExtension_getState___redArg(x_15, x_12, x_11, x_14, x_16); +lean_dec(x_14); +x_18 = lean_box(1); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_get_size(x_17); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_6 = x_18; +goto block_10; +} +else +{ +uint8_t x_22; +x_22 = lean_nat_dec_le(x_20, x_20); +if (x_22 == 0) +{ +lean_dec(x_20); +lean_dec_ref(x_17); +x_6 = x_18; +goto block_10; +} +else +{ +size_t x_23; size_t x_24; lean_object* x_25; +x_23 = 0; +x_24 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_25 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5(x_17, x_23, x_24, x_18); +lean_dec_ref(x_17); +x_6 = x_25; +goto block_10; +} +} +block_10: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_inc(x_6); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = lean_st_ref_set(x_3, x_7); +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_6); +return x_9; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_4); +if (x_26 == 0) +{ +lean_ctor_set_tag(x_4, 0); +return x_4; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_4, 0); +lean_inc(x_27); +lean_dec(x_4); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Std_DTreeMap_Internal_Impl_foldl___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__1(x_1, x_2, x_3); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3_spec__3(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__3(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5_spec__5(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__5(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg(x_1); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap(x_1, x_2); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_symbolFrequency___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg(x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg(x_6, x_1, x_7); +lean_dec(x_6); +lean_ctor_set(x_4, 0, x_8); +return x_4; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Std_DTreeMap_Internal_Impl_Const_getD___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap_spec__0___redArg(x_9, x_1, x_10); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_symbolFrequency(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_PremiseSelection_symbolFrequency___redArg(x_1, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_symbolFrequency___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_PremiseSelection_symbolFrequency___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PremiseSelection_symbolFrequency___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_PremiseSelection_symbolFrequency(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec(x_1); +return x_5; +} +} +lean_object* initialize_Lean_CoreM(uint8_t builtin); +lean_object* initialize_Lean_Meta_InferType(uint8_t builtin); +lean_object* initialize_Lean_Meta_FunInfo(uint8_t builtin); +lean_object* initialize_Lean_AddDecl(uint8_t builtin); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_PremiseSelection_SymbolFrequency(uint8_t builtin) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_CoreM(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_InferType(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_FunInfo(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_AddDecl(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__0); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_fold_visit___redArg___closed__1); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__0 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__0); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__1 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__1); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__2 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__2); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__3 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__3); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__4 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__4(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__4); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__5 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__5(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__5); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_FoldRelevantConstsImpl_foldUnsafe___redArg___closed__6); +l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__0 = _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__0(); +lean_mark_persistent(l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__0); +l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__1 = _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__1(); +lean_mark_persistent(l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__1); +l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__2 = _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__2(); +lean_mark_persistent(l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__2); +l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3 = _init_l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3(); +lean_mark_persistent(l_Lean_withExporting___at___00Lean_withoutExporting___at___00__private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1_spec__2_spec__2___redArg___closed__3); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__0 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__0(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__0); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__1 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__1(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__1); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__2 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__2(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___lam__0___closed__2); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__0 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__0); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__1 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__1); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__2); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__3 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__3(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__3); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__4 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__4(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__4); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__5); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__6 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__6(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__6); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__7 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__7(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__7); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__8 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__8(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__8); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__9 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__9(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__9); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__10 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__10(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__10); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__11 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__11(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__11); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__12 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__12(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__12); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__13 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__13(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__13); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__14 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__14(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__14); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__15 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__15(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__15); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__16 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__16(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__16); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__17 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__17(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__17); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__18 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__18(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__18); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__19 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__19(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__19); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__20 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__20(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__20); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__21 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__21(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__21); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__22 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__22(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__22); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__23 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__23(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__23); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__24 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__24(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__24); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__25 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__25(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__25); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__26 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__26(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM_unsafe__1___redArg___closed__26); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__0 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__0); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__1 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_runMetaM___redArg___closed__1); +l_Lean_PremiseSelection_initFn___lam__3___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_ = _init_l_Lean_PremiseSelection_initFn___lam__3___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_PremiseSelection_initFn___lam__3___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_); +l_Lean_PremiseSelection_initFn___lam__3___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_ = _init_l_Lean_PremiseSelection_initFn___lam__3___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_PremiseSelection_initFn___lam__3___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_); +l_Lean_PremiseSelection_initFn___lam__4___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_ = _init_l_Lean_PremiseSelection_initFn___lam__4___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_PremiseSelection_initFn___lam__4___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_); +l_Lean_PremiseSelection_initFn___lam__6___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_ = _init_l_Lean_PremiseSelection_initFn___lam__6___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_PremiseSelection_initFn___lam__6___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_); +l_Lean_PremiseSelection_initFn___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_ = _init_l_Lean_PremiseSelection_initFn___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_PremiseSelection_initFn___closed__0_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_); +l_Lean_PremiseSelection_initFn___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_ = _init_l_Lean_PremiseSelection_initFn___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_PremiseSelection_initFn___closed__1_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_3319715079____hygCtx___hyg_2_(); +if (lean_io_result_is_error(res)) return res; +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyExt = lean_io_result_get_value(res); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyExt); +lean_dec_ref(res); +}if (builtin) {res = l_Lean_PremiseSelection_initFn_00___x40_Lean_PremiseSelection_SymbolFrequency_2997076389____hygCtx___hyg_2_(); +if (lean_io_result_is_error(res)) return res; +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMapRef = lean_io_result_get_value(res); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMapRef); +lean_dec_ref(res); +}l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instZeroNameMapNat = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instZeroNameMapNat(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instZeroNameMapNat); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1___closed__0 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1___closed__0(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat___lam__1___closed__0); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_instAddNameMapNat); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__0 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__0); +l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__1 = _init_l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_PremiseSelection_SymbolFrequency_0__Lean_PremiseSelection_symbolFrequencyMap___redArg___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif