chore: update stage0

This commit is contained in:
Lean stage0 autoupdater 2025-03-12 10:19:24 +00:00
parent eb58f46ce7
commit d1d2f215ad
52 changed files with 28504 additions and 15658 deletions

View file

@ -3025,6 +3025,10 @@ static inline lean_obj_res lean_nat_pred(b_lean_obj_arg n) {
return lean_nat_sub(n, lean_box(1));
}
static inline lean_obj_res lean_manual_get_root(lean_obj_arg _unit) {
return lean_mk_string(LEAN_MANUAL_ROOT);
}
#ifdef __cplusplus
}
#endif

View file

@ -1,7 +1,6 @@
#include "util/options.h"
// Dear CI: Please update stage0 after merging this.
// update stage0
namespace lean {
options get_default_options() {

View file

@ -10,3 +10,5 @@
#define LEAN_VERSION_STRING "@LEAN_VERSION_STRING@"
#define LEAN_PLATFORM_TARGET "@LEAN_PLATFORM_TARGET@"
#define LEAN_MANUAL_ROOT "@LEAN_MANUAL_ROOT@"

View file

@ -43,9 +43,9 @@ LEAN_EXPORT uint8_t l_Array_isEqvAux___rarg(lean_object*, lean_object*, lean_obj
LEAN_EXPORT lean_object* l_panic___at_Array_swapAt_x21___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Array_zipWithAll___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux(lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_2754_;
LEAN_EXPORT lean_object* l_Array_instForIn_x27InferInstanceMembership(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_toListAppend___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__5;
LEAN_EXPORT lean_object* l_Array_insertIdxIfInBounds(lean_object*);
LEAN_EXPORT lean_object* l_Array_insertIdx_loop(lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
@ -60,6 +60,7 @@ LEAN_EXPORT lean_object* l_Array_insertIdx(lean_object*);
LEAN_EXPORT lean_object* l_Array_eraseReps___rarg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_filterRevM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Array_filterMap___spec__1(lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__6;
LEAN_EXPORT lean_object* l_Array_findSome_x21___rarg(lean_object*, lean_object*, lean_object*);
@ -82,9 +83,9 @@ static lean_object* l_Array_filter___rarg___closed__1;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_foldl___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_replace(lean_object*);
LEAN_EXPORT lean_object* l_Array_getMax_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728_;
static lean_object* l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__12;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getEvenElems___spec__1(lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_2765_;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_forRevM___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_term_x23_x5b___x2c_x5d___closed__7;
LEAN_EXPORT lean_object* l_Array_forIn_x27_loop(lean_object*, lean_object*, lean_object*);
@ -96,7 +97,6 @@ LEAN_EXPORT lean_object* l_Array_swapAt_x21(lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_instBEq___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_flatten(lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__4;
LEAN_EXPORT lean_object* l_Array_zip___rarg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_insertIdx_loop___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_swap_x21(lean_object*);
@ -125,6 +125,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterMap___spec__
LEAN_EXPORT lean_object* l_Array_idxOf___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t);
LEAN_EXPORT lean_object* l_Array_modifyMUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__16;
LEAN_EXPORT lean_object* l_Array_instFunctor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapIdxM(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_append___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
@ -159,6 +160,7 @@ LEAN_EXPORT lean_object* l_Array_findFinIdx_x3f___rarg(lean_object*, lean_object
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_flatMapM___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Array_instFunctor___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMapM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__6;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_swapIfInBounds___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyM_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -174,6 +176,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Array_instFunctor___spec__2
LEAN_EXPORT lean_object* l_Array_findIdx_x3f_loop(lean_object*);
LEAN_EXPORT lean_object* l_Array_shrink(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findSome_x21___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__12;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_instForM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_panic___at_Array_insertIdx_x21___spec__1(lean_object*);
@ -247,8 +250,7 @@ LEAN_EXPORT lean_object* l_Array_isEmpty(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_instForM___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_partition___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_12376_;
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_2860_;
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__7;
LEAN_EXPORT lean_object* l_Array_mapM_map___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_singleton(lean_object*);
@ -287,9 +289,9 @@ LEAN_EXPORT uint8_t l_Array_elem___rarg(lean_object*, lean_object*, lean_object*
LEAN_EXPORT lean_object* l_Array_foldlM_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_zip___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_getMax_x3f(lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__10;
LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_eraseReps___spec__1(lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_11912_;
LEAN_EXPORT lean_object* l_Array_unzip___rarg(lean_object*);
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_concatMapM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
@ -299,7 +301,6 @@ LEAN_EXPORT uint8_t l_Array_instBEq___rarg(lean_object*, lean_object*, lean_obje
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_contains___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_toListImpl___spec__2___rarg(lean_object*, size_t, size_t, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__14;
LEAN_EXPORT uint8_t l_Array_isPrefixOf___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_partition___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Array_eraseIdxIfInBounds___rarg(lean_object*, lean_object*);
@ -317,11 +318,11 @@ LEAN_EXPORT lean_object* l_Array_allM___rarg___boxed(lean_object*, lean_object*,
LEAN_EXPORT lean_object* l_Array_anyM_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
static lean_object* l_Array_eraseIdx_x21___rarg___closed__2;
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findSomeRev_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__7;
LEAN_EXPORT lean_object* l_Array_indexOf_x3f___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findIdxM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findIdx_x3f___rarg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1(lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__3;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_append___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_modifyOp(lean_object*);
@ -343,6 +344,7 @@ LEAN_EXPORT lean_object* l_Array_partition___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_instFunctor;
LEAN_EXPORT lean_object* l_Array_findSome_x21___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Array_mapFinIdx___spec__1(lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__13;
LEAN_EXPORT lean_object* l_Array_filterM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_flatMapM___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -353,7 +355,6 @@ static lean_object* l_term_x23_x5b___x2c_x5d___closed__19;
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_findSome_x21___rarg___closed__3;
LEAN_EXPORT lean_object* l_Array_mapFinIdxM___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_11923_;
LEAN_EXPORT lean_object* l_Array_instLT(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_flatMap___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_back_x21(lean_object*);
@ -363,11 +364,14 @@ LEAN_EXPORT lean_object* l_Array_ofFn_go(lean_object*);
LEAN_EXPORT lean_object* l_Array_zipWithAll_go___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_to_list(lean_object*);
static lean_object* l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__13;
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_2849_;
LEAN_EXPORT lean_object* l_Array_modifyOp___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__14;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_foldr___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_unzip___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldr___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__4;
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_zipIdx(lean_object*);
@ -397,7 +401,6 @@ LEAN_EXPORT lean_object* l_Array_filterM(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterMap___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findSomeRev_x3f___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_Array_data___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
@ -409,7 +412,6 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___rarg___boxed(lean_object*, lean_ob
LEAN_EXPORT lean_object* l_Array_countP___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_zipWith___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_filterRevM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__11;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_foldr___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_toListAppend___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapFinIdx(lean_object*, lean_object*);
@ -424,7 +426,6 @@ lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_count___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Array_mapIdxM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Array_zip___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__9;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_find_x3f___spec__1(lean_object*);
static lean_object* l_Array_findIdxM_x3f___rarg___closed__1;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_filterRevM___spec__1(lean_object*, lean_object*);
@ -471,8 +472,10 @@ LEAN_EXPORT lean_object* l_Array_forM(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_partition___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__11;
LEAN_EXPORT lean_object* l_Array_insertIdxIfInBounds___rarg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_get_x3f(lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__15;
LEAN_EXPORT lean_object* l_Array_back_x21___rarg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findSome_x3f(lean_object*, lean_object*);
@ -493,7 +496,6 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Array_zipIdx___spec__1(lean
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, uint8_t);
static lean_object* l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__10;
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find(lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__13;
LEAN_EXPORT lean_object* l_Array_pop___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Array_mapIdx___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_foldl___at_Array_instRepr___spec__2(lean_object*);
@ -519,6 +521,7 @@ static lean_object* l_Array_instRepr___rarg___closed__3;
LEAN_EXPORT lean_object* l_Array_reduceOption___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_modify___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_term_x23_x5b___x2c_x5d___closed__11;
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__1;
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_countP___rarg___boxed(lean_object*, lean_object*);
@ -551,10 +554,10 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_filterRevM___spec_
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_term_x23_x5b___x2c_x5d___closed__8;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findSome_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__8;
LEAN_EXPORT lean_object* l_Array_reverse_loop___rarg(lean_object*, lean_object*, lean_object*);
lean_object* lean_string_length(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1736_;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
@ -569,6 +572,7 @@ LEAN_EXPORT lean_object* l_Array_filterRevM___rarg___boxed(lean_object*, lean_ob
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_count___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_eraseReps___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__8;
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterRevM(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_sum___rarg(lean_object*, lean_object*, lean_object*);
@ -580,7 +584,6 @@ LEAN_EXPORT lean_object* l_Array_filterRevM___rarg(lean_object*, lean_object*, l
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Array_mapIdxM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlM_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__6;
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg___lambda__1(lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_count___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_usize___boxed(lean_object*, lean_object*);
@ -600,7 +603,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_flatMap___spec__1_
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findSome_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_takeWhile_go___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__3;
LEAN_EXPORT lean_object* l_Array_appendList___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findIdxM_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, size_t, lean_object*);
@ -657,7 +659,6 @@ LEAN_EXPORT lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lea
LEAN_EXPORT lean_object* l_Array_zipWithAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_get_x3f___rarg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_idxOf_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Array_Array_data(lean_object*);
LEAN_EXPORT lean_object* l_Array_zip(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_idxOfAux(lean_object*);
@ -712,12 +713,9 @@ LEAN_EXPORT lean_object* l_Array_zipWithAll_go___rarg(lean_object*, lean_object*
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_countP___spec__1(lean_object*);
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Array_all___spec__1___rarg(lean_object*, lean_object*, size_t, size_t);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__2;
LEAN_EXPORT lean_object* l_Array_findM_x3f___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739_;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_countP___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_swapAt___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__12;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_toListImpl___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRev_x3f___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_all___spec__2(lean_object*);
@ -733,8 +731,8 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___rarg(lean_object*, lean_
LEAN_EXPORT lean_object* l_Array_insertAt___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_zipWithIndex___rarg___boxed(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__16;
LEAN_EXPORT lean_object* l_Array_forIn_x27_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__2;
LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_shrink___rarg___boxed(lean_object*, lean_object*);
static lean_object* l_term_x23_x5b___x2c_x5d___closed__3;
@ -752,7 +750,6 @@ uint8_t lean_usize_dec_lt(size_t, size_t);
LEAN_EXPORT lean_object* l_Array_eraseIdx_x21___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_filterRevM___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_any___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1747_;
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_countP___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_eraseReps(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_unzip___spec__1___rarg(lean_object*, size_t, size_t, lean_object*);
@ -790,7 +787,6 @@ lean_object* l_String_toSubstring_x27(lean_object*);
LEAN_EXPORT lean_object* l_Array_takeWhile___rarg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Array_toListAppend___spec__2(lean_object*);
@ -808,11 +804,13 @@ LEAN_EXPORT lean_object* l_Array_popWhile___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_term_x23_x5b___x2c_x5d;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_flatMapM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__9;
LEAN_EXPORT lean_object* l_Array_reduceOption(lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at_Array_reduceOption___spec__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__15;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_flatMapM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__10;
LEAN_EXPORT lean_object* l_Array_forRevM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_12365_;
LEAN_EXPORT lean_object* l_Array_insertIdx_loop___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___lambda__1(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe(lean_object*, lean_object*);
@ -830,12 +828,12 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe___rarg(lean_object*, lean_object*,
static lean_object* l_Array_partition___rarg___closed__1;
LEAN_EXPORT lean_object* l_Array_unzip___rarg___boxed(lean_object*);
static lean_object* l_Array_getEvenElems___rarg___closed__1;
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__5;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Array_instFunctor___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Array_findM_x3f___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_modifyMUnsafe___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__1;
static lean_object* l_term_x23_x5b___x2c_x5d___closed__21;
LEAN_EXPORT lean_object* l_Array_mapM_map___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Array_isEmpty___rarg(lean_object*);
@ -1403,22 +1401,6 @@ lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_Array_data___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_array_to_list(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_Array_data(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Array_Array_data___rarg), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_usize___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
@ -1466,7 +1448,7 @@ x_4 = lean_mk_array(x_2, x_3);
return x_4;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__1() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__1() {
_start:
{
lean_object* x_1;
@ -1474,7 +1456,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__2() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__2() {
_start:
{
lean_object* x_1;
@ -1482,19 +1464,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
return x_1;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__3() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__1;
x_2 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__2;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__1;
x_4 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__2;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__1;
x_4 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__4() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__4() {
_start:
{
lean_object* x_1;
@ -1502,19 +1484,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
return x_1;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__5() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__1;
x_2 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__2;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__1;
x_4 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__4;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__1;
x_4 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__6() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__6() {
_start:
{
lean_object* x_1;
@ -1522,17 +1504,17 @@ x_1 = lean_mk_string_unchecked("tacticGet_elem_tactic", 21, 21);
return x_1;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__7() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__6;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__8() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__8() {
_start:
{
lean_object* x_1;
@ -1540,35 +1522,35 @@ x_1 = lean_mk_string_unchecked("get_elem_tactic", 15, 15);
return x_1;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__9() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(2);
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__8;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__8;
x_3 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__10() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__18;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__9;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__9;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__11() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_box(2);
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__7;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__10;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__7;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__10;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -1576,23 +1558,23 @@ lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__12() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__18;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__11;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__11;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__13() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_box(2);
x_2 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__14;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__12;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__12;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -1600,23 +1582,23 @@ lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__14() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__18;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__13;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__13;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__15() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_box(2);
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__5;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__14;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__5;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__14;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -1624,23 +1606,23 @@ lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__16() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__18;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__15;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__15;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = lean_box(2);
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__3;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__16;
x_2 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__3;
x_3 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__16;
x_4 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -1648,19 +1630,19 @@ lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739_() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728_() {
_start:
{
lean_object* x_1;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17;
return x_1;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1747_() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_1736_() {
_start:
{
lean_object* x_1;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17;
return x_1;
}
}
@ -2123,11 +2105,11 @@ lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_2765_() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_2754_() {
_start:
{
lean_object* x_1;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17;
return x_1;
}
}
@ -2246,11 +2228,11 @@ lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_2860_() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_2849_() {
_start:
{
lean_object* x_1;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17;
return x_1;
}
}
@ -2352,7 +2334,7 @@ x_9 = l_Array_swapAt_x21___rarg___closed__2;
x_10 = lean_string_append(x_8, x_9);
x_11 = l_Array_swapAt_x21___rarg___closed__3;
x_12 = l_Array_swapAt_x21___rarg___closed__4;
x_13 = lean_unsigned_to_nat(316u);
x_13 = lean_unsigned_to_nat(314u);
x_14 = lean_unsigned_to_nat(4u);
x_15 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_11, x_12, x_13, x_14, x_10);
lean_dec(x_10);
@ -7870,7 +7852,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Array_swapAt_x21___rarg___closed__3;
x_2 = l_Array_findSome_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(708u);
x_3 = lean_unsigned_to_nat(706u);
x_4 = lean_unsigned_to_nat(14u);
x_5 = l_Array_findSome_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -11583,11 +11565,11 @@ lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_11923_() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_11912_() {
_start:
{
lean_object* x_1;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17;
return x_1;
}
}
@ -11695,7 +11677,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Array_swapAt_x21___rarg___closed__3;
x_2 = l_Array_eraseIdx_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(978u);
x_3 = lean_unsigned_to_nat(976u);
x_4 = lean_unsigned_to_nat(47u);
x_5 = l_Array_eraseIdx_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -11792,11 +11774,11 @@ x_2 = lean_alloc_closure((void*)(l_Array_eraseP___rarg), 2, 0);
return x_2;
}
}
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_12376_() {
static lean_object* _init_l___auto____x40_Init_Data_Array_Basic___hyg_12365_() {
_start:
{
lean_object* x_1;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17;
x_1 = l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17;
return x_1;
}
}
@ -11925,7 +11907,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Array_swapAt_x21___rarg___closed__3;
x_2 = l_Array_insertIdx_x21___rarg___closed__1;
x_3 = lean_unsigned_to_nat(1023u);
x_3 = lean_unsigned_to_nat(1021u);
x_4 = lean_unsigned_to_nat(7u);
x_5 = l_Array_eraseIdx_x21___rarg___closed__2;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -13949,52 +13931,52 @@ l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___c
lean_mark_persistent(l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__17);
l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__18 = _init_l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__18();
lean_mark_persistent(l___aux__Init__Data__Array__Basic______macroRules__term_x23_x5b___x2c_x5d__1___closed__18);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__1 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__1();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__1);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__2 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__2();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__2);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__3 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__3();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__3);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__4 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__4();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__4);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__5 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__5();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__5);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__6 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__6();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__6);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__7 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__7();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__7);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__8 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__8();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__8);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__9 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__9();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__9);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__10 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__10();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__10);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__11 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__11();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__11);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__12 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__12();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__12);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__13 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__13();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__13);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__14 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__14();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__14);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__15 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__15();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__15);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__16 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__16();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__16);
l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739____closed__17);
l___auto____x40_Init_Data_Array_Basic___hyg_1739_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1739_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1739_);
l___auto____x40_Init_Data_Array_Basic___hyg_1747_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1747_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1747_);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__1 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__1();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__1);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__2 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__2();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__2);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__3 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__3();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__3);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__4 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__4();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__4);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__5 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__5();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__5);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__6 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__6();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__6);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__7 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__7();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__7);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__8 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__8();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__8);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__9 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__9();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__9);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__10 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__10();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__10);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__11 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__11();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__11);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__12 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__12();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__12);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__13 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__13();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__13);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__14 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__14();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__14);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__15 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__15();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__15);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__16 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__16();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__16);
l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17 = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728____closed__17);
l___auto____x40_Init_Data_Array_Basic___hyg_1728_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1728_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1728_);
l___auto____x40_Init_Data_Array_Basic___hyg_1736_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_1736_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_1736_);
l_Array_instGetElemUSizeLtNatToNatSize___closed__1 = _init_l_Array_instGetElemUSizeLtNatToNatSize___closed__1();
lean_mark_persistent(l_Array_instGetElemUSizeLtNatToNatSize___closed__1);
l_Array_range___closed__1 = _init_l_Array_range___closed__1();
lean_mark_persistent(l_Array_range___closed__1);
l___auto____x40_Init_Data_Array_Basic___hyg_2765_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_2765_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_2765_);
l___auto____x40_Init_Data_Array_Basic___hyg_2860_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_2860_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_2860_);
l___auto____x40_Init_Data_Array_Basic___hyg_2754_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_2754_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_2754_);
l___auto____x40_Init_Data_Array_Basic___hyg_2849_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_2849_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_2849_);
l_Array_swapAt_x21___rarg___closed__1 = _init_l_Array_swapAt_x21___rarg___closed__1();
lean_mark_persistent(l_Array_swapAt_x21___rarg___closed__1);
l_Array_swapAt_x21___rarg___closed__2 = _init_l_Array_swapAt_x21___rarg___closed__2();
@ -14035,16 +14017,16 @@ l_Array_filterRevM___rarg___closed__1 = _init_l_Array_filterRevM___rarg___closed
lean_mark_persistent(l_Array_filterRevM___rarg___closed__1);
l_Array_partition___rarg___closed__1 = _init_l_Array_partition___rarg___closed__1();
lean_mark_persistent(l_Array_partition___rarg___closed__1);
l___auto____x40_Init_Data_Array_Basic___hyg_11923_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_11923_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_11923_);
l___auto____x40_Init_Data_Array_Basic___hyg_11912_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_11912_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_11912_);
l_Array_eraseIdx_x21___rarg___closed__1 = _init_l_Array_eraseIdx_x21___rarg___closed__1();
lean_mark_persistent(l_Array_eraseIdx_x21___rarg___closed__1);
l_Array_eraseIdx_x21___rarg___closed__2 = _init_l_Array_eraseIdx_x21___rarg___closed__2();
lean_mark_persistent(l_Array_eraseIdx_x21___rarg___closed__2);
l_Array_eraseIdx_x21___rarg___closed__3 = _init_l_Array_eraseIdx_x21___rarg___closed__3();
lean_mark_persistent(l_Array_eraseIdx_x21___rarg___closed__3);
l___auto____x40_Init_Data_Array_Basic___hyg_12376_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_12376_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_12376_);
l___auto____x40_Init_Data_Array_Basic___hyg_12365_ = _init_l___auto____x40_Init_Data_Array_Basic___hyg_12365_();
lean_mark_persistent(l___auto____x40_Init_Data_Array_Basic___hyg_12365_);
l_Array_insertIdx_x21___rarg___closed__1 = _init_l_Array_insertIdx_x21___rarg___closed__1();
lean_mark_persistent(l_Array_insertIdx_x21___rarg___closed__1);
l_Array_insertIdx_x21___rarg___closed__2 = _init_l_Array_insertIdx_x21___rarg___closed__2();

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Init.Data.BitVec.Lemmas
// Imports: Init.Data.Bool Init.Data.BitVec.Basic Init.Data.Fin.Lemmas Init.Data.Nat.Lemmas Init.Data.Nat.Div.Lemmas Init.Data.Nat.Mod Init.Data.Nat.Div.Lemmas Init.Data.Int.Bitwise.Lemmas Init.Data.Int.LemmasAux Init.Data.Int.Pow
// Imports: Init.Data.Bool Init.Data.BitVec.Basic Init.Data.Fin.Lemmas Init.Data.Nat.Lemmas Init.Data.Nat.Div.Lemmas Init.Data.Nat.Mod Init.Data.Nat.Div.Lemmas Init.Data.Int.Bitwise.Lemmas Init.Data.Int.LemmasAux Init.Data.Int.Pow Init.Data.Int.LemmasAux
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -671,6 +671,7 @@ lean_object* initialize_Init_Data_Nat_Div_Lemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_Bitwise_Lemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_LemmasAux(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_Pow(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_LemmasAux(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_BitVec_Lemmas(uint8_t builtin, lean_object* w) {
lean_object * res;
@ -706,6 +707,9 @@ lean_dec_ref(res);
res = initialize_Init_Data_Int_Pow(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Int_LemmasAux(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Init_Data_BitVec_Lemmas_0__Int_toNat_match__1_splitter___rarg___closed__1 = _init_l___private_Init_Data_BitVec_Lemmas_0__Int_toNat_match__1_splitter___rarg___closed__1();
lean_mark_persistent(l___private_Init_Data_BitVec_Lemmas_0__Int_toNat_match__1_splitter___rarg___closed__1);
l_BitVec_instDecidableForallBitVec___closed__1 = _init_l_BitVec_instDecidableForallBitVec___closed__1();

View file

@ -32,6 +32,7 @@ LEAN_EXPORT lean_object* l_Int_negOfNat___boxed(lean_object*);
LEAN_EXPORT lean_object* l_instCoeTailIntOfIntCast___rarg(lean_object*);
static lean_object* l_Int_instMul___closed__1;
static lean_object* l_Int___aux__Init__Data__Int__Basic______macroRules__Int__term_x2d_x5b___x2b1_x5d__1___closed__15;
LEAN_EXPORT lean_object* l_Int_toNat_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Int_instMax(lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Int_sign___boxed(lean_object*);
@ -81,6 +82,7 @@ LEAN_EXPORT lean_object* l_Int_ofNat___boxed(lean_object*);
static lean_object* l_Int___aux__Init__Data__Int__Basic______macroRules__Int__term_x2d_x5b___x2b1_x5d__1___closed__3;
LEAN_EXPORT lean_object* l_Int_subNatNat___boxed(lean_object*, lean_object*);
lean_object* lean_nat_abs(lean_object*);
LEAN_EXPORT lean_object* l_Int_toNat_x3f___boxed(lean_object*);
lean_object* lean_int_mul(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Int_instDecidableEq___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Int_toNat_x27___boxed(lean_object*);
@ -1001,7 +1003,7 @@ lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Int_toNat_x27(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Int_toNat_x3f(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3;
@ -1023,6 +1025,23 @@ return x_6;
}
}
}
LEAN_EXPORT lean_object* l_Int_toNat_x3f___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Int_toNat_x3f(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Int_toNat_x27(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Int_toNat_x3f(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Int_toNat_x27___boxed(lean_object* x_1) {
_start:
{

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Init.Data.Int.Bitwise
// Imports: Init.Data.Int.Basic Init.Data.Nat.Bitwise.Basic
// Imports: Init.Data.Int.Bitwise.Basic Init.Data.Int.Bitwise.Lemmas
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -13,158 +13,19 @@
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l_Int_instHShiftRightNat;
static lean_object* l_Int_instHShiftRightNat___closed__1;
LEAN_EXPORT lean_object* l_Int_not(lean_object*);
lean_object* lean_nat_shiftr(lean_object*, lean_object*);
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l_Int_not___closed__1;
static lean_object* l_Int_instComplement___closed__1;
LEAN_EXPORT lean_object* l_Int_shiftRight___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Int_shiftRight(lean_object*, lean_object*);
lean_object* lean_nat_abs(lean_object*);
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* lean_int_neg_succ_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Int_not___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Int_instComplement;
static lean_object* _init_l_Int_not___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Int_not(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3;
x_2 = l_Int_not___closed__1;
x_3 = lean_int_dec_lt(x_1, x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5;
x_4 = lean_nat_abs(x_1);
x_5 = lean_int_neg_succ_of_nat(x_4);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
x_6 = lean_nat_abs(x_1);
x_7 = lean_unsigned_to_nat(1u);
x_8 = lean_nat_sub(x_6, x_7);
lean_dec(x_6);
x_9 = lean_nat_to_int(x_8);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Int_not___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Int_not(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Int_instComplement___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Int_not___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Int_instComplement() {
_start:
{
lean_object* x_1;
x_1 = l_Int_instComplement___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Int_shiftRight(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4;
x_3 = l_Int_not___closed__1;
x_4 = lean_int_dec_lt(x_1, x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = lean_nat_abs(x_1);
x_6 = lean_nat_shiftr(x_5, x_2);
lean_dec(x_5);
x_7 = lean_nat_to_int(x_6);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
x_8 = lean_nat_abs(x_1);
x_9 = lean_unsigned_to_nat(1u);
x_10 = lean_nat_sub(x_8, x_9);
lean_dec(x_8);
x_11 = lean_nat_shiftr(x_10, x_2);
lean_dec(x_10);
x_12 = lean_int_neg_succ_of_nat(x_11);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Int_shiftRight___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Int_shiftRight(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l_Int_instHShiftRightNat___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Int_shiftRight___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Int_instHShiftRightNat() {
_start:
{
lean_object* x_1;
x_1 = l_Int_instHShiftRightNat___closed__1;
return x_1;
}
}
lean_object* initialize_Init_Data_Int_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Nat_Bitwise_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_Bitwise_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_Bitwise_Lemmas(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_Int_Bitwise(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_Int_Basic(builtin, lean_io_mk_world());
res = initialize_Init_Data_Int_Bitwise_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Nat_Bitwise_Basic(builtin, lean_io_mk_world());
res = initialize_Init_Data_Int_Bitwise_Lemmas(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Int_not___closed__1 = _init_l_Int_not___closed__1();
lean_mark_persistent(l_Int_not___closed__1);
l_Int_instComplement___closed__1 = _init_l_Int_instComplement___closed__1();
lean_mark_persistent(l_Int_instComplement___closed__1);
l_Int_instComplement = _init_l_Int_instComplement();
lean_mark_persistent(l_Int_instComplement);
l_Int_instHShiftRightNat___closed__1 = _init_l_Int_instHShiftRightNat___closed__1();
lean_mark_persistent(l_Int_instHShiftRightNat___closed__1);
l_Int_instHShiftRightNat = _init_l_Int_instHShiftRightNat();
lean_mark_persistent(l_Int_instHShiftRightNat);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus

View file

@ -0,0 +1,172 @@
// Lean compiler output
// Module: Init.Data.Int.Bitwise.Basic
// Imports: Init.Data.Int.Basic Init.Data.Nat.Bitwise.Basic
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l_Int_instHShiftRightNat;
static lean_object* l_Int_instHShiftRightNat___closed__1;
LEAN_EXPORT lean_object* l_Int_not(lean_object*);
lean_object* lean_nat_shiftr(lean_object*, lean_object*);
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l_Int_not___closed__1;
static lean_object* l_Int_instComplement___closed__1;
LEAN_EXPORT lean_object* l_Int_shiftRight___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Int_shiftRight(lean_object*, lean_object*);
lean_object* lean_nat_abs(lean_object*);
uint8_t lean_int_dec_lt(lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* lean_int_neg_succ_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Int_not___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Int_instComplement;
static lean_object* _init_l_Int_not___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Int_not(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3;
x_2 = l_Int_not___closed__1;
x_3 = lean_int_dec_lt(x_1, x_2);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5;
x_4 = lean_nat_abs(x_1);
x_5 = lean_int_neg_succ_of_nat(x_4);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
x_6 = lean_nat_abs(x_1);
x_7 = lean_unsigned_to_nat(1u);
x_8 = lean_nat_sub(x_6, x_7);
lean_dec(x_6);
x_9 = lean_nat_to_int(x_8);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Int_not___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Int_not(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Int_instComplement___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Int_not___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Int_instComplement() {
_start:
{
lean_object* x_1;
x_1 = l_Int_instComplement___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Int_shiftRight(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4;
x_3 = l_Int_not___closed__1;
x_4 = lean_int_dec_lt(x_1, x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = lean_nat_abs(x_1);
x_6 = lean_nat_shiftr(x_5, x_2);
lean_dec(x_5);
x_7 = lean_nat_to_int(x_6);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12;
x_8 = lean_nat_abs(x_1);
x_9 = lean_unsigned_to_nat(1u);
x_10 = lean_nat_sub(x_8, x_9);
lean_dec(x_8);
x_11 = lean_nat_shiftr(x_10, x_2);
lean_dec(x_10);
x_12 = lean_int_neg_succ_of_nat(x_11);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Int_shiftRight___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Int_shiftRight(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l_Int_instHShiftRightNat___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Int_shiftRight___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Int_instHShiftRightNat() {
_start:
{
lean_object* x_1;
x_1 = l_Int_instHShiftRightNat___closed__1;
return x_1;
}
}
lean_object* initialize_Init_Data_Int_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Nat_Bitwise_Basic(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_Int_Bitwise_Basic(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Data_Int_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Nat_Bitwise_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Int_not___closed__1 = _init_l_Int_not___closed__1();
lean_mark_persistent(l_Int_not___closed__1);
l_Int_instComplement___closed__1 = _init_l_Int_instComplement___closed__1();
lean_mark_persistent(l_Int_instComplement___closed__1);
l_Int_instComplement = _init_l_Int_instComplement();
lean_mark_persistent(l_Int_instComplement);
l_Int_instHShiftRightNat___closed__1 = _init_l_Int_instHShiftRightNat___closed__1();
lean_mark_persistent(l_Int_instHShiftRightNat___closed__1);
l_Int_instHShiftRightNat = _init_l_Int_instHShiftRightNat();
lean_mark_persistent(l_Int_instHShiftRightNat);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Init.Data.Int.Bitwise.Lemmas
// Imports: Init.Data.Nat.Bitwise.Lemmas Init.Data.Int.Bitwise Init.Data.Int.DivMod.Lemmas
// Imports: Init.Data.Nat.Bitwise.Lemmas Init.Data.Int.Bitwise.Basic Init.Data.Int.DivMod.Lemmas
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -75,7 +75,7 @@ return x_5;
}
}
lean_object* initialize_Init_Data_Nat_Bitwise_Lemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_Bitwise(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_Bitwise_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_Int_DivMod_Lemmas(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Data_Int_Bitwise_Lemmas(uint8_t builtin, lean_object* w) {
@ -85,7 +85,7 @@ _G_initialized = true;
res = initialize_Init_Data_Nat_Bitwise_Lemmas(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Int_Bitwise(builtin, lean_io_mk_world());
res = initialize_Init_Data_Int_Bitwise_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Init_Data_Int_DivMod_Lemmas(builtin, lean_io_mk_world());

View file

@ -5009,7 +5009,7 @@ x_10 = l_Vector_swapAt_x21___rarg___closed__2;
x_11 = lean_string_append(x_9, x_10);
x_12 = l_Vector_swapAt_x21___rarg___closed__3;
x_13 = l_Vector_swapAt_x21___rarg___closed__4;
x_14 = lean_unsigned_to_nat(316u);
x_14 = lean_unsigned_to_nat(314u);
x_15 = lean_unsigned_to_nat(4u);
x_16 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_12, x_13, x_14, x_15, x_11);
lean_dec(x_11);

View file

@ -1137,7 +1137,6 @@ static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tac
static lean_object* l_Lean_Parser_Tactic_applyRules___closed__7;
static lean_object* l_Lean_Parser_Tactic_runTac___closed__9;
static lean_object* l_Lean_Parser_Tactic_bvDecideMacro___closed__4;
static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__7;
static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__8;
static lean_object* l_Lean_Parser_Tactic_simp___closed__5;
static lean_object* l_Lean_Parser_Tactic_tacticSimp__all_x3f_x21_____closed__2;
@ -8625,9 +8624,9 @@ static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_as__aux__lemma___closed__7;
x_2 = l_Lean_Parser_Tactic_withAnnotateState___closed__11;
x_3 = l_Lean_Parser_Tactic_locationType___closed__15;
x_1 = l_Lean_Parser_Tactic_intros___closed__5;
x_2 = l_Lean_Parser_Tactic_intro___closed__18;
x_3 = l_Lean_Parser_Tactic_locationType;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -8638,20 +8637,22 @@ return x_4;
static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Tactic_locationType___closed__4;
x_2 = l_Lean_Parser_Tactic_locationHyp___closed__3;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_as__aux__lemma___closed__7;
x_2 = l_Lean_Parser_Tactic_intro___closed__15;
x_3 = l_Lean_Parser_Tactic_locationHyp___closed__3;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Parser_Tactic_rotateLeft___closed__6;
x_1 = l_Lean_Parser_Tactic_revert___closed__5;
x_2 = l_Lean_Parser_Tactic_locationHyp___closed__4;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_1);
@ -8663,23 +8664,9 @@ static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_as__aux__lemma___closed__7;
x_2 = l_Lean_Parser_Tactic_revert___closed__6;
x_3 = l_Lean_Parser_Tactic_locationHyp___closed__5;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Parser_Tactic_locationHyp___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_1 = l_Lean_Parser_Tactic_locationHyp___closed__1;
x_2 = l_Lean_Parser_Tactic_locationHyp___closed__2;
x_3 = l_Lean_Parser_Tactic_locationHyp___closed__6;
x_3 = l_Lean_Parser_Tactic_locationHyp___closed__5;
x_4 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
@ -8691,7 +8678,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_locationHyp() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Parser_Tactic_locationHyp___closed__7;
x_1 = l_Lean_Parser_Tactic_locationHyp___closed__6;
return x_1;
}
}
@ -27310,8 +27297,6 @@ l_Lean_Parser_Tactic_locationHyp___closed__5 = _init_l_Lean_Parser_Tactic_locati
lean_mark_persistent(l_Lean_Parser_Tactic_locationHyp___closed__5);
l_Lean_Parser_Tactic_locationHyp___closed__6 = _init_l_Lean_Parser_Tactic_locationHyp___closed__6();
lean_mark_persistent(l_Lean_Parser_Tactic_locationHyp___closed__6);
l_Lean_Parser_Tactic_locationHyp___closed__7 = _init_l_Lean_Parser_Tactic_locationHyp___closed__7();
lean_mark_persistent(l_Lean_Parser_Tactic_locationHyp___closed__7);
l_Lean_Parser_Tactic_locationHyp = _init_l_Lean_Parser_Tactic_locationHyp();
lean_mark_persistent(l_Lean_Parser_Tactic_locationHyp);
l_Lean_Parser_Tactic_location___closed__1 = _init_l_Lean_Parser_Tactic_location___closed__1();

File diff suppressed because it is too large Load diff

View file

@ -5276,7 +5276,7 @@ x_13 = l_Lean_IR_reshapeAux___closed__2;
x_14 = lean_string_append(x_12, x_13);
x_15 = l_Lean_IR_reshapeAux___closed__3;
x_16 = l_Lean_IR_reshapeAux___closed__4;
x_17 = lean_unsigned_to_nat(316u);
x_17 = lean_unsigned_to_nat(314u);
x_18 = lean_unsigned_to_nat(4u);
x_19 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_15, x_16, x_17, x_18, x_14);
lean_dec(x_14);

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Lean.DocString
// Imports: Lean.DocString.Extension Lean.Parser.Tactic.Doc Lean.Parser.Term.Doc
// Imports: Lean.DocString.Extension Lean.DocString.Links Lean.Parser.Tactic.Doc Lean.Parser.Term.Doc
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -20,6 +20,7 @@ lean_object* l_Lean_findSimpleDocString_x3f(lean_object*, lean_object*, uint8_t,
lean_object* l_Lean_Parser_Tactic_Doc_getTacticExtensionString(lean_object*, lean_object*);
lean_object* l_Lean_Parser_Term_Doc_getRecommendedSpellingString(lean_object*, lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* l_Lean_rewriteManualLinks(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_findDocString_x3f(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) {
_start:
{
@ -69,183 +70,197 @@ return x_15;
}
else
{
uint8_t x_16;
x_16 = !lean_is_exclusive(x_8);
if (x_16 == 0)
{
lean_object* x_17; uint8_t x_18;
x_17 = lean_ctor_get(x_8, 0);
lean_dec(x_17);
x_18 = !lean_is_exclusive(x_9);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_19 = lean_ctor_get(x_9, 0);
x_20 = lean_string_append(x_19, x_6);
lean_dec(x_6);
x_21 = lean_string_append(x_20, x_7);
lean_dec(x_7);
lean_ctor_set(x_9, 0, x_21);
return x_8;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_22 = lean_ctor_get(x_9, 0);
lean_inc(x_22);
lean_dec(x_9);
x_23 = lean_string_append(x_22, x_6);
lean_dec(x_6);
x_24 = lean_string_append(x_23, x_7);
lean_dec(x_7);
x_25 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_8, 0, x_25);
return x_8;
}
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32;
x_26 = lean_ctor_get(x_8, 1);
lean_inc(x_26);
lean_object* x_16; uint8_t x_17;
x_16 = lean_ctor_get(x_8, 1);
lean_inc(x_16);
lean_dec(x_8);
x_17 = !lean_is_exclusive(x_9);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22;
x_18 = lean_ctor_get(x_9, 0);
x_19 = lean_string_append(x_18, x_6);
lean_dec(x_6);
x_20 = lean_string_append(x_19, x_7);
lean_dec(x_7);
x_21 = l_Lean_rewriteManualLinks(x_20, x_16);
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23;
x_23 = lean_ctor_get(x_21, 0);
lean_ctor_set(x_9, 0, x_23);
lean_ctor_set(x_21, 0, x_9);
return x_21;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26;
x_24 = lean_ctor_get(x_21, 0);
x_25 = lean_ctor_get(x_21, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_21);
lean_ctor_set(x_9, 0, x_24);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_9);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
x_27 = lean_ctor_get(x_9, 0);
lean_inc(x_27);
if (lean_is_exclusive(x_9)) {
lean_ctor_release(x_9, 0);
x_28 = x_9;
} else {
lean_dec_ref(x_9);
x_28 = lean_box(0);
}
x_29 = lean_string_append(x_27, x_6);
lean_dec(x_9);
x_28 = lean_string_append(x_27, x_6);
lean_dec(x_6);
x_30 = lean_string_append(x_29, x_7);
x_29 = lean_string_append(x_28, x_7);
lean_dec(x_7);
if (lean_is_scalar(x_28)) {
x_31 = lean_alloc_ctor(1, 1, 0);
x_30 = l_Lean_rewriteManualLinks(x_29, x_16);
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
x_32 = lean_ctor_get(x_30, 1);
lean_inc(x_32);
if (lean_is_exclusive(x_30)) {
lean_ctor_release(x_30, 0);
lean_ctor_release(x_30, 1);
x_33 = x_30;
} else {
x_31 = x_28;
lean_dec_ref(x_30);
x_33 = lean_box(0);
}
lean_ctor_set(x_31, 0, x_30);
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_26);
return x_32;
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_31);
if (lean_is_scalar(x_33)) {
x_35 = lean_alloc_ctor(0, 2, 0);
} else {
x_35 = x_33;
}
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_32);
return x_35;
}
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40;
lean_dec(x_2);
x_33 = lean_ctor_get(x_5, 0);
lean_inc(x_33);
x_36 = lean_ctor_get(x_5, 0);
lean_inc(x_36);
lean_dec(x_5);
lean_inc(x_33);
lean_inc(x_36);
lean_inc(x_1);
x_34 = l_Lean_Parser_Tactic_Doc_getTacticExtensionString(x_1, x_33);
lean_inc(x_33);
x_37 = l_Lean_Parser_Tactic_Doc_getTacticExtensionString(x_1, x_36);
lean_inc(x_36);
lean_inc(x_1);
x_35 = l_Lean_Parser_Term_Doc_getRecommendedSpellingString(x_1, x_33);
x_36 = l_Lean_findSimpleDocString_x3f(x_1, x_33, x_3, x_4);
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
if (lean_obj_tag(x_37) == 0)
x_38 = l_Lean_Parser_Term_Doc_getRecommendedSpellingString(x_1, x_36);
x_39 = l_Lean_findSimpleDocString_x3f(x_1, x_36, x_3, x_4);
x_40 = lean_ctor_get(x_39, 0);
lean_inc(x_40);
if (lean_obj_tag(x_40) == 0)
{
uint8_t x_38;
lean_dec(x_35);
lean_dec(x_34);
x_38 = !lean_is_exclusive(x_36);
if (x_38 == 0)
{
lean_object* x_39; lean_object* x_40;
x_39 = lean_ctor_get(x_36, 0);
lean_dec(x_39);
x_40 = lean_box(0);
lean_ctor_set(x_36, 0, x_40);
return x_36;
}
else
{
lean_object* x_41; lean_object* x_42; lean_object* x_43;
x_41 = lean_ctor_get(x_36, 1);
lean_inc(x_41);
lean_dec(x_36);
x_42 = lean_box(0);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_41);
return x_43;
}
}
else
{
uint8_t x_44;
x_44 = !lean_is_exclusive(x_36);
if (x_44 == 0)
{
lean_object* x_45; uint8_t x_46;
x_45 = lean_ctor_get(x_36, 0);
lean_dec(x_45);
x_46 = !lean_is_exclusive(x_37);
if (x_46 == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49;
x_47 = lean_ctor_get(x_37, 0);
x_48 = lean_string_append(x_47, x_34);
lean_dec(x_34);
x_49 = lean_string_append(x_48, x_35);
lean_dec(x_35);
lean_ctor_set(x_37, 0, x_49);
return x_36;
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
x_50 = lean_ctor_get(x_37, 0);
lean_inc(x_50);
uint8_t x_41;
lean_dec(x_38);
lean_dec(x_37);
x_51 = lean_string_append(x_50, x_34);
lean_dec(x_34);
x_52 = lean_string_append(x_51, x_35);
lean_dec(x_35);
x_53 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_36, 0, x_53);
return x_36;
x_41 = !lean_is_exclusive(x_39);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43;
x_42 = lean_ctor_get(x_39, 0);
lean_dec(x_42);
x_43 = lean_box(0);
lean_ctor_set(x_39, 0, x_43);
return x_39;
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46;
x_44 = lean_ctor_get(x_39, 1);
lean_inc(x_44);
lean_dec(x_39);
x_45 = lean_box(0);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_44);
return x_46;
}
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60;
x_54 = lean_ctor_get(x_36, 1);
lean_inc(x_54);
lean_dec(x_36);
x_55 = lean_ctor_get(x_37, 0);
lean_object* x_47; uint8_t x_48;
x_47 = lean_ctor_get(x_39, 1);
lean_inc(x_47);
lean_dec(x_39);
x_48 = !lean_is_exclusive(x_40);
if (x_48 == 0)
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53;
x_49 = lean_ctor_get(x_40, 0);
x_50 = lean_string_append(x_49, x_37);
lean_dec(x_37);
x_51 = lean_string_append(x_50, x_38);
lean_dec(x_38);
x_52 = l_Lean_rewriteManualLinks(x_51, x_47);
x_53 = !lean_is_exclusive(x_52);
if (x_53 == 0)
{
lean_object* x_54;
x_54 = lean_ctor_get(x_52, 0);
lean_ctor_set(x_40, 0, x_54);
lean_ctor_set(x_52, 0, x_40);
return x_52;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57;
x_55 = lean_ctor_get(x_52, 0);
x_56 = lean_ctor_get(x_52, 1);
lean_inc(x_56);
lean_inc(x_55);
if (lean_is_exclusive(x_37)) {
lean_ctor_release(x_37, 0);
x_56 = x_37;
} else {
lean_dec_ref(x_37);
x_56 = lean_box(0);
lean_dec(x_52);
lean_ctor_set(x_40, 0, x_55);
x_57 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_57, 0, x_40);
lean_ctor_set(x_57, 1, x_56);
return x_57;
}
x_57 = lean_string_append(x_55, x_34);
lean_dec(x_34);
x_58 = lean_string_append(x_57, x_35);
lean_dec(x_35);
if (lean_is_scalar(x_56)) {
x_59 = lean_alloc_ctor(1, 1, 0);
} else {
x_59 = x_56;
}
lean_ctor_set(x_59, 0, x_58);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_60, 1, x_54);
return x_60;
else
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66;
x_58 = lean_ctor_get(x_40, 0);
lean_inc(x_58);
lean_dec(x_40);
x_59 = lean_string_append(x_58, x_37);
lean_dec(x_37);
x_60 = lean_string_append(x_59, x_38);
lean_dec(x_38);
x_61 = l_Lean_rewriteManualLinks(x_60, x_47);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
if (lean_is_exclusive(x_61)) {
lean_ctor_release(x_61, 0);
lean_ctor_release(x_61, 1);
x_64 = x_61;
} else {
lean_dec_ref(x_61);
x_64 = lean_box(0);
}
x_65 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_65, 0, x_62);
if (lean_is_scalar(x_64)) {
x_66 = lean_alloc_ctor(0, 2, 0);
} else {
x_66 = x_64;
}
lean_ctor_set(x_66, 0, x_65);
lean_ctor_set(x_66, 1, x_63);
return x_66;
}
}
}
@ -262,6 +277,7 @@ return x_6;
}
}
lean_object* initialize_Lean_DocString_Extension(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_DocString_Links(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Parser_Tactic_Doc(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Parser_Term_Doc(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
@ -272,6 +288,9 @@ _G_initialized = true;
res = initialize_Lean_DocString_Extension(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_DocString_Links(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Parser_Tactic_Doc(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);

854
stage0/stdlib/Lean/DocString/Add.c generated Normal file
View file

@ -0,0 +1,854 @@
// Lean compiler output
// Module: Lean.DocString.Add
// Imports: Lean.Environment Lean.Exception Lean.Log Lean.DocString.Extension Lean.DocString.Links
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2(lean_object*, lean_object*);
lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
lean_object* l_String_removeLeadingSpaces(lean_object*);
lean_object* l_Lean_rewriteManualLinksCore(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_log___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_addDocString___rarg___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_validateDocComment(lean_object*);
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_getDocStringText___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__2___boxed(lean_object*, lean_object*);
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__6(lean_object*, 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_addDocString___rarg___lambda__6___closed__2;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocString___rarg___lambda__6___closed__3;
extern lean_object* l_Lean_docStringExt;
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
lean_object* l_Lean_TSyntax_getDocString(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__2(lean_object*, lean_object*);
static lean_object* l_Lean_addDocString___rarg___lambda__6___closed__1;
lean_object* l_Lean_logAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t);
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__1(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__5___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
size_t lean_usize_add(size_t, size_t);
lean_object* lean_array_uget(lean_object*, size_t);
size_t lean_array_size(lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_addDocString___rarg___lambda__5(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString_x27(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13) {
_start:
{
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
lean_dec(x_13);
x_15 = lean_ctor_get(x_1, 0);
lean_inc(x_15);
lean_dec(x_1);
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
lean_dec(x_15);
x_17 = lean_apply_2(x_16, lean_box(0), x_14);
return x_17;
}
else
{
lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21;
x_18 = lean_ctor_get(x_13, 0);
lean_inc(x_18);
lean_dec(x_13);
x_19 = 1;
x_20 = lean_usize_add(x_2, x_19);
x_21 = l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20, x_18);
return x_21;
}
}
}
static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
lean_dec(x_1);
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
lean_dec(x_3);
x_5 = l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___closed__1;
x_6 = lean_apply_2(x_4, lean_box(0), x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13) {
_start:
{
uint8_t x_14;
x_14 = lean_usize_dec_lt(x_12, x_11);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17;
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_15 = lean_ctor_get(x_1, 0);
lean_inc(x_15);
lean_dec(x_1);
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
lean_dec(x_15);
x_17 = lean_apply_2(x_16, lean_box(0), x_13);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
lean_dec(x_13);
x_18 = lean_array_uget(x_10, x_12);
x_19 = lean_ctor_get(x_1, 1);
lean_inc(x_19);
x_20 = lean_box_usize(x_12);
x_21 = lean_box_usize(x_11);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
lean_inc(x_2);
lean_inc(x_1);
x_22 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__1___boxed), 13, 12);
lean_closure_set(x_22, 0, x_1);
lean_closure_set(x_22, 1, x_20);
lean_closure_set(x_22, 2, x_2);
lean_closure_set(x_22, 3, x_3);
lean_closure_set(x_22, 4, x_4);
lean_closure_set(x_22, 5, x_5);
lean_closure_set(x_22, 6, x_6);
lean_closure_set(x_22, 7, x_7);
lean_closure_set(x_22, 8, x_8);
lean_closure_set(x_22, 9, x_9);
lean_closure_set(x_22, 10, x_10);
lean_closure_set(x_22, 11, x_21);
x_23 = lean_ctor_get(x_18, 0);
lean_inc(x_23);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
lean_dec(x_23);
lean_dec(x_5);
x_24 = lean_ctor_get(x_18, 1);
lean_inc(x_24);
lean_dec(x_18);
x_25 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = l_Lean_MessageData_ofFormat(x_25);
x_27 = 2;
lean_inc(x_1);
x_28 = l_Lean_log___rarg(x_1, x_2, x_3, x_4, x_26, x_27);
x_29 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___boxed), 2, 1);
lean_closure_set(x_29, 0, x_1);
x_30 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_28, x_29);
x_31 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_30, x_22);
return x_31;
}
else
{
lean_object* x_32; uint8_t x_33;
x_32 = lean_ctor_get(x_18, 1);
lean_inc(x_32);
lean_dec(x_18);
x_33 = !lean_is_exclusive(x_23);
if (x_33 == 0)
{
uint8_t x_34;
x_34 = !lean_is_exclusive(x_7);
if (x_34 == 0)
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48;
x_35 = lean_ctor_get(x_23, 0);
x_36 = lean_ctor_get(x_23, 1);
x_37 = lean_ctor_get(x_7, 0);
x_38 = lean_nat_add(x_37, x_35);
x_39 = lean_nat_add(x_37, x_36);
lean_dec(x_37);
x_40 = 0;
x_41 = lean_alloc_ctor(1, 2, 1);
lean_ctor_set(x_41, 0, x_38);
lean_ctor_set(x_41, 1, x_39);
lean_ctor_set_uint8(x_41, sizeof(void*)*2, x_40);
x_42 = lean_string_utf8_extract(x_5, x_35, x_36);
lean_dec(x_36);
lean_dec(x_35);
lean_dec(x_5);
lean_ctor_set_tag(x_23, 2);
lean_ctor_set(x_23, 1, x_42);
lean_ctor_set(x_23, 0, x_41);
lean_ctor_set_tag(x_7, 3);
lean_ctor_set(x_7, 0, x_32);
x_43 = l_Lean_MessageData_ofFormat(x_7);
x_44 = 2;
lean_inc(x_1);
x_45 = l_Lean_logAt___rarg(x_1, x_2, x_3, x_4, x_23, x_43, x_44, x_40);
x_46 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___boxed), 2, 1);
lean_closure_set(x_46, 0, x_1);
x_47 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_45, x_46);
x_48 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_47, x_22);
return x_48;
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63;
x_49 = lean_ctor_get(x_23, 0);
x_50 = lean_ctor_get(x_23, 1);
x_51 = lean_ctor_get(x_7, 0);
lean_inc(x_51);
lean_dec(x_7);
x_52 = lean_nat_add(x_51, x_49);
x_53 = lean_nat_add(x_51, x_50);
lean_dec(x_51);
x_54 = 0;
x_55 = lean_alloc_ctor(1, 2, 1);
lean_ctor_set(x_55, 0, x_52);
lean_ctor_set(x_55, 1, x_53);
lean_ctor_set_uint8(x_55, sizeof(void*)*2, x_54);
x_56 = lean_string_utf8_extract(x_5, x_49, x_50);
lean_dec(x_50);
lean_dec(x_49);
lean_dec(x_5);
lean_ctor_set_tag(x_23, 2);
lean_ctor_set(x_23, 1, x_56);
lean_ctor_set(x_23, 0, x_55);
x_57 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_57, 0, x_32);
x_58 = l_Lean_MessageData_ofFormat(x_57);
x_59 = 2;
lean_inc(x_1);
x_60 = l_Lean_logAt___rarg(x_1, x_2, x_3, x_4, x_23, x_58, x_59, x_54);
x_61 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___boxed), 2, 1);
lean_closure_set(x_61, 0, x_1);
x_62 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_60, x_61);
x_63 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_62, x_22);
return x_63;
}
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80;
x_64 = lean_ctor_get(x_23, 0);
x_65 = lean_ctor_get(x_23, 1);
lean_inc(x_65);
lean_inc(x_64);
lean_dec(x_23);
x_66 = lean_ctor_get(x_7, 0);
lean_inc(x_66);
if (lean_is_exclusive(x_7)) {
lean_ctor_release(x_7, 0);
x_67 = x_7;
} else {
lean_dec_ref(x_7);
x_67 = lean_box(0);
}
x_68 = lean_nat_add(x_66, x_64);
x_69 = lean_nat_add(x_66, x_65);
lean_dec(x_66);
x_70 = 0;
x_71 = lean_alloc_ctor(1, 2, 1);
lean_ctor_set(x_71, 0, x_68);
lean_ctor_set(x_71, 1, x_69);
lean_ctor_set_uint8(x_71, sizeof(void*)*2, x_70);
x_72 = lean_string_utf8_extract(x_5, x_64, x_65);
lean_dec(x_65);
lean_dec(x_64);
lean_dec(x_5);
x_73 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
if (lean_is_scalar(x_67)) {
x_74 = lean_alloc_ctor(3, 1, 0);
} else {
x_74 = x_67;
lean_ctor_set_tag(x_74, 3);
}
lean_ctor_set(x_74, 0, x_32);
x_75 = l_Lean_MessageData_ofFormat(x_74);
x_76 = 2;
lean_inc(x_1);
x_77 = l_Lean_logAt___rarg(x_1, x_2, x_3, x_4, x_73, x_75, x_76, x_70);
x_78 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___boxed), 2, 1);
lean_closure_set(x_78, 0, x_1);
x_79 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_77, x_78);
x_80 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_79, x_22);
return x_80;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___boxed), 13, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4;
x_3 = l_Lean_rewriteManualLinksCore(x_1, x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_3, 1);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_3);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
lean_dec(x_1);
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
lean_dec(x_3);
x_5 = lean_box(0);
x_6 = lean_apply_2(x_4, lean_box(0), x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec(x_8);
x_10 = lean_box(0);
x_11 = lean_array_size(x_9);
x_12 = 0;
x_13 = lean_box(0);
lean_inc(x_9);
lean_inc(x_6);
lean_inc(x_1);
x_14 = l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_9, x_10, x_9, x_11, x_12, x_13);
x_15 = lean_alloc_closure((void*)(l_Lean_validateDocComment___rarg___lambda__2___boxed), 2, 1);
lean_closure_set(x_15, 0, x_1);
x_16 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_14, x_15);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
x_7 = l_Lean_TSyntax_getDocString(x_6);
x_8 = lean_unsigned_to_nat(1u);
x_9 = l_Lean_Syntax_getArg(x_6, x_8);
x_10 = l_Lean_Syntax_getHeadInfo_x3f(x_9);
lean_dec(x_9);
x_11 = lean_ctor_get(x_1, 1);
lean_inc(x_11);
lean_inc(x_7);
x_12 = lean_alloc_closure((void*)(l_Lean_validateDocComment___rarg___lambda__1), 2, 1);
lean_closure_set(x_12, 0, x_7);
x_13 = lean_apply_2(x_5, lean_box(0), x_12);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16;
x_14 = lean_box(0);
lean_inc(x_11);
x_15 = lean_alloc_closure((void*)(l_Lean_validateDocComment___rarg___lambda__3), 8, 7);
lean_closure_set(x_15, 0, x_1);
lean_closure_set(x_15, 1, x_2);
lean_closure_set(x_15, 2, x_3);
lean_closure_set(x_15, 3, x_4);
lean_closure_set(x_15, 4, x_7);
lean_closure_set(x_15, 5, x_11);
lean_closure_set(x_15, 6, x_14);
x_16 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_15);
return x_16;
}
else
{
lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_17 = lean_ctor_get(x_10, 0);
lean_inc(x_17);
lean_dec(x_10);
x_18 = 0;
x_19 = l_Lean_SourceInfo_getPos_x3f(x_17, x_18);
lean_dec(x_17);
lean_inc(x_11);
x_20 = lean_alloc_closure((void*)(l_Lean_validateDocComment___rarg___lambda__3), 8, 7);
lean_closure_set(x_20, 0, x_1);
lean_closure_set(x_20, 1, x_2);
lean_closure_set(x_20, 2, x_3);
lean_closure_set(x_20, 3, x_4);
lean_closure_set(x_20, 4, x_7);
lean_closure_set(x_20, 5, x_11);
lean_closure_set(x_20, 6, x_19);
x_21 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_20);
return x_21;
}
}
}
LEAN_EXPORT lean_object* l_Lean_validateDocComment(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lean_validateDocComment___rarg___boxed), 6, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
size_t x_14; size_t x_15; lean_object* x_16;
x_14 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_15 = lean_unbox_usize(x_12);
lean_dec(x_12);
x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15, x_13);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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_11);
lean_dec(x_11);
x_15 = lean_unbox_usize(x_12);
lean_dec(x_12);
x_16 = l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14, x_15, x_13);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3;
x_3 = l_Lean_validateDocComment___rarg___lambda__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_validateDocComment___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7;
x_7 = l_Lean_validateDocComment___rarg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
return x_7;
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__1___closed__1() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_docStringExt;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = l_String_removeLeadingSpaces(x_1);
x_5 = l_Lean_addDocString___rarg___lambda__1___closed__1;
x_6 = l_Lean_MapDeclarationExtension_insert___rarg(x_5, x_3, x_2, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__1), 3, 2);
lean_closure_set(x_5, 0, x_3);
lean_closure_set(x_5, 1, x_2);
x_6 = lean_apply_1(x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10;
x_8 = l_Lean_getDocStringText___rarg(x_1, x_2, x_3);
x_9 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__2), 3, 2);
lean_closure_set(x_9, 0, x_4);
lean_closure_set(x_9, 1, x_5);
x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; lean_object* x_13; lean_object* x_14;
lean_inc(x_1);
x_12 = l_Lean_validateDocComment___rarg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_inc(x_10);
x_13 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__3___boxed), 7, 6);
lean_closure_set(x_13, 0, x_1);
lean_closure_set(x_13, 1, x_7);
lean_closure_set(x_13, 2, x_6);
lean_closure_set(x_13, 3, x_8);
lean_closure_set(x_13, 4, x_9);
lean_closure_set(x_13, 5, x_10);
x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13);
return x_14;
}
}
LEAN_EXPORT uint8_t l_Lean_addDocString___rarg___lambda__5(lean_object* x_1) {
_start:
{
uint8_t x_2;
x_2 = 0;
return x_2;
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__6___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__5___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__6___closed__2() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("invalid doc string, declaration '", 33, 33);
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__6___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("' is in an imported module", 26, 26);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; lean_object* x_13;
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_7);
lean_inc(x_1);
x_12 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__4___boxed), 11, 10);
lean_closure_set(x_12, 0, x_1);
lean_closure_set(x_12, 1, x_2);
lean_closure_set(x_12, 2, x_3);
lean_closure_set(x_12, 3, x_4);
lean_closure_set(x_12, 4, x_5);
lean_closure_set(x_12, 5, x_6);
lean_closure_set(x_12, 6, x_7);
lean_closure_set(x_12, 7, x_8);
lean_closure_set(x_12, 8, x_9);
lean_closure_set(x_12, 9, x_10);
x_13 = l_Lean_Environment_getModuleIdxFor_x3f(x_11, x_9);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
lean_dec(x_9);
lean_dec(x_7);
x_14 = lean_ctor_get(x_1, 0);
lean_inc(x_14);
lean_dec(x_1);
x_15 = lean_ctor_get(x_14, 1);
lean_inc(x_15);
lean_dec(x_14);
x_16 = lean_box(0);
x_17 = lean_apply_2(x_15, lean_box(0), x_16);
x_18 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_17, x_12);
return x_18;
}
else
{
uint8_t x_19;
x_19 = !lean_is_exclusive(x_13);
if (x_19 == 0)
{
lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
x_20 = lean_ctor_get(x_13, 0);
lean_dec(x_20);
x_21 = 1;
x_22 = l_Lean_addDocString___rarg___lambda__6___closed__1;
x_23 = l_Lean_Name_toString(x_9, x_21, x_22);
x_24 = l_Lean_addDocString___rarg___lambda__6___closed__2;
x_25 = lean_string_append(x_24, x_23);
lean_dec(x_23);
x_26 = l_Lean_addDocString___rarg___lambda__6___closed__3;
x_27 = lean_string_append(x_25, x_26);
lean_ctor_set_tag(x_13, 3);
lean_ctor_set(x_13, 0, x_27);
x_28 = l_Lean_MessageData_ofFormat(x_13);
x_29 = l_Lean_throwError___rarg(x_1, x_7, x_28);
x_30 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_29, x_12);
return x_30;
}
else
{
uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
lean_dec(x_13);
x_31 = 1;
x_32 = l_Lean_addDocString___rarg___lambda__6___closed__1;
x_33 = l_Lean_Name_toString(x_9, x_31, x_32);
x_34 = l_Lean_addDocString___rarg___lambda__6___closed__2;
x_35 = lean_string_append(x_34, x_33);
lean_dec(x_33);
x_36 = l_Lean_addDocString___rarg___lambda__6___closed__3;
x_37 = lean_string_append(x_35, x_36);
x_38 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_38, 0, x_37);
x_39 = l_Lean_MessageData_ofFormat(x_38);
x_40 = l_Lean_throwError___rarg(x_1, x_7, x_39);
x_41 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_40, x_12);
return x_41;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
x_10 = lean_ctor_get(x_1, 1);
lean_inc(x_10);
x_11 = lean_ctor_get(x_3, 0);
lean_inc(x_11);
lean_inc(x_10);
x_12 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__6___boxed), 11, 10);
lean_closure_set(x_12, 0, x_1);
lean_closure_set(x_12, 1, x_4);
lean_closure_set(x_12, 2, x_5);
lean_closure_set(x_12, 3, x_6);
lean_closure_set(x_12, 4, x_7);
lean_closure_set(x_12, 5, x_9);
lean_closure_set(x_12, 6, x_2);
lean_closure_set(x_12, 7, x_3);
lean_closure_set(x_12, 8, x_8);
lean_closure_set(x_12, 9, x_10);
x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg), 9, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8;
x_8 = l_Lean_addDocString___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12;
x_12 = l_Lean_addDocString___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_11);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__5___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_Lean_addDocString___rarg___lambda__5(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12;
x_12 = l_Lean_addDocString___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_11);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_10 = lean_ctor_get(x_1, 0);
lean_inc(x_10);
lean_dec(x_1);
x_11 = lean_ctor_get(x_10, 1);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_box(0);
x_13 = lean_apply_2(x_11, lean_box(0), x_12);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15;
x_14 = lean_ctor_get(x_9, 0);
lean_inc(x_14);
lean_dec(x_9);
x_15 = l_Lean_addDocString___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14);
return x_15;
}
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString_x27(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lean_addDocString_x27___rarg), 9, 0);
return x_2;
}
}
lean_object* initialize_Lean_Environment(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Exception(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Log(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_DocString_Extension(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_DocString_Links(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_DocString_Add(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Environment(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Exception(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Log(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_DocString_Extension(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_DocString_Links(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___closed__1 = _init_l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___closed__1();
lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at_Lean_validateDocComment___spec__1___rarg___lambda__2___closed__1);
l_Lean_addDocString___rarg___lambda__1___closed__1 = _init_l_Lean_addDocString___rarg___lambda__1___closed__1();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__1___closed__1);
l_Lean_addDocString___rarg___lambda__6___closed__1 = _init_l_Lean_addDocString___rarg___lambda__6___closed__1();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__6___closed__1);
l_Lean_addDocString___rarg___lambda__6___closed__2 = _init_l_Lean_addDocString___rarg___lambda__6___closed__2();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__6___closed__2);
l_Lean_addDocString___rarg___lambda__6___closed__3 = _init_l_Lean_addDocString___rarg___lambda__6___closed__3();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__6___closed__3);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Lean.DocString.Extension
// Imports: Lean.DeclarationRange Lean.MonadEnv Init.Data.String.Extra
// Imports: Lean.DeclarationRange Lean.DocString.Links Lean.MonadEnv Init.Data.String.Extra
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -13,102 +13,102 @@
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__8;
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_44____closed__3;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__1;
LEAN_EXPORT lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__15;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__2;
LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore(lean_object*);
lean_object* l_Lean_indentD(lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_3_(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__13;
static lean_object* l_Lean_addBuiltinDocString___closed__1;
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__14;
lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*);
lean_object* l_String_removeLeadingSpaces(lean_object*);
LEAN_EXPORT lean_object* l_Lean_getDocStringText(lean_object*);
static lean_object* l_Lean_addDocString___rarg___lambda__4___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__13;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__3___boxed(lean_object*);
static lean_object* l_Lean_addDocString___rarg___lambda__4___closed__1;
static lean_object* l_Lean_addDocString___rarg___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___boxed(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__12;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocStringCore___rarg___lambda__4___closed__3;
static lean_object* l_Lean_addDocStringCore___rarg___lambda__4___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__10;
lean_object* l_Lean_stringToMessageData(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__5;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
lean_object* lean_string_utf8_byte_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__7;
LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_moduleDocExt;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_DocString_Extension_0__Lean_builtinDocStrings;
lean_object* lean_st_ref_take(lean_object*, lean_object*);
lean_object* l_List_toArray___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_getDocStringText___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1(lean_object*);
lean_object* l_Lean_MessageData_ofSyntax(lean_object*);
LEAN_EXPORT lean_object* l_Lean_findSimpleDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*);
lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addMainModuleDoc(lean_object*, lean_object*);
static lean_object* l_Lean_getDocStringText___rarg___closed__4;
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_get(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__3;
lean_object* lean_st_mk_ref(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__4;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__6;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
static lean_object* l_Lean_addDocStringCore___rarg___lambda__4___closed__1;
lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
extern lean_object* l_String_instInhabited;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__1;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__5;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_docStringExt;
static lean_object* l_Lean_getDocStringText___rarg___closed__3;
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__3;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_findSimpleDocString_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocStringCore___rarg___lambda__1___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_44____closed__1;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getMainModuleDoc(lean_object*);
LEAN_EXPORT lean_object* l_Lean_getModuleDoc_x3f(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__11;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__15;
lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_getModuleDoc_x3f___closed__1;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377_(lean_object*);
lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__10;
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__4;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_44_(lean_object*);
static lean_object* l_Lean_addMainModuleDoc___closed__1;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
lean_object* l_Lean_Environment_getModuleIdx_x3f(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__11;
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*);
lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*, uint8_t);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_44____closed__2;
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__6;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__1;
static lean_object* l_Lean_getDocStringText___rarg___closed__2;
lean_object* l_Lean_instInhabitedPersistentArray(lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___boxed(lean_object*);
static lean_object* l_Lean_getMainModuleDoc___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__3;
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocString___rarg___lambda__4___closed__3;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__7;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__14;
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__3;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__2;
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__3___boxed(lean_object*);
lean_object* l_Lean_RBNode_find___at_Lean_NameMap_find_x3f___spec__1___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__8;
static lean_object* l_Lean_getDocStringText___rarg___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__9;
LEAN_EXPORT lean_object* l_Lean_addDocString_x27(lean_object*);
LEAN_EXPORT uint8_t l_Lean_addDocString___rarg___lambda__3(lean_object*);
LEAN_EXPORT uint8_t l_Lean_addDocStringCore___rarg___lambda__3(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__9;
static lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__12;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_3_(lean_object* x_1) {
_start:
{
@ -212,7 +212,7 @@ return x_14;
}
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__1___closed__1() {
static lean_object* _init_l_Lean_addDocStringCore___rarg___lambda__1___closed__1() {
_start:
{
lean_object* x_1;
@ -220,31 +220,31 @@ x_1 = l_Lean_docStringExt;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_4 = l_String_removeLeadingSpaces(x_1);
x_5 = l_Lean_addDocString___rarg___lambda__1___closed__1;
x_5 = l_Lean_addDocStringCore___rarg___lambda__1___closed__1;
x_6 = l_Lean_MapDeclarationExtension_insert___rarg(x_5, x_3, x_2, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
lean_dec(x_1);
x_6 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__1), 3, 2);
x_6 = lean_alloc_closure((void*)(l_Lean_addDocStringCore___rarg___lambda__1), 3, 2);
lean_closure_set(x_6, 0, x_2);
lean_closure_set(x_6, 1, x_3);
x_7 = lean_apply_1(x_5, x_6);
return x_7;
}
}
LEAN_EXPORT uint8_t l_Lean_addDocString___rarg___lambda__3(lean_object* x_1) {
LEAN_EXPORT uint8_t l_Lean_addDocStringCore___rarg___lambda__3(lean_object* x_1) {
_start:
{
uint8_t x_2;
@ -252,15 +252,15 @@ x_2 = 0;
return x_2;
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__4___closed__1() {
static lean_object* _init_l_Lean_addDocStringCore___rarg___lambda__4___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__3___boxed), 1, 0);
x_1 = lean_alloc_closure((void*)(l_Lean_addDocStringCore___rarg___lambda__3___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__4___closed__2() {
static lean_object* _init_l_Lean_addDocStringCore___rarg___lambda__4___closed__2() {
_start:
{
lean_object* x_1;
@ -268,7 +268,7 @@ x_1 = lean_mk_string_unchecked("invalid doc string, declaration '", 33, 33);
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___rarg___lambda__4___closed__3() {
static lean_object* _init_l_Lean_addDocStringCore___rarg___lambda__4___closed__3() {
_start:
{
lean_object* x_1;
@ -276,12 +276,12 @@ x_1 = lean_mk_string_unchecked("' is in an imported module", 26, 26);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9;
lean_inc(x_3);
x_8 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__2___boxed), 4, 3);
x_8 = lean_alloc_closure((void*)(l_Lean_addDocStringCore___rarg___lambda__2___boxed), 4, 3);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, x_2);
lean_closure_set(x_8, 2, x_3);
@ -312,12 +312,12 @@ lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_obje
x_16 = lean_ctor_get(x_9, 0);
lean_dec(x_16);
x_17 = 1;
x_18 = l_Lean_addDocString___rarg___lambda__4___closed__1;
x_18 = l_Lean_addDocStringCore___rarg___lambda__4___closed__1;
x_19 = l_Lean_Name_toString(x_3, x_17, x_18);
x_20 = l_Lean_addDocString___rarg___lambda__4___closed__2;
x_20 = l_Lean_addDocStringCore___rarg___lambda__4___closed__2;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
x_22 = l_Lean_addDocString___rarg___lambda__4___closed__3;
x_22 = l_Lean_addDocStringCore___rarg___lambda__4___closed__3;
x_23 = lean_string_append(x_21, x_22);
lean_ctor_set_tag(x_9, 3);
lean_ctor_set(x_9, 0, x_23);
@ -331,12 +331,12 @@ else
uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
lean_dec(x_9);
x_27 = 1;
x_28 = l_Lean_addDocString___rarg___lambda__4___closed__1;
x_28 = l_Lean_addDocStringCore___rarg___lambda__4___closed__1;
x_29 = l_Lean_Name_toString(x_3, x_27, x_28);
x_30 = l_Lean_addDocString___rarg___lambda__4___closed__2;
x_30 = l_Lean_addDocStringCore___rarg___lambda__4___closed__2;
x_31 = lean_string_append(x_30, x_29);
lean_dec(x_29);
x_32 = l_Lean_addDocString___rarg___lambda__4___closed__3;
x_32 = l_Lean_addDocStringCore___rarg___lambda__4___closed__3;
x_33 = lean_string_append(x_31, x_32);
x_34 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_34, 0, x_33);
@ -348,7 +348,7 @@ return x_37;
}
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
@ -357,7 +357,7 @@ lean_inc(x_6);
x_7 = lean_ctor_get(x_3, 0);
lean_inc(x_7);
lean_inc(x_6);
x_8 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg___lambda__4___boxed), 7, 6);
x_8 = lean_alloc_closure((void*)(l_Lean_addDocStringCore___rarg___lambda__4___boxed), 7, 6);
lean_closure_set(x_8, 0, x_3);
lean_closure_set(x_8, 1, x_5);
lean_closure_set(x_8, 2, x_4);
@ -368,43 +368,43 @@ x_9 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lean_addDocString___rarg), 5, 0);
x_2 = lean_alloc_closure((void*)(l_Lean_addDocStringCore___rarg), 5, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5;
x_5 = l_Lean_addDocString___rarg___lambda__2(x_1, x_2, x_3, x_4);
x_5 = l_Lean_addDocStringCore___rarg___lambda__2(x_1, x_2, x_3, x_4);
lean_dec(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__3___boxed(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__3___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_Lean_addDocString___rarg___lambda__3(x_1);
x_2 = l_Lean_addDocStringCore___rarg___lambda__3(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8;
x_8 = l_Lean_addDocString___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
x_8 = l_Lean_addDocStringCore___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
if (lean_obj_tag(x_5) == 0)
@ -429,16 +429,16 @@ lean_object* x_10; lean_object* x_11;
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
lean_dec(x_5);
x_11 = l_Lean_addDocString___rarg(x_1, x_2, x_3, x_4, x_10);
x_11 = l_Lean_addDocStringCore___rarg(x_1, x_2, x_3, x_4, x_10);
return x_11;
}
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString_x27(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore_x27(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l_Lean_addDocString_x27___rarg), 5, 0);
x_2 = lean_alloc_closure((void*)(l_Lean_addDocStringCore_x27___rarg), 5, 0);
return x_2;
}
}
@ -447,7 +447,7 @@ _start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7;
x_5 = l_String_instInhabited;
x_6 = l_Lean_addDocString___rarg___lambda__1___closed__1;
x_6 = l_Lean_addDocStringCore___rarg___lambda__1___closed__1;
lean_inc(x_2);
x_7 = l_Lean_MapDeclarationExtension_find_x3f___rarg(x_5, x_6, x_1, x_2);
if (lean_obj_tag(x_7) == 0)
@ -535,7 +535,7 @@ x_6 = l_Lean_findSimpleDocString_x3f(x_1, x_2, x_5, x_4);
return x_6;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__1() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2;
@ -544,23 +544,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__2() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__1;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___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_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__3() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__3() {
_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 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__2;
x_3 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__1;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__2;
x_3 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__1;
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
lean_ctor_set(x_5, 0, x_2);
@ -571,15 +571,15 @@ lean_ctor_set_usize(x_5, 4, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__3;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__3;
return x_2;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__1() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__1() {
_start:
{
lean_object* x_1;
@ -587,27 +587,27 @@ x_1 = lean_mk_string_unchecked("_private", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__2() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__1;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__3() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__2;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__2;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_44____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__4() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__4() {
_start:
{
lean_object* x_1;
@ -615,17 +615,17 @@ x_1 = lean_mk_string_unchecked("DocString", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__5() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__3;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__4;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__3;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__6() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__6() {
_start:
{
lean_object* x_1;
@ -633,37 +633,37 @@ x_1 = lean_mk_string_unchecked("Extension", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__7() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__5;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__6;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__5;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__8() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__7;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__7;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__9() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__8;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__8;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_44____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__10() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__10() {
_start:
{
lean_object* x_1;
@ -671,17 +671,17 @@ x_1 = lean_mk_string_unchecked("moduleDocExt", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__11() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__9;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__10;
x_1 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__9;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__10;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__12() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__12() {
_start:
{
lean_object* x_1;
@ -689,15 +689,15 @@ x_1 = lean_alloc_closure((void*)(l_Lean_PersistentArray_push___rarg), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__13() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__13() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___boxed), 1, 0);
x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__14() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__14() {
_start:
{
lean_object* x_1;
@ -705,15 +705,15 @@ x_1 = lean_alloc_closure((void*)(l_List_toArray___rarg), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__15() {
static lean_object* _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__15() {
_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;
x_1 = lean_box(0);
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__11;
x_3 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__12;
x_4 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__13;
x_5 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__14;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__11;
x_3 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__12;
x_4 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__13;
x_5 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__14;
x_6 = 2;
x_7 = lean_alloc_ctor(0, 5, 1);
lean_ctor_set(x_7, 0, x_2);
@ -725,20 +725,20 @@ lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370_(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__15;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__15;
x_3 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___boxed(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2;
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1(x_1);
x_2 = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1(x_1);
lean_dec(x_1);
return x_2;
}
@ -931,6 +931,7 @@ return x_2;
}
}
lean_object* initialize_Lean_DeclarationRange(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_DocString_Links(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_MonadEnv(uint8_t builtin, lean_object*);
lean_object* initialize_Init_Data_String_Extra(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
@ -941,6 +942,9 @@ _G_initialized = true;
res = initialize_Lean_DeclarationRange(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_DocString_Links(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_MonadEnv(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
@ -965,51 +969,51 @@ lean_mark_persistent(l_Lean_docStringExt);
lean_dec_ref(res);
}l_Lean_addBuiltinDocString___closed__1 = _init_l_Lean_addBuiltinDocString___closed__1();
lean_mark_persistent(l_Lean_addBuiltinDocString___closed__1);
l_Lean_addDocString___rarg___lambda__1___closed__1 = _init_l_Lean_addDocString___rarg___lambda__1___closed__1();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__1___closed__1);
l_Lean_addDocString___rarg___lambda__4___closed__1 = _init_l_Lean_addDocString___rarg___lambda__4___closed__1();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__4___closed__1);
l_Lean_addDocString___rarg___lambda__4___closed__2 = _init_l_Lean_addDocString___rarg___lambda__4___closed__2();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__4___closed__2);
l_Lean_addDocString___rarg___lambda__4___closed__3 = _init_l_Lean_addDocString___rarg___lambda__4___closed__3();
lean_mark_persistent(l_Lean_addDocString___rarg___lambda__4___closed__3);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__1 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__1);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__2 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__2);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__3 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____lambda__1___closed__3);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__1 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__1);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__2 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__2);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__3 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__3);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__4 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__4);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__5 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__5);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__6 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__6);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__7 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__7);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__8 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__8();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__8);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__9 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__9();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__9);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__10 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__10();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__10);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__11 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__11();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__11);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__12 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__12();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__12);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__13 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__13();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__13);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__14 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__14();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__14);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__15 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__15();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370____closed__15);
if (builtin) {res = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_370_(lean_io_mk_world());
l_Lean_addDocStringCore___rarg___lambda__1___closed__1 = _init_l_Lean_addDocStringCore___rarg___lambda__1___closed__1();
lean_mark_persistent(l_Lean_addDocStringCore___rarg___lambda__1___closed__1);
l_Lean_addDocStringCore___rarg___lambda__4___closed__1 = _init_l_Lean_addDocStringCore___rarg___lambda__4___closed__1();
lean_mark_persistent(l_Lean_addDocStringCore___rarg___lambda__4___closed__1);
l_Lean_addDocStringCore___rarg___lambda__4___closed__2 = _init_l_Lean_addDocStringCore___rarg___lambda__4___closed__2();
lean_mark_persistent(l_Lean_addDocStringCore___rarg___lambda__4___closed__2);
l_Lean_addDocStringCore___rarg___lambda__4___closed__3 = _init_l_Lean_addDocStringCore___rarg___lambda__4___closed__3();
lean_mark_persistent(l_Lean_addDocStringCore___rarg___lambda__4___closed__3);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__1 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__1);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__2 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__2);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__3 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____lambda__1___closed__3);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__1 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__1);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__2 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__2);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__3 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__3);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__4 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__4);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__5 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__5);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__6 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__6);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__7 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__7);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__8 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__8();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__8);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__9 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__9();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__9);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__10 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__10();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__10);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__11 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__11();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__11);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__12 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__12();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__12);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__13 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__13();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__13);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__14 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__14();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__14);
l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__15 = _init_l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__15();
lean_mark_persistent(l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377____closed__15);
if (builtin) {res = l_Lean_initFn____x40_Lean_DocString_Extension___hyg_377_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l___private_Lean_DocString_Extension_0__Lean_moduleDocExt = lean_io_result_get_value(res);
lean_mark_persistent(l___private_Lean_DocString_Extension_0__Lean_moduleDocExt);

4192
stage0/stdlib/Lean/DocString/Links.c generated Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -57,6 +57,7 @@ extern lean_object* l_Lean_declRangeExt;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr__1(lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration__1(lean_object*);
static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__7;
lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInitialize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace__1___closed__2;
@ -570,7 +571,6 @@ static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMut
static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isNamedDef___closed__14;
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Command_elabAxiom___lambda__3___closed__1;
lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_ensureValidNamespace___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
@ -3244,7 +3244,6 @@ x_17 = lean_ctor_get(x_11, 6);
lean_inc(x_17);
lean_inc(x_11);
lean_inc(x_7);
lean_inc(x_2);
lean_inc(x_15);
x_18 = l_Lean_Elab_Term_expandDeclId(x_17, x_15, x_1, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_16);
if (lean_obj_tag(x_18) == 0)
@ -7556,7 +7555,7 @@ x_13 = l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabAttr___spec__5___c
x_14 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
x_15 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
return x_15;
}
}

View file

@ -14,20 +14,17 @@
extern "C" {
#endif
static lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___closed__1;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEq___lambda__1(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__9;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___closed__5;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__8;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__32;
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__14;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__11;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__22;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__10;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__16;
lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -70,6 +67,7 @@ lean_object* l_Lean_MessageData_ofList(lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__14;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__41;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__5;
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__7;
uint8_t lean_usize_dec_eq(size_t, size_t);
@ -83,6 +81,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecE
lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_casesOnSuffix;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__5;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__10;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__17;
LEAN_EXPORT lean_object* l_Lean_isEnumType___at_Lean_Elab_Deriving_DecEq_mkDecEqInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
@ -100,11 +99,12 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunctions___closed__2;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__6;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunctions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__9;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__4;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__4;
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__21;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__16;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__55;
lean_object* l_Lean_stringToMessageData(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__44;
@ -112,20 +112,19 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEq(lean_object*, lean_o
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__6;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__6;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__8;
lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__40;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___closed__1;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6;
static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__5;
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__6;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__3;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__23;
lean_object* l_Lean_Level_ofNat(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__19;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__14;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___lambda__1___closed__1;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__51;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__5;
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___lambda__2___boxed(lean_object*);
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__4;
@ -153,7 +152,6 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_DecEq_mkAuxFunctions___spec__2(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__12;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__35;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15;
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
lean_object* l_Lean_MessageData_ofSyntax(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__47;
@ -206,7 +204,6 @@ lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__2;
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Deriving_mkHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857_(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__8;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__6;
@ -233,6 +230,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__3;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__7;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__2;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__43;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__3;
uint8_t lean_name_eq(lean_object*, lean_object*);
lean_object* l_Lean_Core_betaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__4;
@ -243,6 +241,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecE
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__1;
lean_object* l_Lean_Expr_isAppOf___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__43;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__8;
@ -254,6 +253,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunctions___closed__3;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree___closed__3;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__48;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat_mkDecTree___closed__6;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853_(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__46;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__6;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___closed__6;
@ -266,6 +266,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__31;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__5;
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__15;
LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__27;
lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
@ -291,6 +292,7 @@ LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__5;
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__1(lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__1;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__12;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__12;
lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__10;
@ -340,17 +342,16 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__8;
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___closed__4;
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__5;
lean_object* l_Lean_Syntax_node7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__7;
lean_object* l_Lean_mkSepArray(lean_object*, lean_object*);
static lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__8;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4;
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10;
LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__13;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__28;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__17;
lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__5;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__50;
@ -398,7 +399,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___lambda__3(lean
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*);
size_t lean_usize_add(size_t, size_t);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__18;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__11;
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___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*);
@ -417,17 +417,16 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__2;
lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__3;
extern lean_object* l_Lean_instInhabitedInductiveVal;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNat___closed__1;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__19;
lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm___closed__1;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9;
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___boxed(lean_object**);
lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__13;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__22;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__6;
static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___closed__7;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__40;
@ -438,7 +437,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1(le
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16;
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__52;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__57;
@ -446,15 +444,18 @@ lean_object* l_Lean_addAndCompile(lean_object*, lean_object*, lean_object*, lean
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__29;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3___closed__7;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__26;
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__5___lambda__2(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkEnumOfNatThm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__16;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__39;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkAuxFunction___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_Deriving_DecEq_mkDecEq___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__42;
lean_object* l_String_toSubstring_x27(lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__11;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqInstance(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -465,7 +466,6 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch___closed__1;
lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__20(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__12;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__9;
static lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13;
static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__26;
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___boxed(lean_object**);
@ -13180,9 +13180,8 @@ lean_ctor_set(x_142, 1, x_141);
lean_inc(x_22);
x_143 = l_Lean_Syntax_node1(x_22, x_31, x_108);
x_144 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__55;
lean_inc(x_33);
lean_inc(x_22);
x_145 = l_Lean_Syntax_node2(x_22, x_144, x_143, x_33);
x_145 = l_Lean_Syntax_node1(x_22, x_144, x_143);
x_146 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__52;
lean_inc(x_22);
x_147 = l_Lean_Syntax_node2(x_22, x_146, x_142, x_145);
@ -13680,9 +13679,8 @@ lean_ctor_set(x_361, 1, x_360);
lean_inc(x_22);
x_362 = l_Lean_Syntax_node1(x_22, x_249, x_327);
x_363 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__55;
lean_inc(x_251);
lean_inc(x_22);
x_364 = l_Lean_Syntax_node2(x_22, x_363, x_362, x_251);
x_364 = l_Lean_Syntax_node1(x_22, x_363, x_362);
x_365 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__52;
lean_inc(x_22);
x_366 = l_Lean_Syntax_node2(x_22, x_365, x_361, x_364);
@ -14183,9 +14181,8 @@ lean_ctor_set(x_576, 1, x_575);
lean_inc(x_22);
x_577 = l_Lean_Syntax_node1(x_22, x_463, x_542);
x_578 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__55;
lean_inc(x_465);
lean_inc(x_22);
x_579 = l_Lean_Syntax_node2(x_22, x_578, x_577, x_465);
x_579 = l_Lean_Syntax_node1(x_22, x_578, x_577);
x_580 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__52;
lean_inc(x_22);
x_581 = l_Lean_Syntax_node2(x_22, x_580, x_576, x_579);
@ -14707,9 +14704,8 @@ lean_ctor_set(x_798, 1, x_797);
lean_inc(x_675);
x_799 = l_Lean_Syntax_node1(x_675, x_684, x_764);
x_800 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__55;
lean_inc(x_686);
lean_inc(x_675);
x_801 = l_Lean_Syntax_node2(x_675, x_800, x_799, x_686);
x_801 = l_Lean_Syntax_node1(x_675, x_800, x_799);
x_802 = l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__52;
lean_inc(x_675);
x_803 = l_Lean_Syntax_node2(x_675, x_802, x_798, x_801);
@ -15758,7 +15754,7 @@ lean_dec(x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__1() {
_start:
{
lean_object* x_1;
@ -15766,7 +15762,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandl
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -15776,27 +15772,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__2;
x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__3;
x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__5() {
_start:
{
lean_object* x_1;
@ -15804,17 +15800,17 @@ x_1 = lean_mk_string_unchecked("DecEq", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__4;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__7() {
_start:
{
lean_object* x_1;
@ -15822,17 +15818,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__6;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__9() {
_start:
{
lean_object* x_1;
@ -15840,57 +15836,57 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__8;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__9;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__10;
x_2 = l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__1___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__11;
x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__12;
x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__13;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__15() {
_start:
{
lean_object* x_1;
@ -15898,32 +15894,32 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__14;
x_2 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__15;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17() {
static lean_object* _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16;
x_2 = lean_unsigned_to_nat(4857u);
x_1 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__16;
x_2 = lean_unsigned_to_nat(4853u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857_(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4;
x_2 = l_Lean_Elab_Deriving_DecEq_mkDecEqHeader___closed__2;
x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1;
x_3 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__1;
x_4 = l_Lean_Elab_registerDerivingHandler(x_2, x_3, x_1);
if (lean_obj_tag(x_4) == 0)
{
@ -15933,7 +15929,7 @@ lean_inc(x_5);
lean_dec(x_4);
x_6 = l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__4;
x_7 = 0;
x_8 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17;
x_8 = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__17;
x_9 = l_Lean_registerTraceClass(x_6, x_7, x_8, x_5);
return x_9;
}
@ -16494,41 +16490,41 @@ l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__58 = _init_l_Lean_Elab_Deriving
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__58);
l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__59 = _init_l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__59();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__59);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__1);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__2);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__3);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__4);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__5);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__6);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__7);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__8);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__9);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__10);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__11);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__12);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__13);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__14);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__15);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__16);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857____closed__17);
if (builtin) {res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4857_(lean_io_mk_world());
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__1 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__1();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__1);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__2 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__2();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__2);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__3 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__3();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__3);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__4 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__4();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__4);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__5 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__5();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__5);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__6 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__6();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__6);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__7 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__7();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__7);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__8 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__8();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__8);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__9 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__9();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__9);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__10 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__10();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__10);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__11 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__11();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__11);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__12 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__12();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__12);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__13 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__13();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__13);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__14 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__14();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__14);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__15 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__15();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__15);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__16 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__16();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__16);
l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__17 = _init_l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__17();
lean_mark_persistent(l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853____closed__17);
if (builtin) {res = l_Lean_Elab_Deriving_DecEq_initFn____x40_Lean_Elab_Deriving_DecEq___hyg_4853_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));

File diff suppressed because it is too large Load diff

View file

@ -15,17 +15,17 @@ extern "C" {
#endif
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___closed__3;
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2(lean_object*);
lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__10;
static lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1;
uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_log___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_ConstantInfo_levelParams(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__7;
static lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__12;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
@ -45,7 +45,6 @@ lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_hasSyntheticSorry(lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
@ -55,17 +54,18 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__5___closed__2;
static lean_object* l_Lean_getConstInfo___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__2___closed__3;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__5___closed__1;
static lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1;
lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___closed__7;
LEAN_EXPORT lean_object* l_Lean_log___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__7(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__6(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2;
static lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3;
lean_object* lean_st_ref_take(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2___boxed(lean_object*);
lean_object* l_Lean_findSimpleDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___lambda__2___closed__4;
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___closed__6;
@ -79,9 +79,12 @@ lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContex
static lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___lambda__1___closed__1;
static lean_object* l_Lean_getConstInfo___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__2___closed__1;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__2___closed__4;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__3;
static lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
extern lean_object* l_Lean_warningAsError;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__4;
@ -90,13 +93,10 @@ extern lean_object* l_Lean_docStringExt;
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__2___closed__3;
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
static lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1;
static lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__15;
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3_(lean_object*);
static lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___closed__8;
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___lambda__2___boxed(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___closed__4;
@ -104,12 +104,11 @@ lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__5;
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2;
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___lambda__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_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__5(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__4___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__17;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__6;
@ -121,6 +120,7 @@ LEAN_EXPORT lean_object* l_Lean_logWarning___at_Lean_initFn____x40_Lean_Elab_Inh
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___closed__1;
static lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___closed__1;
uint8_t l_Lean_Syntax_isNone(lean_object*);
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_getConstInfo___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__2___closed__4;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__11;
@ -128,7 +128,6 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obj
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__2;
static lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3;
static lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___closed__2;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__3___closed__2;
uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_107_(uint8_t, uint8_t);
@ -136,11 +135,12 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__2___closed__1;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3;
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__4___closed__2;
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2___boxed(lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_Attribute_Builtin_ensureNoArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__9;
static lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2;
static lean_object* l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___lambda__2___closed__1;
lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____closed__13;
@ -1377,7 +1377,7 @@ return x_174;
}
}
}
static lean_object* _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1() {
static lean_object* _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1() {
_start:
{
lean_object* x_1;
@ -1385,7 +1385,7 @@ x_1 = l_Lean_docStringExt;
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2() {
static lean_object* _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2() {
_start:
{
lean_object* x_1;
@ -1393,28 +1393,28 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3() {
static lean_object* _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2;
x_1 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2;
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_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4() {
static lean_object* _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3;
x_1 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3;
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10;
@ -1432,9 +1432,9 @@ x_11 = lean_ctor_get(x_8, 0);
x_12 = lean_ctor_get(x_8, 4);
lean_dec(x_12);
x_13 = l_String_removeLeadingSpaces(x_1);
x_14 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1;
x_14 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1;
x_15 = l_Lean_MapDeclarationExtension_insert___rarg(x_14, x_11, x_2, x_13);
x_16 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4;
x_16 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4;
lean_ctor_set(x_8, 4, x_16);
lean_ctor_set(x_8, 0, x_15);
x_17 = lean_st_ref_set(x_5, x_8, x_9);
@ -1480,9 +1480,9 @@ lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_8);
x_31 = l_String_removeLeadingSpaces(x_1);
x_32 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1;
x_32 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1;
x_33 = l_Lean_MapDeclarationExtension_insert___rarg(x_32, x_24, x_2, x_31);
x_34 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4;
x_34 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4;
x_35 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_25);
@ -1515,7 +1515,7 @@ return x_40;
}
}
}
LEAN_EXPORT uint8_t l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2(lean_object* x_1) {
LEAN_EXPORT uint8_t l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2(lean_object* x_1) {
_start:
{
uint8_t x_2;
@ -1523,15 +1523,15 @@ x_2 = 0;
return x_2;
}
}
static lean_object* _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1() {
static lean_object* _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2___boxed), 1, 0);
x_1 = lean_alloc_closure((void*)(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2() {
static lean_object* _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2() {
_start:
{
lean_object* x_1;
@ -1539,7 +1539,7 @@ x_1 = lean_mk_string_unchecked("invalid doc string, declaration '", 33, 33);
return x_1;
}
}
static lean_object* _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3() {
static lean_object* _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3() {
_start:
{
lean_object* x_1;
@ -1547,7 +1547,7 @@ x_1 = lean_mk_string_unchecked("' is in an imported module", 26, 26);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
@ -1566,7 +1566,7 @@ if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12;
x_11 = lean_box(0);
x_12 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(x_2, x_1, x_11, x_3, x_4, x_8);
x_12 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(x_2, x_1, x_11, x_3, x_4, x_8);
return x_12;
}
else
@ -1580,12 +1580,12 @@ lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_obje
x_14 = lean_ctor_get(x_10, 0);
lean_dec(x_14);
x_15 = 1;
x_16 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1;
x_16 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1;
x_17 = l_Lean_Name_toString(x_1, x_15, x_16);
x_18 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2;
x_18 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2;
x_19 = lean_string_append(x_18, x_17);
lean_dec(x_17);
x_20 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3;
x_20 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3;
x_21 = lean_string_append(x_19, x_20);
lean_ctor_set_tag(x_10, 3);
lean_ctor_set(x_10, 0, x_21);
@ -1615,12 +1615,12 @@ else
uint8_t 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_dec(x_10);
x_28 = 1;
x_29 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1;
x_29 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1;
x_30 = l_Lean_Name_toString(x_1, x_28, x_29);
x_31 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2;
x_31 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2;
x_32 = lean_string_append(x_31, x_30);
lean_dec(x_30);
x_33 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3;
x_33 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3;
x_34 = lean_string_append(x_32, x_33);
x_35 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_35, 0, x_34);
@ -1860,7 +1860,7 @@ lean_dec(x_14);
x_48 = lean_ctor_get(x_15, 0);
lean_inc(x_48);
lean_dec(x_15);
x_49 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(x_3, x_48, x_5, x_6, x_47);
x_49 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(x_3, x_48, x_5, x_6, x_47);
lean_dec(x_5);
return x_49;
}
@ -1960,7 +1960,7 @@ lean_dec(x_54);
x_74 = lean_ctor_get(x_55, 0);
lean_inc(x_74);
lean_dec(x_55);
x_75 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(x_3, x_74, x_5, x_6, x_73);
x_75 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(x_3, x_74, x_5, x_6, x_73);
lean_dec(x_5);
return x_75;
}
@ -3106,32 +3106,32 @@ lean_dec(x_1);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7;
x_7 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
x_7 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2___boxed(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3;
x_2 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2(x_1);
x_2 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__2(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
LEAN_EXPORT lean_object* l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6;
x_6 = l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(x_1, x_2, x_3, x_4, x_5);
x_6 = l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_6;
@ -3245,20 +3245,20 @@ l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___c
lean_mark_persistent(l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___closed__1);
l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___closed__2 = _init_l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___closed__2();
lean_mark_persistent(l_Lean_logAt___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__4___closed__2);
l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1 = _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1();
lean_mark_persistent(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1);
l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2 = _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2();
lean_mark_persistent(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2);
l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3 = _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3();
lean_mark_persistent(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3);
l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4 = _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4();
lean_mark_persistent(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4);
l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1 = _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1();
lean_mark_persistent(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1);
l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2 = _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2();
lean_mark_persistent(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2);
l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3 = _init_l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3();
lean_mark_persistent(l_Lean_addDocString___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3);
l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1 = _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1();
lean_mark_persistent(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__1);
l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2 = _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2();
lean_mark_persistent(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__2);
l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3 = _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3();
lean_mark_persistent(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__3);
l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4 = _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4();
lean_mark_persistent(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___lambda__1___closed__4);
l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1 = _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1();
lean_mark_persistent(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__1);
l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2 = _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2();
lean_mark_persistent(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__2);
l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3 = _init_l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3();
lean_mark_persistent(l_Lean_addDocStringCore___at_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____spec__5___closed__3);
l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1___closed__1 = _init_l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1___closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1___closed__1);
l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1___closed__2 = _init_l_Lean_initFn____x40_Lean_Elab_InheritDoc___hyg_3____lambda__1___closed__2();

File diff suppressed because it is too large Load diff

View file

@ -148,7 +148,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabH
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__4;
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lambda__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 uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__7(lean_object*, size_t, size_t);
@ -163,6 +162,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_M
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__5___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__2___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__6;
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__7(lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t, lean_object*);
@ -296,7 +296,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosur
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__6___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__18___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample(lean_object*);
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__6(lean_object*, lean_object*, size_t, size_t);
@ -346,7 +345,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___la
lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_getDocStringText___at_Lean_Elab_Tactic_Doc_elabRegisterTacticTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___lambda__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -440,6 +438,7 @@ lean_object* lean_task_pure(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__1(size_t, size_t, lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__3;
static lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1___closed__1;
lean_object* l_Lean_Meta_resetZetaDeltaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -468,7 +467,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withH
LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__3;
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___closed__1;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__7___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMutualDef_go___spec__7___boxed(lean_object*, lean_object*, lean_object*);
@ -620,6 +618,7 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_M
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5_(lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__8;
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__12___closed__2;
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__1;
@ -641,6 +640,7 @@ lean_object* l_Lean_Elab_instantiateMVarsAtPreDecls(lean_object*, lean_object*,
lean_object* l_Lean_throwError___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__50(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__1___closed__1;
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__5;
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4___closed__4;
@ -688,6 +688,7 @@ lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__9
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__8;
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11___lambda__2(lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__7;
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__6;
uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t);
uint8_t l_Lean_Elab_DefView_isInstance(lean_object*);
@ -732,11 +733,11 @@ static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___
static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__3;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___boxed(lean_object**);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__4;
static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__6;
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11___lambda__3___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__4;
static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__5___closed__2;
LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__1;
@ -778,7 +779,6 @@ lean_object* l_Lean_LocalDecl_fvarId(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified___rarg(lean_object*);
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___spec__7___closed__1;
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__5;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -841,7 +841,6 @@ lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoB
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__6;
static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5725____closed__3;
LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Term_elabMutualDef___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1095,7 +1094,6 @@ lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(lean_obje
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getKindForLetRecs___spec__1(lean_object*, size_t, size_t);
static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__4;
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_withTraceNode___at_Lean_Meta_whnfImp___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_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1226,7 +1224,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeader
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__1;
lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -4535,6 +4532,7 @@ lean_inc(x_37);
lean_dec(x_13);
lean_inc(x_4);
x_38 = l_Lean_Elab_Term_expandDeclId(x_23, x_34, x_36, x_37, x_4, x_5, x_6, x_7, x_32, x_9, x_35);
lean_dec(x_37);
lean_dec(x_36);
if (lean_obj_tag(x_38) == 0)
{
@ -53176,144 +53174,11 @@ return x_22;
}
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("private", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__4;
x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1;
x_3 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2;
x_4 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("protected", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__4;
x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1;
x_3 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2;
x_4 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__3;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__5() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("unexpected visibility modifier", 30, 30);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__5;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11;
x_11 = l_Lean_Syntax_getOptional_x3f(x_6);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; lean_object* x_13;
x_12 = 0;
x_13 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_12, x_8, x_9, x_10);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17;
x_14 = lean_ctor_get(x_11, 0);
lean_inc(x_14);
lean_dec(x_11);
lean_inc(x_14);
x_15 = l_Lean_Syntax_getKind(x_14);
x_16 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__2;
x_17 = lean_name_eq(x_15, x_16);
if (x_17 == 0)
{
lean_object* x_18; uint8_t x_19;
x_18 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__4;
x_19 = lean_name_eq(x_15, x_18);
lean_dec(x_15);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; uint8_t x_22;
lean_dec(x_7);
lean_dec(x_3);
x_20 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__6;
x_21 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__8(x_14, x_20, x_8, x_9, x_10);
lean_dec(x_14);
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
return x_21;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25;
x_23 = lean_ctor_get(x_21, 0);
x_24 = lean_ctor_get(x_21, 1);
lean_inc(x_24);
lean_inc(x_23);
lean_dec(x_21);
x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_23);
lean_ctor_set(x_25, 1, x_24);
return x_25;
}
}
else
{
uint8_t x_26; lean_object* x_27;
lean_dec(x_14);
x_26 = 1;
x_27 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_26, x_8, x_9, x_10);
return x_27;
}
}
else
{
uint8_t x_28; lean_object* x_29;
lean_dec(x_15);
lean_dec(x_14);
x_28 = 2;
x_29 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__2(x_1, x_2, x_3, x_7, x_4, x_5, x_28, x_8, x_9, x_10);
return x_29;
}
}
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("partial", 7, 7);
x_1 = lean_mk_string_unchecked("private", 7, 7);
return x_1;
}
}
@ -53329,10 +53194,67 @@ x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("protected", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__4;
x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1;
x_3 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2;
x_4 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__3;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__5() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("unexpected visibility modifier", 30, 30);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2;
x_1 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__5;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__7() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string_unchecked("partial", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_MutualDef___hyg_5____closed__4;
x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1;
x_3 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2;
x_4 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__7;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19;
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20;
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
x_7 = lean_unsigned_to_nat(1u);
@ -53348,163 +53270,152 @@ x_16 = l_Lean_Syntax_getArg(x_1, x_15);
x_17 = l_Lean_Syntax_isNone(x_16);
x_18 = l_Lean_Syntax_getOptional_x3f(x_6);
lean_dec(x_6);
x_19 = l_Lean_Syntax_getOptional_x3f(x_10);
lean_dec(x_10);
if (x_17 == 0)
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46;
x_43 = l_Lean_Syntax_getArg(x_16, x_5);
lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49;
x_46 = l_Lean_Syntax_getArg(x_16, x_5);
lean_dec(x_16);
x_44 = l_Lean_Syntax_getKind(x_43);
x_45 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__2;
x_46 = lean_name_eq(x_44, x_45);
lean_dec(x_44);
if (x_46 == 0)
x_47 = l_Lean_Syntax_getKind(x_46);
x_48 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__8;
x_49 = lean_name_eq(x_47, x_48);
lean_dec(x_47);
if (x_49 == 0)
{
uint8_t x_47;
x_47 = 1;
x_19 = x_47;
goto block_42;
uint8_t x_50;
x_50 = 1;
x_20 = x_50;
goto block_45;
}
else
{
uint8_t x_48;
x_48 = 0;
x_19 = x_48;
goto block_42;
uint8_t x_51;
x_51 = 0;
x_20 = x_51;
goto block_45;
}
}
else
{
uint8_t x_49;
uint8_t x_52;
lean_dec(x_16);
x_49 = 2;
x_19 = x_49;
goto block_42;
x_52 = 2;
x_20 = x_52;
goto block_45;
}
block_42:
block_45:
{
lean_object* x_21;
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_20; lean_object* x_21;
x_20 = lean_box(0);
x_21 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3(x_12, x_14, x_1, x_19, x_8, x_10, x_20, x_2, x_3, x_4);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_14);
lean_dec(x_12);
return x_21;
lean_object* x_41;
x_41 = lean_box(0);
x_21 = x_41;
goto block_40;
}
else
{
uint8_t x_22;
x_22 = !lean_is_exclusive(x_18);
if (x_22 == 0)
uint8_t x_42;
x_42 = !lean_is_exclusive(x_18);
if (x_42 == 0)
{
lean_object* x_23; lean_object* x_24;
x_23 = lean_ctor_get(x_18, 0);
lean_inc(x_2);
x_24 = l_Lean_getDocStringText___at_Lean_Elab_Tactic_Doc_elabRegisterTacticTag___spec__1(x_23, x_2, x_3, x_4);
lean_dec(x_23);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27;
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
x_26 = lean_ctor_get(x_24, 1);
lean_inc(x_26);
lean_dec(x_24);
lean_ctor_set(x_18, 0, x_25);
x_27 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3(x_12, x_14, x_1, x_19, x_8, x_10, x_18, x_2, x_3, x_26);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_14);
lean_dec(x_12);
return x_27;
x_21 = x_18;
goto block_40;
}
else
{
uint8_t x_28;
lean_free_object(x_18);
lean_object* x_43; lean_object* x_44;
x_43 = lean_ctor_get(x_18, 0);
lean_inc(x_43);
lean_dec(x_18);
x_44 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_44, 0, x_43);
x_21 = x_44;
goto block_40;
}
}
block_40:
{
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_22; lean_object* x_23;
x_22 = 0;
x_23 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__2(x_12, x_14, x_1, x_21, x_20, x_8, x_22, x_2, x_3, x_4);
lean_dec(x_8);
lean_dec(x_14);
lean_dec(x_12);
return x_23;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27;
x_24 = lean_ctor_get(x_19, 0);
lean_inc(x_24);
lean_dec(x_19);
lean_inc(x_24);
x_25 = l_Lean_Syntax_getKind(x_24);
x_26 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__2;
x_27 = lean_name_eq(x_25, x_26);
if (x_27 == 0)
{
lean_object* x_28; uint8_t x_29;
x_28 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__4;
x_29 = lean_name_eq(x_25, x_28);
lean_dec(x_25);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; uint8_t x_32;
lean_dec(x_21);
lean_dec(x_14);
lean_dec(x_12);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_2);
lean_dec(x_1);
x_28 = !lean_is_exclusive(x_24);
if (x_28 == 0)
{
return x_24;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31;
x_29 = lean_ctor_get(x_24, 0);
x_30 = lean_ctor_get(x_24, 1);
lean_inc(x_30);
lean_inc(x_29);
x_30 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__6;
x_31 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__8(x_24, x_30, x_2, x_3, x_4);
lean_dec(x_24);
x_31 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_31, 0, x_29);
lean_ctor_set(x_31, 1, x_30);
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
return x_31;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35;
x_33 = lean_ctor_get(x_31, 0);
x_34 = lean_ctor_get(x_31, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_31);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
return x_35;
}
}
else
{
lean_object* x_32; lean_object* x_33;
x_32 = lean_ctor_get(x_18, 0);
lean_inc(x_32);
lean_dec(x_18);
lean_inc(x_2);
x_33 = l_Lean_getDocStringText___at_Lean_Elab_Tactic_Doc_elabRegisterTacticTag___spec__1(x_32, x_2, x_3, x_4);
lean_dec(x_32);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_33, 1);
lean_inc(x_35);
lean_dec(x_33);
x_36 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_36, 0, x_34);
x_37 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3(x_12, x_14, x_1, x_19, x_8, x_10, x_36, x_2, x_3, x_35);
lean_dec(x_10);
uint8_t x_36; lean_object* x_37;
lean_dec(x_24);
x_36 = 1;
x_37 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__2(x_12, x_14, x_1, x_21, x_20, x_8, x_36, x_2, x_3, x_4);
lean_dec(x_8);
lean_dec(x_14);
lean_dec(x_12);
return x_37;
}
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
uint8_t x_38; lean_object* x_39;
lean_dec(x_25);
lean_dec(x_24);
x_38 = 2;
x_39 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__2(x_12, x_14, x_1, x_21, x_20, x_8, x_38, x_2, x_3, x_4);
lean_dec(x_8);
lean_dec(x_14);
lean_dec(x_12);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_2);
lean_dec(x_1);
x_38 = lean_ctor_get(x_33, 0);
lean_inc(x_38);
x_39 = lean_ctor_get(x_33, 1);
lean_inc(x_39);
if (lean_is_exclusive(x_33)) {
lean_ctor_release(x_33, 0);
lean_ctor_release(x_33, 1);
x_40 = x_33;
} else {
lean_dec_ref(x_33);
x_40 = lean_box(0);
}
if (lean_is_scalar(x_40)) {
x_41 = lean_alloc_ctor(1, 2, 0);
} else {
x_41 = x_40;
}
lean_ctor_set(x_41, 0, x_38);
lean_ctor_set(x_41, 1, x_39);
return x_41;
return x_39;
}
}
}
@ -56004,21 +55915,6 @@ lean_dec(x_1);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12;
x_11 = lean_unbox(x_4);
lean_dec(x_4);
x_12 = l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_9);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
@ -56856,22 +56752,22 @@ l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5___closed__5
lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5___closed__5);
l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5___closed__6 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5___closed__6();
lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__5___closed__6);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__1 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__1();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__1);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__2 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__2();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__2);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__3 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__3();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__3);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__4 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__4();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__4);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__5 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__5();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__5);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__6 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__6();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___lambda__3___closed__6);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__1 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__1();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__1);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__2 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__2();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__2);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__3 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__3();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__3);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__4 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__4();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__4);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__5 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__5();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__5);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__6 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__6();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__6);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__7 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__7();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__7);
l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__8 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__8();
lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__2___closed__8);
l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___lambda__3___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___lambda__3___closed__1();
lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___lambda__3___closed__1);
l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__10___closed__1();

File diff suppressed because it is too large Load diff

View file

@ -33,6 +33,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_fixLevelParams___sp
lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag___spec__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_fixLevelParams___spec__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_sharecommon_quick(lean_object*);
lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -381,7 +382,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_fixLevelParams___
LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_addAndCompilePartialRec___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
double lean_float_sub(double, double);
static lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lambda__1___closed__1;
lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_shareCommonPreDefs___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Elab_instInhabitedPreDefinition___closed__1() {
_start:
@ -944,7 +944,7 @@ if (x_21 == 0)
lean_object* x_22; lean_object* x_23;
lean_ctor_set_tag(x_20, 3);
x_22 = l_Lean_MessageData_ofFormat(x_20);
x_23 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_18);
x_23 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_18);
return x_23;
}
else
@ -956,7 +956,7 @@ lean_dec(x_20);
x_25 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = l_Lean_MessageData_ofFormat(x_25);
x_27 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_18);
x_27 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_18);
return x_27;
}
}
@ -1003,7 +1003,7 @@ if (lean_is_scalar(x_34)) {
}
lean_ctor_set(x_35, 0, x_33);
x_36 = l_Lean_MessageData_ofFormat(x_35);
x_37 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_30);
x_37 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_30);
return x_37;
}
else

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -53,6 +53,7 @@ static lean_object* l_Lean_Elab_Tactic_evalGrindTrace___closed__1;
lean_object* l___private_Lean_Elab_Tactic_Config_0__Lean_Elab_Tactic_elabConfig(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_elabGrindConfig___lambda__3___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalGrindCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_ConstantInfo_type(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabGrindParams_addEMatchTheorem___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_elabGrindParams_addEMatchTheorem___lambda__1___closed__2;
@ -602,7 +603,6 @@ lean_object* l_Lean_Meta_Grind_getEMatchTheorems___rarg(lean_object*, lean_objec
static lean_object* l_Lean_Elab_Tactic_evalGrindCore___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_grind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Array_isEmpty___rarg(lean_object*);
lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Grind___hyg_5____closed__1() {
_start:
{
@ -1605,7 +1605,7 @@ x_11 = lean_ctor_get(x_7, 5);
x_12 = l_Lean_replaceRef(x_1, x_11);
lean_dec(x_11);
lean_ctor_set(x_7, 5, x_12);
x_13 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
x_13 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_7);
return x_13;
}
@ -1656,7 +1656,7 @@ lean_ctor_set(x_29, 10, x_24);
lean_ctor_set(x_29, 11, x_26);
lean_ctor_set_uint8(x_29, sizeof(void*)*12, x_25);
lean_ctor_set_uint8(x_29, sizeof(void*)*12 + 1, x_27);
x_30 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(x_2, x_3, x_4, x_5, x_6, x_29, x_8, x_9);
x_30 = l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__16(x_2, x_3, x_4, x_5, x_6, x_29, x_8, x_9);
lean_dec(x_29);
return x_30;
}

View file

@ -196,129 +196,85 @@ return x_2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_expandLocation(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_15; lean_object* x_16; uint8_t x_17;
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6;
x_2 = lean_unsigned_to_nat(1u);
x_3 = l_Lean_Syntax_getArg(x_1, x_2);
lean_inc(x_3);
x_15 = l_Lean_Syntax_getKind(x_3);
x_16 = l_Lean_Elab_Tactic_expandLocation___closed__2;
x_17 = lean_name_eq(x_15, x_16);
lean_dec(x_15);
x_4 = l_Lean_Syntax_getKind(x_3);
x_5 = l_Lean_Elab_Tactic_expandLocation___closed__2;
x_6 = lean_name_eq(x_4, x_5);
lean_dec(x_4);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11;
x_7 = lean_unsigned_to_nat(0u);
x_8 = l_Lean_Syntax_getArg(x_3, x_7);
lean_dec(x_3);
x_9 = l_Lean_Syntax_getArgs(x_8);
lean_dec(x_8);
x_10 = lean_array_get_size(x_9);
x_11 = lean_nat_dec_lt(x_7, x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16;
lean_dec(x_9);
x_12 = l_Lean_Elab_Tactic_expandLocation___closed__4;
x_13 = lean_nat_sub(x_10, x_12);
lean_dec(x_10);
x_14 = lean_nat_dec_lt(x_7, x_13);
lean_dec(x_13);
x_15 = l_Lean_Elab_Tactic_expandLocation___closed__3;
x_16 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_14);
return x_16;
}
else
{
uint8_t x_17;
x_17 = lean_nat_dec_le(x_10, x_10);
if (x_17 == 0)
{
lean_object* x_18;
x_18 = l_Lean_Syntax_getArg(x_3, x_2);
if (lean_obj_tag(x_18) == 0)
lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22;
lean_dec(x_9);
x_18 = l_Lean_Elab_Tactic_expandLocation___closed__4;
x_19 = lean_nat_sub(x_10, x_18);
lean_dec(x_10);
x_20 = lean_nat_dec_lt(x_7, x_19);
lean_dec(x_19);
x_21 = l_Lean_Elab_Tactic_expandLocation___closed__3;
x_22 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_20);
return x_22;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23;
x_19 = lean_unsigned_to_nat(0u);
x_20 = l_Lean_Syntax_getArg(x_3, x_19);
size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30;
x_23 = 0;
x_24 = lean_usize_of_nat(x_10);
x_25 = l_Lean_Elab_Tactic_expandLocation___closed__3;
x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_expandLocation___spec__1(x_9, x_23, x_24, x_25);
lean_dec(x_9);
x_27 = lean_array_get_size(x_26);
x_28 = lean_nat_sub(x_10, x_27);
lean_dec(x_27);
lean_dec(x_10);
x_29 = lean_nat_dec_lt(x_7, x_28);
lean_dec(x_28);
x_30 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_30, 0, x_26);
lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_29);
return x_30;
}
}
}
else
{
lean_object* x_31;
lean_dec(x_3);
x_21 = l_Lean_Syntax_getArgs(x_20);
lean_dec(x_20);
x_22 = lean_array_get_size(x_21);
x_23 = lean_nat_dec_lt(x_19, x_22);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28;
lean_dec(x_21);
x_24 = l_Lean_Elab_Tactic_expandLocation___closed__4;
x_25 = lean_nat_sub(x_22, x_24);
lean_dec(x_22);
x_26 = lean_nat_dec_lt(x_19, x_25);
lean_dec(x_25);
x_27 = l_Lean_Elab_Tactic_expandLocation___closed__3;
x_28 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_26);
return x_28;
}
else
{
uint8_t x_29;
x_29 = lean_nat_dec_le(x_22, x_22);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34;
lean_dec(x_21);
x_30 = l_Lean_Elab_Tactic_expandLocation___closed__4;
x_31 = lean_nat_sub(x_22, x_30);
lean_dec(x_22);
x_32 = lean_nat_dec_lt(x_19, x_31);
lean_dec(x_31);
x_33 = l_Lean_Elab_Tactic_expandLocation___closed__3;
x_34 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set_uint8(x_34, sizeof(void*)*1, x_32);
return x_34;
}
else
{
size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42;
x_35 = 0;
x_36 = lean_usize_of_nat(x_22);
x_37 = l_Lean_Elab_Tactic_expandLocation___closed__3;
x_38 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_expandLocation___spec__1(x_21, x_35, x_36, x_37);
lean_dec(x_21);
x_39 = lean_array_get_size(x_38);
x_40 = lean_nat_sub(x_22, x_39);
lean_dec(x_39);
lean_dec(x_22);
x_41 = lean_nat_dec_lt(x_19, x_40);
lean_dec(x_40);
x_42 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_42, 0, x_38);
lean_ctor_set_uint8(x_42, sizeof(void*)*1, x_41);
return x_42;
}
}
}
else
{
lean_object* x_43;
lean_dec(x_18);
x_43 = lean_box(0);
x_4 = x_43;
goto block_14;
}
}
else
{
lean_object* x_44;
lean_dec(x_3);
x_44 = lean_box(0);
return x_44;
}
block_14:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
lean_dec(x_4);
x_5 = lean_unsigned_to_nat(0u);
x_6 = l_Lean_Syntax_getArg(x_3, x_5);
x_7 = l_Lean_Syntax_getArgs(x_6);
lean_dec(x_6);
x_8 = l_Lean_Syntax_getArg(x_3, x_2);
lean_dec(x_3);
x_9 = l_Lean_Syntax_isNone(x_8);
lean_dec(x_8);
if (x_9 == 0)
{
uint8_t x_10; lean_object* x_11;
x_10 = 1;
x_11 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set_uint8(x_11, sizeof(void*)*1, x_10);
return x_11;
}
else
{
uint8_t x_12; lean_object* x_13;
x_12 = 0;
x_13 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_13, 0, x_7);
lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_12);
return x_13;
}
x_31 = lean_box(0);
return x_31;
}
}
}

View file

@ -270,6 +270,7 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at_Lean_Elab_Tactic_Omega_Probl
static lean_object* l___auto____x40_Lean_Elab_Tactic_Omega_Core___hyg_1681____closed__16;
static lean_object* l_Lean_Elab_Tactic_Omega_Justification_bmodProof___closed__22;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_Fact_combo(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_Problem_replayEliminations(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_Problem_solveEquality(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_instInhabitedExpr;
@ -504,7 +505,6 @@ static lean_object* l___private_Lean_ToExpr_0__Lean_List_toExprAux___at_Lean_Ela
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Omega_instToExprLinearCombo___lambda__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Tactic_Omega_Problem_fourierMotzkinSelect___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Tactic_Omega_Problem_instToStringFourierMotzkinData___spec__2(lean_object*, lean_object*);
lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(lean_object*);
static lean_object* l_Lean_Elab_Tactic_Omega_Justification_comboProof___closed__1;
lean_object* l_List_minNatAbs(lean_object*);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
@ -13989,7 +13989,7 @@ x_12 = lean_string_append(x_11, x_10);
lean_dec(x_10);
x_13 = l___private_Lean_Elab_Tactic_Omega_Core_0__Lean_Elab_Tactic_Omega_Justification_bullet___closed__1;
x_14 = lean_string_append(x_12, x_13);
x_15 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_4);
x_15 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_4);
lean_dec(x_4);
x_16 = l_Lean_Elab_Tactic_Omega_Problem_instToStringFourierMotzkinData___closed__2;
x_17 = lean_string_append(x_16, x_15);
@ -13997,7 +13997,7 @@ lean_dec(x_15);
x_18 = lean_string_append(x_17, x_13);
x_19 = lean_string_append(x_14, x_18);
lean_dec(x_18);
x_20 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_6);
x_20 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_6);
lean_dec(x_6);
x_21 = l_Lean_Elab_Tactic_Omega_Problem_instToStringFourierMotzkinData___closed__3;
x_22 = lean_string_append(x_21, x_20);
@ -14005,7 +14005,7 @@ lean_dec(x_20);
x_23 = lean_string_append(x_22, x_13);
x_24 = lean_string_append(x_19, x_23);
lean_dec(x_23);
x_25 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_8);
x_25 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_8);
lean_dec(x_8);
x_26 = l_Lean_Elab_Tactic_Omega_Problem_instToStringFourierMotzkinData___closed__4;
x_27 = lean_string_append(x_26, x_25);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -100,7 +100,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Language_Lean_pr
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, lean_object*);
lean_object* l_Lean_Environment_enableRealizationsForImports(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Language_Lean_process_processHeader___lambda__3___closed__2;
extern lean_object* l_Lean_maxRecDepth;
lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*);
@ -13802,124 +13801,58 @@ return x_2;
LEAN_EXPORT lean_object* l_Lean_Language_Lean_process_processHeader___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, double x_10, double x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18;
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
x_15 = lean_ctor_get(x_1, 0);
lean_inc(x_15);
lean_dec(x_1);
x_16 = l_Lean_Environment_setMainModule(x_2, x_15);
lean_inc(x_3);
x_17 = l_Lean_Environment_enableRealizationsForImports(x_16, x_3, x_14);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
x_17 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__2;
x_18 = l_Lean_Option_get_x3f___at_Lean_addTraceAsMessages___spec__17(x_3, x_17);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
x_19 = lean_ctor_get(x_17, 0);
x_20 = lean_ctor_get(x_17, 1);
x_21 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__2;
x_22 = l_Lean_Option_get_x3f___at_Lean_addTraceAsMessages___spec__17(x_3, x_21);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25;
lean_free_object(x_17);
x_23 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__1;
x_24 = lean_box(0);
x_25 = l_Lean_Language_Lean_process_processHeader___lambda__3(x_3, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_23, x_24, x_13, x_20);
return x_25;
lean_object* x_19; lean_object* x_20; lean_object* x_21;
x_19 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__1;
x_20 = lean_box(0);
x_21 = l_Lean_Language_Lean_process_processHeader___lambda__3(x_3, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_19, x_20, x_13, x_14);
return x_21;
}
else
{
uint64_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 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_dec(x_22);
x_26 = 0;
x_27 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__4;
x_28 = 1;
x_29 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__5;
x_30 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_30, 0, x_27);
lean_ctor_set(x_30, 1, x_29);
lean_ctor_set_float(x_30, sizeof(void*)*2, x_10);
lean_ctor_set_float(x_30, sizeof(void*)*2 + 8, x_11);
lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 16, x_28);
uint64_t x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
lean_dec(x_18);
x_22 = 0;
x_23 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__4;
x_24 = 1;
x_25 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__5;
x_26 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_26, 0, x_23);
lean_ctor_set(x_26, 1, x_25);
lean_ctor_set_float(x_26, sizeof(void*)*2, x_10);
lean_ctor_set_float(x_26, sizeof(void*)*2 + 8, x_11);
lean_ctor_set_uint8(x_26, sizeof(void*)*2 + 16, x_24);
x_27 = lean_box(0);
x_28 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__7;
x_29 = l_Lean_Language_Lean_process_doElab___closed__1;
x_30 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_30, 0, x_26);
lean_ctor_set(x_30, 1, x_28);
lean_ctor_set(x_30, 2, x_29);
x_31 = lean_box(0);
x_32 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__7;
x_33 = l_Lean_Language_Lean_process_doElab___closed__1;
x_34 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_34, 0, x_30);
lean_ctor_set(x_34, 1, x_32);
lean_ctor_set(x_34, 2, x_33);
x_35 = lean_box(0);
lean_ctor_set(x_17, 1, x_34);
lean_ctor_set(x_17, 0, x_35);
x_36 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_36, 0, x_17);
lean_ctor_set(x_36, 1, x_31);
x_37 = lean_array_mk(x_36);
x_38 = l_Array_toPArray_x27___rarg(x_37);
lean_dec(x_37);
x_39 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set_uint64(x_39, sizeof(void*)*1, x_26);
x_40 = lean_box(0);
x_41 = l_Lean_Language_Lean_process_processHeader___lambda__3(x_3, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_39, x_40, x_13, x_20);
return x_41;
}
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
x_42 = lean_ctor_get(x_17, 0);
x_43 = lean_ctor_get(x_17, 1);
lean_inc(x_43);
lean_inc(x_42);
lean_dec(x_17);
x_44 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__2;
x_45 = l_Lean_Option_get_x3f___at_Lean_addTraceAsMessages___spec__17(x_3, x_44);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48;
x_46 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__1;
x_47 = lean_box(0);
x_48 = l_Lean_Language_Lean_process_processHeader___lambda__3(x_3, x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_46, x_47, x_13, x_43);
return x_48;
}
else
{
uint64_t x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65;
lean_dec(x_45);
x_49 = 0;
x_50 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__4;
x_51 = 1;
x_52 = l_Lean_Language_Lean_process_doElab___lambda__4___closed__5;
x_53 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_53, 0, x_50);
lean_ctor_set(x_53, 1, x_52);
lean_ctor_set_float(x_53, sizeof(void*)*2, x_10);
lean_ctor_set_float(x_53, sizeof(void*)*2 + 8, x_11);
lean_ctor_set_uint8(x_53, sizeof(void*)*2 + 16, x_51);
x_54 = lean_box(0);
x_55 = l_Lean_Language_Lean_process_processHeader___lambda__4___closed__7;
x_56 = l_Lean_Language_Lean_process_doElab___closed__1;
x_57 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_57, 0, x_53);
lean_ctor_set(x_57, 1, x_55);
lean_ctor_set(x_57, 2, x_56);
x_58 = lean_box(0);
x_59 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_59, 0, x_58);
lean_ctor_set(x_59, 1, x_57);
x_60 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_60, 1, x_54);
x_61 = lean_array_mk(x_60);
x_62 = l_Array_toPArray_x27___rarg(x_61);
lean_dec(x_61);
x_63 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set_uint64(x_63, sizeof(void*)*1, x_49);
x_64 = lean_box(0);
x_65 = l_Lean_Language_Lean_process_processHeader___lambda__3(x_3, x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_63, x_64, x_13, x_43);
return x_65;
}
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_30);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_27);
x_34 = lean_array_mk(x_33);
x_35 = l_Array_toPArray_x27___rarg(x_34);
lean_dec(x_34);
x_36 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set_uint64(x_36, sizeof(void*)*1, x_22);
x_37 = lean_box(0);
x_38 = l_Lean_Language_Lean_process_processHeader___lambda__3(x_3, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_36, x_37, x_13, x_14);
return x_38;
}
}
}

View file

@ -442,7 +442,6 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Lint
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_987____lambda__1___closed__7;
LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Linter_mkIgnoreFnImpl___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1187____lambda__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_Linter_UnusedVariables_initFn____x40_Lean_Linter_UnusedVariables___hyg_8700_(lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_4909____lambda__1___closed__2;
LEAN_EXPORT lean_object* l_Lean_Linter_UnusedVariables_followAliases___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1055_(lean_object*);
@ -521,6 +520,7 @@ static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hy
LEAN_EXPORT lean_object* l_Lean_MessageData_isUnusedVariableWarning___boxed(lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1055____lambda__1___closed__10;
static lean_object* l_Array_anyMUnsafe_any___at_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_1427____spec__2___closed__6;
LEAN_EXPORT lean_object* l_Lean_Linter_UnusedVariables_initFn____x40_Lean_Linter_UnusedVariables___hyg_8708_(lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_125____closed__5;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_4549____lambda__1___closed__8;
LEAN_EXPORT lean_object* l_Lean_Linter_UnusedVariables_unusedVariables___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -21356,7 +21356,7 @@ lean_dec(x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_UnusedVariables_initFn____x40_Lean_Linter_UnusedVariables___hyg_8700_(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_Linter_UnusedVariables_initFn____x40_Lean_Linter_UnusedVariables___hyg_8708_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3;
@ -22034,7 +22034,7 @@ l_Lean_Linter_UnusedVariables_unusedVariables___closed__3 = _init_l_Lean_Linter_
lean_mark_persistent(l_Lean_Linter_UnusedVariables_unusedVariables___closed__3);
l_Lean_Linter_UnusedVariables_unusedVariables = _init_l_Lean_Linter_UnusedVariables_unusedVariables();
lean_mark_persistent(l_Lean_Linter_UnusedVariables_unusedVariables);
if (builtin) {res = l_Lean_Linter_UnusedVariables_initFn____x40_Lean_Linter_UnusedVariables___hyg_8700_(lean_io_mk_world());
if (builtin) {res = l_Lean_Linter_UnusedVariables_initFn____x40_Lean_Linter_UnusedVariables___hyg_8708_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_MessageData_isUnusedVariableWarning___closed__1 = _init_l_Lean_MessageData_isUnusedVariableWarning___closed__1();

View file

@ -36,7 +36,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_obj
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_savingCacheImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static uint64_t l_Lean_Meta_withReducibleAndInstances___rarg___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__6;
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_FVarId_hasForwardDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -435,6 +434,7 @@ static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprProjReductionKi
static lean_object* l_Lean_Meta_realizeConst_realizeAndReport___closed__14;
static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__3;
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withIncSynthPending___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_approxDefEqImp(lean_object*);
@ -506,7 +506,6 @@ lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__63;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAux(lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__52;
LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_realizeConst_realizeAndReport___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclNoLocalInstanceUpdate(lean_object*);
lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*);
@ -712,7 +711,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensi
LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_FVarId_hasForwardDeps___spec__41(lean_object*, lean_object*, size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Meta_liftMetaM(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDelta(lean_object*);
extern lean_object* l_Lean_Elab_async;
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux___closed__1;
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__3___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_isLevelDefEqAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -731,7 +729,6 @@ LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec_
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__44(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___closed__7;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___lambda__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948_(lean_object*);
static lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst_realizeAndReport___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -756,6 +753,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_beqAbstractMVa
LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_FVarId_hasForwardDeps___spec__37(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_elimMVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instApplicativeOfMonad___rarg(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__4;
LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_reprConfig____x40_Lean_Meta_Basic___hyg_589____closed__66;
LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -775,7 +773,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_MetaM_toIO___rarg___lambda__1___boxed(lean_
LEAN_EXPORT lean_object* l_Lean_Meta_collectForwardDeps(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarWithIdCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint64_t lean_uint64_of_nat(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__3;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27(lean_object*);
LEAN_EXPORT uint8_t l_Lean_Meta_instDecidableEqProjReductionKind(uint8_t, uint8_t);
@ -820,10 +817,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_modifyDiag___boxed(lean_object*, lean_objec
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process(lean_object*);
static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__2;
static lean_object* l_IO_FS_withIsolatedStreams___at_Lean_Meta_realizeConst_realizeAndReport___spec__10___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__1;
LEAN_EXPORT lean_object* l_Lean_MVarId_setType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_instInhabitedExpr;
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__12___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_realizeConst___lambda__6___closed__1;
static lean_object* l_Lean_addTraceAsMessages___at_Lean_Meta_realizeConst_realizeAndReport___spec__2___lambda__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___spec__1(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_LocalInstances_erase(lean_object*, lean_object*);
@ -900,6 +897,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getParamNames___lambda__1(lean_object*, lea
LEAN_EXPORT lean_object* l_Lean_Meta_withTrackingZetaDeltaSet(lean_object*);
extern lean_object* l_Lean_trace_profiler_threshold;
lean_object* l_Lean_MetavarContext_getExprAssignmentCore_x3f(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__6;
lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_SavedState_restore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1018,7 +1016,6 @@ LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at_Lean_Meta_record
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_instAlternativeMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_MVarId_getDecl___closed__1;
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__2;
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1038,6 +1035,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaTelescopeReducing___boxed(lean_ob
LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaBoundedTelescope(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_mkLevelErrorMessage(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__3;
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_mapMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1318,13 +1316,11 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_withErasedFVar
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_FVarId_hasForwardDeps___spec__28(lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__2;
static lean_object* l_Lean_Meta_instInhabitedParamInfo___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_instAlternativeMetaM;
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__7;
uint8_t lean_uint64_dec_eq(uint64_t, uint64_t);
LEAN_EXPORT uint8_t l___private_Lean_Meta_Basic_0__Lean_Meta_mkLevelErrorMessageCore___lambda__1(lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__7;
extern lean_object* l_Lean_firstFrontendMacroScope;
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__1;
static size_t l_Lean_PersistentHashMap_containsAux___at_Lean_Meta_recordSynthPendingFailure___spec__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_ParamInfo_isInstImplicit___boxed(lean_object*);
size_t lean_usize_sub(size_t, size_t);
@ -1347,6 +1343,7 @@ LEAN_EXPORT lean_object* l_Lean_FVarId_findDecl_x3f___boxed(lean_object*, lean_o
static lean_object* l_Array_forIn_x27Unsafe_loop___at_Lean_Meta_realizeConst_realizeAndReport___spec__8___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_resetZetaDeltaFVarIds___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedMetaM___rarg(lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__5;
static lean_object* l_Lean_Meta_instMonadMetaM___closed__6;
LEAN_EXPORT lean_object* l_Lean_Meta_mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___rarg___lambda__1___boxed(lean_object*, lean_object*);
@ -1386,7 +1383,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_FVarId_hasForward
uint8_t l_Lean_Level_any(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_withLocalDeclsDND___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_processPostponed___lambda__1___closed__4;
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__5;
extern lean_object* l_Lean_instInhabitedName;
LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_withIncRecDepth___spec__1___rarg___closed__6;
@ -1427,6 +1423,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___
LEAN_EXPORT uint64_t l_Lean_Meta_instHashableInfoCacheKey(lean_object*);
size_t lean_usize_shift_left(size_t, size_t);
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_MetaM_toIO(lean_object*);
LEAN_EXPORT lean_object* l_IO_withStdin___at_Lean_Meta_realizeConst_realizeAndReport___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_recordInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -1540,7 +1537,6 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Meta_processPostponed___spec__2___rarg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_withInstImplicitAsImplict___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp___spec__1(lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__4;
LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_FVarId_hasForwardDeps___spec__42___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_MVarId_isReadOnly___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Basic_0__Lean_Meta_setAllDiagRanges___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*);
@ -63040,7 +63036,7 @@ _start:
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
x_1 = l_Lean_Meta_realizeConst_realizeAndReport___closed__18;
x_2 = l_Lean_Meta_realizeConst_realizeAndReport___closed__19;
x_3 = lean_unsigned_to_nat(2325u);
x_3 = lean_unsigned_to_nat(2320u);
x_4 = lean_unsigned_to_nat(6u);
x_5 = l_Lean_Meta_realizeConst_realizeAndReport___closed__20;
x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5);
@ -66465,88 +66461,6 @@ x_16 = l_Lean_withTraceNode___at_Lean_Meta_realizeConst___spec__1(x_13, x_11, x_
return x_16;
}
}
static lean_object* _init_l_Lean_Meta_realizeConst___lambda__6___closed__1() {
_start:
{
lean_object* x_1;
x_1 = l_Lean_Elab_async;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11; lean_object* x_12; uint8_t x_13;
x_11 = lean_ctor_get(x_8, 2);
lean_inc(x_11);
x_12 = l_Lean_Meta_realizeConst___lambda__6___closed__1;
x_13 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_11, x_12);
lean_dec(x_11);
if (x_13 == 0)
{
lean_object* x_14;
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_14 = lean_apply_5(x_2, x_6, x_7, x_8, x_9, x_10);
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);
lean_dec(x_16);
x_17 = lean_box(0);
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, 1);
lean_inc(x_18);
lean_dec(x_14);
x_19 = lean_box(0);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
return x_20;
}
}
else
{
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; lean_object* x_24;
x_22 = lean_ctor_get(x_14, 0);
x_23 = lean_ctor_get(x_14, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_14);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
else
{
lean_object* x_25; lean_object* x_26;
x_25 = lean_box(0);
x_26 = l_Lean_Meta_realizeConst___lambda__5(x_1, x_2, x_3, x_4, x_25, x_6, x_7, x_8, x_9, x_10);
return x_26;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst(lean_object* x_1, lean_object* x_2, 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:
{
@ -66568,7 +66482,7 @@ if (x_14 == 0)
lean_object* x_15; lean_object* x_16;
lean_free_object(x_9);
x_15 = lean_box(0);
x_16 = l_Lean_Meta_realizeConst___lambda__6(x_2, x_3, x_13, x_1, x_15, x_4, x_5, x_6, x_7, x_12);
x_16 = l_Lean_Meta_realizeConst___lambda__5(x_2, x_3, x_13, x_1, x_15, x_4, x_5, x_6, x_7, x_12);
return x_16;
}
else
@ -66604,7 +66518,7 @@ if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23;
x_22 = lean_box(0);
x_23 = l_Lean_Meta_realizeConst___lambda__6(x_2, x_3, x_20, x_1, x_22, x_4, x_5, x_6, x_7, x_19);
x_23 = l_Lean_Meta_realizeConst___lambda__5(x_2, x_3, x_20, x_1, x_22, x_4, x_5, x_6, x_7, x_19);
return x_23;
}
else
@ -66759,16 +66673,7 @@ lean_dec(x_5);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_realizeConst___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11;
x_11 = l_Lean_Meta_realizeConst___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_5);
return x_11;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__1() {
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -66778,73 +66683,73 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__2() {
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__1;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__1;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__3() {
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__2;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__2;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__4() {
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__3;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__3;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2516____closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__5() {
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__4;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__4;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____closed__10;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__6() {
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__5;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__5;
x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_3508____closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__7() {
static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__6;
x_2 = lean_unsigned_to_nat(20948u);
x_1 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__6;
x_2 = lean_unsigned_to_nat(20869u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948_(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869_(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
x_2 = l_Lean_Meta_processPostponed_loop___closed__3;
x_3 = 0;
x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__7;
x_4 = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__7;
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
if (lean_obj_tag(x_5) == 0)
{
@ -67615,23 +67520,21 @@ l_Lean_Meta_realizeConst___lambda__4___closed__1 = _init_l_Lean_Meta_realizeCons
lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__4___closed__1);
l_Lean_Meta_realizeConst___lambda__5___closed__1 = _init_l_Lean_Meta_realizeConst___lambda__5___closed__1();
lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__5___closed__1);
l_Lean_Meta_realizeConst___lambda__6___closed__1 = _init_l_Lean_Meta_realizeConst___lambda__6___closed__1();
lean_mark_persistent(l_Lean_Meta_realizeConst___lambda__6___closed__1);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__1);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__2);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__3);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__4);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__5);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__6);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948____closed__7);
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20948_(lean_io_mk_world());
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__1();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__1);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__2 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__2();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__2);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__3 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__3();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__3);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__4 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__4();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__4);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__5 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__5();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__5);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__6 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__6();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__6);
l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__7 = _init_l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__7();
lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869____closed__7);
if (builtin) {res = l_Lean_initFn____x40_Lean_Meta_Basic___hyg_20869_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));

View file

@ -22,7 +22,6 @@ static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__3___boxed(lean_object*);
lean_object* l_Lean_mkNatLit(lean_object*);
LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_Lean_Meta_AC_toACExpr___spec__7(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__2;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof___spec__2(size_t, size_t, lean_object*);
@ -34,19 +33,18 @@ static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1___close
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda__1(lean_object*);
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___lambda__2___closed__3;
static lean_object* l_Lean_Meta_AC_getInstance___closed__6;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613_(lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__12;
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__6;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_abstractAtoms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__12;
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__13;
LEAN_EXPORT lean_object* l_Std_HashMap_get_x21___at_Lean_Meta_AC_toACExpr___spec__9___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkApp7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_HashMap_get_x21___at_Lean_Meta_AC_toACExpr___spec__9(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__6;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_acNfTargetTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_acRflTactic(lean_object*);
uint8_t l_Lean_Exception_isInterrupt(lean_object*);
lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__10;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_getInstance___closed__1;
@ -56,6 +54,7 @@ static lean_object* l_Lean_Meta_AC_preContext___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_expandLocation(lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__7;
uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectFVars_visit___spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
@ -64,6 +63,7 @@ lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__12;
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__14;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof___spec__1(size_t, size_t, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__15;
lean_object* lean_mk_array(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__8;
uint8_t lean_usize_dec_eq(size_t, size_t);
@ -76,6 +76,7 @@ static lean_object* l_Lean_Meta_AC_getInstance___lambda__2___closed__1;
lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_Simp_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_preContext___closed__2;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__2;
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_evalNf0___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -98,6 +99,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_AC_evalNf0___lambda__3(lean_object*, lean_o
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__5;
lean_object* l_Lean_Data_AC_Expr_toList(lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__10;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__16;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_evalNf0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -122,10 +124,10 @@ static lean_object* l_Lean_Meta_AC_preContext___closed__5;
static lean_object* l_Lean_Meta_AC_instInhabitedPreContext___closed__4;
static lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___closed__3;
static lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___closed__4;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__4;
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1___closed__4;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_AC_toACExpr___spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__1(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__3;
size_t lean_usize_of_nat(lean_object*);
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___lambda__2___closed__2;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__2;
@ -133,8 +135,9 @@ static lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___closed__1;
lean_object* l_Lean_MVarId_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__5;
lean_object* l_panic___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__10;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__1;
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Data_AC_norm___at_Lean_Meta_AC_buildNormProof___spec__3___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -149,23 +152,20 @@ static lean_object* l_Lean_Meta_AC_getInstance___closed__2;
static lean_object* l_Lean_Meta_AC_getInstance___closed__7;
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_AC_toACExpr___spec__11(lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__9;
lean_object* lean_nat_div(lean_object*, lean_object*);
lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__1;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__4;
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__5;
LEAN_EXPORT uint8_t l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__3(lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__11;
static lean_object* l_Lean_Meta_AC_getInstance___lambda__2___closed__2;
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__7;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__13;
LEAN_EXPORT lean_object* l_Lean_Data_AC_evalList___at_Lean_Meta_AC_buildNormProof___spec__6(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic_declRange__1___closed__6;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__7;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_evalNf0___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__8;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__16;
static lean_object* l_Lean_Meta_AC_buildNormProof___closed__3;
static lean_object* l_Lean_Meta_AC_evalNf0___closed__2;
lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -195,16 +195,17 @@ lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*,
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__4;
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at_Lean_Meta_AC_toACExpr___spec__6(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_buildNormProof___closed__2;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__11;
static lean_object* l_Lean_Meta_AC_buildNormProof_convert___closed__2;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instContextInformationProdPreContextArrayBool___lambda__2___boxed(lean_object*);
static lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___closed__4;
extern lean_object* l_Lean_instInhabitedExpr;
static lean_object* l_Lean_Meta_AC_abstractAtoms_go___closed__2;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__4;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__6;
uint64_t l_Lean_Expr_hash(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Data_AC_removeNeutrals_loop___at_Lean_Meta_AC_buildNormProof___spec__5(lean_object*, lean_object*);
lean_object* l_Lean_FVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__14;
LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_AC_buildNormProof___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_AC_toACExpr___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
@ -221,7 +222,7 @@ uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_rewriteUnnormalized___closed__9;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_acNfHypTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda__3(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__9;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622_(lean_object*);
static lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__3;
static lean_object* l___regBuiltin_Lean_Meta_AC_evalNf0__1___closed__1;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_AC_acRflTactic__1(lean_object*);
@ -235,10 +236,8 @@ lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*,
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalizedRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at_Lean_Meta_AC_toACExpr___spec__5(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__15;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_instInhabitedPreContext___closed__3;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__5;
static lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___closed__5;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_buildNormProof___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Data_AC_evalList___at_Lean_Meta_AC_buildNormProof___spec__6___boxed(lean_object*, lean_object*);
@ -292,9 +291,9 @@ static lean_object* l_Lean_Meta_AC_getInstance___closed__3;
lean_object* lean_nat_sub(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_Meta_AC_toACExpr___spec__2(lean_object*, lean_object*);
lean_object* lean_nat_mul(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__8;
static lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_getInstance___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__8;
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_rewriteUnnormalized___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_instEvalInformationPreContextACExpr___closed__2;
@ -335,11 +334,11 @@ static lean_object* l_Lean_Meta_AC_preContext___closed__8;
lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_post___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_AC_evalNf0__1(lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__1;
LEAN_EXPORT lean_object* l_Lean_Data_AC_removeNeutrals___at_Lean_Meta_AC_buildNormProof___spec__4___boxed(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_preContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_buildNormProof_mkContext___closed__9;
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__14;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_getInstance___lambda__2___boxed(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_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -353,6 +352,7 @@ lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint
static lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at_Lean_Meta_AC_toACExpr___spec__10___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_AC_toACExpr_toPreExpr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__13;
lean_object* l_Lean_Meta_applySimpResultToTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Exception_isRuntime(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_AC_evalNf0___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -9991,7 +9991,7 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
return x_6;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__1() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
@ -10001,27 +10001,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__2() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__1;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__1;
x_2 = l_Lean_Meta_AC_getInstance___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__3() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__2;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__2;
x_2 = l_Lean_Meta_AC_getInstance___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__4() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__4() {
_start:
{
lean_object* x_1;
@ -10029,17 +10029,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__5() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__3;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__4;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__3;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__6() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__6() {
_start:
{
lean_object* x_1;
@ -10047,57 +10047,57 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__7() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__5;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__6;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__5;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__8() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__7;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__7;
x_2 = l_Array_mapMUnsafe_map___at_Lean_Meta_AC_buildNormProof_mkContext___spec__1___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__9() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__8;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__8;
x_2 = l_Lean_Meta_AC_getInstance___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__10() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__9;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__9;
x_2 = l___regBuiltin_Lean_Meta_AC_acRflTactic__1___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__11() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__10;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__10;
x_2 = l_Lean_Meta_AC_getInstance___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__12() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__12() {
_start:
{
lean_object* x_1;
@ -10105,17 +10105,17 @@ x_1 = lean_mk_string_unchecked("Main", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__13() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__11;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__12;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__11;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__14() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__14() {
_start:
{
lean_object* x_1;
@ -10123,33 +10123,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__15() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__13;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__14;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__13;
x_2 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__14;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__16() {
static lean_object* _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__15;
x_2 = lean_unsigned_to_nat(6613u);
x_1 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__15;
x_2 = lean_unsigned_to_nat(6622u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613_(lean_object* x_1) {
LEAN_EXPORT lean_object* l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622_(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5;
x_2 = l_Lean_Meta_AC_getInstance___closed__3;
x_3 = 0;
x_4 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__16;
x_4 = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__16;
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1);
return x_5;
}
@ -10448,39 +10448,39 @@ lean_mark_persistent(l___regBuiltin_Lean_Meta_AC_evalNf0__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Meta_AC_evalNf0__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__1 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__1();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__1);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__2 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__2();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__2);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__3 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__3();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__3);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__4 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__4();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__4);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__5 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__5();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__5);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__6 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__6();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__6);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__7 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__7();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__7);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__8 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__8();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__8);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__9 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__9();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__9);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__10 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__10();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__10);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__11 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__11();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__11);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__12 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__12();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__12);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__13 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__13();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__13);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__14 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__14();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__14);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__15 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__15();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__15);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__16 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__16();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613____closed__16);
if (builtin) {res = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6613_(lean_io_mk_world());
}l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__1 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__1();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__1);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__2 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__2();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__2);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__3 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__3();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__3);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__4 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__4();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__4);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__5 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__5();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__5);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__6 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__6();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__6);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__7 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__7();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__7);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__8 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__8();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__8);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__9 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__9();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__9);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__10 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__10();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__10);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__11 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__11();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__11);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__12 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__12();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__12);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__13 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__13();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__13);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__14 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__14();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__14);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__15 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__15();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__15);
l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__16 = _init_l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__16();
lean_mark_persistent(l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622____closed__16);
if (builtin) {res = l_Lean_Meta_AC_initFn____x40_Lean_Meta_Tactic_AC_Main___hyg_6622_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));

View file

@ -146,6 +146,7 @@ static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__9;
uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*);
static lean_object* l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__45;
static lean_object* l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___lambda__2___closed__1;
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1558____spec__2(size_t, size_t, lean_object*);
static lean_object* l_Array_forIn_x27Unsafe_loop___at___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addExactSuggestionCore___spec__1___closed__1;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1(lean_object*);
static lean_object* l_Lean_Meta_Tactic_TryThis_getIndentAndColumn___closed__1;
@ -326,7 +327,6 @@ static lean_object* l___regBuiltin_Lean_Meta_Tactic_TryThis_tryThisWidget__1___c
static lean_object* l_List_mapTR_loop___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___spec__2___closed__1;
static lean_object* l_Lean_Meta_Tactic_TryThis_mkExactSuggestionSyntax___lambda__3___closed__4;
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_asHypothesis___closed__4;
lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___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_Array_mapMUnsafe_map___at_Lean_Meta_Tactic_TryThis_addSuggestions___spec__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_Tactic_TryThis_SuggestionStyle_error___closed__22;
@ -3882,7 +3882,7 @@ x_42 = lean_ctor_get(x_40, 1);
x_43 = lean_ctor_get(x_40, 0);
lean_dec(x_43);
x_44 = lean_array_size(x_30);
x_45 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_44, x_24, x_30);
x_45 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1558____spec__2(x_44, x_24, x_30);
x_46 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_46, 0, x_45);
x_47 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1;
@ -3972,7 +3972,7 @@ x_79 = lean_ctor_get(x_40, 1);
lean_inc(x_79);
lean_dec(x_40);
x_80 = lean_array_size(x_30);
x_81 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_80, x_24, x_30);
x_81 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1558____spec__2(x_80, x_24, x_30);
x_82 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_82, 0, x_81);
x_83 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1;
@ -4168,7 +4168,7 @@ if (lean_is_exclusive(x_142)) {
x_144 = lean_box(0);
}
x_145 = lean_array_size(x_131);
x_146 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_145, x_125, x_131);
x_146 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1558____spec__2(x_145, x_125, x_131);
x_147 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_147, 0, x_146);
x_148 = l___private_Lean_Meta_Tactic_TryThis_0__Lean_Meta_Tactic_TryThis_addSuggestionCore___closed__1;
@ -10310,7 +10310,7 @@ x_94 = lean_st_ref_get(x_11, x_90);
x_95 = !lean_is_exclusive(x_94);
if (x_95 == 0)
{
lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107;
lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105;
x_96 = lean_ctor_get(x_94, 1);
x_97 = lean_ctor_get(x_94, 0);
lean_dec(x_97);
@ -10322,58 +10322,46 @@ lean_ctor_set(x_94, 0, x_93);
x_99 = l_Lean_Meta_Tactic_TryThis_mkExactSuggestionSyntax___lambda__2___closed__11;
lean_inc(x_93);
x_100 = l_Lean_Syntax_node1(x_93, x_99, x_89);
x_101 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9;
x_101 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__14;
lean_inc(x_93);
x_102 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_102, 0, x_93);
lean_ctor_set(x_102, 1, x_99);
lean_ctor_set(x_102, 2, x_101);
x_103 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__14;
lean_inc(x_93);
x_104 = l_Lean_Syntax_node2(x_93, x_103, x_100, x_102);
x_105 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11;
x_106 = l_Lean_Syntax_node2(x_93, x_105, x_94, x_104);
x_107 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_107, 0, x_106);
x_21 = x_107;
x_102 = l_Lean_Syntax_node1(x_93, x_101, x_100);
x_103 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11;
x_104 = l_Lean_Syntax_node2(x_93, x_103, x_94, x_102);
x_105 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_105, 0, x_104);
x_21 = x_105;
x_22 = x_96;
goto block_84;
}
else
{
lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119;
x_108 = lean_ctor_get(x_94, 1);
lean_inc(x_108);
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115;
x_106 = lean_ctor_get(x_94, 1);
lean_inc(x_106);
lean_dec(x_94);
x_109 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__12;
x_107 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__12;
lean_inc(x_93);
x_110 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_110, 0, x_93);
lean_ctor_set(x_110, 1, x_109);
x_111 = l_Lean_Meta_Tactic_TryThis_mkExactSuggestionSyntax___lambda__2___closed__11;
x_108 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_108, 0, x_93);
lean_ctor_set(x_108, 1, x_107);
x_109 = l_Lean_Meta_Tactic_TryThis_mkExactSuggestionSyntax___lambda__2___closed__11;
lean_inc(x_93);
x_112 = l_Lean_Syntax_node1(x_93, x_111, x_89);
x_113 = l_Lean_Meta_Tactic_TryThis_addHaveSuggestion___closed__9;
x_110 = l_Lean_Syntax_node1(x_93, x_109, x_89);
x_111 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__14;
lean_inc(x_93);
x_114 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_114, 0, x_93);
lean_ctor_set(x_114, 1, x_111);
lean_ctor_set(x_114, 2, x_113);
x_115 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__14;
lean_inc(x_93);
x_116 = l_Lean_Syntax_node2(x_93, x_115, x_112, x_114);
x_117 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11;
x_118 = l_Lean_Syntax_node2(x_93, x_117, x_110, x_116);
x_119 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_119, 0, x_118);
x_21 = x_119;
x_22 = x_108;
x_112 = l_Lean_Syntax_node1(x_93, x_111, x_110);
x_113 = l_Lean_Meta_Tactic_TryThis_addRewriteSuggestion___closed__11;
x_114 = l_Lean_Syntax_node2(x_93, x_113, x_108, x_112);
x_115 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_115, 0, x_114);
x_21 = x_115;
x_22 = x_106;
goto block_84;
}
}
else
{
uint8_t x_120;
uint8_t x_116;
lean_dec(x_20);
lean_dec(x_11);
lean_dec(x_10);
@ -10382,23 +10370,23 @@ lean_dec(x_8);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_120 = !lean_is_exclusive(x_88);
if (x_120 == 0)
x_116 = !lean_is_exclusive(x_88);
if (x_116 == 0)
{
return x_88;
}
else
{
lean_object* x_121; lean_object* x_122; lean_object* x_123;
x_121 = lean_ctor_get(x_88, 0);
x_122 = lean_ctor_get(x_88, 1);
lean_inc(x_122);
lean_inc(x_121);
lean_object* x_117; lean_object* x_118; lean_object* x_119;
x_117 = lean_ctor_get(x_88, 0);
x_118 = lean_ctor_get(x_88, 1);
lean_inc(x_118);
lean_inc(x_117);
lean_dec(x_88);
x_123 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_123, 0, x_121);
lean_ctor_set(x_123, 1, x_122);
return x_123;
x_119 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_119, 0, x_117);
lean_ctor_set(x_119, 1, x_118);
return x_119;
}
}
}
@ -10566,7 +10554,7 @@ return x_83;
}
else
{
uint8_t x_124;
uint8_t x_120;
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
@ -10574,23 +10562,23 @@ lean_dec(x_8);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_124 = !lean_is_exclusive(x_16);
if (x_124 == 0)
x_120 = !lean_is_exclusive(x_16);
if (x_120 == 0)
{
return x_16;
}
else
{
lean_object* x_125; lean_object* x_126; lean_object* x_127;
x_125 = lean_ctor_get(x_16, 0);
x_126 = lean_ctor_get(x_16, 1);
lean_inc(x_126);
lean_inc(x_125);
lean_object* x_121; lean_object* x_122; lean_object* x_123;
x_121 = lean_ctor_get(x_16, 0);
x_122 = lean_ctor_get(x_16, 1);
lean_inc(x_122);
lean_inc(x_121);
lean_dec(x_16);
x_127 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_127, 0, x_125);
lean_ctor_set(x_127, 1, x_126);
return x_127;
x_123 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_123, 0, x_121);
lean_ctor_set(x_123, 1, x_122);
return x_123;
}
}
}

View file

@ -92,6 +92,7 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at_Lean_Server_handleCodeActio
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_1231____spec__4___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458____closed__2;
lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_withNewLocals___spec__1(lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_273____spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Server_instCodeActionProviderInhabited___closed__1;
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_517____lambda__2___closed__3;
LEAN_EXPORT lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_458_(lean_object*);
@ -257,7 +258,6 @@ lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*);
static lean_object* l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_fromJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_125____closed__12;
static lean_object* l_Lean_Server_initFn____x40_Lean_Server_CodeActions_Basic___hyg_517____closed__26;
lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_390_(lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Position_0__Lean_fromJsonPosition____x40_Lean_Data_Position___hyg_289____spec__1(lean_object*, lean_object*);
lean_object* l_List_flatMapTR_go___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_55____spec__2(lean_object*, lean_object*);
lean_object* l___private_Lean_ToExpr_0__Lean_Name_toExprAux(lean_object*);
LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Server_handleCodeAction___spec__7(lean_object*, lean_object*);
@ -741,7 +741,7 @@ x_23 = lean_ctor_get(x_14, 0);
lean_inc(x_23);
lean_dec(x_14);
x_24 = l___private_Lean_Server_CodeActions_Basic_0__Lean_Server_toJsonCodeActionResolveData____x40_Lean_Server_CodeActions_Basic___hyg_59____closed__4;
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Position_0__Lean_fromJsonPosition____x40_Lean_Data_Position___hyg_289____spec__1(x_1, x_24);
x_25 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_273____spec__1(x_1, x_24);
if (lean_obj_tag(x_25) == 0)
{
uint8_t x_26;

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -128,6 +128,7 @@ LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_append___boxed(lean_object*, lean_ob
LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_root;
static lean_object* l_Lean_SubExpr_instFromJsonFVarId___closed__2;
static lean_object* l_Lean_SubExpr_Pos_depth___closed__1;
lean_object* l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetValue___boxed(lean_object*);
LEAN_EXPORT lean_object* l_panic___at_Lean_SubExpr_Pos_tail___spec__1(lean_object*);
static lean_object* l_Lean_SubExpr_Pos_head___closed__4;
@ -254,7 +255,6 @@ static lean_object* l_Lean_SubExpr_instFromJsonGoalsLocation___closed__1;
static lean_object* l_Lean_SubExpr_Pos_head___closed__1;
static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_1815____closed__8;
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(lean_object*);
static lean_object* l_Lean_SubExpr_Pos_fromString_x21___closed__1;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instOrd;
@ -1635,7 +1635,7 @@ lean_dec(x_1);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13;
x_8 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_7);
x_8 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_7);
x_9 = l_Lean_SubExpr_Pos_fromString_x3f___closed__2;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
@ -1659,7 +1659,7 @@ if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
lean_dec(x_15);
x_18 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_7);
x_18 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_7);
lean_dec(x_7);
x_19 = l_Lean_SubExpr_Pos_fromString_x3f___closed__2;
x_20 = lean_string_append(x_19, x_18);
@ -1739,7 +1739,7 @@ lean_dec(x_1);
if (x_39 == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
x_40 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_37);
x_40 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_37);
lean_dec(x_37);
x_41 = l_Lean_SubExpr_Pos_fromString_x3f___closed__2;
x_42 = lean_string_append(x_41, x_40);

View file

@ -117,6 +117,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_diffHypotheses_
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_diffInteractiveGoals___spec__3(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_RBNode_insert___at_Lean_MVarIdMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_levelZero;
lean_object* l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_diffHypothesesBundle_withTypeDiff___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_diffInteractiveGoals___spec__3___at_Lean_Widget_diffInteractiveGoals___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_diffInteractiveGoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -234,7 +235,6 @@ LEAN_EXPORT uint8_t l_Lean_Widget_instAppendExprDiff___lambda__2(lean_object*, u
LEAN_EXPORT lean_object* l_Lean_Widget_diffInteractiveGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_exprDiffCore___spec__3(lean_object*, size_t, size_t, lean_object*);
uint8_t l_Lean_Exception_isRuntime(lean_object*);
lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Widget_exprDiffCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_exprDiffCore___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
@ -849,7 +849,7 @@ x_2 = lean_ctor_get(x_1, 0);
x_3 = l_Lean_RBMap_toList___at_Lean_Widget_instToStringExprDiff___spec__1(x_2);
x_4 = lean_box(0);
x_5 = l_List_mapTR_loop___at_Lean_Widget_instToStringExprDiff___spec__3(x_3, x_4);
x_6 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_5);
x_6 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_5);
lean_dec(x_5);
x_7 = l_Lean_Widget_instToStringExprDiff___closed__1;
x_8 = lean_string_append(x_7, x_6);
@ -859,7 +859,7 @@ x_10 = lean_string_append(x_8, x_9);
x_11 = lean_ctor_get(x_1, 1);
x_12 = l_Lean_RBMap_toList___at_Lean_Widget_instToStringExprDiff___spec__1(x_11);
x_13 = l_List_mapTR_loop___at_Lean_Widget_instToStringExprDiff___spec__3(x_12, x_4);
x_14 = l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(x_13);
x_14 = l_List_toString___at_Lean_rewriteManualLinksCore_rw___spec__1(x_13);
lean_dec(x_13);
x_15 = lean_string_append(x_10, x_14);
lean_dec(x_14);

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,7 @@ lean_object* l_Std_Sat_AIG_mkConstCached___at_Std_Tactic_BVDecide_BVExpr_bitblas
lean_object* l_Std_Sat_AIG_mkIfCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_blastMul_go___spec__28(lean_object*, lean_object*);
static lean_object* l_Std_Sat_AIG_empty___at_Std_Tactic_BVDecide_BVLogicalExpr_bitblast___spec__2___closed__2;
lean_object* l_Std_Tactic_BVDecide_instDecidableEqBVBit___boxed(lean_object*, lean_object*);
lean_object* l_Std_Sat_AIG_mkBEqCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__7(lean_object*, lean_object*);
static lean_object* l_Std_Sat_AIG_empty___at_Std_Tactic_BVDecide_BVLogicalExpr_bitblast___spec__2___closed__1;
LEAN_EXPORT lean_object* l_Std_Tactic_BVDecide_ofBoolExprCached___at_Std_Tactic_BVDecide_BVLogicalExpr_bitblast___spec__1(lean_object*);
lean_object* l_Std_Tactic_BVDecide_BVPred_bitblast(lean_object*, lean_object*);
@ -31,7 +32,6 @@ static lean_object* l_Std_Sat_AIG_empty___at_Std_Tactic_BVDecide_BVLogicalExpr_b
static lean_object* l_Std_Sat_AIG_empty___at_Std_Tactic_BVDecide_BVLogicalExpr_bitblast___spec__2___closed__6;
LEAN_EXPORT lean_object* l_Std_Tactic_BVDecide_BVLogicalExpr_bitblast(lean_object*);
lean_object* l_Std_Sat_AIG_mkOrCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_blastMul_go___spec__25(lean_object*, lean_object*);
lean_object* l_Std_Sat_AIG_mkBEqCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__9(lean_object*, lean_object*);
lean_object* l_Std_Sat_AIG_mkNotCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_blastMul_go___spec__29(lean_object*, lean_object*);
lean_object* l_Std_Sat_AIG_mkXorCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_blastMul_go___spec__19(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Tactic_BVDecide_ofBoolExprCached_go___at_Std_Tactic_BVDecide_BVLogicalExpr_bitblast___spec__3(lean_object*, lean_object*);
@ -178,7 +178,7 @@ return x_22;
case 2:
{
lean_object* x_23;
x_23 = l_Std_Sat_AIG_mkBEqCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__9(x_20, x_18);
x_23 = l_Std_Sat_AIG_mkBEqCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__7(x_20, x_18);
return x_23;
}
default:
@ -216,7 +216,7 @@ return x_29;
case 2:
{
lean_object* x_30;
x_30 = l_Std_Sat_AIG_mkBEqCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__9(x_25, x_27);
x_30 = l_Std_Sat_AIG_mkBEqCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__7(x_25, x_27);
return x_30;
}
default:

File diff suppressed because it is too large Load diff

View file

@ -16,7 +16,6 @@ extern "C" {
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Pred_0__Std_Tactic_BVDecide_BVPred_bitblast_match__2_splitter(lean_object*);
LEAN_EXPORT lean_object* l_Std_Tactic_BVDecide_BVPred_blastGetLsbD___at_Std_Tactic_BVDecide_BVPred_bitblast___spec__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Pred_0__Std_Tactic_BVDecide_BVPred_bitblast_match__1_splitter(lean_object*);
lean_object* l_Std_Tactic_BVDecide_BVPred_mkEq___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__8(lean_object*, lean_object*, lean_object*);
static lean_object* l_Std_Tactic_BVDecide_BVPred_blastGetLsbD___at_Std_Tactic_BVDecide_BVPred_bitblast___spec__1___closed__1;
lean_object* l_Std_Sat_AIG_mkConstCached___at_Std_Tactic_BVDecide_BVExpr_bitblast_blastMul_go___spec__5(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Pred_0__Std_Tactic_BVDecide_BVPred_bitblast_match__1_splitter___rarg(uint8_t, lean_object*, lean_object*);
@ -24,6 +23,7 @@ lean_object* l_Std_Tactic_BVDecide_BVExpr_bitblast_go(lean_object*, lean_object*
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Impl_Pred_0__Std_Tactic_BVDecide_BVPred_bitblast_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Std_Tactic_BVDecide_BVPred_mkUlt___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__20(lean_object*, lean_object*, lean_object*);
lean_object* l_Std_Tactic_BVDecide_instDecidableEqBVBit___boxed(lean_object*, lean_object*);
lean_object* l_Std_Tactic_BVDecide_BVPred_mkEq___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__6(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Tactic_BVDecide_BVPred_blastGetLsbD___at_Std_Tactic_BVDecide_BVPred_bitblast___spec__1(lean_object*, lean_object*);
lean_object* lean_array_fget(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
@ -95,7 +95,7 @@ if (x_11 == 0)
lean_object* x_12; lean_object* x_13;
x_12 = lean_ctor_get(x_10, 0);
lean_ctor_set(x_10, 0, x_9);
x_13 = l_Std_Tactic_BVDecide_BVPred_mkEq___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__8(x_3, x_12, x_10);
x_13 = l_Std_Tactic_BVDecide_BVPred_mkEq___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__6(x_3, x_12, x_10);
return x_13;
}
else
@ -109,7 +109,7 @@ lean_dec(x_10);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_9);
lean_ctor_set(x_16, 1, x_15);
x_17 = l_Std_Tactic_BVDecide_BVPred_mkEq___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__8(x_3, x_14, x_16);
x_17 = l_Std_Tactic_BVDecide_BVPred_mkEq___at_Std_Tactic_BVDecide_BVExpr_bitblast_go___spec__6(x_3, x_14, x_16);
return x_17;
}
}

View file

@ -1,6 +1,6 @@
// Lean compiler output
// Module: Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Expr
// Imports: Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Basic Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Const Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Var Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Not Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ShiftLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ShiftRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Add Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ZeroExtend Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Append Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Replicate Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Extract Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.RotateLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.RotateRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.SignExtend Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Mul Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Udiv Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Umod Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Expr
// Imports: Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Basic Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Const Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Var Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Not Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ShiftLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.ShiftRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Add Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Append Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Replicate Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Extract Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.RotateLeft Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.RotateRight Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.SignExtend Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Mul Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Udiv Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Lemmas.Operations.Umod Std.Tactic.BVDecide.Bitblast.BVExpr.Circuit.Impl.Expr
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
@ -13,16 +13,15 @@
#ifdef __cplusplus
extern "C" {
#endif
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Expr_0__Std_Tactic_BVDecide_BVExpr_bitblast_go_match__5_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Expr_0__Std_Tactic_BVDecide_BVExpr_bitblast_go_match__5_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Expr_0__Std_Tactic_BVDecide_BVExpr_bitblast_go_match__5_splitter(lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Expr_0__Std_Tactic_BVDecide_BVExpr_bitblast_go_match__5_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Expr_0__Std_Tactic_BVDecide_BVExpr_bitblast_go_match__5_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
lean_object* x_15; lean_object* x_16;
lean_dec(x_14);
lean_object* x_14; lean_object* x_15;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
@ -33,16 +32,15 @@ lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_15 = lean_ctor_get(x_2, 1);
lean_inc(x_15);
x_14 = lean_ctor_get(x_2, 1);
lean_inc(x_14);
lean_dec(x_2);
x_16 = lean_apply_2(x_3, x_1, x_15);
return x_16;
x_15 = lean_apply_2(x_3, x_1, x_14);
return x_15;
}
case 1:
{
lean_object* x_17; lean_object* x_18;
lean_dec(x_14);
lean_object* x_16; lean_object* x_17;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
@ -53,62 +51,61 @@ lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
x_17 = lean_ctor_get(x_2, 1);
lean_inc(x_17);
x_16 = lean_ctor_get(x_2, 1);
lean_inc(x_16);
lean_dec(x_2);
x_18 = lean_apply_2(x_4, x_1, x_17);
return x_18;
x_17 = lean_apply_2(x_4, x_1, x_16);
return x_17;
}
case 2:
{
lean_object* x_19; lean_object* x_20; lean_object* x_21;
lean_dec(x_14);
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_19 = lean_ctor_get(x_2, 0);
x_18 = lean_ctor_get(x_2, 0);
lean_inc(x_18);
x_19 = lean_ctor_get(x_2, 1);
lean_inc(x_19);
x_20 = lean_ctor_get(x_2, 2);
x_20 = lean_ctor_get(x_2, 3);
lean_inc(x_20);
lean_dec(x_2);
x_21 = lean_apply_3(x_5, x_1, x_19, x_20);
x_21 = lean_apply_4(x_10, x_1, x_18, x_19, x_20);
return x_21;
}
case 3:
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
lean_dec(x_14);
lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_22 = lean_ctor_get(x_2, 0);
x_22 = lean_ctor_get(x_2, 1);
lean_inc(x_22);
x_23 = lean_ctor_get(x_2, 1);
lean_inc(x_23);
x_24 = lean_ctor_get(x_2, 3);
x_23 = lean_ctor_get_uint8(x_2, sizeof(void*)*3);
x_24 = lean_ctor_get(x_2, 2);
lean_inc(x_24);
lean_dec(x_2);
x_25 = lean_apply_4(x_11, x_1, x_22, x_23, x_24);
return x_25;
x_25 = lean_box(x_23);
x_26 = lean_apply_4(x_6, x_1, x_22, x_25, x_24);
return x_26;
}
case 4:
{
lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
lean_dec(x_14);
lean_object* x_27; lean_object* x_28; lean_object* x_29;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
@ -119,20 +116,17 @@ lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_26 = lean_ctor_get(x_2, 1);
lean_inc(x_26);
x_27 = lean_ctor_get_uint8(x_2, sizeof(void*)*3);
x_27 = lean_ctor_get(x_2, 1);
lean_inc(x_27);
x_28 = lean_ctor_get(x_2, 2);
lean_inc(x_28);
lean_dec(x_2);
x_29 = lean_box(x_27);
x_30 = lean_apply_4(x_7, x_1, x_26, x_29, x_28);
return x_30;
x_29 = lean_apply_3(x_7, x_1, x_27, x_28);
return x_29;
}
case 5:
{
lean_object* x_31; lean_object* x_32; lean_object* x_33;
lean_dec(x_14);
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
@ -143,18 +137,22 @@ lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_30 = lean_ctor_get(x_2, 0);
lean_inc(x_30);
x_31 = lean_ctor_get(x_2, 1);
lean_inc(x_31);
x_32 = lean_ctor_get(x_2, 2);
lean_inc(x_32);
x_33 = lean_ctor_get(x_2, 3);
lean_inc(x_33);
lean_dec(x_2);
x_33 = lean_apply_3(x_8, x_1, x_31, x_32);
return x_33;
x_34 = lean_apply_4(x_8, x_30, x_31, x_32, x_33);
return x_34;
}
case 6:
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
lean_dec(x_14);
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
@ -166,47 +164,19 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_34 = lean_ctor_get(x_2, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_2, 1);
x_35 = lean_ctor_get(x_2, 0);
lean_inc(x_35);
x_36 = lean_ctor_get(x_2, 2);
x_36 = lean_ctor_get(x_2, 1);
lean_inc(x_36);
x_37 = lean_ctor_get(x_2, 3);
x_37 = lean_ctor_get(x_2, 2);
lean_inc(x_37);
lean_dec(x_2);
x_38 = lean_apply_4(x_9, x_34, x_35, x_36, x_37);
x_38 = lean_apply_3(x_9, x_35, x_36, x_37);
return x_38;
}
case 7:
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42;
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_39 = lean_ctor_get(x_2, 0);
lean_inc(x_39);
x_40 = lean_ctor_get(x_2, 1);
lean_inc(x_40);
x_41 = lean_ctor_get(x_2, 2);
lean_inc(x_41);
lean_dec(x_2);
x_42 = lean_apply_3(x_10, x_39, x_40, x_41);
return x_42;
}
case 8:
{
lean_object* x_43; lean_object* x_44; lean_object* x_45;
lean_dec(x_14);
lean_object* x_39; lean_object* x_40; lean_object* x_41;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
@ -214,21 +184,43 @@ lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_3);
x_39 = lean_ctor_get(x_2, 0);
lean_inc(x_39);
x_40 = lean_ctor_get(x_2, 2);
lean_inc(x_40);
lean_dec(x_2);
x_41 = lean_apply_3(x_5, x_1, x_39, x_40);
return x_41;
}
case 8:
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_43 = lean_ctor_get(x_2, 0);
x_42 = lean_ctor_get(x_2, 1);
lean_inc(x_42);
x_43 = lean_ctor_get(x_2, 2);
lean_inc(x_43);
x_44 = lean_ctor_get(x_2, 2);
x_44 = lean_ctor_get(x_2, 3);
lean_inc(x_44);
lean_dec(x_2);
x_45 = lean_apply_3(x_6, x_1, x_43, x_44);
x_45 = lean_apply_4(x_11, x_1, x_42, x_43, x_44);
return x_45;
}
case 9:
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49;
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_11);
lean_dec(x_10);
@ -249,10 +241,9 @@ lean_dec(x_2);
x_49 = lean_apply_4(x_12, x_1, x_46, x_47, x_48);
return x_49;
}
case 10:
default:
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
lean_dec(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
@ -273,30 +264,6 @@ lean_dec(x_2);
x_53 = lean_apply_4(x_13, x_1, x_50, x_51, x_52);
return x_53;
}
default:
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57;
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_54 = lean_ctor_get(x_2, 1);
lean_inc(x_54);
x_55 = lean_ctor_get(x_2, 2);
lean_inc(x_55);
x_56 = lean_ctor_get(x_2, 3);
lean_inc(x_56);
lean_dec(x_2);
x_57 = lean_apply_4(x_14, x_1, x_54, x_55, x_56);
return x_57;
}
}
}
}
@ -304,7 +271,7 @@ LEAN_EXPORT lean_object* l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit
_start:
{
lean_object* x_2;
x_2 = lean_alloc_closure((void*)(l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Expr_0__Std_Tactic_BVDecide_BVExpr_bitblast_go_match__5_splitter___rarg), 14, 0);
x_2 = lean_alloc_closure((void*)(l___private_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Expr_0__Std_Tactic_BVDecide_BVExpr_bitblast_go_match__5_splitter___rarg), 13, 0);
return x_2;
}
}
@ -315,7 +282,6 @@ lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Opera
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ShiftLeft(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ShiftRight(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Add(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ZeroExtend(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Append(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Replicate(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Extract(uint8_t builtin, lean_object*);
@ -352,9 +318,6 @@ lean_dec_ref(res);
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Add(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_ZeroExtend(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Tactic_BVDecide_Bitblast_BVExpr_Circuit_Lemmas_Operations_Append(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);