// Lean compiler output
// Module: Lean.Widget.InteractiveGoal
// Imports: Lean.Meta.PPGoal Lean.Widget.InteractiveCode Lean.Data.Lsp.Extra
#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_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_getGoalPrefix(lean_object*);
lean_object* l_List_join___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__41;
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863____boxed(lean_object*);
static lean_object* l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(size_t, size_t, lean_object*, lean_object*);
lean_object* l_Lean_MetavarContext_findDecl_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_InteractiveGoalCore_pretty___closed__3;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__14;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoalCore_pretty_addLine(lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__5;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705____boxed(lean_object*);
lean_object* l_Lean_Widget_ppExprTagged(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__6;
extern lean_object* l_Lean_Meta_pp_auxDecls;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__61;
lean_object* l_Lean_Json_mkObj(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__32;
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___at_Lean_Widget_goalToInteractive___spec__8(lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__3;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___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*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__6;
LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__3;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__2(size_t, size_t, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveHypothesisBundle_isType_x3f___default;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__8;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__24;
LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle(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);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__68;
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__37;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4;
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_goalToInteractive___lambda__1___closed__2;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__7;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(size_t, size_t, lean_object*, lean_object*);
uint8_t l_Lean_Name_isAnonymous(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__4;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__12;
extern lean_object* l_Lean_Meta_pp_showLetValues;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__5;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__27;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__2;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__47;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__24;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__6;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveTermGoal_pretty(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__3;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__8;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__16;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__15;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__14;
uint8_t l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoal_isInserted_x3f___default;
LEAN_EXPORT lean_object* l_Lean_Widget_instEmptyCollectionInteractiveGoals;
lean_object* l_Lean_stringToMessageData(lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__1;
static lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___closed__2;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__5;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__17;
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket;
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___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*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__58;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__43;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__62;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__4;
lean_object* l_Lean_Json_getBool_x3f(lean_object*);
uint8_t l_Std_Format_isNil(lean_object*);
static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__4;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__3;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__10;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__60;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__10;
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Widget_goalToInteractive___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_goalToInteractive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__2(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__23;
static lean_object* l_Lean_Widget_goalToInteractive___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket;
extern lean_object* l_Lean_Meta_pp_implementationDetailHyps;
uint8_t l_Lean_Expr_isSort(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__51;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__8;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__17;
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__15;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__3;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__21;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__25;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749_(lean_object*);
lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(lean_object*, lean_object*);
lean_object* l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode___hyg_283_(lean_object*, lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7;
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__13;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(size_t, size_t, lean_object*, lean_object*);
lean_object* l_List_filter___rarg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34;
lean_object* lean_nat_to_int(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___boxed(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(size_t, size_t, lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___closed__1;
static lean_object* l_Lean_Widget_goalToInteractive___closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__22;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__1(size_t, size_t, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__2;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__2;
static lean_object* l_Lean_Widget_goalToInteractive___closed__2;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__9;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__6;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__38;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4(uint8_t, uint8_t, uint8_t, 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_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___lambda__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoal_pretty(lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___at_Lean_Widget_goalToInteractive___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__28;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoals_append(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__40;
lean_object* lean_array_to_list(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__13;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__44;
LEAN_EXPORT lean_object* l_Lean_Widget_instAppendInteractiveGoals;
static lean_object* l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__67;
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__46;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__8;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__5;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__26;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__13;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__31;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__40;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__30;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__64;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__17;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__15;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__24;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__26;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__27;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__19;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoal_isRemoved_x3f___default;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(size_t, size_t, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__6;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(size_t, size_t, lean_object*, lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__35;
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_goalToInteractive___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___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__7;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__12;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__2;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__3(uint8_t, uint8_t, uint8_t, 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_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36;
lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_611____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__25;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__12;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveHypothesisBundle_isInstance_x3f___default;
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(lean_object*, lean_object*);
uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__65;
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Widget_goalToInteractive___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_withLCtx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoals_append___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__33;
static lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2;
extern lean_object* l_Lean_Widget_instTypeNameContextInfo;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__9;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__21;
lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__52;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503_(lean_object*);
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__16;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__56;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__38;
LEAN_EXPORT lean_object* l_Lean_Widget_goalToInteractive___lambda__1(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_LocalDecl_isImplementationDetail(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__45;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749____boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__22;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__55;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket___closed__1;
lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_774_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__20;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__39;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__16;
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__31;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18;
lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__35;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__20;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__10;
static lean_object* l_Lean_Widget_InteractiveGoalCore_pretty___closed__2;
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__66;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__32;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__42;
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1590____spec__2(size_t, size_t, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__53;
static lean_object* l_Lean_Widget_goalToInteractive___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__26;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3590_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__50;
lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1;
static lean_object* l_Lean_Widget_InteractiveGoalCore_pretty___closed__1;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__2;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__20;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__33;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22;
static lean_object* l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__1;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__36;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__54;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__2;
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_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
lean_object* l_String_toName(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__3;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__28;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__2;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__9;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__15;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__11;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_2335_(lean_object*, lean_object*);
lean_object* lean_erase_macro_scopes(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__49;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveHypothesisBundle_isInserted_x3f___default;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__30;
static lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5_(lean_object*, lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__8;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__9;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveHypothesisBundle_val_x3f___default;
lean_object* l_String_intercalate(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__48;
lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177_(lean_object*);
lean_object* l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode___hyg_283_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__41;
size_t lean_usize_add(size_t, size_t);
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_726_(lean_object*);
static lean_object* l_Lean_Widget_instAppendInteractiveGoals___closed__1;
lean_object* lean_array_uget(lean_object*, size_t);
size_t lean_array_size(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__7;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__13;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__59;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoalCore_pretty(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__11;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__25;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__39;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__42;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__19;
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7(lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket___closed__1;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___lambda__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket___closed__1;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__2;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__1;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket___closed__1;
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__21;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__37;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__10;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__11;
uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* l_Lean_LocalContext_sanitizeNames(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__2___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__14;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___closed__1;
static lean_object* l_Lean_Widget_InteractiveTermGoal_pretty___closed__1;
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveHypothesisBundle_isRemoved_x3f___default;
static lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2;
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
static lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__4;
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(lean_object*);
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___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_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l_Lean_MessageData_ofName(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__5;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__19;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205_(lean_object*, lean_object*);
static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__4;
lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16;
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23;
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335_(lean_object*);
extern lean_object* l_Lean_Widget_instTypeNameTermInfo;
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedInteractiveHypothesisBundle;
lean_object* l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__14;
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx(lean_object*);
uint8_t l_Array_isEmpty___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Widget_InteractiveHypothesisBundle_val_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveHypothesisBundle_isInstance_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveHypothesisBundle_isType_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveHypothesisBundle_isInserted_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveHypothesisBundle_isRemoved_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___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_Widget_instInhabitedInteractiveHypothesisBundle___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(0);
x_2 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1;
x_3 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__3;
x_4 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
lean_ctor_set(x_4, 3, x_1);
lean_ctor_set(x_4, 4, x_1);
lean_ctor_set(x_4, 5, x_1);
lean_ctor_set(x_4, 6, x_1);
lean_ctor_set(x_4, 7, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__4;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("names", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Widget", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__3;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__5;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__6;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("InteractiveHypothesisBundle", 27, 27);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__8;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("RpcEncodablePacket", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__9;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_@", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__13;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__14;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("InteractiveGoal", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__15;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__17;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__19;
x_2 = lean_unsigned_to_nat(5u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__21() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__20;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__21;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__25() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__24;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__25;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(": ", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__26;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("fvarIds", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__31() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__30;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__31;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__32;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("type", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__35;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__37;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__39() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("val", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__40() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("val\?", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__40;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__42() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__41;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__43() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__42;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__43;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__45() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isInstance", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__46() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isInstance\?", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__47() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__46;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__48() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__47;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__49() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__48;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__50() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__49;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__51() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isType", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__52() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isType\?", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__52;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__54() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__53;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__55() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__54;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__56() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__55;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isInserted", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__58() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isInserted\?", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__59() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__58;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__60() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__59;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__61() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__60;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__62() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__61;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isRemoved", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__64() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("isRemoved\?", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__65() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__64;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__66() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__65;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__67() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__66;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__68() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__67;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_2);
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
lean_dec(x_3);
x_5 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29;
lean_inc(x_1);
x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_5);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
lean_inc(x_1);
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_8);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__39;
lean_inc(x_1);
x_12 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_11);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec(x_12);
x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__45;
lean_inc(x_1);
x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_14);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
lean_dec(x_15);
x_17 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__51;
lean_inc(x_1);
x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_17);
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec(x_18);
x_20 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57;
lean_inc(x_1);
x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_20);
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
lean_dec(x_21);
x_23 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63;
x_24 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_23);
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_24, 0);
x_27 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_27, 0, x_4);
lean_ctor_set(x_27, 1, x_7);
lean_ctor_set(x_27, 2, x_10);
lean_ctor_set(x_27, 3, x_13);
lean_ctor_set(x_27, 4, x_16);
lean_ctor_set(x_27, 5, x_19);
lean_ctor_set(x_27, 6, x_22);
lean_ctor_set(x_27, 7, x_26);
lean_ctor_set(x_24, 0, x_27);
return x_24;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_24, 0);
lean_inc(x_28);
lean_dec(x_24);
x_29 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_29, 0, x_4);
lean_ctor_set(x_29, 1, x_7);
lean_ctor_set(x_29, 2, x_10);
lean_ctor_set(x_29, 3, x_13);
lean_ctor_set(x_29, 4, x_16);
lean_ctor_set(x_29, 5, x_19);
lean_ctor_set(x_29, 6, x_22);
lean_ctor_set(x_29, 7, x_28);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
return x_30;
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_2 = lean_ctor_get(x_1, 0);
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_ctor_get(x_1, 2);
x_5 = lean_ctor_get(x_1, 3);
x_6 = lean_ctor_get(x_1, 4);
x_7 = lean_ctor_get(x_1, 5);
x_8 = lean_ctor_get(x_1, 6);
x_9 = lean_ctor_get(x_1, 7);
x_10 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1;
lean_inc(x_2);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_2);
x_12 = lean_box(0);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29;
lean_inc(x_3);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_3);
x_16 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_12);
x_17 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
lean_inc(x_4);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_4);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_12);
x_20 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__39;
x_21 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_20, x_5);
x_22 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__45;
x_23 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_22, x_6);
x_24 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__51;
x_25 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_24, x_7);
x_26 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57;
x_27 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_26, x_8);
x_28 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63;
x_29 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_28, x_9);
x_30 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_30, 0, x_29);
lean_ctor_set(x_30, 1, x_12);
x_31 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_31, 0, x_27);
lean_ctor_set(x_31, 1, x_30);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_25);
lean_ctor_set(x_32, 1, x_31);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_23);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_21);
lean_ctor_set(x_34, 1, x_33);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_19);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_36, 0, x_16);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_13);
lean_ctor_set(x_37, 1, x_36);
x_38 = l_List_join___rarg(x_37);
x_39 = l_Lean_Json_mkObj(x_38);
return x_39;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705____boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_10, 0, x_7);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_9, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = 1;
x_11 = l_Lean_Name_toString(x_7, x_10);
x_12 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_12, 0, x_11);
x_13 = 1;
x_14 = lean_usize_add(x_2, x_13);
x_15 = lean_array_uset(x_9, x_2, x_12);
x_2 = x_14;
x_3 = x_15;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_3, x_2);
if (x_6 == 0)
{
lean_object* x_7; 
lean_dec(x_1);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_4);
lean_ctor_set(x_7, 1, x_5);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; 
x_8 = lean_array_uget(x_4, x_3);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_array_uset(x_4, x_3, x_9);
lean_inc(x_1);
x_11 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_1, x_8, x_5);
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = 1;
x_15 = lean_usize_add(x_3, x_14);
x_16 = lean_array_uset(x_10, x_3, x_12);
x_3 = x_15;
x_4 = x_16;
x_5 = x_13;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_7);
lean_ctor_set(x_8, 1, x_3);
return x_8;
}
}
case 1:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; uint8_t x_14; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = lean_array_size(x_10);
x_12 = 0;
x_13 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(x_1, x_11, x_12, x_10, x_3);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
lean_object* x_15; 
x_15 = lean_ctor_get(x_13, 0);
lean_ctor_set(x_2, 0, x_15);
lean_ctor_set(x_13, 0, x_2);
return x_13;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_16 = lean_ctor_get(x_13, 0);
x_17 = lean_ctor_get(x_13, 1);
lean_inc(x_17);
lean_inc(x_16);
lean_dec(x_13);
lean_ctor_set(x_2, 0, x_16);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_2);
lean_ctor_set(x_18, 1, x_17);
return x_18;
}
}
else
{
lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_19 = lean_ctor_get(x_2, 0);
lean_inc(x_19);
lean_dec(x_2);
x_20 = lean_array_size(x_19);
x_21 = 0;
x_22 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(x_1, x_20, x_21, x_19, x_3);
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
x_24 = lean_ctor_get(x_22, 1);
lean_inc(x_24);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_25 = x_22;
} else {
 lean_dec_ref(x_22);
 x_25 = lean_box(0);
}
x_26 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_26, 0, x_23);
if (lean_is_scalar(x_25)) {
 x_27 = lean_alloc_ctor(0, 2, 0);
} else {
 x_27 = x_25;
}
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_24);
return x_27;
}
}
default: 
{
uint8_t x_28; 
x_28 = !lean_is_exclusive(x_2);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; 
x_29 = lean_ctor_get(x_2, 0);
x_30 = lean_ctor_get(x_2, 1);
lean_inc(x_1);
x_31 = lean_apply_2(x_1, x_29, x_3);
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
x_33 = lean_ctor_get(x_31, 1);
lean_inc(x_33);
lean_dec(x_31);
x_34 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_1, x_30, x_33);
x_35 = !lean_is_exclusive(x_34);
if (x_35 == 0)
{
lean_object* x_36; 
x_36 = lean_ctor_get(x_34, 0);
lean_ctor_set(x_2, 1, x_36);
lean_ctor_set(x_2, 0, x_32);
lean_ctor_set(x_34, 0, x_2);
return x_34;
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_37 = lean_ctor_get(x_34, 0);
x_38 = lean_ctor_get(x_34, 1);
lean_inc(x_38);
lean_inc(x_37);
lean_dec(x_34);
lean_ctor_set(x_2, 1, x_37);
lean_ctor_set(x_2, 0, x_32);
x_39 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_39, 0, x_2);
lean_ctor_set(x_39, 1, x_38);
return x_39;
}
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_40 = lean_ctor_get(x_2, 0);
x_41 = lean_ctor_get(x_2, 1);
lean_inc(x_41);
lean_inc(x_40);
lean_dec(x_2);
lean_inc(x_1);
x_42 = lean_apply_2(x_1, x_40, x_3);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_45 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_1, x_41, x_44);
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
x_47 = lean_ctor_get(x_45, 1);
lean_inc(x_47);
if (lean_is_exclusive(x_45)) {
 lean_ctor_release(x_45, 0);
 lean_ctor_release(x_45, 1);
 x_48 = x_45;
} else {
 lean_dec_ref(x_45);
 x_48 = lean_box(0);
}
x_49 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_49, 0, x_43);
lean_ctor_set(x_49, 1, x_46);
if (lean_is_scalar(x_48)) {
 x_50 = lean_alloc_ctor(0, 2, 0);
} else {
 x_50 = x_48;
}
lean_ctor_set(x_50, 0, x_49);
lean_ctor_set(x_50, 1, x_47);
return x_50;
}
}
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode___hyg_283_), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; size_t x_4; size_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_116; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = lean_array_size(x_3);
x_5 = 0;
x_6 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_4, x_5, x_3, x_2);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
x_8 = lean_ctor_get(x_6, 1);
lean_inc(x_8);
lean_dec(x_6);
x_9 = lean_array_size(x_7);
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1590____spec__2(x_9, x_5, x_7);
x_11 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
x_13 = lean_array_size(x_12);
x_14 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(x_13, x_5, x_12, x_8);
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_array_size(x_15);
x_18 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1590____spec__2(x_17, x_5, x_15);
x_19 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_19, 0, x_18);
x_20 = lean_ctor_get(x_1, 2);
lean_inc(x_20);
x_21 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_22 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_21, x_20, x_16);
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
x_24 = lean_ctor_get(x_22, 1);
lean_inc(x_24);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 lean_ctor_release(x_22, 1);
 x_25 = x_22;
} else {
 lean_dec_ref(x_22);
 x_25 = lean_box(0);
}
x_26 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_611____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_23);
x_116 = lean_ctor_get(x_1, 3);
lean_inc(x_116);
if (lean_obj_tag(x_116) == 0)
{
lean_object* x_117; 
x_117 = lean_box(0);
x_27 = x_117;
x_28 = x_24;
goto block_115;
}
else
{
uint8_t x_118; 
x_118 = !lean_is_exclusive(x_116);
if (x_118 == 0)
{
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; 
x_119 = lean_ctor_get(x_116, 0);
x_120 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_21, x_119, x_24);
x_121 = lean_ctor_get(x_120, 0);
lean_inc(x_121);
x_122 = lean_ctor_get(x_120, 1);
lean_inc(x_122);
lean_dec(x_120);
x_123 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_611____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_121);
lean_ctor_set(x_116, 0, x_123);
x_27 = x_116;
x_28 = x_122;
goto block_115;
}
else
{
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; 
x_124 = lean_ctor_get(x_116, 0);
lean_inc(x_124);
lean_dec(x_116);
x_125 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_21, x_124, x_24);
x_126 = lean_ctor_get(x_125, 0);
lean_inc(x_126);
x_127 = lean_ctor_get(x_125, 1);
lean_inc(x_127);
lean_dec(x_125);
x_128 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_611____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_126);
x_129 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_129, 0, x_128);
x_27 = x_129;
x_28 = x_127;
goto block_115;
}
}
block_115:
{
lean_object* x_29; lean_object* x_30; lean_object* x_105; 
x_105 = lean_ctor_get(x_1, 4);
lean_inc(x_105);
if (lean_obj_tag(x_105) == 0)
{
lean_object* x_106; 
x_106 = lean_box(0);
x_29 = x_106;
x_30 = x_28;
goto block_104;
}
else
{
uint8_t x_107; 
x_107 = !lean_is_exclusive(x_105);
if (x_107 == 0)
{
lean_object* x_108; lean_object* x_109; uint8_t x_110; 
x_108 = lean_ctor_get(x_105, 0);
x_109 = lean_alloc_ctor(1, 0, 1);
x_110 = lean_unbox(x_108);
lean_dec(x_108);
lean_ctor_set_uint8(x_109, 0, x_110);
lean_ctor_set(x_105, 0, x_109);
x_29 = x_105;
x_30 = x_28;
goto block_104;
}
else
{
lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; 
x_111 = lean_ctor_get(x_105, 0);
lean_inc(x_111);
lean_dec(x_105);
x_112 = lean_alloc_ctor(1, 0, 1);
x_113 = lean_unbox(x_111);
lean_dec(x_111);
lean_ctor_set_uint8(x_112, 0, x_113);
x_114 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_114, 0, x_112);
x_29 = x_114;
x_30 = x_28;
goto block_104;
}
}
block_104:
{
lean_object* x_31; lean_object* x_32; lean_object* x_94; 
x_94 = lean_ctor_get(x_1, 5);
lean_inc(x_94);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; 
x_95 = lean_box(0);
x_31 = x_95;
x_32 = x_30;
goto block_93;
}
else
{
uint8_t x_96; 
x_96 = !lean_is_exclusive(x_94);
if (x_96 == 0)
{
lean_object* x_97; lean_object* x_98; uint8_t x_99; 
x_97 = lean_ctor_get(x_94, 0);
x_98 = lean_alloc_ctor(1, 0, 1);
x_99 = lean_unbox(x_97);
lean_dec(x_97);
lean_ctor_set_uint8(x_98, 0, x_99);
lean_ctor_set(x_94, 0, x_98);
x_31 = x_94;
x_32 = x_30;
goto block_93;
}
else
{
lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; 
x_100 = lean_ctor_get(x_94, 0);
lean_inc(x_100);
lean_dec(x_94);
x_101 = lean_alloc_ctor(1, 0, 1);
x_102 = lean_unbox(x_100);
lean_dec(x_100);
lean_ctor_set_uint8(x_101, 0, x_102);
x_103 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_103, 0, x_101);
x_31 = x_103;
x_32 = x_30;
goto block_93;
}
}
block_93:
{
lean_object* x_33; 
x_33 = lean_ctor_get(x_1, 6);
lean_inc(x_33);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_34; lean_object* x_35; 
x_34 = lean_box(0);
x_35 = lean_ctor_get(x_1, 7);
lean_inc(x_35);
lean_dec(x_1);
if (lean_obj_tag(x_35) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_36 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_36, 0, x_11);
lean_ctor_set(x_36, 1, x_19);
lean_ctor_set(x_36, 2, x_26);
lean_ctor_set(x_36, 3, x_27);
lean_ctor_set(x_36, 4, x_29);
lean_ctor_set(x_36, 5, x_31);
lean_ctor_set(x_36, 6, x_34);
lean_ctor_set(x_36, 7, x_34);
x_37 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_36);
lean_dec(x_36);
if (lean_is_scalar(x_25)) {
 x_38 = lean_alloc_ctor(0, 2, 0);
} else {
 x_38 = x_25;
}
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_32);
return x_38;
}
else
{
uint8_t x_39; 
x_39 = !lean_is_exclusive(x_35);
if (x_39 == 0)
{
lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_40 = lean_ctor_get(x_35, 0);
x_41 = lean_alloc_ctor(1, 0, 1);
x_42 = lean_unbox(x_40);
lean_dec(x_40);
lean_ctor_set_uint8(x_41, 0, x_42);
lean_ctor_set(x_35, 0, x_41);
x_43 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_43, 0, x_11);
lean_ctor_set(x_43, 1, x_19);
lean_ctor_set(x_43, 2, x_26);
lean_ctor_set(x_43, 3, x_27);
lean_ctor_set(x_43, 4, x_29);
lean_ctor_set(x_43, 5, x_31);
lean_ctor_set(x_43, 6, x_34);
lean_ctor_set(x_43, 7, x_35);
x_44 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_43);
lean_dec(x_43);
if (lean_is_scalar(x_25)) {
 x_45 = lean_alloc_ctor(0, 2, 0);
} else {
 x_45 = x_25;
}
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_32);
return x_45;
}
else
{
lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_46 = lean_ctor_get(x_35, 0);
lean_inc(x_46);
lean_dec(x_35);
x_47 = lean_alloc_ctor(1, 0, 1);
x_48 = lean_unbox(x_46);
lean_dec(x_46);
lean_ctor_set_uint8(x_47, 0, x_48);
x_49 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_49, 0, x_47);
x_50 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_50, 0, x_11);
lean_ctor_set(x_50, 1, x_19);
lean_ctor_set(x_50, 2, x_26);
lean_ctor_set(x_50, 3, x_27);
lean_ctor_set(x_50, 4, x_29);
lean_ctor_set(x_50, 5, x_31);
lean_ctor_set(x_50, 6, x_34);
lean_ctor_set(x_50, 7, x_49);
x_51 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_50);
lean_dec(x_50);
if (lean_is_scalar(x_25)) {
 x_52 = lean_alloc_ctor(0, 2, 0);
} else {
 x_52 = x_25;
}
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_32);
return x_52;
}
}
}
else
{
uint8_t x_53; 
x_53 = !lean_is_exclusive(x_33);
if (x_53 == 0)
{
lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; 
x_54 = lean_ctor_get(x_33, 0);
x_55 = lean_alloc_ctor(1, 0, 1);
x_56 = lean_unbox(x_54);
lean_dec(x_54);
lean_ctor_set_uint8(x_55, 0, x_56);
lean_ctor_set(x_33, 0, x_55);
x_57 = lean_ctor_get(x_1, 7);
lean_inc(x_57);
lean_dec(x_1);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_58 = lean_box(0);
x_59 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_59, 0, x_11);
lean_ctor_set(x_59, 1, x_19);
lean_ctor_set(x_59, 2, x_26);
lean_ctor_set(x_59, 3, x_27);
lean_ctor_set(x_59, 4, x_29);
lean_ctor_set(x_59, 5, x_31);
lean_ctor_set(x_59, 6, x_33);
lean_ctor_set(x_59, 7, x_58);
x_60 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_59);
lean_dec(x_59);
if (lean_is_scalar(x_25)) {
 x_61 = lean_alloc_ctor(0, 2, 0);
} else {
 x_61 = x_25;
}
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_32);
return x_61;
}
else
{
uint8_t x_62; 
x_62 = !lean_is_exclusive(x_57);
if (x_62 == 0)
{
lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_63 = lean_ctor_get(x_57, 0);
x_64 = lean_alloc_ctor(1, 0, 1);
x_65 = lean_unbox(x_63);
lean_dec(x_63);
lean_ctor_set_uint8(x_64, 0, x_65);
lean_ctor_set(x_57, 0, x_64);
x_66 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_66, 0, x_11);
lean_ctor_set(x_66, 1, x_19);
lean_ctor_set(x_66, 2, x_26);
lean_ctor_set(x_66, 3, x_27);
lean_ctor_set(x_66, 4, x_29);
lean_ctor_set(x_66, 5, x_31);
lean_ctor_set(x_66, 6, x_33);
lean_ctor_set(x_66, 7, x_57);
x_67 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_66);
lean_dec(x_66);
if (lean_is_scalar(x_25)) {
 x_68 = lean_alloc_ctor(0, 2, 0);
} else {
 x_68 = x_25;
}
lean_ctor_set(x_68, 0, x_67);
lean_ctor_set(x_68, 1, x_32);
return x_68;
}
else
{
lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_69 = lean_ctor_get(x_57, 0);
lean_inc(x_69);
lean_dec(x_57);
x_70 = lean_alloc_ctor(1, 0, 1);
x_71 = lean_unbox(x_69);
lean_dec(x_69);
lean_ctor_set_uint8(x_70, 0, x_71);
x_72 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_72, 0, x_70);
x_73 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_73, 0, x_11);
lean_ctor_set(x_73, 1, x_19);
lean_ctor_set(x_73, 2, x_26);
lean_ctor_set(x_73, 3, x_27);
lean_ctor_set(x_73, 4, x_29);
lean_ctor_set(x_73, 5, x_31);
lean_ctor_set(x_73, 6, x_33);
lean_ctor_set(x_73, 7, x_72);
x_74 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_73);
lean_dec(x_73);
if (lean_is_scalar(x_25)) {
 x_75 = lean_alloc_ctor(0, 2, 0);
} else {
 x_75 = x_25;
}
lean_ctor_set(x_75, 0, x_74);
lean_ctor_set(x_75, 1, x_32);
return x_75;
}
}
}
else
{
lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; 
x_76 = lean_ctor_get(x_33, 0);
lean_inc(x_76);
lean_dec(x_33);
x_77 = lean_alloc_ctor(1, 0, 1);
x_78 = lean_unbox(x_76);
lean_dec(x_76);
lean_ctor_set_uint8(x_77, 0, x_78);
x_79 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_79, 0, x_77);
x_80 = lean_ctor_get(x_1, 7);
lean_inc(x_80);
lean_dec(x_1);
if (lean_obj_tag(x_80) == 0)
{
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_81 = lean_box(0);
x_82 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_82, 0, x_11);
lean_ctor_set(x_82, 1, x_19);
lean_ctor_set(x_82, 2, x_26);
lean_ctor_set(x_82, 3, x_27);
lean_ctor_set(x_82, 4, x_29);
lean_ctor_set(x_82, 5, x_31);
lean_ctor_set(x_82, 6, x_79);
lean_ctor_set(x_82, 7, x_81);
x_83 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_82);
lean_dec(x_82);
if (lean_is_scalar(x_25)) {
 x_84 = lean_alloc_ctor(0, 2, 0);
} else {
 x_84 = x_25;
}
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_32);
return x_84;
}
else
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 
x_85 = lean_ctor_get(x_80, 0);
lean_inc(x_85);
if (lean_is_exclusive(x_80)) {
 lean_ctor_release(x_80, 0);
 x_86 = x_80;
} else {
 lean_dec_ref(x_80);
 x_86 = lean_box(0);
}
x_87 = lean_alloc_ctor(1, 0, 1);
x_88 = lean_unbox(x_85);
lean_dec(x_85);
lean_ctor_set_uint8(x_87, 0, x_88);
if (lean_is_scalar(x_86)) {
 x_89 = lean_alloc_ctor(1, 1, 0);
} else {
 x_89 = x_86;
}
lean_ctor_set(x_89, 0, x_87);
x_90 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_90, 0, x_11);
lean_ctor_set(x_90, 1, x_19);
lean_ctor_set(x_90, 2, x_26);
lean_ctor_set(x_90, 3, x_27);
lean_ctor_set(x_90, 4, x_29);
lean_ctor_set(x_90, 5, x_31);
lean_ctor_set(x_90, 6, x_79);
lean_ctor_set(x_90, 7, x_89);
x_91 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_705_(x_90);
lean_dec(x_90);
if (lean_is_scalar(x_25)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_25;
}
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_32);
return x_92;
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(x_1, x_6, x_7, x_4, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l_Lean_Json_getStr_x3f(x_7);
x_11 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_10, x_4);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; 
lean_dec(x_9);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
return x_11;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_11, 0);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_11, 0);
lean_inc(x_15);
lean_dec(x_11);
x_16 = 1;
x_17 = lean_usize_add(x_2, x_16);
x_18 = lean_array_uset(x_9, x_2, x_15);
x_2 = x_17;
x_3 = x_18;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_1);
return x_3;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[anonymous]", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expected a `Name`, got '", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4() {
_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_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
lean_inc(x_7);
x_10 = l_Lean_Json_getStr_x3f(x_7);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
lean_dec(x_7);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; 
x_12 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_10, x_4);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
lean_dec(x_9);
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
return x_12;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_16 = lean_ctor_get(x_12, 0);
lean_inc(x_16);
lean_dec(x_12);
x_17 = 1;
x_18 = lean_usize_add(x_2, x_17);
x_19 = lean_array_uset(x_9, x_2, x_16);
x_2 = x_18;
x_3 = x_19;
goto _start;
}
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_10, 0);
lean_inc(x_21);
lean_dec(x_10);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
x_23 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_22, x_4);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
lean_dec(x_9);
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 x_25 = x_23;
} else {
 lean_dec_ref(x_23);
 x_25 = lean_box(0);
}
if (lean_is_scalar(x_25)) {
 x_26 = lean_alloc_ctor(0, 1, 0);
} else {
 x_26 = x_25;
}
lean_ctor_set(x_26, 0, x_24);
return x_26;
}
else
{
lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; 
x_27 = lean_ctor_get(x_23, 0);
lean_inc(x_27);
lean_dec(x_23);
x_28 = 1;
x_29 = lean_usize_add(x_2, x_28);
x_30 = lean_array_uset(x_9, x_2, x_27);
x_2 = x_29;
x_3 = x_30;
goto _start;
}
}
}
else
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_10);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; uint8_t x_35; 
x_33 = lean_ctor_get(x_10, 0);
x_34 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1;
x_35 = lean_string_dec_eq(x_33, x_34);
if (x_35 == 0)
{
lean_object* x_36; uint8_t x_37; 
x_36 = l_String_toName(x_33);
x_37 = l_Lean_Name_isAnonymous(x_36);
if (x_37 == 0)
{
lean_object* x_38; 
lean_dec(x_7);
lean_ctor_set(x_10, 0, x_36);
x_38 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_10, x_4);
if (lean_obj_tag(x_38) == 0)
{
uint8_t x_39; 
lean_dec(x_9);
x_39 = !lean_is_exclusive(x_38);
if (x_39 == 0)
{
return x_38;
}
else
{
lean_object* x_40; lean_object* x_41; 
x_40 = lean_ctor_get(x_38, 0);
lean_inc(x_40);
lean_dec(x_38);
x_41 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_41, 0, x_40);
return x_41;
}
}
else
{
lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; 
x_42 = lean_ctor_get(x_38, 0);
lean_inc(x_42);
lean_dec(x_38);
x_43 = 1;
x_44 = lean_usize_add(x_2, x_43);
x_45 = lean_array_uset(x_9, x_2, x_42);
x_2 = x_44;
x_3 = x_45;
goto _start;
}
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
lean_dec(x_36);
x_47 = lean_unsigned_to_nat(80u);
x_48 = l_Lean_Json_pretty(x_7, x_47);
x_49 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2;
x_50 = lean_string_append(x_49, x_48);
lean_dec(x_48);
x_51 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_52 = lean_string_append(x_50, x_51);
lean_ctor_set_tag(x_10, 0);
lean_ctor_set(x_10, 0, x_52);
x_53 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_10, x_4);
if (lean_obj_tag(x_53) == 0)
{
uint8_t x_54; 
lean_dec(x_9);
x_54 = !lean_is_exclusive(x_53);
if (x_54 == 0)
{
return x_53;
}
else
{
lean_object* x_55; lean_object* x_56; 
x_55 = lean_ctor_get(x_53, 0);
lean_inc(x_55);
lean_dec(x_53);
x_56 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_56, 0, x_55);
return x_56;
}
}
else
{
lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; 
x_57 = lean_ctor_get(x_53, 0);
lean_inc(x_57);
lean_dec(x_53);
x_58 = 1;
x_59 = lean_usize_add(x_2, x_58);
x_60 = lean_array_uset(x_9, x_2, x_57);
x_2 = x_59;
x_3 = x_60;
goto _start;
}
}
}
else
{
lean_object* x_62; lean_object* x_63; 
lean_free_object(x_10);
lean_dec(x_33);
lean_dec(x_7);
x_62 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4;
x_63 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_62, x_4);
if (lean_obj_tag(x_63) == 0)
{
uint8_t x_64; 
lean_dec(x_9);
x_64 = !lean_is_exclusive(x_63);
if (x_64 == 0)
{
return x_63;
}
else
{
lean_object* x_65; lean_object* x_66; 
x_65 = lean_ctor_get(x_63, 0);
lean_inc(x_65);
lean_dec(x_63);
x_66 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_66, 0, x_65);
return x_66;
}
}
else
{
lean_object* x_67; size_t x_68; size_t x_69; lean_object* x_70; 
x_67 = lean_ctor_get(x_63, 0);
lean_inc(x_67);
lean_dec(x_63);
x_68 = 1;
x_69 = lean_usize_add(x_2, x_68);
x_70 = lean_array_uset(x_9, x_2, x_67);
x_2 = x_69;
x_3 = x_70;
goto _start;
}
}
}
else
{
lean_object* x_72; lean_object* x_73; uint8_t x_74; 
x_72 = lean_ctor_get(x_10, 0);
lean_inc(x_72);
lean_dec(x_10);
x_73 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1;
x_74 = lean_string_dec_eq(x_72, x_73);
if (x_74 == 0)
{
lean_object* x_75; uint8_t x_76; 
x_75 = l_String_toName(x_72);
x_76 = l_Lean_Name_isAnonymous(x_75);
if (x_76 == 0)
{
lean_object* x_77; lean_object* x_78; 
lean_dec(x_7);
x_77 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_77, 0, x_75);
x_78 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_77, x_4);
if (lean_obj_tag(x_78) == 0)
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; 
lean_dec(x_9);
x_79 = lean_ctor_get(x_78, 0);
lean_inc(x_79);
if (lean_is_exclusive(x_78)) {
 lean_ctor_release(x_78, 0);
 x_80 = x_78;
} else {
 lean_dec_ref(x_78);
 x_80 = lean_box(0);
}
if (lean_is_scalar(x_80)) {
 x_81 = lean_alloc_ctor(0, 1, 0);
} else {
 x_81 = x_80;
}
lean_ctor_set(x_81, 0, x_79);
return x_81;
}
else
{
lean_object* x_82; size_t x_83; size_t x_84; lean_object* x_85; 
x_82 = lean_ctor_get(x_78, 0);
lean_inc(x_82);
lean_dec(x_78);
x_83 = 1;
x_84 = lean_usize_add(x_2, x_83);
x_85 = lean_array_uset(x_9, x_2, x_82);
x_2 = x_84;
x_3 = x_85;
goto _start;
}
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
lean_dec(x_75);
x_87 = lean_unsigned_to_nat(80u);
x_88 = l_Lean_Json_pretty(x_7, x_87);
x_89 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2;
x_90 = lean_string_append(x_89, x_88);
lean_dec(x_88);
x_91 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_92 = lean_string_append(x_90, x_91);
x_93 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_93, 0, x_92);
x_94 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_93, x_4);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; 
lean_dec(x_9);
x_95 = lean_ctor_get(x_94, 0);
lean_inc(x_95);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_96 = x_94;
} else {
 lean_dec_ref(x_94);
 x_96 = lean_box(0);
}
if (lean_is_scalar(x_96)) {
 x_97 = lean_alloc_ctor(0, 1, 0);
} else {
 x_97 = x_96;
}
lean_ctor_set(x_97, 0, x_95);
return x_97;
}
else
{
lean_object* x_98; size_t x_99; size_t x_100; lean_object* x_101; 
x_98 = lean_ctor_get(x_94, 0);
lean_inc(x_98);
lean_dec(x_94);
x_99 = 1;
x_100 = lean_usize_add(x_2, x_99);
x_101 = lean_array_uset(x_9, x_2, x_98);
x_2 = x_100;
x_3 = x_101;
goto _start;
}
}
}
else
{
lean_object* x_103; lean_object* x_104; 
lean_dec(x_72);
lean_dec(x_7);
x_103 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4;
x_104 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_103, x_4);
if (lean_obj_tag(x_104) == 0)
{
lean_object* x_105; lean_object* x_106; lean_object* x_107; 
lean_dec(x_9);
x_105 = lean_ctor_get(x_104, 0);
lean_inc(x_105);
if (lean_is_exclusive(x_104)) {
 lean_ctor_release(x_104, 0);
 x_106 = x_104;
} else {
 lean_dec_ref(x_104);
 x_106 = lean_box(0);
}
if (lean_is_scalar(x_106)) {
 x_107 = lean_alloc_ctor(0, 1, 0);
} else {
 x_107 = x_106;
}
lean_ctor_set(x_107, 0, x_105);
return x_107;
}
else
{
lean_object* x_108; size_t x_109; size_t x_110; lean_object* x_111; 
x_108 = lean_ctor_get(x_104, 0);
lean_inc(x_108);
lean_dec(x_104);
x_109 = 1;
x_110 = lean_usize_add(x_2, x_109);
x_111 = lean_array_uset(x_9, x_2, x_108);
x_2 = x_110;
x_3 = x_111;
goto _start;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_3, x_2);
if (x_6 == 0)
{
lean_object* x_7; 
lean_dec(x_5);
lean_dec(x_1);
x_7 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_4);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_array_uget(x_4, x_3);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_array_uset(x_4, x_3, x_9);
lean_inc(x_5);
lean_inc(x_1);
x_11 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_1, x_8, x_5);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; 
lean_dec(x_10);
lean_dec(x_5);
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
return x_11;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_11, 0);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_11, 0);
lean_inc(x_15);
lean_dec(x_11);
x_16 = 1;
x_17 = lean_usize_add(x_3, x_16);
x_18 = lean_array_uset(x_10, x_3, x_15);
x_3 = x_17;
x_4 = x_18;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_3);
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_2);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
case 1:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = lean_array_size(x_10);
x_12 = 0;
x_13 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__6(x_1, x_11, x_12, x_10, x_3);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14; 
lean_free_object(x_2);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
return x_13;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
else
{
uint8_t x_17; 
x_17 = !lean_is_exclusive(x_13);
if (x_17 == 0)
{
lean_object* x_18; 
x_18 = lean_ctor_get(x_13, 0);
lean_ctor_set(x_2, 0, x_18);
lean_ctor_set(x_13, 0, x_2);
return x_13;
}
else
{
lean_object* x_19; lean_object* x_20; 
x_19 = lean_ctor_get(x_13, 0);
lean_inc(x_19);
lean_dec(x_13);
lean_ctor_set(x_2, 0, x_19);
x_20 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_20, 0, x_2);
return x_20;
}
}
}
else
{
lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; 
x_21 = lean_ctor_get(x_2, 0);
lean_inc(x_21);
lean_dec(x_2);
x_22 = lean_array_size(x_21);
x_23 = 0;
x_24 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__6(x_1, x_22, x_23, x_21, x_3);
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);
if (lean_is_exclusive(x_24)) {
 lean_ctor_release(x_24, 0);
 x_26 = x_24;
} else {
 lean_dec_ref(x_24);
 x_26 = lean_box(0);
}
if (lean_is_scalar(x_26)) {
 x_27 = lean_alloc_ctor(0, 1, 0);
} else {
 x_27 = x_26;
}
lean_ctor_set(x_27, 0, x_25);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_28 = lean_ctor_get(x_24, 0);
lean_inc(x_28);
if (lean_is_exclusive(x_24)) {
 lean_ctor_release(x_24, 0);
 x_29 = x_24;
} else {
 lean_dec_ref(x_24);
 x_29 = lean_box(0);
}
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_28);
if (lean_is_scalar(x_29)) {
 x_31 = lean_alloc_ctor(1, 1, 0);
} else {
 x_31 = x_29;
}
lean_ctor_set(x_31, 0, x_30);
return x_31;
}
}
}
default: 
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_2);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_2, 0);
x_34 = lean_ctor_get(x_2, 1);
lean_inc(x_1);
lean_inc(x_3);
x_35 = lean_apply_2(x_1, x_33, x_3);
if (lean_obj_tag(x_35) == 0)
{
uint8_t x_36; 
lean_free_object(x_2);
lean_dec(x_34);
lean_dec(x_3);
lean_dec(x_1);
x_36 = !lean_is_exclusive(x_35);
if (x_36 == 0)
{
return x_35;
}
else
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_35, 0);
lean_inc(x_37);
lean_dec(x_35);
x_38 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_38, 0, x_37);
return x_38;
}
}
else
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_35, 0);
lean_inc(x_39);
lean_dec(x_35);
x_40 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_1, x_34, x_3);
if (lean_obj_tag(x_40) == 0)
{
uint8_t x_41; 
lean_dec(x_39);
lean_free_object(x_2);
x_41 = !lean_is_exclusive(x_40);
if (x_41 == 0)
{
return x_40;
}
else
{
lean_object* x_42; lean_object* x_43; 
x_42 = lean_ctor_get(x_40, 0);
lean_inc(x_42);
lean_dec(x_40);
x_43 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_43, 0, x_42);
return x_43;
}
}
else
{
uint8_t x_44; 
x_44 = !lean_is_exclusive(x_40);
if (x_44 == 0)
{
lean_object* x_45; 
x_45 = lean_ctor_get(x_40, 0);
lean_ctor_set(x_2, 1, x_45);
lean_ctor_set(x_2, 0, x_39);
lean_ctor_set(x_40, 0, x_2);
return x_40;
}
else
{
lean_object* x_46; lean_object* x_47; 
x_46 = lean_ctor_get(x_40, 0);
lean_inc(x_46);
lean_dec(x_40);
lean_ctor_set(x_2, 1, x_46);
lean_ctor_set(x_2, 0, x_39);
x_47 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_47, 0, x_2);
return x_47;
}
}
}
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_48 = lean_ctor_get(x_2, 0);
x_49 = lean_ctor_get(x_2, 1);
lean_inc(x_49);
lean_inc(x_48);
lean_dec(x_2);
lean_inc(x_1);
lean_inc(x_3);
x_50 = lean_apply_2(x_1, x_48, x_3);
if (lean_obj_tag(x_50) == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; 
lean_dec(x_49);
lean_dec(x_3);
lean_dec(x_1);
x_51 = lean_ctor_get(x_50, 0);
lean_inc(x_51);
if (lean_is_exclusive(x_50)) {
 lean_ctor_release(x_50, 0);
 x_52 = x_50;
} else {
 lean_dec_ref(x_50);
 x_52 = lean_box(0);
}
if (lean_is_scalar(x_52)) {
 x_53 = lean_alloc_ctor(0, 1, 0);
} else {
 x_53 = x_52;
}
lean_ctor_set(x_53, 0, x_51);
return x_53;
}
else
{
lean_object* x_54; lean_object* x_55; 
x_54 = lean_ctor_get(x_50, 0);
lean_inc(x_54);
lean_dec(x_50);
x_55 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_1, x_49, x_3);
if (lean_obj_tag(x_55) == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
lean_dec(x_54);
x_56 = lean_ctor_get(x_55, 0);
lean_inc(x_56);
if (lean_is_exclusive(x_55)) {
 lean_ctor_release(x_55, 0);
 x_57 = x_55;
} else {
 lean_dec_ref(x_55);
 x_57 = lean_box(0);
}
if (lean_is_scalar(x_57)) {
 x_58 = lean_alloc_ctor(0, 1, 0);
} else {
 x_58 = x_57;
}
lean_ctor_set(x_58, 0, x_56);
return x_58;
}
else
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; 
x_59 = lean_ctor_get(x_55, 0);
lean_inc(x_59);
if (lean_is_exclusive(x_55)) {
 lean_ctor_release(x_55, 0);
 x_60 = x_55;
} else {
 lean_dec_ref(x_55);
 x_60 = lean_box(0);
}
x_61 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_61, 0, x_54);
lean_ctor_set(x_61, 1, x_59);
if (lean_is_scalar(x_60)) {
 x_62 = lean_alloc_ctor(1, 1, 0);
} else {
 x_62 = x_60;
}
lean_ctor_set(x_62, 0, x_61);
return x_62;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expected JSON array, got '", 26, 26);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode___hyg_283_), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4; 
x_3 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177_(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
if (lean_obj_tag(x_6) == 4)
{
lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; lean_object* x_13; 
lean_free_object(x_3);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = lean_array_size(x_7);
x_9 = 0;
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_8, x_9, x_7);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_array_size(x_11);
x_13 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(x_12, x_9, x_11, x_2);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14; 
lean_dec(x_5);
lean_dec(x_2);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
return x_13;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
else
{
lean_object* x_17; 
x_17 = lean_ctor_get(x_5, 1);
lean_inc(x_17);
if (lean_obj_tag(x_17) == 4)
{
lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; 
x_18 = lean_ctor_get(x_13, 0);
lean_inc(x_18);
lean_dec(x_13);
x_19 = lean_ctor_get(x_17, 0);
lean_inc(x_19);
lean_dec(x_17);
x_20 = lean_array_size(x_19);
x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_20, x_9, x_19);
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
lean_dec(x_21);
x_23 = lean_array_size(x_22);
x_24 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(x_23, x_9, x_22, x_2);
if (lean_obj_tag(x_24) == 0)
{
uint8_t x_25; 
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
return x_24;
}
else
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_24, 0);
lean_inc(x_26);
lean_dec(x_24);
x_27 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_27, 0, x_26);
return x_27;
}
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_24, 0);
lean_inc(x_28);
lean_dec(x_24);
x_29 = lean_ctor_get(x_5, 2);
lean_inc(x_29);
x_30 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_29);
if (lean_obj_tag(x_30) == 0)
{
uint8_t x_31; 
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_31 = !lean_is_exclusive(x_30);
if (x_31 == 0)
{
return x_30;
}
else
{
lean_object* x_32; lean_object* x_33; 
x_32 = lean_ctor_get(x_30, 0);
lean_inc(x_32);
lean_dec(x_30);
x_33 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_33, 0, x_32);
return x_33;
}
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_34 = lean_ctor_get(x_30, 0);
lean_inc(x_34);
lean_dec(x_30);
x_35 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2;
lean_inc(x_2);
x_36 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_35, x_34, x_2);
if (lean_obj_tag(x_36) == 0)
{
uint8_t x_37; 
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_37 = !lean_is_exclusive(x_36);
if (x_37 == 0)
{
return x_36;
}
else
{
lean_object* x_38; lean_object* x_39; 
x_38 = lean_ctor_get(x_36, 0);
lean_inc(x_38);
lean_dec(x_36);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_369; 
x_40 = lean_ctor_get(x_36, 0);
lean_inc(x_40);
if (lean_is_exclusive(x_36)) {
 lean_ctor_release(x_36, 0);
 x_41 = x_36;
} else {
 lean_dec_ref(x_36);
 x_41 = lean_box(0);
}
x_369 = lean_ctor_get(x_5, 3);
lean_inc(x_369);
if (lean_obj_tag(x_369) == 0)
{
lean_object* x_370; 
x_370 = lean_box(0);
x_42 = x_370;
goto block_368;
}
else
{
uint8_t x_371; 
x_371 = !lean_is_exclusive(x_369);
if (x_371 == 0)
{
lean_object* x_372; lean_object* x_373; 
x_372 = lean_ctor_get(x_369, 0);
x_373 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_372);
if (lean_obj_tag(x_373) == 0)
{
uint8_t x_374; 
lean_free_object(x_369);
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_374 = !lean_is_exclusive(x_373);
if (x_374 == 0)
{
return x_373;
}
else
{
lean_object* x_375; lean_object* x_376; 
x_375 = lean_ctor_get(x_373, 0);
lean_inc(x_375);
lean_dec(x_373);
x_376 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_376, 0, x_375);
return x_376;
}
}
else
{
lean_object* x_377; lean_object* x_378; 
x_377 = lean_ctor_get(x_373, 0);
lean_inc(x_377);
lean_dec(x_373);
lean_inc(x_2);
x_378 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_35, x_377, x_2);
if (lean_obj_tag(x_378) == 0)
{
uint8_t x_379; 
lean_free_object(x_369);
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_379 = !lean_is_exclusive(x_378);
if (x_379 == 0)
{
return x_378;
}
else
{
lean_object* x_380; lean_object* x_381; 
x_380 = lean_ctor_get(x_378, 0);
lean_inc(x_380);
lean_dec(x_378);
x_381 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_381, 0, x_380);
return x_381;
}
}
else
{
lean_object* x_382; 
x_382 = lean_ctor_get(x_378, 0);
lean_inc(x_382);
lean_dec(x_378);
lean_ctor_set(x_369, 0, x_382);
x_42 = x_369;
goto block_368;
}
}
}
else
{
lean_object* x_383; lean_object* x_384; 
x_383 = lean_ctor_get(x_369, 0);
lean_inc(x_383);
lean_dec(x_369);
x_384 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_383);
if (lean_obj_tag(x_384) == 0)
{
lean_object* x_385; lean_object* x_386; lean_object* x_387; 
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_385 = lean_ctor_get(x_384, 0);
lean_inc(x_385);
if (lean_is_exclusive(x_384)) {
 lean_ctor_release(x_384, 0);
 x_386 = x_384;
} else {
 lean_dec_ref(x_384);
 x_386 = lean_box(0);
}
if (lean_is_scalar(x_386)) {
 x_387 = lean_alloc_ctor(0, 1, 0);
} else {
 x_387 = x_386;
}
lean_ctor_set(x_387, 0, x_385);
return x_387;
}
else
{
lean_object* x_388; lean_object* x_389; 
x_388 = lean_ctor_get(x_384, 0);
lean_inc(x_388);
lean_dec(x_384);
lean_inc(x_2);
x_389 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_35, x_388, x_2);
if (lean_obj_tag(x_389) == 0)
{
lean_object* x_390; lean_object* x_391; lean_object* x_392; 
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_390 = lean_ctor_get(x_389, 0);
lean_inc(x_390);
if (lean_is_exclusive(x_389)) {
 lean_ctor_release(x_389, 0);
 x_391 = x_389;
} else {
 lean_dec_ref(x_389);
 x_391 = lean_box(0);
}
if (lean_is_scalar(x_391)) {
 x_392 = lean_alloc_ctor(0, 1, 0);
} else {
 x_392 = x_391;
}
lean_ctor_set(x_392, 0, x_390);
return x_392;
}
else
{
lean_object* x_393; lean_object* x_394; 
x_393 = lean_ctor_get(x_389, 0);
lean_inc(x_393);
lean_dec(x_389);
x_394 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_394, 0, x_393);
x_42 = x_394;
goto block_368;
}
}
}
}
block_368:
{
lean_object* x_43; 
x_43 = lean_ctor_get(x_5, 4);
lean_inc(x_43);
if (lean_obj_tag(x_43) == 0)
{
lean_object* x_44; lean_object* x_45; lean_object* x_150; 
x_44 = lean_box(0);
x_150 = lean_ctor_get(x_5, 5);
lean_inc(x_150);
if (lean_obj_tag(x_150) == 0)
{
x_45 = x_44;
goto block_149;
}
else
{
uint8_t x_151; 
x_151 = !lean_is_exclusive(x_150);
if (x_151 == 0)
{
lean_object* x_152; lean_object* x_153; lean_object* x_154; 
x_152 = lean_ctor_get(x_150, 0);
x_153 = l_Lean_Json_getBool_x3f(x_152);
lean_dec(x_152);
x_154 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_153, x_2);
if (lean_obj_tag(x_154) == 0)
{
uint8_t x_155; 
lean_free_object(x_150);
lean_dec(x_42);
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_155 = !lean_is_exclusive(x_154);
if (x_155 == 0)
{
return x_154;
}
else
{
lean_object* x_156; lean_object* x_157; 
x_156 = lean_ctor_get(x_154, 0);
lean_inc(x_156);
lean_dec(x_154);
x_157 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_157, 0, x_156);
return x_157;
}
}
else
{
lean_object* x_158; 
x_158 = lean_ctor_get(x_154, 0);
lean_inc(x_158);
lean_dec(x_154);
lean_ctor_set(x_150, 0, x_158);
x_45 = x_150;
goto block_149;
}
}
else
{
lean_object* x_159; lean_object* x_160; lean_object* x_161; 
x_159 = lean_ctor_get(x_150, 0);
lean_inc(x_159);
lean_dec(x_150);
x_160 = l_Lean_Json_getBool_x3f(x_159);
lean_dec(x_159);
x_161 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_160, x_2);
if (lean_obj_tag(x_161) == 0)
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; 
lean_dec(x_42);
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_162 = lean_ctor_get(x_161, 0);
lean_inc(x_162);
if (lean_is_exclusive(x_161)) {
 lean_ctor_release(x_161, 0);
 x_163 = x_161;
} else {
 lean_dec_ref(x_161);
 x_163 = lean_box(0);
}
if (lean_is_scalar(x_163)) {
 x_164 = lean_alloc_ctor(0, 1, 0);
} else {
 x_164 = x_163;
}
lean_ctor_set(x_164, 0, x_162);
return x_164;
}
else
{
lean_object* x_165; lean_object* x_166; 
x_165 = lean_ctor_get(x_161, 0);
lean_inc(x_165);
lean_dec(x_161);
x_166 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_166, 0, x_165);
x_45 = x_166;
goto block_149;
}
}
}
block_149:
{
lean_object* x_46; 
x_46 = lean_ctor_get(x_5, 6);
lean_inc(x_46);
if (lean_obj_tag(x_46) == 0)
{
lean_object* x_47; 
x_47 = lean_ctor_get(x_5, 7);
lean_inc(x_47);
lean_dec(x_5);
if (lean_obj_tag(x_47) == 0)
{
lean_object* x_48; lean_object* x_49; 
lean_dec(x_2);
x_48 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_48, 0, x_18);
lean_ctor_set(x_48, 1, x_28);
lean_ctor_set(x_48, 2, x_40);
lean_ctor_set(x_48, 3, x_42);
lean_ctor_set(x_48, 4, x_44);
lean_ctor_set(x_48, 5, x_45);
lean_ctor_set(x_48, 6, x_44);
lean_ctor_set(x_48, 7, x_44);
if (lean_is_scalar(x_41)) {
 x_49 = lean_alloc_ctor(1, 1, 0);
} else {
 x_49 = x_41;
}
lean_ctor_set(x_49, 0, x_48);
return x_49;
}
else
{
uint8_t x_50; 
lean_dec(x_41);
x_50 = !lean_is_exclusive(x_47);
if (x_50 == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_51 = lean_ctor_get(x_47, 0);
x_52 = l_Lean_Json_getBool_x3f(x_51);
lean_dec(x_51);
x_53 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_52, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_53) == 0)
{
uint8_t x_54; 
lean_free_object(x_47);
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_54 = !lean_is_exclusive(x_53);
if (x_54 == 0)
{
return x_53;
}
else
{
lean_object* x_55; lean_object* x_56; 
x_55 = lean_ctor_get(x_53, 0);
lean_inc(x_55);
lean_dec(x_53);
x_56 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_56, 0, x_55);
return x_56;
}
}
else
{
uint8_t x_57; 
x_57 = !lean_is_exclusive(x_53);
if (x_57 == 0)
{
lean_object* x_58; lean_object* x_59; 
x_58 = lean_ctor_get(x_53, 0);
lean_ctor_set(x_47, 0, x_58);
x_59 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_59, 0, x_18);
lean_ctor_set(x_59, 1, x_28);
lean_ctor_set(x_59, 2, x_40);
lean_ctor_set(x_59, 3, x_42);
lean_ctor_set(x_59, 4, x_44);
lean_ctor_set(x_59, 5, x_45);
lean_ctor_set(x_59, 6, x_44);
lean_ctor_set(x_59, 7, x_47);
lean_ctor_set(x_53, 0, x_59);
return x_53;
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; 
x_60 = lean_ctor_get(x_53, 0);
lean_inc(x_60);
lean_dec(x_53);
lean_ctor_set(x_47, 0, x_60);
x_61 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_61, 0, x_18);
lean_ctor_set(x_61, 1, x_28);
lean_ctor_set(x_61, 2, x_40);
lean_ctor_set(x_61, 3, x_42);
lean_ctor_set(x_61, 4, x_44);
lean_ctor_set(x_61, 5, x_45);
lean_ctor_set(x_61, 6, x_44);
lean_ctor_set(x_61, 7, x_47);
x_62 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_62, 0, x_61);
return x_62;
}
}
}
else
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; 
x_63 = lean_ctor_get(x_47, 0);
lean_inc(x_63);
lean_dec(x_47);
x_64 = l_Lean_Json_getBool_x3f(x_63);
lean_dec(x_63);
x_65 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_64, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; 
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_66 = lean_ctor_get(x_65, 0);
lean_inc(x_66);
if (lean_is_exclusive(x_65)) {
 lean_ctor_release(x_65, 0);
 x_67 = x_65;
} else {
 lean_dec_ref(x_65);
 x_67 = lean_box(0);
}
if (lean_is_scalar(x_67)) {
 x_68 = lean_alloc_ctor(0, 1, 0);
} else {
 x_68 = x_67;
}
lean_ctor_set(x_68, 0, x_66);
return x_68;
}
else
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_69 = lean_ctor_get(x_65, 0);
lean_inc(x_69);
if (lean_is_exclusive(x_65)) {
 lean_ctor_release(x_65, 0);
 x_70 = x_65;
} else {
 lean_dec_ref(x_65);
 x_70 = lean_box(0);
}
x_71 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_71, 0, x_69);
x_72 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_72, 0, x_18);
lean_ctor_set(x_72, 1, x_28);
lean_ctor_set(x_72, 2, x_40);
lean_ctor_set(x_72, 3, x_42);
lean_ctor_set(x_72, 4, x_44);
lean_ctor_set(x_72, 5, x_45);
lean_ctor_set(x_72, 6, x_44);
lean_ctor_set(x_72, 7, x_71);
if (lean_is_scalar(x_70)) {
 x_73 = lean_alloc_ctor(1, 1, 0);
} else {
 x_73 = x_70;
}
lean_ctor_set(x_73, 0, x_72);
return x_73;
}
}
}
}
else
{
uint8_t x_74; 
lean_dec(x_41);
x_74 = !lean_is_exclusive(x_46);
if (x_74 == 0)
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; 
x_75 = lean_ctor_get(x_46, 0);
x_76 = l_Lean_Json_getBool_x3f(x_75);
lean_dec(x_75);
x_77 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_76, x_2);
if (lean_obj_tag(x_77) == 0)
{
uint8_t x_78; 
lean_free_object(x_46);
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_78 = !lean_is_exclusive(x_77);
if (x_78 == 0)
{
return x_77;
}
else
{
lean_object* x_79; lean_object* x_80; 
x_79 = lean_ctor_get(x_77, 0);
lean_inc(x_79);
lean_dec(x_77);
x_80 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_80, 0, x_79);
return x_80;
}
}
else
{
uint8_t x_81; 
x_81 = !lean_is_exclusive(x_77);
if (x_81 == 0)
{
lean_object* x_82; lean_object* x_83; 
x_82 = lean_ctor_get(x_77, 0);
lean_ctor_set(x_46, 0, x_82);
x_83 = lean_ctor_get(x_5, 7);
lean_inc(x_83);
lean_dec(x_5);
if (lean_obj_tag(x_83) == 0)
{
lean_object* x_84; 
lean_dec(x_2);
x_84 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_84, 0, x_18);
lean_ctor_set(x_84, 1, x_28);
lean_ctor_set(x_84, 2, x_40);
lean_ctor_set(x_84, 3, x_42);
lean_ctor_set(x_84, 4, x_44);
lean_ctor_set(x_84, 5, x_45);
lean_ctor_set(x_84, 6, x_46);
lean_ctor_set(x_84, 7, x_44);
lean_ctor_set(x_77, 0, x_84);
return x_77;
}
else
{
uint8_t x_85; 
lean_free_object(x_77);
x_85 = !lean_is_exclusive(x_83);
if (x_85 == 0)
{
lean_object* x_86; lean_object* x_87; lean_object* x_88; 
x_86 = lean_ctor_get(x_83, 0);
x_87 = l_Lean_Json_getBool_x3f(x_86);
lean_dec(x_86);
x_88 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_87, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_88) == 0)
{
uint8_t x_89; 
lean_free_object(x_83);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_89 = !lean_is_exclusive(x_88);
if (x_89 == 0)
{
return x_88;
}
else
{
lean_object* x_90; lean_object* x_91; 
x_90 = lean_ctor_get(x_88, 0);
lean_inc(x_90);
lean_dec(x_88);
x_91 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_91, 0, x_90);
return x_91;
}
}
else
{
uint8_t x_92; 
x_92 = !lean_is_exclusive(x_88);
if (x_92 == 0)
{
lean_object* x_93; lean_object* x_94; 
x_93 = lean_ctor_get(x_88, 0);
lean_ctor_set(x_83, 0, x_93);
x_94 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_94, 0, x_18);
lean_ctor_set(x_94, 1, x_28);
lean_ctor_set(x_94, 2, x_40);
lean_ctor_set(x_94, 3, x_42);
lean_ctor_set(x_94, 4, x_44);
lean_ctor_set(x_94, 5, x_45);
lean_ctor_set(x_94, 6, x_46);
lean_ctor_set(x_94, 7, x_83);
lean_ctor_set(x_88, 0, x_94);
return x_88;
}
else
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; 
x_95 = lean_ctor_get(x_88, 0);
lean_inc(x_95);
lean_dec(x_88);
lean_ctor_set(x_83, 0, x_95);
x_96 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_96, 0, x_18);
lean_ctor_set(x_96, 1, x_28);
lean_ctor_set(x_96, 2, x_40);
lean_ctor_set(x_96, 3, x_42);
lean_ctor_set(x_96, 4, x_44);
lean_ctor_set(x_96, 5, x_45);
lean_ctor_set(x_96, 6, x_46);
lean_ctor_set(x_96, 7, x_83);
x_97 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_97, 0, x_96);
return x_97;
}
}
}
else
{
lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_98 = lean_ctor_get(x_83, 0);
lean_inc(x_98);
lean_dec(x_83);
x_99 = l_Lean_Json_getBool_x3f(x_98);
lean_dec(x_98);
x_100 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_99, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_100) == 0)
{
lean_object* x_101; lean_object* x_102; lean_object* x_103; 
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_101 = lean_ctor_get(x_100, 0);
lean_inc(x_101);
if (lean_is_exclusive(x_100)) {
 lean_ctor_release(x_100, 0);
 x_102 = x_100;
} else {
 lean_dec_ref(x_100);
 x_102 = lean_box(0);
}
if (lean_is_scalar(x_102)) {
 x_103 = lean_alloc_ctor(0, 1, 0);
} else {
 x_103 = x_102;
}
lean_ctor_set(x_103, 0, x_101);
return x_103;
}
else
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 
x_104 = lean_ctor_get(x_100, 0);
lean_inc(x_104);
if (lean_is_exclusive(x_100)) {
 lean_ctor_release(x_100, 0);
 x_105 = x_100;
} else {
 lean_dec_ref(x_100);
 x_105 = lean_box(0);
}
x_106 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_106, 0, x_104);
x_107 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_107, 0, x_18);
lean_ctor_set(x_107, 1, x_28);
lean_ctor_set(x_107, 2, x_40);
lean_ctor_set(x_107, 3, x_42);
lean_ctor_set(x_107, 4, x_44);
lean_ctor_set(x_107, 5, x_45);
lean_ctor_set(x_107, 6, x_46);
lean_ctor_set(x_107, 7, x_106);
if (lean_is_scalar(x_105)) {
 x_108 = lean_alloc_ctor(1, 1, 0);
} else {
 x_108 = x_105;
}
lean_ctor_set(x_108, 0, x_107);
return x_108;
}
}
}
}
else
{
lean_object* x_109; lean_object* x_110; 
x_109 = lean_ctor_get(x_77, 0);
lean_inc(x_109);
lean_dec(x_77);
lean_ctor_set(x_46, 0, x_109);
x_110 = lean_ctor_get(x_5, 7);
lean_inc(x_110);
lean_dec(x_5);
if (lean_obj_tag(x_110) == 0)
{
lean_object* x_111; lean_object* x_112; 
lean_dec(x_2);
x_111 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_111, 0, x_18);
lean_ctor_set(x_111, 1, x_28);
lean_ctor_set(x_111, 2, x_40);
lean_ctor_set(x_111, 3, x_42);
lean_ctor_set(x_111, 4, x_44);
lean_ctor_set(x_111, 5, x_45);
lean_ctor_set(x_111, 6, x_46);
lean_ctor_set(x_111, 7, x_44);
x_112 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_112, 0, x_111);
return x_112;
}
else
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; 
x_113 = lean_ctor_get(x_110, 0);
lean_inc(x_113);
if (lean_is_exclusive(x_110)) {
 lean_ctor_release(x_110, 0);
 x_114 = x_110;
} else {
 lean_dec_ref(x_110);
 x_114 = lean_box(0);
}
x_115 = l_Lean_Json_getBool_x3f(x_113);
lean_dec(x_113);
x_116 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_115, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_116) == 0)
{
lean_object* x_117; lean_object* x_118; lean_object* x_119; 
lean_dec(x_114);
lean_dec(x_46);
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_117 = lean_ctor_get(x_116, 0);
lean_inc(x_117);
if (lean_is_exclusive(x_116)) {
 lean_ctor_release(x_116, 0);
 x_118 = x_116;
} else {
 lean_dec_ref(x_116);
 x_118 = lean_box(0);
}
if (lean_is_scalar(x_118)) {
 x_119 = lean_alloc_ctor(0, 1, 0);
} else {
 x_119 = x_118;
}
lean_ctor_set(x_119, 0, x_117);
return x_119;
}
else
{
lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; 
x_120 = lean_ctor_get(x_116, 0);
lean_inc(x_120);
if (lean_is_exclusive(x_116)) {
 lean_ctor_release(x_116, 0);
 x_121 = x_116;
} else {
 lean_dec_ref(x_116);
 x_121 = lean_box(0);
}
if (lean_is_scalar(x_114)) {
 x_122 = lean_alloc_ctor(1, 1, 0);
} else {
 x_122 = x_114;
}
lean_ctor_set(x_122, 0, x_120);
x_123 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_123, 0, x_18);
lean_ctor_set(x_123, 1, x_28);
lean_ctor_set(x_123, 2, x_40);
lean_ctor_set(x_123, 3, x_42);
lean_ctor_set(x_123, 4, x_44);
lean_ctor_set(x_123, 5, x_45);
lean_ctor_set(x_123, 6, x_46);
lean_ctor_set(x_123, 7, x_122);
if (lean_is_scalar(x_121)) {
 x_124 = lean_alloc_ctor(1, 1, 0);
} else {
 x_124 = x_121;
}
lean_ctor_set(x_124, 0, x_123);
return x_124;
}
}
}
}
}
else
{
lean_object* x_125; lean_object* x_126; lean_object* x_127; 
x_125 = lean_ctor_get(x_46, 0);
lean_inc(x_125);
lean_dec(x_46);
x_126 = l_Lean_Json_getBool_x3f(x_125);
lean_dec(x_125);
x_127 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_126, x_2);
if (lean_obj_tag(x_127) == 0)
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; 
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_128 = lean_ctor_get(x_127, 0);
lean_inc(x_128);
if (lean_is_exclusive(x_127)) {
 lean_ctor_release(x_127, 0);
 x_129 = x_127;
} else {
 lean_dec_ref(x_127);
 x_129 = lean_box(0);
}
if (lean_is_scalar(x_129)) {
 x_130 = lean_alloc_ctor(0, 1, 0);
} else {
 x_130 = x_129;
}
lean_ctor_set(x_130, 0, x_128);
return x_130;
}
else
{
lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 
x_131 = lean_ctor_get(x_127, 0);
lean_inc(x_131);
if (lean_is_exclusive(x_127)) {
 lean_ctor_release(x_127, 0);
 x_132 = x_127;
} else {
 lean_dec_ref(x_127);
 x_132 = lean_box(0);
}
x_133 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_133, 0, x_131);
x_134 = lean_ctor_get(x_5, 7);
lean_inc(x_134);
lean_dec(x_5);
if (lean_obj_tag(x_134) == 0)
{
lean_object* x_135; lean_object* x_136; 
lean_dec(x_2);
x_135 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_135, 0, x_18);
lean_ctor_set(x_135, 1, x_28);
lean_ctor_set(x_135, 2, x_40);
lean_ctor_set(x_135, 3, x_42);
lean_ctor_set(x_135, 4, x_44);
lean_ctor_set(x_135, 5, x_45);
lean_ctor_set(x_135, 6, x_133);
lean_ctor_set(x_135, 7, x_44);
if (lean_is_scalar(x_132)) {
 x_136 = lean_alloc_ctor(1, 1, 0);
} else {
 x_136 = x_132;
}
lean_ctor_set(x_136, 0, x_135);
return x_136;
}
else
{
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; 
lean_dec(x_132);
x_137 = lean_ctor_get(x_134, 0);
lean_inc(x_137);
if (lean_is_exclusive(x_134)) {
 lean_ctor_release(x_134, 0);
 x_138 = x_134;
} else {
 lean_dec_ref(x_134);
 x_138 = lean_box(0);
}
x_139 = l_Lean_Json_getBool_x3f(x_137);
lean_dec(x_137);
x_140 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_139, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_140) == 0)
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; 
lean_dec(x_138);
lean_dec(x_133);
lean_dec(x_45);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_141 = lean_ctor_get(x_140, 0);
lean_inc(x_141);
if (lean_is_exclusive(x_140)) {
 lean_ctor_release(x_140, 0);
 x_142 = x_140;
} else {
 lean_dec_ref(x_140);
 x_142 = lean_box(0);
}
if (lean_is_scalar(x_142)) {
 x_143 = lean_alloc_ctor(0, 1, 0);
} else {
 x_143 = x_142;
}
lean_ctor_set(x_143, 0, x_141);
return x_143;
}
else
{
lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; 
x_144 = lean_ctor_get(x_140, 0);
lean_inc(x_144);
if (lean_is_exclusive(x_140)) {
 lean_ctor_release(x_140, 0);
 x_145 = x_140;
} else {
 lean_dec_ref(x_140);
 x_145 = lean_box(0);
}
if (lean_is_scalar(x_138)) {
 x_146 = lean_alloc_ctor(1, 1, 0);
} else {
 x_146 = x_138;
}
lean_ctor_set(x_146, 0, x_144);
x_147 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_147, 0, x_18);
lean_ctor_set(x_147, 1, x_28);
lean_ctor_set(x_147, 2, x_40);
lean_ctor_set(x_147, 3, x_42);
lean_ctor_set(x_147, 4, x_44);
lean_ctor_set(x_147, 5, x_45);
lean_ctor_set(x_147, 6, x_133);
lean_ctor_set(x_147, 7, x_146);
if (lean_is_scalar(x_145)) {
 x_148 = lean_alloc_ctor(1, 1, 0);
} else {
 x_148 = x_145;
}
lean_ctor_set(x_148, 0, x_147);
return x_148;
}
}
}
}
}
}
}
else
{
uint8_t x_167; 
lean_dec(x_41);
x_167 = !lean_is_exclusive(x_43);
if (x_167 == 0)
{
lean_object* x_168; lean_object* x_169; lean_object* x_170; 
x_168 = lean_ctor_get(x_43, 0);
x_169 = l_Lean_Json_getBool_x3f(x_168);
lean_dec(x_168);
x_170 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_169, x_2);
if (lean_obj_tag(x_170) == 0)
{
uint8_t x_171; 
lean_free_object(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_171 = !lean_is_exclusive(x_170);
if (x_171 == 0)
{
return x_170;
}
else
{
lean_object* x_172; lean_object* x_173; 
x_172 = lean_ctor_get(x_170, 0);
lean_inc(x_172);
lean_dec(x_170);
x_173 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_173, 0, x_172);
return x_173;
}
}
else
{
lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_285; 
x_174 = lean_ctor_get(x_170, 0);
lean_inc(x_174);
if (lean_is_exclusive(x_170)) {
 lean_ctor_release(x_170, 0);
 x_175 = x_170;
} else {
 lean_dec_ref(x_170);
 x_175 = lean_box(0);
}
lean_ctor_set(x_43, 0, x_174);
x_285 = lean_ctor_get(x_5, 5);
lean_inc(x_285);
if (lean_obj_tag(x_285) == 0)
{
lean_object* x_286; 
x_286 = lean_box(0);
x_176 = x_286;
goto block_284;
}
else
{
uint8_t x_287; 
x_287 = !lean_is_exclusive(x_285);
if (x_287 == 0)
{
lean_object* x_288; lean_object* x_289; lean_object* x_290; 
x_288 = lean_ctor_get(x_285, 0);
x_289 = l_Lean_Json_getBool_x3f(x_288);
lean_dec(x_288);
x_290 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_289, x_2);
if (lean_obj_tag(x_290) == 0)
{
uint8_t x_291; 
lean_free_object(x_285);
lean_dec(x_43);
lean_dec(x_175);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_291 = !lean_is_exclusive(x_290);
if (x_291 == 0)
{
return x_290;
}
else
{
lean_object* x_292; lean_object* x_293; 
x_292 = lean_ctor_get(x_290, 0);
lean_inc(x_292);
lean_dec(x_290);
x_293 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_293, 0, x_292);
return x_293;
}
}
else
{
lean_object* x_294; 
x_294 = lean_ctor_get(x_290, 0);
lean_inc(x_294);
lean_dec(x_290);
lean_ctor_set(x_285, 0, x_294);
x_176 = x_285;
goto block_284;
}
}
else
{
lean_object* x_295; lean_object* x_296; lean_object* x_297; 
x_295 = lean_ctor_get(x_285, 0);
lean_inc(x_295);
lean_dec(x_285);
x_296 = l_Lean_Json_getBool_x3f(x_295);
lean_dec(x_295);
x_297 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_296, x_2);
if (lean_obj_tag(x_297) == 0)
{
lean_object* x_298; lean_object* x_299; lean_object* x_300; 
lean_dec(x_43);
lean_dec(x_175);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_298 = lean_ctor_get(x_297, 0);
lean_inc(x_298);
if (lean_is_exclusive(x_297)) {
 lean_ctor_release(x_297, 0);
 x_299 = x_297;
} else {
 lean_dec_ref(x_297);
 x_299 = lean_box(0);
}
if (lean_is_scalar(x_299)) {
 x_300 = lean_alloc_ctor(0, 1, 0);
} else {
 x_300 = x_299;
}
lean_ctor_set(x_300, 0, x_298);
return x_300;
}
else
{
lean_object* x_301; lean_object* x_302; 
x_301 = lean_ctor_get(x_297, 0);
lean_inc(x_301);
lean_dec(x_297);
x_302 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_302, 0, x_301);
x_176 = x_302;
goto block_284;
}
}
}
block_284:
{
lean_object* x_177; 
x_177 = lean_ctor_get(x_5, 6);
lean_inc(x_177);
if (lean_obj_tag(x_177) == 0)
{
lean_object* x_178; lean_object* x_179; 
x_178 = lean_box(0);
x_179 = lean_ctor_get(x_5, 7);
lean_inc(x_179);
lean_dec(x_5);
if (lean_obj_tag(x_179) == 0)
{
lean_object* x_180; lean_object* x_181; 
lean_dec(x_2);
x_180 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_180, 0, x_18);
lean_ctor_set(x_180, 1, x_28);
lean_ctor_set(x_180, 2, x_40);
lean_ctor_set(x_180, 3, x_42);
lean_ctor_set(x_180, 4, x_43);
lean_ctor_set(x_180, 5, x_176);
lean_ctor_set(x_180, 6, x_178);
lean_ctor_set(x_180, 7, x_178);
if (lean_is_scalar(x_175)) {
 x_181 = lean_alloc_ctor(1, 1, 0);
} else {
 x_181 = x_175;
}
lean_ctor_set(x_181, 0, x_180);
return x_181;
}
else
{
uint8_t x_182; 
lean_dec(x_175);
x_182 = !lean_is_exclusive(x_179);
if (x_182 == 0)
{
lean_object* x_183; lean_object* x_184; lean_object* x_185; 
x_183 = lean_ctor_get(x_179, 0);
x_184 = l_Lean_Json_getBool_x3f(x_183);
lean_dec(x_183);
x_185 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_184, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_185) == 0)
{
uint8_t x_186; 
lean_free_object(x_179);
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_186 = !lean_is_exclusive(x_185);
if (x_186 == 0)
{
return x_185;
}
else
{
lean_object* x_187; lean_object* x_188; 
x_187 = lean_ctor_get(x_185, 0);
lean_inc(x_187);
lean_dec(x_185);
x_188 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_188, 0, x_187);
return x_188;
}
}
else
{
uint8_t x_189; 
x_189 = !lean_is_exclusive(x_185);
if (x_189 == 0)
{
lean_object* x_190; lean_object* x_191; 
x_190 = lean_ctor_get(x_185, 0);
lean_ctor_set(x_179, 0, x_190);
x_191 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_191, 0, x_18);
lean_ctor_set(x_191, 1, x_28);
lean_ctor_set(x_191, 2, x_40);
lean_ctor_set(x_191, 3, x_42);
lean_ctor_set(x_191, 4, x_43);
lean_ctor_set(x_191, 5, x_176);
lean_ctor_set(x_191, 6, x_178);
lean_ctor_set(x_191, 7, x_179);
lean_ctor_set(x_185, 0, x_191);
return x_185;
}
else
{
lean_object* x_192; lean_object* x_193; lean_object* x_194; 
x_192 = lean_ctor_get(x_185, 0);
lean_inc(x_192);
lean_dec(x_185);
lean_ctor_set(x_179, 0, x_192);
x_193 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_193, 0, x_18);
lean_ctor_set(x_193, 1, x_28);
lean_ctor_set(x_193, 2, x_40);
lean_ctor_set(x_193, 3, x_42);
lean_ctor_set(x_193, 4, x_43);
lean_ctor_set(x_193, 5, x_176);
lean_ctor_set(x_193, 6, x_178);
lean_ctor_set(x_193, 7, x_179);
x_194 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_194, 0, x_193);
return x_194;
}
}
}
else
{
lean_object* x_195; lean_object* x_196; lean_object* x_197; 
x_195 = lean_ctor_get(x_179, 0);
lean_inc(x_195);
lean_dec(x_179);
x_196 = l_Lean_Json_getBool_x3f(x_195);
lean_dec(x_195);
x_197 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_196, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_197) == 0)
{
lean_object* x_198; lean_object* x_199; lean_object* x_200; 
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_198 = lean_ctor_get(x_197, 0);
lean_inc(x_198);
if (lean_is_exclusive(x_197)) {
 lean_ctor_release(x_197, 0);
 x_199 = x_197;
} else {
 lean_dec_ref(x_197);
 x_199 = lean_box(0);
}
if (lean_is_scalar(x_199)) {
 x_200 = lean_alloc_ctor(0, 1, 0);
} else {
 x_200 = x_199;
}
lean_ctor_set(x_200, 0, x_198);
return x_200;
}
else
{
lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; 
x_201 = lean_ctor_get(x_197, 0);
lean_inc(x_201);
if (lean_is_exclusive(x_197)) {
 lean_ctor_release(x_197, 0);
 x_202 = x_197;
} else {
 lean_dec_ref(x_197);
 x_202 = lean_box(0);
}
x_203 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_203, 0, x_201);
x_204 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_204, 0, x_18);
lean_ctor_set(x_204, 1, x_28);
lean_ctor_set(x_204, 2, x_40);
lean_ctor_set(x_204, 3, x_42);
lean_ctor_set(x_204, 4, x_43);
lean_ctor_set(x_204, 5, x_176);
lean_ctor_set(x_204, 6, x_178);
lean_ctor_set(x_204, 7, x_203);
if (lean_is_scalar(x_202)) {
 x_205 = lean_alloc_ctor(1, 1, 0);
} else {
 x_205 = x_202;
}
lean_ctor_set(x_205, 0, x_204);
return x_205;
}
}
}
}
else
{
uint8_t x_206; 
lean_dec(x_175);
x_206 = !lean_is_exclusive(x_177);
if (x_206 == 0)
{
lean_object* x_207; lean_object* x_208; lean_object* x_209; 
x_207 = lean_ctor_get(x_177, 0);
x_208 = l_Lean_Json_getBool_x3f(x_207);
lean_dec(x_207);
x_209 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_208, x_2);
if (lean_obj_tag(x_209) == 0)
{
uint8_t x_210; 
lean_free_object(x_177);
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_210 = !lean_is_exclusive(x_209);
if (x_210 == 0)
{
return x_209;
}
else
{
lean_object* x_211; lean_object* x_212; 
x_211 = lean_ctor_get(x_209, 0);
lean_inc(x_211);
lean_dec(x_209);
x_212 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_212, 0, x_211);
return x_212;
}
}
else
{
uint8_t x_213; 
x_213 = !lean_is_exclusive(x_209);
if (x_213 == 0)
{
lean_object* x_214; lean_object* x_215; 
x_214 = lean_ctor_get(x_209, 0);
lean_ctor_set(x_177, 0, x_214);
x_215 = lean_ctor_get(x_5, 7);
lean_inc(x_215);
lean_dec(x_5);
if (lean_obj_tag(x_215) == 0)
{
lean_object* x_216; lean_object* x_217; 
lean_dec(x_2);
x_216 = lean_box(0);
x_217 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_217, 0, x_18);
lean_ctor_set(x_217, 1, x_28);
lean_ctor_set(x_217, 2, x_40);
lean_ctor_set(x_217, 3, x_42);
lean_ctor_set(x_217, 4, x_43);
lean_ctor_set(x_217, 5, x_176);
lean_ctor_set(x_217, 6, x_177);
lean_ctor_set(x_217, 7, x_216);
lean_ctor_set(x_209, 0, x_217);
return x_209;
}
else
{
uint8_t x_218; 
lean_free_object(x_209);
x_218 = !lean_is_exclusive(x_215);
if (x_218 == 0)
{
lean_object* x_219; lean_object* x_220; lean_object* x_221; 
x_219 = lean_ctor_get(x_215, 0);
x_220 = l_Lean_Json_getBool_x3f(x_219);
lean_dec(x_219);
x_221 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_220, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_221) == 0)
{
uint8_t x_222; 
lean_free_object(x_215);
lean_dec(x_177);
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_222 = !lean_is_exclusive(x_221);
if (x_222 == 0)
{
return x_221;
}
else
{
lean_object* x_223; lean_object* x_224; 
x_223 = lean_ctor_get(x_221, 0);
lean_inc(x_223);
lean_dec(x_221);
x_224 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_224, 0, x_223);
return x_224;
}
}
else
{
uint8_t x_225; 
x_225 = !lean_is_exclusive(x_221);
if (x_225 == 0)
{
lean_object* x_226; lean_object* x_227; 
x_226 = lean_ctor_get(x_221, 0);
lean_ctor_set(x_215, 0, x_226);
x_227 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_227, 0, x_18);
lean_ctor_set(x_227, 1, x_28);
lean_ctor_set(x_227, 2, x_40);
lean_ctor_set(x_227, 3, x_42);
lean_ctor_set(x_227, 4, x_43);
lean_ctor_set(x_227, 5, x_176);
lean_ctor_set(x_227, 6, x_177);
lean_ctor_set(x_227, 7, x_215);
lean_ctor_set(x_221, 0, x_227);
return x_221;
}
else
{
lean_object* x_228; lean_object* x_229; lean_object* x_230; 
x_228 = lean_ctor_get(x_221, 0);
lean_inc(x_228);
lean_dec(x_221);
lean_ctor_set(x_215, 0, x_228);
x_229 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_229, 0, x_18);
lean_ctor_set(x_229, 1, x_28);
lean_ctor_set(x_229, 2, x_40);
lean_ctor_set(x_229, 3, x_42);
lean_ctor_set(x_229, 4, x_43);
lean_ctor_set(x_229, 5, x_176);
lean_ctor_set(x_229, 6, x_177);
lean_ctor_set(x_229, 7, x_215);
x_230 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_230, 0, x_229);
return x_230;
}
}
}
else
{
lean_object* x_231; lean_object* x_232; lean_object* x_233; 
x_231 = lean_ctor_get(x_215, 0);
lean_inc(x_231);
lean_dec(x_215);
x_232 = l_Lean_Json_getBool_x3f(x_231);
lean_dec(x_231);
x_233 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_232, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_233) == 0)
{
lean_object* x_234; lean_object* x_235; lean_object* x_236; 
lean_dec(x_177);
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_234 = lean_ctor_get(x_233, 0);
lean_inc(x_234);
if (lean_is_exclusive(x_233)) {
 lean_ctor_release(x_233, 0);
 x_235 = x_233;
} else {
 lean_dec_ref(x_233);
 x_235 = lean_box(0);
}
if (lean_is_scalar(x_235)) {
 x_236 = lean_alloc_ctor(0, 1, 0);
} else {
 x_236 = x_235;
}
lean_ctor_set(x_236, 0, x_234);
return x_236;
}
else
{
lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; 
x_237 = lean_ctor_get(x_233, 0);
lean_inc(x_237);
if (lean_is_exclusive(x_233)) {
 lean_ctor_release(x_233, 0);
 x_238 = x_233;
} else {
 lean_dec_ref(x_233);
 x_238 = lean_box(0);
}
x_239 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_239, 0, x_237);
x_240 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_240, 0, x_18);
lean_ctor_set(x_240, 1, x_28);
lean_ctor_set(x_240, 2, x_40);
lean_ctor_set(x_240, 3, x_42);
lean_ctor_set(x_240, 4, x_43);
lean_ctor_set(x_240, 5, x_176);
lean_ctor_set(x_240, 6, x_177);
lean_ctor_set(x_240, 7, x_239);
if (lean_is_scalar(x_238)) {
 x_241 = lean_alloc_ctor(1, 1, 0);
} else {
 x_241 = x_238;
}
lean_ctor_set(x_241, 0, x_240);
return x_241;
}
}
}
}
else
{
lean_object* x_242; lean_object* x_243; 
x_242 = lean_ctor_get(x_209, 0);
lean_inc(x_242);
lean_dec(x_209);
lean_ctor_set(x_177, 0, x_242);
x_243 = lean_ctor_get(x_5, 7);
lean_inc(x_243);
lean_dec(x_5);
if (lean_obj_tag(x_243) == 0)
{
lean_object* x_244; lean_object* x_245; lean_object* x_246; 
lean_dec(x_2);
x_244 = lean_box(0);
x_245 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_245, 0, x_18);
lean_ctor_set(x_245, 1, x_28);
lean_ctor_set(x_245, 2, x_40);
lean_ctor_set(x_245, 3, x_42);
lean_ctor_set(x_245, 4, x_43);
lean_ctor_set(x_245, 5, x_176);
lean_ctor_set(x_245, 6, x_177);
lean_ctor_set(x_245, 7, x_244);
x_246 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_246, 0, x_245);
return x_246;
}
else
{
lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; 
x_247 = lean_ctor_get(x_243, 0);
lean_inc(x_247);
if (lean_is_exclusive(x_243)) {
 lean_ctor_release(x_243, 0);
 x_248 = x_243;
} else {
 lean_dec_ref(x_243);
 x_248 = lean_box(0);
}
x_249 = l_Lean_Json_getBool_x3f(x_247);
lean_dec(x_247);
x_250 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_249, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_250) == 0)
{
lean_object* x_251; lean_object* x_252; lean_object* x_253; 
lean_dec(x_248);
lean_dec(x_177);
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_251 = lean_ctor_get(x_250, 0);
lean_inc(x_251);
if (lean_is_exclusive(x_250)) {
 lean_ctor_release(x_250, 0);
 x_252 = x_250;
} else {
 lean_dec_ref(x_250);
 x_252 = lean_box(0);
}
if (lean_is_scalar(x_252)) {
 x_253 = lean_alloc_ctor(0, 1, 0);
} else {
 x_253 = x_252;
}
lean_ctor_set(x_253, 0, x_251);
return x_253;
}
else
{
lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; 
x_254 = lean_ctor_get(x_250, 0);
lean_inc(x_254);
if (lean_is_exclusive(x_250)) {
 lean_ctor_release(x_250, 0);
 x_255 = x_250;
} else {
 lean_dec_ref(x_250);
 x_255 = lean_box(0);
}
if (lean_is_scalar(x_248)) {
 x_256 = lean_alloc_ctor(1, 1, 0);
} else {
 x_256 = x_248;
}
lean_ctor_set(x_256, 0, x_254);
x_257 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_257, 0, x_18);
lean_ctor_set(x_257, 1, x_28);
lean_ctor_set(x_257, 2, x_40);
lean_ctor_set(x_257, 3, x_42);
lean_ctor_set(x_257, 4, x_43);
lean_ctor_set(x_257, 5, x_176);
lean_ctor_set(x_257, 6, x_177);
lean_ctor_set(x_257, 7, x_256);
if (lean_is_scalar(x_255)) {
 x_258 = lean_alloc_ctor(1, 1, 0);
} else {
 x_258 = x_255;
}
lean_ctor_set(x_258, 0, x_257);
return x_258;
}
}
}
}
}
else
{
lean_object* x_259; lean_object* x_260; lean_object* x_261; 
x_259 = lean_ctor_get(x_177, 0);
lean_inc(x_259);
lean_dec(x_177);
x_260 = l_Lean_Json_getBool_x3f(x_259);
lean_dec(x_259);
x_261 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_260, x_2);
if (lean_obj_tag(x_261) == 0)
{
lean_object* x_262; lean_object* x_263; lean_object* x_264; 
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_262 = lean_ctor_get(x_261, 0);
lean_inc(x_262);
if (lean_is_exclusive(x_261)) {
 lean_ctor_release(x_261, 0);
 x_263 = x_261;
} else {
 lean_dec_ref(x_261);
 x_263 = lean_box(0);
}
if (lean_is_scalar(x_263)) {
 x_264 = lean_alloc_ctor(0, 1, 0);
} else {
 x_264 = x_263;
}
lean_ctor_set(x_264, 0, x_262);
return x_264;
}
else
{
lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; 
x_265 = lean_ctor_get(x_261, 0);
lean_inc(x_265);
if (lean_is_exclusive(x_261)) {
 lean_ctor_release(x_261, 0);
 x_266 = x_261;
} else {
 lean_dec_ref(x_261);
 x_266 = lean_box(0);
}
x_267 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_267, 0, x_265);
x_268 = lean_ctor_get(x_5, 7);
lean_inc(x_268);
lean_dec(x_5);
if (lean_obj_tag(x_268) == 0)
{
lean_object* x_269; lean_object* x_270; lean_object* x_271; 
lean_dec(x_2);
x_269 = lean_box(0);
x_270 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_270, 0, x_18);
lean_ctor_set(x_270, 1, x_28);
lean_ctor_set(x_270, 2, x_40);
lean_ctor_set(x_270, 3, x_42);
lean_ctor_set(x_270, 4, x_43);
lean_ctor_set(x_270, 5, x_176);
lean_ctor_set(x_270, 6, x_267);
lean_ctor_set(x_270, 7, x_269);
if (lean_is_scalar(x_266)) {
 x_271 = lean_alloc_ctor(1, 1, 0);
} else {
 x_271 = x_266;
}
lean_ctor_set(x_271, 0, x_270);
return x_271;
}
else
{
lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; 
lean_dec(x_266);
x_272 = lean_ctor_get(x_268, 0);
lean_inc(x_272);
if (lean_is_exclusive(x_268)) {
 lean_ctor_release(x_268, 0);
 x_273 = x_268;
} else {
 lean_dec_ref(x_268);
 x_273 = lean_box(0);
}
x_274 = l_Lean_Json_getBool_x3f(x_272);
lean_dec(x_272);
x_275 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_274, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_275) == 0)
{
lean_object* x_276; lean_object* x_277; lean_object* x_278; 
lean_dec(x_273);
lean_dec(x_267);
lean_dec(x_176);
lean_dec(x_43);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_276 = lean_ctor_get(x_275, 0);
lean_inc(x_276);
if (lean_is_exclusive(x_275)) {
 lean_ctor_release(x_275, 0);
 x_277 = x_275;
} else {
 lean_dec_ref(x_275);
 x_277 = lean_box(0);
}
if (lean_is_scalar(x_277)) {
 x_278 = lean_alloc_ctor(0, 1, 0);
} else {
 x_278 = x_277;
}
lean_ctor_set(x_278, 0, x_276);
return x_278;
}
else
{
lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 
x_279 = lean_ctor_get(x_275, 0);
lean_inc(x_279);
if (lean_is_exclusive(x_275)) {
 lean_ctor_release(x_275, 0);
 x_280 = x_275;
} else {
 lean_dec_ref(x_275);
 x_280 = lean_box(0);
}
if (lean_is_scalar(x_273)) {
 x_281 = lean_alloc_ctor(1, 1, 0);
} else {
 x_281 = x_273;
}
lean_ctor_set(x_281, 0, x_279);
x_282 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_282, 0, x_18);
lean_ctor_set(x_282, 1, x_28);
lean_ctor_set(x_282, 2, x_40);
lean_ctor_set(x_282, 3, x_42);
lean_ctor_set(x_282, 4, x_43);
lean_ctor_set(x_282, 5, x_176);
lean_ctor_set(x_282, 6, x_267);
lean_ctor_set(x_282, 7, x_281);
if (lean_is_scalar(x_280)) {
 x_283 = lean_alloc_ctor(1, 1, 0);
} else {
 x_283 = x_280;
}
lean_ctor_set(x_283, 0, x_282);
return x_283;
}
}
}
}
}
}
}
}
else
{
lean_object* x_303; lean_object* x_304; lean_object* x_305; 
x_303 = lean_ctor_get(x_43, 0);
lean_inc(x_303);
lean_dec(x_43);
x_304 = l_Lean_Json_getBool_x3f(x_303);
lean_dec(x_303);
x_305 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_304, x_2);
if (lean_obj_tag(x_305) == 0)
{
lean_object* x_306; lean_object* x_307; lean_object* x_308; 
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_306 = lean_ctor_get(x_305, 0);
lean_inc(x_306);
if (lean_is_exclusive(x_305)) {
 lean_ctor_release(x_305, 0);
 x_307 = x_305;
} else {
 lean_dec_ref(x_305);
 x_307 = lean_box(0);
}
if (lean_is_scalar(x_307)) {
 x_308 = lean_alloc_ctor(0, 1, 0);
} else {
 x_308 = x_307;
}
lean_ctor_set(x_308, 0, x_306);
return x_308;
}
else
{
lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_357; 
x_309 = lean_ctor_get(x_305, 0);
lean_inc(x_309);
if (lean_is_exclusive(x_305)) {
 lean_ctor_release(x_305, 0);
 x_310 = x_305;
} else {
 lean_dec_ref(x_305);
 x_310 = lean_box(0);
}
x_311 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_311, 0, x_309);
x_357 = lean_ctor_get(x_5, 5);
lean_inc(x_357);
if (lean_obj_tag(x_357) == 0)
{
lean_object* x_358; 
x_358 = lean_box(0);
x_312 = x_358;
goto block_356;
}
else
{
lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; 
x_359 = lean_ctor_get(x_357, 0);
lean_inc(x_359);
if (lean_is_exclusive(x_357)) {
 lean_ctor_release(x_357, 0);
 x_360 = x_357;
} else {
 lean_dec_ref(x_357);
 x_360 = lean_box(0);
}
x_361 = l_Lean_Json_getBool_x3f(x_359);
lean_dec(x_359);
x_362 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_361, x_2);
if (lean_obj_tag(x_362) == 0)
{
lean_object* x_363; lean_object* x_364; lean_object* x_365; 
lean_dec(x_360);
lean_dec(x_311);
lean_dec(x_310);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_363 = lean_ctor_get(x_362, 0);
lean_inc(x_363);
if (lean_is_exclusive(x_362)) {
 lean_ctor_release(x_362, 0);
 x_364 = x_362;
} else {
 lean_dec_ref(x_362);
 x_364 = lean_box(0);
}
if (lean_is_scalar(x_364)) {
 x_365 = lean_alloc_ctor(0, 1, 0);
} else {
 x_365 = x_364;
}
lean_ctor_set(x_365, 0, x_363);
return x_365;
}
else
{
lean_object* x_366; lean_object* x_367; 
x_366 = lean_ctor_get(x_362, 0);
lean_inc(x_366);
lean_dec(x_362);
if (lean_is_scalar(x_360)) {
 x_367 = lean_alloc_ctor(1, 1, 0);
} else {
 x_367 = x_360;
}
lean_ctor_set(x_367, 0, x_366);
x_312 = x_367;
goto block_356;
}
}
block_356:
{
lean_object* x_313; 
x_313 = lean_ctor_get(x_5, 6);
lean_inc(x_313);
if (lean_obj_tag(x_313) == 0)
{
lean_object* x_314; lean_object* x_315; 
x_314 = lean_box(0);
x_315 = lean_ctor_get(x_5, 7);
lean_inc(x_315);
lean_dec(x_5);
if (lean_obj_tag(x_315) == 0)
{
lean_object* x_316; lean_object* x_317; 
lean_dec(x_2);
x_316 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_316, 0, x_18);
lean_ctor_set(x_316, 1, x_28);
lean_ctor_set(x_316, 2, x_40);
lean_ctor_set(x_316, 3, x_42);
lean_ctor_set(x_316, 4, x_311);
lean_ctor_set(x_316, 5, x_312);
lean_ctor_set(x_316, 6, x_314);
lean_ctor_set(x_316, 7, x_314);
if (lean_is_scalar(x_310)) {
 x_317 = lean_alloc_ctor(1, 1, 0);
} else {
 x_317 = x_310;
}
lean_ctor_set(x_317, 0, x_316);
return x_317;
}
else
{
lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; 
lean_dec(x_310);
x_318 = lean_ctor_get(x_315, 0);
lean_inc(x_318);
if (lean_is_exclusive(x_315)) {
 lean_ctor_release(x_315, 0);
 x_319 = x_315;
} else {
 lean_dec_ref(x_315);
 x_319 = lean_box(0);
}
x_320 = l_Lean_Json_getBool_x3f(x_318);
lean_dec(x_318);
x_321 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_320, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_321) == 0)
{
lean_object* x_322; lean_object* x_323; lean_object* x_324; 
lean_dec(x_319);
lean_dec(x_312);
lean_dec(x_311);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_322 = lean_ctor_get(x_321, 0);
lean_inc(x_322);
if (lean_is_exclusive(x_321)) {
 lean_ctor_release(x_321, 0);
 x_323 = x_321;
} else {
 lean_dec_ref(x_321);
 x_323 = lean_box(0);
}
if (lean_is_scalar(x_323)) {
 x_324 = lean_alloc_ctor(0, 1, 0);
} else {
 x_324 = x_323;
}
lean_ctor_set(x_324, 0, x_322);
return x_324;
}
else
{
lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; 
x_325 = lean_ctor_get(x_321, 0);
lean_inc(x_325);
if (lean_is_exclusive(x_321)) {
 lean_ctor_release(x_321, 0);
 x_326 = x_321;
} else {
 lean_dec_ref(x_321);
 x_326 = lean_box(0);
}
if (lean_is_scalar(x_319)) {
 x_327 = lean_alloc_ctor(1, 1, 0);
} else {
 x_327 = x_319;
}
lean_ctor_set(x_327, 0, x_325);
x_328 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_328, 0, x_18);
lean_ctor_set(x_328, 1, x_28);
lean_ctor_set(x_328, 2, x_40);
lean_ctor_set(x_328, 3, x_42);
lean_ctor_set(x_328, 4, x_311);
lean_ctor_set(x_328, 5, x_312);
lean_ctor_set(x_328, 6, x_314);
lean_ctor_set(x_328, 7, x_327);
if (lean_is_scalar(x_326)) {
 x_329 = lean_alloc_ctor(1, 1, 0);
} else {
 x_329 = x_326;
}
lean_ctor_set(x_329, 0, x_328);
return x_329;
}
}
}
else
{
lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; 
lean_dec(x_310);
x_330 = lean_ctor_get(x_313, 0);
lean_inc(x_330);
if (lean_is_exclusive(x_313)) {
 lean_ctor_release(x_313, 0);
 x_331 = x_313;
} else {
 lean_dec_ref(x_313);
 x_331 = lean_box(0);
}
x_332 = l_Lean_Json_getBool_x3f(x_330);
lean_dec(x_330);
x_333 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_332, x_2);
if (lean_obj_tag(x_333) == 0)
{
lean_object* x_334; lean_object* x_335; lean_object* x_336; 
lean_dec(x_331);
lean_dec(x_312);
lean_dec(x_311);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
lean_dec(x_5);
lean_dec(x_2);
x_334 = lean_ctor_get(x_333, 0);
lean_inc(x_334);
if (lean_is_exclusive(x_333)) {
 lean_ctor_release(x_333, 0);
 x_335 = x_333;
} else {
 lean_dec_ref(x_333);
 x_335 = lean_box(0);
}
if (lean_is_scalar(x_335)) {
 x_336 = lean_alloc_ctor(0, 1, 0);
} else {
 x_336 = x_335;
}
lean_ctor_set(x_336, 0, x_334);
return x_336;
}
else
{
lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; 
x_337 = lean_ctor_get(x_333, 0);
lean_inc(x_337);
if (lean_is_exclusive(x_333)) {
 lean_ctor_release(x_333, 0);
 x_338 = x_333;
} else {
 lean_dec_ref(x_333);
 x_338 = lean_box(0);
}
if (lean_is_scalar(x_331)) {
 x_339 = lean_alloc_ctor(1, 1, 0);
} else {
 x_339 = x_331;
}
lean_ctor_set(x_339, 0, x_337);
x_340 = lean_ctor_get(x_5, 7);
lean_inc(x_340);
lean_dec(x_5);
if (lean_obj_tag(x_340) == 0)
{
lean_object* x_341; lean_object* x_342; lean_object* x_343; 
lean_dec(x_2);
x_341 = lean_box(0);
x_342 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_342, 0, x_18);
lean_ctor_set(x_342, 1, x_28);
lean_ctor_set(x_342, 2, x_40);
lean_ctor_set(x_342, 3, x_42);
lean_ctor_set(x_342, 4, x_311);
lean_ctor_set(x_342, 5, x_312);
lean_ctor_set(x_342, 6, x_339);
lean_ctor_set(x_342, 7, x_341);
if (lean_is_scalar(x_338)) {
 x_343 = lean_alloc_ctor(1, 1, 0);
} else {
 x_343 = x_338;
}
lean_ctor_set(x_343, 0, x_342);
return x_343;
}
else
{
lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; 
lean_dec(x_338);
x_344 = lean_ctor_get(x_340, 0);
lean_inc(x_344);
if (lean_is_exclusive(x_340)) {
 lean_ctor_release(x_340, 0);
 x_345 = x_340;
} else {
 lean_dec_ref(x_340);
 x_345 = lean_box(0);
}
x_346 = l_Lean_Json_getBool_x3f(x_344);
lean_dec(x_344);
x_347 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_346, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_347) == 0)
{
lean_object* x_348; lean_object* x_349; lean_object* x_350; 
lean_dec(x_345);
lean_dec(x_339);
lean_dec(x_312);
lean_dec(x_311);
lean_dec(x_42);
lean_dec(x_40);
lean_dec(x_28);
lean_dec(x_18);
x_348 = lean_ctor_get(x_347, 0);
lean_inc(x_348);
if (lean_is_exclusive(x_347)) {
 lean_ctor_release(x_347, 0);
 x_349 = x_347;
} else {
 lean_dec_ref(x_347);
 x_349 = lean_box(0);
}
if (lean_is_scalar(x_349)) {
 x_350 = lean_alloc_ctor(0, 1, 0);
} else {
 x_350 = x_349;
}
lean_ctor_set(x_350, 0, x_348);
return x_350;
}
else
{
lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; 
x_351 = lean_ctor_get(x_347, 0);
lean_inc(x_351);
if (lean_is_exclusive(x_347)) {
 lean_ctor_release(x_347, 0);
 x_352 = x_347;
} else {
 lean_dec_ref(x_347);
 x_352 = lean_box(0);
}
if (lean_is_scalar(x_345)) {
 x_353 = lean_alloc_ctor(1, 1, 0);
} else {
 x_353 = x_345;
}
lean_ctor_set(x_353, 0, x_351);
x_354 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_354, 0, x_18);
lean_ctor_set(x_354, 1, x_28);
lean_ctor_set(x_354, 2, x_40);
lean_ctor_set(x_354, 3, x_42);
lean_ctor_set(x_354, 4, x_311);
lean_ctor_set(x_354, 5, x_312);
lean_ctor_set(x_354, 6, x_339);
lean_ctor_set(x_354, 7, x_353);
if (lean_is_scalar(x_352)) {
 x_355 = lean_alloc_ctor(1, 1, 0);
} else {
 x_355 = x_352;
}
lean_ctor_set(x_355, 0, x_354);
return x_355;
}
}
}
}
}
}
}
}
}
}
}
}
}
else
{
uint8_t x_395; 
lean_dec(x_5);
lean_dec(x_2);
x_395 = !lean_is_exclusive(x_13);
if (x_395 == 0)
{
lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; 
x_396 = lean_ctor_get(x_13, 0);
lean_dec(x_396);
x_397 = lean_unsigned_to_nat(80u);
x_398 = l_Lean_Json_pretty(x_17, x_397);
x_399 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_400 = lean_string_append(x_399, x_398);
lean_dec(x_398);
x_401 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_402 = lean_string_append(x_400, x_401);
lean_ctor_set_tag(x_13, 0);
lean_ctor_set(x_13, 0, x_402);
return x_13;
}
else
{
lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; 
lean_dec(x_13);
x_403 = lean_unsigned_to_nat(80u);
x_404 = l_Lean_Json_pretty(x_17, x_403);
x_405 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_406 = lean_string_append(x_405, x_404);
lean_dec(x_404);
x_407 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_408 = lean_string_append(x_406, x_407);
x_409 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_409, 0, x_408);
return x_409;
}
}
}
}
else
{
lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; 
lean_dec(x_5);
lean_dec(x_2);
x_410 = lean_unsigned_to_nat(80u);
x_411 = l_Lean_Json_pretty(x_6, x_410);
x_412 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_413 = lean_string_append(x_412, x_411);
lean_dec(x_411);
x_414 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_415 = lean_string_append(x_413, x_414);
lean_ctor_set_tag(x_3, 0);
lean_ctor_set(x_3, 0, x_415);
return x_3;
}
}
else
{
lean_object* x_416; lean_object* x_417; 
x_416 = lean_ctor_get(x_3, 0);
lean_inc(x_416);
lean_dec(x_3);
x_417 = lean_ctor_get(x_416, 0);
lean_inc(x_417);
if (lean_obj_tag(x_417) == 4)
{
lean_object* x_418; size_t x_419; size_t x_420; lean_object* x_421; lean_object* x_422; size_t x_423; lean_object* x_424; 
x_418 = lean_ctor_get(x_417, 0);
lean_inc(x_418);
lean_dec(x_417);
x_419 = lean_array_size(x_418);
x_420 = 0;
x_421 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_419, x_420, x_418);
x_422 = lean_ctor_get(x_421, 0);
lean_inc(x_422);
lean_dec(x_421);
x_423 = lean_array_size(x_422);
x_424 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(x_423, x_420, x_422, x_2);
if (lean_obj_tag(x_424) == 0)
{
lean_object* x_425; lean_object* x_426; lean_object* x_427; 
lean_dec(x_416);
lean_dec(x_2);
x_425 = lean_ctor_get(x_424, 0);
lean_inc(x_425);
if (lean_is_exclusive(x_424)) {
 lean_ctor_release(x_424, 0);
 x_426 = x_424;
} else {
 lean_dec_ref(x_424);
 x_426 = lean_box(0);
}
if (lean_is_scalar(x_426)) {
 x_427 = lean_alloc_ctor(0, 1, 0);
} else {
 x_427 = x_426;
}
lean_ctor_set(x_427, 0, x_425);
return x_427;
}
else
{
lean_object* x_428; 
x_428 = lean_ctor_get(x_416, 1);
lean_inc(x_428);
if (lean_obj_tag(x_428) == 4)
{
lean_object* x_429; lean_object* x_430; size_t x_431; lean_object* x_432; lean_object* x_433; size_t x_434; lean_object* x_435; 
x_429 = lean_ctor_get(x_424, 0);
lean_inc(x_429);
lean_dec(x_424);
x_430 = lean_ctor_get(x_428, 0);
lean_inc(x_430);
lean_dec(x_428);
x_431 = lean_array_size(x_430);
x_432 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_431, x_420, x_430);
x_433 = lean_ctor_get(x_432, 0);
lean_inc(x_433);
lean_dec(x_432);
x_434 = lean_array_size(x_433);
x_435 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(x_434, x_420, x_433, x_2);
if (lean_obj_tag(x_435) == 0)
{
lean_object* x_436; lean_object* x_437; lean_object* x_438; 
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_436 = lean_ctor_get(x_435, 0);
lean_inc(x_436);
if (lean_is_exclusive(x_435)) {
 lean_ctor_release(x_435, 0);
 x_437 = x_435;
} else {
 lean_dec_ref(x_435);
 x_437 = lean_box(0);
}
if (lean_is_scalar(x_437)) {
 x_438 = lean_alloc_ctor(0, 1, 0);
} else {
 x_438 = x_437;
}
lean_ctor_set(x_438, 0, x_436);
return x_438;
}
else
{
lean_object* x_439; lean_object* x_440; lean_object* x_441; 
x_439 = lean_ctor_get(x_435, 0);
lean_inc(x_439);
lean_dec(x_435);
x_440 = lean_ctor_get(x_416, 2);
lean_inc(x_440);
x_441 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_440);
if (lean_obj_tag(x_441) == 0)
{
lean_object* x_442; lean_object* x_443; lean_object* x_444; 
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_442 = lean_ctor_get(x_441, 0);
lean_inc(x_442);
if (lean_is_exclusive(x_441)) {
 lean_ctor_release(x_441, 0);
 x_443 = x_441;
} else {
 lean_dec_ref(x_441);
 x_443 = lean_box(0);
}
if (lean_is_scalar(x_443)) {
 x_444 = lean_alloc_ctor(0, 1, 0);
} else {
 x_444 = x_443;
}
lean_ctor_set(x_444, 0, x_442);
return x_444;
}
else
{
lean_object* x_445; lean_object* x_446; lean_object* x_447; 
x_445 = lean_ctor_get(x_441, 0);
lean_inc(x_445);
lean_dec(x_441);
x_446 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2;
lean_inc(x_2);
x_447 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_446, x_445, x_2);
if (lean_obj_tag(x_447) == 0)
{
lean_object* x_448; lean_object* x_449; lean_object* x_450; 
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_448 = lean_ctor_get(x_447, 0);
lean_inc(x_448);
if (lean_is_exclusive(x_447)) {
 lean_ctor_release(x_447, 0);
 x_449 = x_447;
} else {
 lean_dec_ref(x_447);
 x_449 = lean_box(0);
}
if (lean_is_scalar(x_449)) {
 x_450 = lean_alloc_ctor(0, 1, 0);
} else {
 x_450 = x_449;
}
lean_ctor_set(x_450, 0, x_448);
return x_450;
}
else
{
lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_576; 
x_451 = lean_ctor_get(x_447, 0);
lean_inc(x_451);
if (lean_is_exclusive(x_447)) {
 lean_ctor_release(x_447, 0);
 x_452 = x_447;
} else {
 lean_dec_ref(x_447);
 x_452 = lean_box(0);
}
x_576 = lean_ctor_get(x_416, 3);
lean_inc(x_576);
if (lean_obj_tag(x_576) == 0)
{
lean_object* x_577; 
x_577 = lean_box(0);
x_453 = x_577;
goto block_575;
}
else
{
lean_object* x_578; lean_object* x_579; lean_object* x_580; 
x_578 = lean_ctor_get(x_576, 0);
lean_inc(x_578);
if (lean_is_exclusive(x_576)) {
 lean_ctor_release(x_576, 0);
 x_579 = x_576;
} else {
 lean_dec_ref(x_576);
 x_579 = lean_box(0);
}
x_580 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_578);
if (lean_obj_tag(x_580) == 0)
{
lean_object* x_581; lean_object* x_582; lean_object* x_583; 
lean_dec(x_579);
lean_dec(x_452);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_581 = lean_ctor_get(x_580, 0);
lean_inc(x_581);
if (lean_is_exclusive(x_580)) {
 lean_ctor_release(x_580, 0);
 x_582 = x_580;
} else {
 lean_dec_ref(x_580);
 x_582 = lean_box(0);
}
if (lean_is_scalar(x_582)) {
 x_583 = lean_alloc_ctor(0, 1, 0);
} else {
 x_583 = x_582;
}
lean_ctor_set(x_583, 0, x_581);
return x_583;
}
else
{
lean_object* x_584; lean_object* x_585; 
x_584 = lean_ctor_get(x_580, 0);
lean_inc(x_584);
lean_dec(x_580);
lean_inc(x_2);
x_585 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_446, x_584, x_2);
if (lean_obj_tag(x_585) == 0)
{
lean_object* x_586; lean_object* x_587; lean_object* x_588; 
lean_dec(x_579);
lean_dec(x_452);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_586 = lean_ctor_get(x_585, 0);
lean_inc(x_586);
if (lean_is_exclusive(x_585)) {
 lean_ctor_release(x_585, 0);
 x_587 = x_585;
} else {
 lean_dec_ref(x_585);
 x_587 = lean_box(0);
}
if (lean_is_scalar(x_587)) {
 x_588 = lean_alloc_ctor(0, 1, 0);
} else {
 x_588 = x_587;
}
lean_ctor_set(x_588, 0, x_586);
return x_588;
}
else
{
lean_object* x_589; lean_object* x_590; 
x_589 = lean_ctor_get(x_585, 0);
lean_inc(x_589);
lean_dec(x_585);
if (lean_is_scalar(x_579)) {
 x_590 = lean_alloc_ctor(1, 1, 0);
} else {
 x_590 = x_579;
}
lean_ctor_set(x_590, 0, x_589);
x_453 = x_590;
goto block_575;
}
}
}
block_575:
{
lean_object* x_454; 
x_454 = lean_ctor_get(x_416, 4);
lean_inc(x_454);
if (lean_obj_tag(x_454) == 0)
{
lean_object* x_455; lean_object* x_456; lean_object* x_499; 
x_455 = lean_box(0);
x_499 = lean_ctor_get(x_416, 5);
lean_inc(x_499);
if (lean_obj_tag(x_499) == 0)
{
x_456 = x_455;
goto block_498;
}
else
{
lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; 
x_500 = lean_ctor_get(x_499, 0);
lean_inc(x_500);
if (lean_is_exclusive(x_499)) {
 lean_ctor_release(x_499, 0);
 x_501 = x_499;
} else {
 lean_dec_ref(x_499);
 x_501 = lean_box(0);
}
x_502 = l_Lean_Json_getBool_x3f(x_500);
lean_dec(x_500);
x_503 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_502, x_2);
if (lean_obj_tag(x_503) == 0)
{
lean_object* x_504; lean_object* x_505; lean_object* x_506; 
lean_dec(x_501);
lean_dec(x_453);
lean_dec(x_452);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_504 = lean_ctor_get(x_503, 0);
lean_inc(x_504);
if (lean_is_exclusive(x_503)) {
 lean_ctor_release(x_503, 0);
 x_505 = x_503;
} else {
 lean_dec_ref(x_503);
 x_505 = lean_box(0);
}
if (lean_is_scalar(x_505)) {
 x_506 = lean_alloc_ctor(0, 1, 0);
} else {
 x_506 = x_505;
}
lean_ctor_set(x_506, 0, x_504);
return x_506;
}
else
{
lean_object* x_507; lean_object* x_508; 
x_507 = lean_ctor_get(x_503, 0);
lean_inc(x_507);
lean_dec(x_503);
if (lean_is_scalar(x_501)) {
 x_508 = lean_alloc_ctor(1, 1, 0);
} else {
 x_508 = x_501;
}
lean_ctor_set(x_508, 0, x_507);
x_456 = x_508;
goto block_498;
}
}
block_498:
{
lean_object* x_457; 
x_457 = lean_ctor_get(x_416, 6);
lean_inc(x_457);
if (lean_obj_tag(x_457) == 0)
{
lean_object* x_458; 
x_458 = lean_ctor_get(x_416, 7);
lean_inc(x_458);
lean_dec(x_416);
if (lean_obj_tag(x_458) == 0)
{
lean_object* x_459; lean_object* x_460; 
lean_dec(x_2);
x_459 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_459, 0, x_429);
lean_ctor_set(x_459, 1, x_439);
lean_ctor_set(x_459, 2, x_451);
lean_ctor_set(x_459, 3, x_453);
lean_ctor_set(x_459, 4, x_455);
lean_ctor_set(x_459, 5, x_456);
lean_ctor_set(x_459, 6, x_455);
lean_ctor_set(x_459, 7, x_455);
if (lean_is_scalar(x_452)) {
 x_460 = lean_alloc_ctor(1, 1, 0);
} else {
 x_460 = x_452;
}
lean_ctor_set(x_460, 0, x_459);
return x_460;
}
else
{
lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; 
lean_dec(x_452);
x_461 = lean_ctor_get(x_458, 0);
lean_inc(x_461);
if (lean_is_exclusive(x_458)) {
 lean_ctor_release(x_458, 0);
 x_462 = x_458;
} else {
 lean_dec_ref(x_458);
 x_462 = lean_box(0);
}
x_463 = l_Lean_Json_getBool_x3f(x_461);
lean_dec(x_461);
x_464 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_463, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_464) == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; 
lean_dec(x_462);
lean_dec(x_456);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
x_465 = lean_ctor_get(x_464, 0);
lean_inc(x_465);
if (lean_is_exclusive(x_464)) {
 lean_ctor_release(x_464, 0);
 x_466 = x_464;
} else {
 lean_dec_ref(x_464);
 x_466 = lean_box(0);
}
if (lean_is_scalar(x_466)) {
 x_467 = lean_alloc_ctor(0, 1, 0);
} else {
 x_467 = x_466;
}
lean_ctor_set(x_467, 0, x_465);
return x_467;
}
else
{
lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; 
x_468 = lean_ctor_get(x_464, 0);
lean_inc(x_468);
if (lean_is_exclusive(x_464)) {
 lean_ctor_release(x_464, 0);
 x_469 = x_464;
} else {
 lean_dec_ref(x_464);
 x_469 = lean_box(0);
}
if (lean_is_scalar(x_462)) {
 x_470 = lean_alloc_ctor(1, 1, 0);
} else {
 x_470 = x_462;
}
lean_ctor_set(x_470, 0, x_468);
x_471 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_471, 0, x_429);
lean_ctor_set(x_471, 1, x_439);
lean_ctor_set(x_471, 2, x_451);
lean_ctor_set(x_471, 3, x_453);
lean_ctor_set(x_471, 4, x_455);
lean_ctor_set(x_471, 5, x_456);
lean_ctor_set(x_471, 6, x_455);
lean_ctor_set(x_471, 7, x_470);
if (lean_is_scalar(x_469)) {
 x_472 = lean_alloc_ctor(1, 1, 0);
} else {
 x_472 = x_469;
}
lean_ctor_set(x_472, 0, x_471);
return x_472;
}
}
}
else
{
lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; 
lean_dec(x_452);
x_473 = lean_ctor_get(x_457, 0);
lean_inc(x_473);
if (lean_is_exclusive(x_457)) {
 lean_ctor_release(x_457, 0);
 x_474 = x_457;
} else {
 lean_dec_ref(x_457);
 x_474 = lean_box(0);
}
x_475 = l_Lean_Json_getBool_x3f(x_473);
lean_dec(x_473);
x_476 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_475, x_2);
if (lean_obj_tag(x_476) == 0)
{
lean_object* x_477; lean_object* x_478; lean_object* x_479; 
lean_dec(x_474);
lean_dec(x_456);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_477 = lean_ctor_get(x_476, 0);
lean_inc(x_477);
if (lean_is_exclusive(x_476)) {
 lean_ctor_release(x_476, 0);
 x_478 = x_476;
} else {
 lean_dec_ref(x_476);
 x_478 = lean_box(0);
}
if (lean_is_scalar(x_478)) {
 x_479 = lean_alloc_ctor(0, 1, 0);
} else {
 x_479 = x_478;
}
lean_ctor_set(x_479, 0, x_477);
return x_479;
}
else
{
lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; 
x_480 = lean_ctor_get(x_476, 0);
lean_inc(x_480);
if (lean_is_exclusive(x_476)) {
 lean_ctor_release(x_476, 0);
 x_481 = x_476;
} else {
 lean_dec_ref(x_476);
 x_481 = lean_box(0);
}
if (lean_is_scalar(x_474)) {
 x_482 = lean_alloc_ctor(1, 1, 0);
} else {
 x_482 = x_474;
}
lean_ctor_set(x_482, 0, x_480);
x_483 = lean_ctor_get(x_416, 7);
lean_inc(x_483);
lean_dec(x_416);
if (lean_obj_tag(x_483) == 0)
{
lean_object* x_484; lean_object* x_485; 
lean_dec(x_2);
x_484 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_484, 0, x_429);
lean_ctor_set(x_484, 1, x_439);
lean_ctor_set(x_484, 2, x_451);
lean_ctor_set(x_484, 3, x_453);
lean_ctor_set(x_484, 4, x_455);
lean_ctor_set(x_484, 5, x_456);
lean_ctor_set(x_484, 6, x_482);
lean_ctor_set(x_484, 7, x_455);
if (lean_is_scalar(x_481)) {
 x_485 = lean_alloc_ctor(1, 1, 0);
} else {
 x_485 = x_481;
}
lean_ctor_set(x_485, 0, x_484);
return x_485;
}
else
{
lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
lean_dec(x_481);
x_486 = lean_ctor_get(x_483, 0);
lean_inc(x_486);
if (lean_is_exclusive(x_483)) {
 lean_ctor_release(x_483, 0);
 x_487 = x_483;
} else {
 lean_dec_ref(x_483);
 x_487 = lean_box(0);
}
x_488 = l_Lean_Json_getBool_x3f(x_486);
lean_dec(x_486);
x_489 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_488, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_489) == 0)
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; 
lean_dec(x_487);
lean_dec(x_482);
lean_dec(x_456);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
x_490 = lean_ctor_get(x_489, 0);
lean_inc(x_490);
if (lean_is_exclusive(x_489)) {
 lean_ctor_release(x_489, 0);
 x_491 = x_489;
} else {
 lean_dec_ref(x_489);
 x_491 = lean_box(0);
}
if (lean_is_scalar(x_491)) {
 x_492 = lean_alloc_ctor(0, 1, 0);
} else {
 x_492 = x_491;
}
lean_ctor_set(x_492, 0, x_490);
return x_492;
}
else
{
lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; 
x_493 = lean_ctor_get(x_489, 0);
lean_inc(x_493);
if (lean_is_exclusive(x_489)) {
 lean_ctor_release(x_489, 0);
 x_494 = x_489;
} else {
 lean_dec_ref(x_489);
 x_494 = lean_box(0);
}
if (lean_is_scalar(x_487)) {
 x_495 = lean_alloc_ctor(1, 1, 0);
} else {
 x_495 = x_487;
}
lean_ctor_set(x_495, 0, x_493);
x_496 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_496, 0, x_429);
lean_ctor_set(x_496, 1, x_439);
lean_ctor_set(x_496, 2, x_451);
lean_ctor_set(x_496, 3, x_453);
lean_ctor_set(x_496, 4, x_455);
lean_ctor_set(x_496, 5, x_456);
lean_ctor_set(x_496, 6, x_482);
lean_ctor_set(x_496, 7, x_495);
if (lean_is_scalar(x_494)) {
 x_497 = lean_alloc_ctor(1, 1, 0);
} else {
 x_497 = x_494;
}
lean_ctor_set(x_497, 0, x_496);
return x_497;
}
}
}
}
}
}
else
{
lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; 
lean_dec(x_452);
x_509 = lean_ctor_get(x_454, 0);
lean_inc(x_509);
if (lean_is_exclusive(x_454)) {
 lean_ctor_release(x_454, 0);
 x_510 = x_454;
} else {
 lean_dec_ref(x_454);
 x_510 = lean_box(0);
}
x_511 = l_Lean_Json_getBool_x3f(x_509);
lean_dec(x_509);
x_512 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_511, x_2);
if (lean_obj_tag(x_512) == 0)
{
lean_object* x_513; lean_object* x_514; lean_object* x_515; 
lean_dec(x_510);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_513 = lean_ctor_get(x_512, 0);
lean_inc(x_513);
if (lean_is_exclusive(x_512)) {
 lean_ctor_release(x_512, 0);
 x_514 = x_512;
} else {
 lean_dec_ref(x_512);
 x_514 = lean_box(0);
}
if (lean_is_scalar(x_514)) {
 x_515 = lean_alloc_ctor(0, 1, 0);
} else {
 x_515 = x_514;
}
lean_ctor_set(x_515, 0, x_513);
return x_515;
}
else
{
lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_564; 
x_516 = lean_ctor_get(x_512, 0);
lean_inc(x_516);
if (lean_is_exclusive(x_512)) {
 lean_ctor_release(x_512, 0);
 x_517 = x_512;
} else {
 lean_dec_ref(x_512);
 x_517 = lean_box(0);
}
if (lean_is_scalar(x_510)) {
 x_518 = lean_alloc_ctor(1, 1, 0);
} else {
 x_518 = x_510;
}
lean_ctor_set(x_518, 0, x_516);
x_564 = lean_ctor_get(x_416, 5);
lean_inc(x_564);
if (lean_obj_tag(x_564) == 0)
{
lean_object* x_565; 
x_565 = lean_box(0);
x_519 = x_565;
goto block_563;
}
else
{
lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; 
x_566 = lean_ctor_get(x_564, 0);
lean_inc(x_566);
if (lean_is_exclusive(x_564)) {
 lean_ctor_release(x_564, 0);
 x_567 = x_564;
} else {
 lean_dec_ref(x_564);
 x_567 = lean_box(0);
}
x_568 = l_Lean_Json_getBool_x3f(x_566);
lean_dec(x_566);
x_569 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_568, x_2);
if (lean_obj_tag(x_569) == 0)
{
lean_object* x_570; lean_object* x_571; lean_object* x_572; 
lean_dec(x_567);
lean_dec(x_518);
lean_dec(x_517);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_570 = lean_ctor_get(x_569, 0);
lean_inc(x_570);
if (lean_is_exclusive(x_569)) {
 lean_ctor_release(x_569, 0);
 x_571 = x_569;
} else {
 lean_dec_ref(x_569);
 x_571 = lean_box(0);
}
if (lean_is_scalar(x_571)) {
 x_572 = lean_alloc_ctor(0, 1, 0);
} else {
 x_572 = x_571;
}
lean_ctor_set(x_572, 0, x_570);
return x_572;
}
else
{
lean_object* x_573; lean_object* x_574; 
x_573 = lean_ctor_get(x_569, 0);
lean_inc(x_573);
lean_dec(x_569);
if (lean_is_scalar(x_567)) {
 x_574 = lean_alloc_ctor(1, 1, 0);
} else {
 x_574 = x_567;
}
lean_ctor_set(x_574, 0, x_573);
x_519 = x_574;
goto block_563;
}
}
block_563:
{
lean_object* x_520; 
x_520 = lean_ctor_get(x_416, 6);
lean_inc(x_520);
if (lean_obj_tag(x_520) == 0)
{
lean_object* x_521; lean_object* x_522; 
x_521 = lean_box(0);
x_522 = lean_ctor_get(x_416, 7);
lean_inc(x_522);
lean_dec(x_416);
if (lean_obj_tag(x_522) == 0)
{
lean_object* x_523; lean_object* x_524; 
lean_dec(x_2);
x_523 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_523, 0, x_429);
lean_ctor_set(x_523, 1, x_439);
lean_ctor_set(x_523, 2, x_451);
lean_ctor_set(x_523, 3, x_453);
lean_ctor_set(x_523, 4, x_518);
lean_ctor_set(x_523, 5, x_519);
lean_ctor_set(x_523, 6, x_521);
lean_ctor_set(x_523, 7, x_521);
if (lean_is_scalar(x_517)) {
 x_524 = lean_alloc_ctor(1, 1, 0);
} else {
 x_524 = x_517;
}
lean_ctor_set(x_524, 0, x_523);
return x_524;
}
else
{
lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; 
lean_dec(x_517);
x_525 = lean_ctor_get(x_522, 0);
lean_inc(x_525);
if (lean_is_exclusive(x_522)) {
 lean_ctor_release(x_522, 0);
 x_526 = x_522;
} else {
 lean_dec_ref(x_522);
 x_526 = lean_box(0);
}
x_527 = l_Lean_Json_getBool_x3f(x_525);
lean_dec(x_525);
x_528 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_527, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_528) == 0)
{
lean_object* x_529; lean_object* x_530; lean_object* x_531; 
lean_dec(x_526);
lean_dec(x_519);
lean_dec(x_518);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
x_529 = lean_ctor_get(x_528, 0);
lean_inc(x_529);
if (lean_is_exclusive(x_528)) {
 lean_ctor_release(x_528, 0);
 x_530 = x_528;
} else {
 lean_dec_ref(x_528);
 x_530 = lean_box(0);
}
if (lean_is_scalar(x_530)) {
 x_531 = lean_alloc_ctor(0, 1, 0);
} else {
 x_531 = x_530;
}
lean_ctor_set(x_531, 0, x_529);
return x_531;
}
else
{
lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; 
x_532 = lean_ctor_get(x_528, 0);
lean_inc(x_532);
if (lean_is_exclusive(x_528)) {
 lean_ctor_release(x_528, 0);
 x_533 = x_528;
} else {
 lean_dec_ref(x_528);
 x_533 = lean_box(0);
}
if (lean_is_scalar(x_526)) {
 x_534 = lean_alloc_ctor(1, 1, 0);
} else {
 x_534 = x_526;
}
lean_ctor_set(x_534, 0, x_532);
x_535 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_535, 0, x_429);
lean_ctor_set(x_535, 1, x_439);
lean_ctor_set(x_535, 2, x_451);
lean_ctor_set(x_535, 3, x_453);
lean_ctor_set(x_535, 4, x_518);
lean_ctor_set(x_535, 5, x_519);
lean_ctor_set(x_535, 6, x_521);
lean_ctor_set(x_535, 7, x_534);
if (lean_is_scalar(x_533)) {
 x_536 = lean_alloc_ctor(1, 1, 0);
} else {
 x_536 = x_533;
}
lean_ctor_set(x_536, 0, x_535);
return x_536;
}
}
}
else
{
lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; 
lean_dec(x_517);
x_537 = lean_ctor_get(x_520, 0);
lean_inc(x_537);
if (lean_is_exclusive(x_520)) {
 lean_ctor_release(x_520, 0);
 x_538 = x_520;
} else {
 lean_dec_ref(x_520);
 x_538 = lean_box(0);
}
x_539 = l_Lean_Json_getBool_x3f(x_537);
lean_dec(x_537);
x_540 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_539, x_2);
if (lean_obj_tag(x_540) == 0)
{
lean_object* x_541; lean_object* x_542; lean_object* x_543; 
lean_dec(x_538);
lean_dec(x_519);
lean_dec(x_518);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
lean_dec(x_416);
lean_dec(x_2);
x_541 = lean_ctor_get(x_540, 0);
lean_inc(x_541);
if (lean_is_exclusive(x_540)) {
 lean_ctor_release(x_540, 0);
 x_542 = x_540;
} else {
 lean_dec_ref(x_540);
 x_542 = lean_box(0);
}
if (lean_is_scalar(x_542)) {
 x_543 = lean_alloc_ctor(0, 1, 0);
} else {
 x_543 = x_542;
}
lean_ctor_set(x_543, 0, x_541);
return x_543;
}
else
{
lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; 
x_544 = lean_ctor_get(x_540, 0);
lean_inc(x_544);
if (lean_is_exclusive(x_540)) {
 lean_ctor_release(x_540, 0);
 x_545 = x_540;
} else {
 lean_dec_ref(x_540);
 x_545 = lean_box(0);
}
if (lean_is_scalar(x_538)) {
 x_546 = lean_alloc_ctor(1, 1, 0);
} else {
 x_546 = x_538;
}
lean_ctor_set(x_546, 0, x_544);
x_547 = lean_ctor_get(x_416, 7);
lean_inc(x_547);
lean_dec(x_416);
if (lean_obj_tag(x_547) == 0)
{
lean_object* x_548; lean_object* x_549; lean_object* x_550; 
lean_dec(x_2);
x_548 = lean_box(0);
x_549 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_549, 0, x_429);
lean_ctor_set(x_549, 1, x_439);
lean_ctor_set(x_549, 2, x_451);
lean_ctor_set(x_549, 3, x_453);
lean_ctor_set(x_549, 4, x_518);
lean_ctor_set(x_549, 5, x_519);
lean_ctor_set(x_549, 6, x_546);
lean_ctor_set(x_549, 7, x_548);
if (lean_is_scalar(x_545)) {
 x_550 = lean_alloc_ctor(1, 1, 0);
} else {
 x_550 = x_545;
}
lean_ctor_set(x_550, 0, x_549);
return x_550;
}
else
{
lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; 
lean_dec(x_545);
x_551 = lean_ctor_get(x_547, 0);
lean_inc(x_551);
if (lean_is_exclusive(x_547)) {
 lean_ctor_release(x_547, 0);
 x_552 = x_547;
} else {
 lean_dec_ref(x_547);
 x_552 = lean_box(0);
}
x_553 = l_Lean_Json_getBool_x3f(x_551);
lean_dec(x_551);
x_554 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_553, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_554) == 0)
{
lean_object* x_555; lean_object* x_556; lean_object* x_557; 
lean_dec(x_552);
lean_dec(x_546);
lean_dec(x_519);
lean_dec(x_518);
lean_dec(x_453);
lean_dec(x_451);
lean_dec(x_439);
lean_dec(x_429);
x_555 = lean_ctor_get(x_554, 0);
lean_inc(x_555);
if (lean_is_exclusive(x_554)) {
 lean_ctor_release(x_554, 0);
 x_556 = x_554;
} else {
 lean_dec_ref(x_554);
 x_556 = lean_box(0);
}
if (lean_is_scalar(x_556)) {
 x_557 = lean_alloc_ctor(0, 1, 0);
} else {
 x_557 = x_556;
}
lean_ctor_set(x_557, 0, x_555);
return x_557;
}
else
{
lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; 
x_558 = lean_ctor_get(x_554, 0);
lean_inc(x_558);
if (lean_is_exclusive(x_554)) {
 lean_ctor_release(x_554, 0);
 x_559 = x_554;
} else {
 lean_dec_ref(x_554);
 x_559 = lean_box(0);
}
if (lean_is_scalar(x_552)) {
 x_560 = lean_alloc_ctor(1, 1, 0);
} else {
 x_560 = x_552;
}
lean_ctor_set(x_560, 0, x_558);
x_561 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_561, 0, x_429);
lean_ctor_set(x_561, 1, x_439);
lean_ctor_set(x_561, 2, x_451);
lean_ctor_set(x_561, 3, x_453);
lean_ctor_set(x_561, 4, x_518);
lean_ctor_set(x_561, 5, x_519);
lean_ctor_set(x_561, 6, x_546);
lean_ctor_set(x_561, 7, x_560);
if (lean_is_scalar(x_559)) {
 x_562 = lean_alloc_ctor(1, 1, 0);
} else {
 x_562 = x_559;
}
lean_ctor_set(x_562, 0, x_561);
return x_562;
}
}
}
}
}
}
}
}
}
}
}
}
else
{
lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; 
lean_dec(x_416);
lean_dec(x_2);
if (lean_is_exclusive(x_424)) {
 lean_ctor_release(x_424, 0);
 x_591 = x_424;
} else {
 lean_dec_ref(x_424);
 x_591 = lean_box(0);
}
x_592 = lean_unsigned_to_nat(80u);
x_593 = l_Lean_Json_pretty(x_428, x_592);
x_594 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_595 = lean_string_append(x_594, x_593);
lean_dec(x_593);
x_596 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_597 = lean_string_append(x_595, x_596);
if (lean_is_scalar(x_591)) {
 x_598 = lean_alloc_ctor(0, 1, 0);
} else {
 x_598 = x_591;
 lean_ctor_set_tag(x_598, 0);
}
lean_ctor_set(x_598, 0, x_597);
return x_598;
}
}
}
else
{
lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; 
lean_dec(x_416);
lean_dec(x_2);
x_599 = lean_unsigned_to_nat(80u);
x_600 = l_Lean_Json_pretty(x_417, x_599);
x_601 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_602 = lean_string_append(x_601, x_600);
lean_dec(x_600);
x_603 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_604 = lean_string_append(x_602, x_603);
x_605 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_605, 0, x_604);
return x_605;
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__2(x_5, x_6, x_3, x_4);
lean_dec(x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___lambda__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4(x_5, x_6, x_3, x_4);
lean_dec(x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__6(x_1, x_6, x_7, x_4, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__1;
x_2 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__2;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__3;
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveGoal_isInserted_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveGoal_isRemoved_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hyps", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__2;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__3;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__4;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__5;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__6;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__7;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__8;
x_2 = lean_unsigned_to_nat(1205u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__10() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__9;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__10;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__13() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__12;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__13;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__14;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__16;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ctx", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__20() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__19;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__20;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__21;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("userName", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("userName\?", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__24;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__26() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__25;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__27;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("goalPrefix", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__31() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__30;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__31;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__32;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mvarId", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__36() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__35;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__36;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__37;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__39() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__60;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__40() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__39;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__66;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__42() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__41;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_2);
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
lean_dec(x_3);
x_5 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
lean_inc(x_1);
x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_5);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18;
lean_inc(x_1);
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_8);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__23;
lean_inc(x_1);
x_12 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_11);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec(x_12);
x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29;
lean_inc(x_1);
x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_14);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
lean_dec(x_15);
x_17 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34;
lean_inc(x_1);
x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_17);
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec(x_18);
x_20 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57;
lean_inc(x_1);
x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_20);
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
lean_dec(x_21);
x_23 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63;
x_24 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_23);
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_24, 0);
x_27 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_27, 0, x_4);
lean_ctor_set(x_27, 1, x_7);
lean_ctor_set(x_27, 2, x_10);
lean_ctor_set(x_27, 3, x_13);
lean_ctor_set(x_27, 4, x_16);
lean_ctor_set(x_27, 5, x_19);
lean_ctor_set(x_27, 6, x_22);
lean_ctor_set(x_27, 7, x_26);
lean_ctor_set(x_24, 0, x_27);
return x_24;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_24, 0);
lean_inc(x_28);
lean_dec(x_24);
x_29 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_29, 0, x_4);
lean_ctor_set(x_29, 1, x_7);
lean_ctor_set(x_29, 2, x_10);
lean_ctor_set(x_29, 3, x_13);
lean_ctor_set(x_29, 4, x_16);
lean_ctor_set(x_29, 5, x_19);
lean_ctor_set(x_29, 6, x_22);
lean_ctor_set(x_29, 7, x_28);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
return x_30;
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_2 = lean_ctor_get(x_1, 0);
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_ctor_get(x_1, 2);
x_5 = lean_ctor_get(x_1, 3);
x_6 = lean_ctor_get(x_1, 4);
x_7 = lean_ctor_get(x_1, 5);
x_8 = lean_ctor_get(x_1, 6);
x_9 = lean_ctor_get(x_1, 7);
x_10 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1;
lean_inc(x_2);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_2);
x_12 = lean_box(0);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
lean_inc(x_3);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_3);
x_16 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_12);
x_17 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18;
lean_inc(x_4);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_4);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_12);
x_20 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__23;
x_21 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_20, x_5);
x_22 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29;
lean_inc(x_6);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_6);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_12);
x_25 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34;
lean_inc(x_7);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_7);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_12);
x_28 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57;
x_29 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_28, x_8);
x_30 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63;
x_31 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_30, x_9);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_12);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_29);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_27);
lean_ctor_set(x_34, 1, x_33);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_24);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_36, 0, x_21);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_19);
lean_ctor_set(x_37, 1, x_36);
x_38 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_38, 0, x_16);
lean_ctor_set(x_38, 1, x_37);
x_39 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_39, 0, x_13);
lean_ctor_set(x_39, 1, x_38);
x_40 = l_List_join___rarg(x_39);
x_41 = l_Lean_Json_mkObj(x_40);
return x_41;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863____boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5_(x_7, x_4);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_10, 1);
lean_inc(x_12);
lean_dec(x_10);
x_13 = 1;
x_14 = lean_usize_add(x_2, x_13);
x_15 = lean_array_uset(x_9, x_2, x_11);
x_2 = x_14;
x_3 = x_15;
x_4 = x_12;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_94; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
x_5 = lean_array_size(x_4);
x_6 = 0;
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_5, x_6, x_4, x_2);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_7, 1);
lean_inc(x_9);
lean_dec(x_7);
x_10 = lean_array_size(x_8);
x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1590____spec__2(x_10, x_6, x_8);
x_12 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_12, 0, x_11);
x_13 = lean_ctor_get(x_3, 1);
lean_inc(x_13);
x_14 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_15 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_14, x_13, x_9);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_611____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_16);
x_19 = lean_ctor_get(x_3, 2);
lean_inc(x_19);
lean_dec(x_3);
x_20 = l_Lean_Widget_instTypeNameContextInfo;
x_21 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___rarg(x_20, x_19, x_17);
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_21, 1);
lean_inc(x_23);
if (lean_is_exclusive(x_21)) {
 lean_ctor_release(x_21, 0);
 lean_ctor_release(x_21, 1);
 x_24 = x_21;
} else {
 lean_dec_ref(x_21);
 x_24 = lean_box(0);
}
x_94 = lean_ctor_get(x_1, 1);
lean_inc(x_94);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; 
x_95 = lean_box(0);
x_25 = x_95;
x_26 = x_23;
goto block_93;
}
else
{
uint8_t x_96; 
x_96 = !lean_is_exclusive(x_94);
if (x_96 == 0)
{
lean_object* x_97; lean_object* x_98; 
x_97 = lean_ctor_get(x_94, 0);
x_98 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_98, 0, x_97);
lean_ctor_set(x_94, 0, x_98);
x_25 = x_94;
x_26 = x_23;
goto block_93;
}
else
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_99 = lean_ctor_get(x_94, 0);
lean_inc(x_99);
lean_dec(x_94);
x_100 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_100, 0, x_99);
x_101 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_101, 0, x_100);
x_25 = x_101;
x_26 = x_23;
goto block_93;
}
}
block_93:
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_27 = lean_ctor_get(x_1, 2);
lean_inc(x_27);
x_28 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_28, 0, x_27);
x_29 = lean_ctor_get(x_1, 3);
lean_inc(x_29);
x_30 = 1;
x_31 = l_Lean_Name_toString(x_29, x_30);
x_32 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_32, 0, x_31);
x_33 = lean_ctor_get(x_1, 4);
lean_inc(x_33);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_34; lean_object* x_35; 
x_34 = lean_box(0);
x_35 = lean_ctor_get(x_1, 5);
lean_inc(x_35);
lean_dec(x_1);
if (lean_obj_tag(x_35) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_36 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_36, 0, x_12);
lean_ctor_set(x_36, 1, x_18);
lean_ctor_set(x_36, 2, x_22);
lean_ctor_set(x_36, 3, x_25);
lean_ctor_set(x_36, 4, x_28);
lean_ctor_set(x_36, 5, x_32);
lean_ctor_set(x_36, 6, x_34);
lean_ctor_set(x_36, 7, x_34);
x_37 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_36);
lean_dec(x_36);
if (lean_is_scalar(x_24)) {
 x_38 = lean_alloc_ctor(0, 2, 0);
} else {
 x_38 = x_24;
}
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_26);
return x_38;
}
else
{
uint8_t x_39; 
x_39 = !lean_is_exclusive(x_35);
if (x_39 == 0)
{
lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_40 = lean_ctor_get(x_35, 0);
x_41 = lean_alloc_ctor(1, 0, 1);
x_42 = lean_unbox(x_40);
lean_dec(x_40);
lean_ctor_set_uint8(x_41, 0, x_42);
lean_ctor_set(x_35, 0, x_41);
x_43 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_43, 0, x_12);
lean_ctor_set(x_43, 1, x_18);
lean_ctor_set(x_43, 2, x_22);
lean_ctor_set(x_43, 3, x_25);
lean_ctor_set(x_43, 4, x_28);
lean_ctor_set(x_43, 5, x_32);
lean_ctor_set(x_43, 6, x_34);
lean_ctor_set(x_43, 7, x_35);
x_44 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_43);
lean_dec(x_43);
if (lean_is_scalar(x_24)) {
 x_45 = lean_alloc_ctor(0, 2, 0);
} else {
 x_45 = x_24;
}
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_26);
return x_45;
}
else
{
lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_46 = lean_ctor_get(x_35, 0);
lean_inc(x_46);
lean_dec(x_35);
x_47 = lean_alloc_ctor(1, 0, 1);
x_48 = lean_unbox(x_46);
lean_dec(x_46);
lean_ctor_set_uint8(x_47, 0, x_48);
x_49 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_49, 0, x_47);
x_50 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_50, 0, x_12);
lean_ctor_set(x_50, 1, x_18);
lean_ctor_set(x_50, 2, x_22);
lean_ctor_set(x_50, 3, x_25);
lean_ctor_set(x_50, 4, x_28);
lean_ctor_set(x_50, 5, x_32);
lean_ctor_set(x_50, 6, x_34);
lean_ctor_set(x_50, 7, x_49);
x_51 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_50);
lean_dec(x_50);
if (lean_is_scalar(x_24)) {
 x_52 = lean_alloc_ctor(0, 2, 0);
} else {
 x_52 = x_24;
}
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_26);
return x_52;
}
}
}
else
{
uint8_t x_53; 
x_53 = !lean_is_exclusive(x_33);
if (x_53 == 0)
{
lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; 
x_54 = lean_ctor_get(x_33, 0);
x_55 = lean_alloc_ctor(1, 0, 1);
x_56 = lean_unbox(x_54);
lean_dec(x_54);
lean_ctor_set_uint8(x_55, 0, x_56);
lean_ctor_set(x_33, 0, x_55);
x_57 = lean_ctor_get(x_1, 5);
lean_inc(x_57);
lean_dec(x_1);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_58 = lean_box(0);
x_59 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_59, 0, x_12);
lean_ctor_set(x_59, 1, x_18);
lean_ctor_set(x_59, 2, x_22);
lean_ctor_set(x_59, 3, x_25);
lean_ctor_set(x_59, 4, x_28);
lean_ctor_set(x_59, 5, x_32);
lean_ctor_set(x_59, 6, x_33);
lean_ctor_set(x_59, 7, x_58);
x_60 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_59);
lean_dec(x_59);
if (lean_is_scalar(x_24)) {
 x_61 = lean_alloc_ctor(0, 2, 0);
} else {
 x_61 = x_24;
}
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_26);
return x_61;
}
else
{
uint8_t x_62; 
x_62 = !lean_is_exclusive(x_57);
if (x_62 == 0)
{
lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_63 = lean_ctor_get(x_57, 0);
x_64 = lean_alloc_ctor(1, 0, 1);
x_65 = lean_unbox(x_63);
lean_dec(x_63);
lean_ctor_set_uint8(x_64, 0, x_65);
lean_ctor_set(x_57, 0, x_64);
x_66 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_66, 0, x_12);
lean_ctor_set(x_66, 1, x_18);
lean_ctor_set(x_66, 2, x_22);
lean_ctor_set(x_66, 3, x_25);
lean_ctor_set(x_66, 4, x_28);
lean_ctor_set(x_66, 5, x_32);
lean_ctor_set(x_66, 6, x_33);
lean_ctor_set(x_66, 7, x_57);
x_67 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_66);
lean_dec(x_66);
if (lean_is_scalar(x_24)) {
 x_68 = lean_alloc_ctor(0, 2, 0);
} else {
 x_68 = x_24;
}
lean_ctor_set(x_68, 0, x_67);
lean_ctor_set(x_68, 1, x_26);
return x_68;
}
else
{
lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_69 = lean_ctor_get(x_57, 0);
lean_inc(x_69);
lean_dec(x_57);
x_70 = lean_alloc_ctor(1, 0, 1);
x_71 = lean_unbox(x_69);
lean_dec(x_69);
lean_ctor_set_uint8(x_70, 0, x_71);
x_72 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_72, 0, x_70);
x_73 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_73, 0, x_12);
lean_ctor_set(x_73, 1, x_18);
lean_ctor_set(x_73, 2, x_22);
lean_ctor_set(x_73, 3, x_25);
lean_ctor_set(x_73, 4, x_28);
lean_ctor_set(x_73, 5, x_32);
lean_ctor_set(x_73, 6, x_33);
lean_ctor_set(x_73, 7, x_72);
x_74 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_73);
lean_dec(x_73);
if (lean_is_scalar(x_24)) {
 x_75 = lean_alloc_ctor(0, 2, 0);
} else {
 x_75 = x_24;
}
lean_ctor_set(x_75, 0, x_74);
lean_ctor_set(x_75, 1, x_26);
return x_75;
}
}
}
else
{
lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; 
x_76 = lean_ctor_get(x_33, 0);
lean_inc(x_76);
lean_dec(x_33);
x_77 = lean_alloc_ctor(1, 0, 1);
x_78 = lean_unbox(x_76);
lean_dec(x_76);
lean_ctor_set_uint8(x_77, 0, x_78);
x_79 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_79, 0, x_77);
x_80 = lean_ctor_get(x_1, 5);
lean_inc(x_80);
lean_dec(x_1);
if (lean_obj_tag(x_80) == 0)
{
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_81 = lean_box(0);
x_82 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_82, 0, x_12);
lean_ctor_set(x_82, 1, x_18);
lean_ctor_set(x_82, 2, x_22);
lean_ctor_set(x_82, 3, x_25);
lean_ctor_set(x_82, 4, x_28);
lean_ctor_set(x_82, 5, x_32);
lean_ctor_set(x_82, 6, x_79);
lean_ctor_set(x_82, 7, x_81);
x_83 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_82);
lean_dec(x_82);
if (lean_is_scalar(x_24)) {
 x_84 = lean_alloc_ctor(0, 2, 0);
} else {
 x_84 = x_24;
}
lean_ctor_set(x_84, 0, x_83);
lean_ctor_set(x_84, 1, x_26);
return x_84;
}
else
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 
x_85 = lean_ctor_get(x_80, 0);
lean_inc(x_85);
if (lean_is_exclusive(x_80)) {
 lean_ctor_release(x_80, 0);
 x_86 = x_80;
} else {
 lean_dec_ref(x_80);
 x_86 = lean_box(0);
}
x_87 = lean_alloc_ctor(1, 0, 1);
x_88 = lean_unbox(x_85);
lean_dec(x_85);
lean_ctor_set_uint8(x_87, 0, x_88);
if (lean_is_scalar(x_86)) {
 x_89 = lean_alloc_ctor(1, 1, 0);
} else {
 x_89 = x_86;
}
lean_ctor_set(x_89, 0, x_87);
x_90 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_90, 0, x_12);
lean_ctor_set(x_90, 1, x_18);
lean_ctor_set(x_90, 2, x_22);
lean_ctor_set(x_90, 3, x_25);
lean_ctor_set(x_90, 4, x_28);
lean_ctor_set(x_90, 5, x_32);
lean_ctor_set(x_90, 6, x_79);
lean_ctor_set(x_90, 7, x_89);
x_91 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1863_(x_90);
lean_dec(x_90);
if (lean_is_scalar(x_24)) {
 x_92 = lean_alloc_ctor(0, 2, 0);
} else {
 x_92 = x_24;
}
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_26);
return x_92;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_4);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
lean_inc(x_4);
x_10 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5_(x_7, x_4);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
lean_dec(x_9);
lean_dec(x_4);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
return x_10;
}
else
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
else
{
lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
lean_dec(x_10);
x_15 = 1;
x_16 = lean_usize_add(x_2, x_15);
x_17 = lean_array_uset(x_9, x_2, x_14);
x_2 = x_16;
x_3 = x_17;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4; 
x_3 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335_(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
if (lean_obj_tag(x_6) == 4)
{
lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; lean_object* x_13; 
lean_free_object(x_3);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = lean_array_size(x_7);
x_9 = 0;
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_8, x_9, x_7);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_array_size(x_11);
lean_inc(x_2);
x_13 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_12, x_9, x_11, x_2);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14; 
lean_dec(x_5);
lean_dec(x_2);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
return x_13;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_13, 0);
lean_inc(x_17);
lean_dec(x_13);
x_18 = lean_ctor_get(x_5, 1);
lean_inc(x_18);
x_19 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_18);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
return x_19;
}
else
{
lean_object* x_21; lean_object* x_22; 
x_21 = lean_ctor_get(x_19, 0);
lean_inc(x_21);
lean_dec(x_19);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
return x_22;
}
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_23 = lean_ctor_get(x_19, 0);
lean_inc(x_23);
lean_dec(x_19);
x_24 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2;
lean_inc(x_2);
x_25 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_24, x_23, x_2);
if (lean_obj_tag(x_25) == 0)
{
uint8_t x_26; 
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_26 = !lean_is_exclusive(x_25);
if (x_26 == 0)
{
return x_25;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_25, 0);
lean_inc(x_27);
lean_dec(x_25);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_29 = lean_ctor_get(x_25, 0);
lean_inc(x_29);
lean_dec(x_25);
x_30 = lean_ctor_get(x_5, 2);
lean_inc(x_30);
x_31 = l_Lean_Widget_instTypeNameContextInfo;
lean_inc(x_2);
x_32 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_31, x_30, x_2);
if (lean_obj_tag(x_32) == 0)
{
uint8_t x_33; 
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_33 = !lean_is_exclusive(x_32);
if (x_33 == 0)
{
return x_32;
}
else
{
lean_object* x_34; lean_object* x_35; 
x_34 = lean_ctor_get(x_32, 0);
lean_inc(x_34);
lean_dec(x_32);
x_35 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_35, 0, x_34);
return x_35;
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_224; 
x_36 = lean_ctor_get(x_32, 0);
lean_inc(x_36);
lean_dec(x_32);
x_224 = lean_ctor_get(x_5, 3);
lean_inc(x_224);
if (lean_obj_tag(x_224) == 0)
{
lean_object* x_225; 
x_225 = lean_box(0);
x_37 = x_225;
goto block_223;
}
else
{
uint8_t x_226; 
x_226 = !lean_is_exclusive(x_224);
if (x_226 == 0)
{
lean_object* x_227; lean_object* x_228; lean_object* x_229; 
x_227 = lean_ctor_get(x_224, 0);
x_228 = l_Lean_Json_getStr_x3f(x_227);
x_229 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_228, x_2);
if (lean_obj_tag(x_229) == 0)
{
uint8_t x_230; 
lean_free_object(x_224);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_230 = !lean_is_exclusive(x_229);
if (x_230 == 0)
{
return x_229;
}
else
{
lean_object* x_231; lean_object* x_232; 
x_231 = lean_ctor_get(x_229, 0);
lean_inc(x_231);
lean_dec(x_229);
x_232 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_232, 0, x_231);
return x_232;
}
}
else
{
lean_object* x_233; 
x_233 = lean_ctor_get(x_229, 0);
lean_inc(x_233);
lean_dec(x_229);
lean_ctor_set(x_224, 0, x_233);
x_37 = x_224;
goto block_223;
}
}
else
{
lean_object* x_234; lean_object* x_235; lean_object* x_236; 
x_234 = lean_ctor_get(x_224, 0);
lean_inc(x_234);
lean_dec(x_224);
x_235 = l_Lean_Json_getStr_x3f(x_234);
x_236 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_235, x_2);
if (lean_obj_tag(x_236) == 0)
{
lean_object* x_237; lean_object* x_238; lean_object* x_239; 
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_237 = lean_ctor_get(x_236, 0);
lean_inc(x_237);
if (lean_is_exclusive(x_236)) {
 lean_ctor_release(x_236, 0);
 x_238 = x_236;
} else {
 lean_dec_ref(x_236);
 x_238 = lean_box(0);
}
if (lean_is_scalar(x_238)) {
 x_239 = lean_alloc_ctor(0, 1, 0);
} else {
 x_239 = x_238;
}
lean_ctor_set(x_239, 0, x_237);
return x_239;
}
else
{
lean_object* x_240; lean_object* x_241; 
x_240 = lean_ctor_get(x_236, 0);
lean_inc(x_240);
lean_dec(x_236);
x_241 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_241, 0, x_240);
x_37 = x_241;
goto block_223;
}
}
}
block_223:
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_38 = lean_ctor_get(x_5, 4);
lean_inc(x_38);
x_39 = l_Lean_Json_getStr_x3f(x_38);
x_40 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_39, x_2);
if (lean_obj_tag(x_40) == 0)
{
uint8_t x_41; 
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_41 = !lean_is_exclusive(x_40);
if (x_41 == 0)
{
return x_40;
}
else
{
lean_object* x_42; lean_object* x_43; 
x_42 = lean_ctor_get(x_40, 0);
lean_inc(x_42);
lean_dec(x_40);
x_43 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_43, 0, x_42);
return x_43;
}
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_192; 
x_44 = lean_ctor_get(x_40, 0);
lean_inc(x_44);
lean_dec(x_40);
x_45 = lean_ctor_get(x_5, 5);
lean_inc(x_45);
lean_inc(x_45);
x_192 = l_Lean_Json_getStr_x3f(x_45);
if (lean_obj_tag(x_192) == 0)
{
uint8_t x_193; 
lean_dec(x_45);
x_193 = !lean_is_exclusive(x_192);
if (x_193 == 0)
{
x_46 = x_192;
goto block_191;
}
else
{
lean_object* x_194; lean_object* x_195; 
x_194 = lean_ctor_get(x_192, 0);
lean_inc(x_194);
lean_dec(x_192);
x_195 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_195, 0, x_194);
x_46 = x_195;
goto block_191;
}
}
else
{
uint8_t x_196; 
x_196 = !lean_is_exclusive(x_192);
if (x_196 == 0)
{
lean_object* x_197; lean_object* x_198; uint8_t x_199; 
x_197 = lean_ctor_get(x_192, 0);
x_198 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1;
x_199 = lean_string_dec_eq(x_197, x_198);
if (x_199 == 0)
{
lean_object* x_200; uint8_t x_201; 
x_200 = l_String_toName(x_197);
x_201 = l_Lean_Name_isAnonymous(x_200);
if (x_201 == 0)
{
lean_dec(x_45);
lean_ctor_set(x_192, 0, x_200);
x_46 = x_192;
goto block_191;
}
else
{
lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; 
lean_dec(x_200);
x_202 = lean_unsigned_to_nat(80u);
x_203 = l_Lean_Json_pretty(x_45, x_202);
x_204 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2;
x_205 = lean_string_append(x_204, x_203);
lean_dec(x_203);
x_206 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_207 = lean_string_append(x_205, x_206);
lean_ctor_set_tag(x_192, 0);
lean_ctor_set(x_192, 0, x_207);
x_46 = x_192;
goto block_191;
}
}
else
{
lean_object* x_208; 
lean_free_object(x_192);
lean_dec(x_197);
lean_dec(x_45);
x_208 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4;
x_46 = x_208;
goto block_191;
}
}
else
{
lean_object* x_209; lean_object* x_210; uint8_t x_211; 
x_209 = lean_ctor_get(x_192, 0);
lean_inc(x_209);
lean_dec(x_192);
x_210 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1;
x_211 = lean_string_dec_eq(x_209, x_210);
if (x_211 == 0)
{
lean_object* x_212; uint8_t x_213; 
x_212 = l_String_toName(x_209);
x_213 = l_Lean_Name_isAnonymous(x_212);
if (x_213 == 0)
{
lean_object* x_214; 
lean_dec(x_45);
x_214 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_214, 0, x_212);
x_46 = x_214;
goto block_191;
}
else
{
lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; 
lean_dec(x_212);
x_215 = lean_unsigned_to_nat(80u);
x_216 = l_Lean_Json_pretty(x_45, x_215);
x_217 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2;
x_218 = lean_string_append(x_217, x_216);
lean_dec(x_216);
x_219 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_220 = lean_string_append(x_218, x_219);
x_221 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_221, 0, x_220);
x_46 = x_221;
goto block_191;
}
}
else
{
lean_object* x_222; 
lean_dec(x_209);
lean_dec(x_45);
x_222 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4;
x_46 = x_222;
goto block_191;
}
}
}
block_191:
{
lean_object* x_47; 
x_47 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__2(x_46, x_2);
if (lean_obj_tag(x_47) == 0)
{
uint8_t x_48; 
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_48 = !lean_is_exclusive(x_47);
if (x_48 == 0)
{
return x_47;
}
else
{
lean_object* x_49; lean_object* x_50; 
x_49 = lean_ctor_get(x_47, 0);
lean_inc(x_49);
lean_dec(x_47);
x_50 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_50, 0, x_49);
return x_50;
}
}
else
{
lean_object* x_51; 
x_51 = lean_ctor_get(x_5, 6);
lean_inc(x_51);
if (lean_obj_tag(x_51) == 0)
{
uint8_t x_52; 
x_52 = !lean_is_exclusive(x_47);
if (x_52 == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_53 = lean_ctor_get(x_47, 0);
x_54 = lean_box(0);
x_55 = lean_ctor_get(x_5, 7);
lean_inc(x_55);
lean_dec(x_5);
if (lean_obj_tag(x_55) == 0)
{
lean_object* x_56; lean_object* x_57; 
lean_dec(x_2);
x_56 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_56, 0, x_17);
lean_ctor_set(x_56, 1, x_29);
lean_ctor_set(x_56, 2, x_36);
x_57 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_57, 0, x_56);
lean_ctor_set(x_57, 1, x_37);
lean_ctor_set(x_57, 2, x_44);
lean_ctor_set(x_57, 3, x_53);
lean_ctor_set(x_57, 4, x_54);
lean_ctor_set(x_57, 5, x_54);
lean_ctor_set(x_47, 0, x_57);
return x_47;
}
else
{
uint8_t x_58; 
lean_free_object(x_47);
x_58 = !lean_is_exclusive(x_55);
if (x_58 == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_59 = lean_ctor_get(x_55, 0);
x_60 = l_Lean_Json_getBool_x3f(x_59);
lean_dec(x_59);
x_61 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_60, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_61) == 0)
{
uint8_t x_62; 
lean_free_object(x_55);
lean_dec(x_53);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_62 = !lean_is_exclusive(x_61);
if (x_62 == 0)
{
return x_61;
}
else
{
lean_object* x_63; lean_object* x_64; 
x_63 = lean_ctor_get(x_61, 0);
lean_inc(x_63);
lean_dec(x_61);
x_64 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_64, 0, x_63);
return x_64;
}
}
else
{
uint8_t x_65; 
x_65 = !lean_is_exclusive(x_61);
if (x_65 == 0)
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_66 = lean_ctor_get(x_61, 0);
lean_ctor_set(x_55, 0, x_66);
x_67 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_67, 0, x_17);
lean_ctor_set(x_67, 1, x_29);
lean_ctor_set(x_67, 2, x_36);
x_68 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_68, 0, x_67);
lean_ctor_set(x_68, 1, x_37);
lean_ctor_set(x_68, 2, x_44);
lean_ctor_set(x_68, 3, x_53);
lean_ctor_set(x_68, 4, x_54);
lean_ctor_set(x_68, 5, x_55);
lean_ctor_set(x_61, 0, x_68);
return x_61;
}
else
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; 
x_69 = lean_ctor_get(x_61, 0);
lean_inc(x_69);
lean_dec(x_61);
lean_ctor_set(x_55, 0, x_69);
x_70 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_70, 0, x_17);
lean_ctor_set(x_70, 1, x_29);
lean_ctor_set(x_70, 2, x_36);
x_71 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_71, 0, x_70);
lean_ctor_set(x_71, 1, x_37);
lean_ctor_set(x_71, 2, x_44);
lean_ctor_set(x_71, 3, x_53);
lean_ctor_set(x_71, 4, x_54);
lean_ctor_set(x_71, 5, x_55);
x_72 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_72, 0, x_71);
return x_72;
}
}
}
else
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_73 = lean_ctor_get(x_55, 0);
lean_inc(x_73);
lean_dec(x_55);
x_74 = l_Lean_Json_getBool_x3f(x_73);
lean_dec(x_73);
x_75 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_74, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; lean_object* x_77; lean_object* x_78; 
lean_dec(x_53);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
if (lean_is_exclusive(x_75)) {
 lean_ctor_release(x_75, 0);
 x_77 = x_75;
} else {
 lean_dec_ref(x_75);
 x_77 = lean_box(0);
}
if (lean_is_scalar(x_77)) {
 x_78 = lean_alloc_ctor(0, 1, 0);
} else {
 x_78 = x_77;
}
lean_ctor_set(x_78, 0, x_76);
return x_78;
}
else
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_79 = lean_ctor_get(x_75, 0);
lean_inc(x_79);
if (lean_is_exclusive(x_75)) {
 lean_ctor_release(x_75, 0);
 x_80 = x_75;
} else {
 lean_dec_ref(x_75);
 x_80 = lean_box(0);
}
x_81 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_81, 0, x_79);
x_82 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_82, 0, x_17);
lean_ctor_set(x_82, 1, x_29);
lean_ctor_set(x_82, 2, x_36);
x_83 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_83, 0, x_82);
lean_ctor_set(x_83, 1, x_37);
lean_ctor_set(x_83, 2, x_44);
lean_ctor_set(x_83, 3, x_53);
lean_ctor_set(x_83, 4, x_54);
lean_ctor_set(x_83, 5, x_81);
if (lean_is_scalar(x_80)) {
 x_84 = lean_alloc_ctor(1, 1, 0);
} else {
 x_84 = x_80;
}
lean_ctor_set(x_84, 0, x_83);
return x_84;
}
}
}
}
else
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_85 = lean_ctor_get(x_47, 0);
lean_inc(x_85);
lean_dec(x_47);
x_86 = lean_box(0);
x_87 = lean_ctor_get(x_5, 7);
lean_inc(x_87);
lean_dec(x_5);
if (lean_obj_tag(x_87) == 0)
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; 
lean_dec(x_2);
x_88 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_88, 0, x_17);
lean_ctor_set(x_88, 1, x_29);
lean_ctor_set(x_88, 2, x_36);
x_89 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_89, 0, x_88);
lean_ctor_set(x_89, 1, x_37);
lean_ctor_set(x_89, 2, x_44);
lean_ctor_set(x_89, 3, x_85);
lean_ctor_set(x_89, 4, x_86);
lean_ctor_set(x_89, 5, x_86);
x_90 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_90, 0, x_89);
return x_90;
}
else
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
x_91 = lean_ctor_get(x_87, 0);
lean_inc(x_91);
if (lean_is_exclusive(x_87)) {
 lean_ctor_release(x_87, 0);
 x_92 = x_87;
} else {
 lean_dec_ref(x_87);
 x_92 = lean_box(0);
}
x_93 = l_Lean_Json_getBool_x3f(x_91);
lean_dec(x_91);
x_94 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_93, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; 
lean_dec(x_92);
lean_dec(x_85);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_95 = lean_ctor_get(x_94, 0);
lean_inc(x_95);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_96 = x_94;
} else {
 lean_dec_ref(x_94);
 x_96 = lean_box(0);
}
if (lean_is_scalar(x_96)) {
 x_97 = lean_alloc_ctor(0, 1, 0);
} else {
 x_97 = x_96;
}
lean_ctor_set(x_97, 0, x_95);
return x_97;
}
else
{
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; 
x_98 = lean_ctor_get(x_94, 0);
lean_inc(x_98);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_99 = x_94;
} else {
 lean_dec_ref(x_94);
 x_99 = lean_box(0);
}
if (lean_is_scalar(x_92)) {
 x_100 = lean_alloc_ctor(1, 1, 0);
} else {
 x_100 = x_92;
}
lean_ctor_set(x_100, 0, x_98);
x_101 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_101, 0, x_17);
lean_ctor_set(x_101, 1, x_29);
lean_ctor_set(x_101, 2, x_36);
x_102 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_102, 0, x_101);
lean_ctor_set(x_102, 1, x_37);
lean_ctor_set(x_102, 2, x_44);
lean_ctor_set(x_102, 3, x_85);
lean_ctor_set(x_102, 4, x_86);
lean_ctor_set(x_102, 5, x_100);
if (lean_is_scalar(x_99)) {
 x_103 = lean_alloc_ctor(1, 1, 0);
} else {
 x_103 = x_99;
}
lean_ctor_set(x_103, 0, x_102);
return x_103;
}
}
}
}
else
{
lean_object* x_104; uint8_t x_105; 
x_104 = lean_ctor_get(x_47, 0);
lean_inc(x_104);
lean_dec(x_47);
x_105 = !lean_is_exclusive(x_51);
if (x_105 == 0)
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; 
x_106 = lean_ctor_get(x_51, 0);
x_107 = l_Lean_Json_getBool_x3f(x_106);
lean_dec(x_106);
x_108 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_107, x_2);
if (lean_obj_tag(x_108) == 0)
{
uint8_t x_109; 
lean_free_object(x_51);
lean_dec(x_104);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_109 = !lean_is_exclusive(x_108);
if (x_109 == 0)
{
return x_108;
}
else
{
lean_object* x_110; lean_object* x_111; 
x_110 = lean_ctor_get(x_108, 0);
lean_inc(x_110);
lean_dec(x_108);
x_111 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_111, 0, x_110);
return x_111;
}
}
else
{
uint8_t x_112; 
x_112 = !lean_is_exclusive(x_108);
if (x_112 == 0)
{
lean_object* x_113; lean_object* x_114; 
x_113 = lean_ctor_get(x_108, 0);
lean_ctor_set(x_51, 0, x_113);
x_114 = lean_ctor_get(x_5, 7);
lean_inc(x_114);
lean_dec(x_5);
if (lean_obj_tag(x_114) == 0)
{
lean_object* x_115; lean_object* x_116; lean_object* x_117; 
lean_dec(x_2);
x_115 = lean_box(0);
x_116 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_116, 0, x_17);
lean_ctor_set(x_116, 1, x_29);
lean_ctor_set(x_116, 2, x_36);
x_117 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_117, 0, x_116);
lean_ctor_set(x_117, 1, x_37);
lean_ctor_set(x_117, 2, x_44);
lean_ctor_set(x_117, 3, x_104);
lean_ctor_set(x_117, 4, x_51);
lean_ctor_set(x_117, 5, x_115);
lean_ctor_set(x_108, 0, x_117);
return x_108;
}
else
{
uint8_t x_118; 
lean_free_object(x_108);
x_118 = !lean_is_exclusive(x_114);
if (x_118 == 0)
{
lean_object* x_119; lean_object* x_120; lean_object* x_121; 
x_119 = lean_ctor_get(x_114, 0);
x_120 = l_Lean_Json_getBool_x3f(x_119);
lean_dec(x_119);
x_121 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_120, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_121) == 0)
{
uint8_t x_122; 
lean_free_object(x_114);
lean_dec(x_51);
lean_dec(x_104);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_122 = !lean_is_exclusive(x_121);
if (x_122 == 0)
{
return x_121;
}
else
{
lean_object* x_123; lean_object* x_124; 
x_123 = lean_ctor_get(x_121, 0);
lean_inc(x_123);
lean_dec(x_121);
x_124 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_124, 0, x_123);
return x_124;
}
}
else
{
uint8_t x_125; 
x_125 = !lean_is_exclusive(x_121);
if (x_125 == 0)
{
lean_object* x_126; lean_object* x_127; lean_object* x_128; 
x_126 = lean_ctor_get(x_121, 0);
lean_ctor_set(x_114, 0, x_126);
x_127 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_127, 0, x_17);
lean_ctor_set(x_127, 1, x_29);
lean_ctor_set(x_127, 2, x_36);
x_128 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_128, 0, x_127);
lean_ctor_set(x_128, 1, x_37);
lean_ctor_set(x_128, 2, x_44);
lean_ctor_set(x_128, 3, x_104);
lean_ctor_set(x_128, 4, x_51);
lean_ctor_set(x_128, 5, x_114);
lean_ctor_set(x_121, 0, x_128);
return x_121;
}
else
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; 
x_129 = lean_ctor_get(x_121, 0);
lean_inc(x_129);
lean_dec(x_121);
lean_ctor_set(x_114, 0, x_129);
x_130 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_130, 0, x_17);
lean_ctor_set(x_130, 1, x_29);
lean_ctor_set(x_130, 2, x_36);
x_131 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_131, 0, x_130);
lean_ctor_set(x_131, 1, x_37);
lean_ctor_set(x_131, 2, x_44);
lean_ctor_set(x_131, 3, x_104);
lean_ctor_set(x_131, 4, x_51);
lean_ctor_set(x_131, 5, x_114);
x_132 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_132, 0, x_131);
return x_132;
}
}
}
else
{
lean_object* x_133; lean_object* x_134; lean_object* x_135; 
x_133 = lean_ctor_get(x_114, 0);
lean_inc(x_133);
lean_dec(x_114);
x_134 = l_Lean_Json_getBool_x3f(x_133);
lean_dec(x_133);
x_135 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_134, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_135) == 0)
{
lean_object* x_136; lean_object* x_137; lean_object* x_138; 
lean_dec(x_51);
lean_dec(x_104);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_136 = lean_ctor_get(x_135, 0);
lean_inc(x_136);
if (lean_is_exclusive(x_135)) {
 lean_ctor_release(x_135, 0);
 x_137 = x_135;
} else {
 lean_dec_ref(x_135);
 x_137 = lean_box(0);
}
if (lean_is_scalar(x_137)) {
 x_138 = lean_alloc_ctor(0, 1, 0);
} else {
 x_138 = x_137;
}
lean_ctor_set(x_138, 0, x_136);
return x_138;
}
else
{
lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; 
x_139 = lean_ctor_get(x_135, 0);
lean_inc(x_139);
if (lean_is_exclusive(x_135)) {
 lean_ctor_release(x_135, 0);
 x_140 = x_135;
} else {
 lean_dec_ref(x_135);
 x_140 = lean_box(0);
}
x_141 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_141, 0, x_139);
x_142 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_142, 0, x_17);
lean_ctor_set(x_142, 1, x_29);
lean_ctor_set(x_142, 2, x_36);
x_143 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_143, 0, x_142);
lean_ctor_set(x_143, 1, x_37);
lean_ctor_set(x_143, 2, x_44);
lean_ctor_set(x_143, 3, x_104);
lean_ctor_set(x_143, 4, x_51);
lean_ctor_set(x_143, 5, x_141);
if (lean_is_scalar(x_140)) {
 x_144 = lean_alloc_ctor(1, 1, 0);
} else {
 x_144 = x_140;
}
lean_ctor_set(x_144, 0, x_143);
return x_144;
}
}
}
}
else
{
lean_object* x_145; lean_object* x_146; 
x_145 = lean_ctor_get(x_108, 0);
lean_inc(x_145);
lean_dec(x_108);
lean_ctor_set(x_51, 0, x_145);
x_146 = lean_ctor_get(x_5, 7);
lean_inc(x_146);
lean_dec(x_5);
if (lean_obj_tag(x_146) == 0)
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; 
lean_dec(x_2);
x_147 = lean_box(0);
x_148 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_148, 0, x_17);
lean_ctor_set(x_148, 1, x_29);
lean_ctor_set(x_148, 2, x_36);
x_149 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_149, 0, x_148);
lean_ctor_set(x_149, 1, x_37);
lean_ctor_set(x_149, 2, x_44);
lean_ctor_set(x_149, 3, x_104);
lean_ctor_set(x_149, 4, x_51);
lean_ctor_set(x_149, 5, x_147);
x_150 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_150, 0, x_149);
return x_150;
}
else
{
lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 
x_151 = lean_ctor_get(x_146, 0);
lean_inc(x_151);
if (lean_is_exclusive(x_146)) {
 lean_ctor_release(x_146, 0);
 x_152 = x_146;
} else {
 lean_dec_ref(x_146);
 x_152 = lean_box(0);
}
x_153 = l_Lean_Json_getBool_x3f(x_151);
lean_dec(x_151);
x_154 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_153, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_154) == 0)
{
lean_object* x_155; lean_object* x_156; lean_object* x_157; 
lean_dec(x_152);
lean_dec(x_51);
lean_dec(x_104);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_155 = lean_ctor_get(x_154, 0);
lean_inc(x_155);
if (lean_is_exclusive(x_154)) {
 lean_ctor_release(x_154, 0);
 x_156 = x_154;
} else {
 lean_dec_ref(x_154);
 x_156 = lean_box(0);
}
if (lean_is_scalar(x_156)) {
 x_157 = lean_alloc_ctor(0, 1, 0);
} else {
 x_157 = x_156;
}
lean_ctor_set(x_157, 0, x_155);
return x_157;
}
else
{
lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; 
x_158 = lean_ctor_get(x_154, 0);
lean_inc(x_158);
if (lean_is_exclusive(x_154)) {
 lean_ctor_release(x_154, 0);
 x_159 = x_154;
} else {
 lean_dec_ref(x_154);
 x_159 = lean_box(0);
}
if (lean_is_scalar(x_152)) {
 x_160 = lean_alloc_ctor(1, 1, 0);
} else {
 x_160 = x_152;
}
lean_ctor_set(x_160, 0, x_158);
x_161 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_161, 0, x_17);
lean_ctor_set(x_161, 1, x_29);
lean_ctor_set(x_161, 2, x_36);
x_162 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_162, 0, x_161);
lean_ctor_set(x_162, 1, x_37);
lean_ctor_set(x_162, 2, x_44);
lean_ctor_set(x_162, 3, x_104);
lean_ctor_set(x_162, 4, x_51);
lean_ctor_set(x_162, 5, x_160);
if (lean_is_scalar(x_159)) {
 x_163 = lean_alloc_ctor(1, 1, 0);
} else {
 x_163 = x_159;
}
lean_ctor_set(x_163, 0, x_162);
return x_163;
}
}
}
}
}
else
{
lean_object* x_164; lean_object* x_165; lean_object* x_166; 
x_164 = lean_ctor_get(x_51, 0);
lean_inc(x_164);
lean_dec(x_51);
x_165 = l_Lean_Json_getBool_x3f(x_164);
lean_dec(x_164);
x_166 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_165, x_2);
if (lean_obj_tag(x_166) == 0)
{
lean_object* x_167; lean_object* x_168; lean_object* x_169; 
lean_dec(x_104);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_167 = lean_ctor_get(x_166, 0);
lean_inc(x_167);
if (lean_is_exclusive(x_166)) {
 lean_ctor_release(x_166, 0);
 x_168 = x_166;
} else {
 lean_dec_ref(x_166);
 x_168 = lean_box(0);
}
if (lean_is_scalar(x_168)) {
 x_169 = lean_alloc_ctor(0, 1, 0);
} else {
 x_169 = x_168;
}
lean_ctor_set(x_169, 0, x_167);
return x_169;
}
else
{
lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; 
x_170 = lean_ctor_get(x_166, 0);
lean_inc(x_170);
if (lean_is_exclusive(x_166)) {
 lean_ctor_release(x_166, 0);
 x_171 = x_166;
} else {
 lean_dec_ref(x_166);
 x_171 = lean_box(0);
}
x_172 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_172, 0, x_170);
x_173 = lean_ctor_get(x_5, 7);
lean_inc(x_173);
lean_dec(x_5);
if (lean_obj_tag(x_173) == 0)
{
lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; 
lean_dec(x_2);
x_174 = lean_box(0);
x_175 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_175, 0, x_17);
lean_ctor_set(x_175, 1, x_29);
lean_ctor_set(x_175, 2, x_36);
x_176 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_176, 0, x_175);
lean_ctor_set(x_176, 1, x_37);
lean_ctor_set(x_176, 2, x_44);
lean_ctor_set(x_176, 3, x_104);
lean_ctor_set(x_176, 4, x_172);
lean_ctor_set(x_176, 5, x_174);
if (lean_is_scalar(x_171)) {
 x_177 = lean_alloc_ctor(1, 1, 0);
} else {
 x_177 = x_171;
}
lean_ctor_set(x_177, 0, x_176);
return x_177;
}
else
{
lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; 
lean_dec(x_171);
x_178 = lean_ctor_get(x_173, 0);
lean_inc(x_178);
if (lean_is_exclusive(x_173)) {
 lean_ctor_release(x_173, 0);
 x_179 = x_173;
} else {
 lean_dec_ref(x_173);
 x_179 = lean_box(0);
}
x_180 = l_Lean_Json_getBool_x3f(x_178);
lean_dec(x_178);
x_181 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_180, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_181) == 0)
{
lean_object* x_182; lean_object* x_183; lean_object* x_184; 
lean_dec(x_179);
lean_dec(x_172);
lean_dec(x_104);
lean_dec(x_44);
lean_dec(x_37);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_182 = lean_ctor_get(x_181, 0);
lean_inc(x_182);
if (lean_is_exclusive(x_181)) {
 lean_ctor_release(x_181, 0);
 x_183 = x_181;
} else {
 lean_dec_ref(x_181);
 x_183 = lean_box(0);
}
if (lean_is_scalar(x_183)) {
 x_184 = lean_alloc_ctor(0, 1, 0);
} else {
 x_184 = x_183;
}
lean_ctor_set(x_184, 0, x_182);
return x_184;
}
else
{
lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 
x_185 = lean_ctor_get(x_181, 0);
lean_inc(x_185);
if (lean_is_exclusive(x_181)) {
 lean_ctor_release(x_181, 0);
 x_186 = x_181;
} else {
 lean_dec_ref(x_181);
 x_186 = lean_box(0);
}
if (lean_is_scalar(x_179)) {
 x_187 = lean_alloc_ctor(1, 1, 0);
} else {
 x_187 = x_179;
}
lean_ctor_set(x_187, 0, x_185);
x_188 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_188, 0, x_17);
lean_ctor_set(x_188, 1, x_29);
lean_ctor_set(x_188, 2, x_36);
x_189 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_189, 0, x_188);
lean_ctor_set(x_189, 1, x_37);
lean_ctor_set(x_189, 2, x_44);
lean_ctor_set(x_189, 3, x_104);
lean_ctor_set(x_189, 4, x_172);
lean_ctor_set(x_189, 5, x_187);
if (lean_is_scalar(x_186)) {
 x_190 = lean_alloc_ctor(1, 1, 0);
} else {
 x_190 = x_186;
}
lean_ctor_set(x_190, 0, x_189);
return x_190;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
else
{
lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; 
lean_dec(x_5);
lean_dec(x_2);
x_242 = lean_unsigned_to_nat(80u);
x_243 = l_Lean_Json_pretty(x_6, x_242);
x_244 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_245 = lean_string_append(x_244, x_243);
lean_dec(x_243);
x_246 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_247 = lean_string_append(x_245, x_246);
lean_ctor_set_tag(x_3, 0);
lean_ctor_set(x_3, 0, x_247);
return x_3;
}
}
else
{
lean_object* x_248; lean_object* x_249; 
x_248 = lean_ctor_get(x_3, 0);
lean_inc(x_248);
lean_dec(x_3);
x_249 = lean_ctor_get(x_248, 0);
lean_inc(x_249);
if (lean_obj_tag(x_249) == 4)
{
lean_object* x_250; size_t x_251; size_t x_252; lean_object* x_253; lean_object* x_254; size_t x_255; lean_object* x_256; 
x_250 = lean_ctor_get(x_249, 0);
lean_inc(x_250);
lean_dec(x_249);
x_251 = lean_array_size(x_250);
x_252 = 0;
x_253 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_251, x_252, x_250);
x_254 = lean_ctor_get(x_253, 0);
lean_inc(x_254);
lean_dec(x_253);
x_255 = lean_array_size(x_254);
lean_inc(x_2);
x_256 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_255, x_252, x_254, x_2);
if (lean_obj_tag(x_256) == 0)
{
lean_object* x_257; lean_object* x_258; lean_object* x_259; 
lean_dec(x_248);
lean_dec(x_2);
x_257 = lean_ctor_get(x_256, 0);
lean_inc(x_257);
if (lean_is_exclusive(x_256)) {
 lean_ctor_release(x_256, 0);
 x_258 = x_256;
} else {
 lean_dec_ref(x_256);
 x_258 = lean_box(0);
}
if (lean_is_scalar(x_258)) {
 x_259 = lean_alloc_ctor(0, 1, 0);
} else {
 x_259 = x_258;
}
lean_ctor_set(x_259, 0, x_257);
return x_259;
}
else
{
lean_object* x_260; lean_object* x_261; lean_object* x_262; 
x_260 = lean_ctor_get(x_256, 0);
lean_inc(x_260);
lean_dec(x_256);
x_261 = lean_ctor_get(x_248, 1);
lean_inc(x_261);
x_262 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_261);
if (lean_obj_tag(x_262) == 0)
{
lean_object* x_263; lean_object* x_264; lean_object* x_265; 
lean_dec(x_260);
lean_dec(x_248);
lean_dec(x_2);
x_263 = lean_ctor_get(x_262, 0);
lean_inc(x_263);
if (lean_is_exclusive(x_262)) {
 lean_ctor_release(x_262, 0);
 x_264 = x_262;
} else {
 lean_dec_ref(x_262);
 x_264 = lean_box(0);
}
if (lean_is_scalar(x_264)) {
 x_265 = lean_alloc_ctor(0, 1, 0);
} else {
 x_265 = x_264;
}
lean_ctor_set(x_265, 0, x_263);
return x_265;
}
else
{
lean_object* x_266; lean_object* x_267; lean_object* x_268; 
x_266 = lean_ctor_get(x_262, 0);
lean_inc(x_266);
lean_dec(x_262);
x_267 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2;
lean_inc(x_2);
x_268 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_267, x_266, x_2);
if (lean_obj_tag(x_268) == 0)
{
lean_object* x_269; lean_object* x_270; lean_object* x_271; 
lean_dec(x_260);
lean_dec(x_248);
lean_dec(x_2);
x_269 = lean_ctor_get(x_268, 0);
lean_inc(x_269);
if (lean_is_exclusive(x_268)) {
 lean_ctor_release(x_268, 0);
 x_270 = x_268;
} else {
 lean_dec_ref(x_268);
 x_270 = lean_box(0);
}
if (lean_is_scalar(x_270)) {
 x_271 = lean_alloc_ctor(0, 1, 0);
} else {
 x_271 = x_270;
}
lean_ctor_set(x_271, 0, x_269);
return x_271;
}
else
{
lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; 
x_272 = lean_ctor_get(x_268, 0);
lean_inc(x_272);
lean_dec(x_268);
x_273 = lean_ctor_get(x_248, 2);
lean_inc(x_273);
x_274 = l_Lean_Widget_instTypeNameContextInfo;
lean_inc(x_2);
x_275 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_274, x_273, x_2);
if (lean_obj_tag(x_275) == 0)
{
lean_object* x_276; lean_object* x_277; lean_object* x_278; 
lean_dec(x_272);
lean_dec(x_260);
lean_dec(x_248);
lean_dec(x_2);
x_276 = lean_ctor_get(x_275, 0);
lean_inc(x_276);
if (lean_is_exclusive(x_275)) {
 lean_ctor_release(x_275, 0);
 x_277 = x_275;
} else {
 lean_dec_ref(x_275);
 x_277 = lean_box(0);
}
if (lean_is_scalar(x_277)) {
 x_278 = lean_alloc_ctor(0, 1, 0);
} else {
 x_278 = x_277;
}
lean_ctor_set(x_278, 0, x_276);
return x_278;
}
else
{
lean_object* x_279; lean_object* x_280; lean_object* x_365; 
x_279 = lean_ctor_get(x_275, 0);
lean_inc(x_279);
lean_dec(x_275);
x_365 = lean_ctor_get(x_248, 3);
lean_inc(x_365);
if (lean_obj_tag(x_365) == 0)
{
lean_object* x_366; 
x_366 = lean_box(0);
x_280 = x_366;
goto block_364;
}
else
{
lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; 
x_367 = lean_ctor_get(x_365, 0);
lean_inc(x_367);
if (lean_is_exclusive(x_365)) {
 lean_ctor_release(x_365, 0);
 x_368 = x_365;
} else {
 lean_dec_ref(x_365);
 x_368 = lean_box(0);
}
x_369 = l_Lean_Json_getStr_x3f(x_367);
x_370 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_369, x_2);
if (lean_obj_tag(x_370) == 0)
{
lean_object* x_371; lean_object* x_372; lean_object* x_373; 
lean_dec(x_368);
lean_dec(x_279);
lean_dec(x_272);
lean_dec(x_260);
lean_dec(x_248);
lean_dec(x_2);
x_371 = lean_ctor_get(x_370, 0);
lean_inc(x_371);
if (lean_is_exclusive(x_370)) {
 lean_ctor_release(x_370, 0);
 x_372 = x_370;
} else {
 lean_dec_ref(x_370);
 x_372 = lean_box(0);
}
if (lean_is_scalar(x_372)) {
 x_373 = lean_alloc_ctor(0, 1, 0);
} else {
 x_373 = x_372;
}
lean_ctor_set(x_373, 0, x_371);
return x_373;
}
else
{
lean_object* x_374; lean_object* x_375; 
x_374 = lean_ctor_get(x_370, 0);
lean_inc(x_374);
lean_dec(x_370);
if (lean_is_scalar(x_368)) {
 x_375 = lean_alloc_ctor(1, 1, 0);
} else {
 x_375 = x_368;
}
lean_ctor_set(x_375, 0, x_374);
x_280 = x_375;
goto block_364;
}
}
block_364:
{
lean_object* x_281; lean_object* x_282; lean_object* x_283; 
x_281 = lean_ctor_get(x_248, 4);
lean_inc(x_281);
x_282 = l_Lean_Json_getStr_x3f(x_281);
x_283 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_282, x_2);
if (lean_obj_tag(x_283) == 0)
{
lean_object* x_284; lean_object* x_285; lean_object* x_286; 
lean_dec(x_280);
lean_dec(x_279);
lean_dec(x_272);
lean_dec(x_260);
lean_dec(x_248);
lean_dec(x_2);
x_284 = lean_ctor_get(x_283, 0);
lean_inc(x_284);
if (lean_is_exclusive(x_283)) {
 lean_ctor_release(x_283, 0);
 x_285 = x_283;
} else {
 lean_dec_ref(x_283);
 x_285 = lean_box(0);
}
if (lean_is_scalar(x_285)) {
 x_286 = lean_alloc_ctor(0, 1, 0);
} else {
 x_286 = x_285;
}
lean_ctor_set(x_286, 0, x_284);
return x_286;
}
else
{
lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_345; 
x_287 = lean_ctor_get(x_283, 0);
lean_inc(x_287);
lean_dec(x_283);
x_288 = lean_ctor_get(x_248, 5);
lean_inc(x_288);
lean_inc(x_288);
x_345 = l_Lean_Json_getStr_x3f(x_288);
if (lean_obj_tag(x_345) == 0)
{
lean_object* x_346; lean_object* x_347; lean_object* x_348; 
lean_dec(x_288);
x_346 = lean_ctor_get(x_345, 0);
lean_inc(x_346);
if (lean_is_exclusive(x_345)) {
 lean_ctor_release(x_345, 0);
 x_347 = x_345;
} else {
 lean_dec_ref(x_345);
 x_347 = lean_box(0);
}
if (lean_is_scalar(x_347)) {
 x_348 = lean_alloc_ctor(0, 1, 0);
} else {
 x_348 = x_347;
}
lean_ctor_set(x_348, 0, x_346);
x_289 = x_348;
goto block_344;
}
else
{
lean_object* x_349; lean_object* x_350; lean_object* x_351; uint8_t x_352; 
x_349 = lean_ctor_get(x_345, 0);
lean_inc(x_349);
if (lean_is_exclusive(x_345)) {
 lean_ctor_release(x_345, 0);
 x_350 = x_345;
} else {
 lean_dec_ref(x_345);
 x_350 = lean_box(0);
}
x_351 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1;
x_352 = lean_string_dec_eq(x_349, x_351);
if (x_352 == 0)
{
lean_object* x_353; uint8_t x_354; 
x_353 = l_String_toName(x_349);
x_354 = l_Lean_Name_isAnonymous(x_353);
if (x_354 == 0)
{
lean_object* x_355; 
lean_dec(x_288);
if (lean_is_scalar(x_350)) {
 x_355 = lean_alloc_ctor(1, 1, 0);
} else {
 x_355 = x_350;
}
lean_ctor_set(x_355, 0, x_353);
x_289 = x_355;
goto block_344;
}
else
{
lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; 
lean_dec(x_353);
x_356 = lean_unsigned_to_nat(80u);
x_357 = l_Lean_Json_pretty(x_288, x_356);
x_358 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2;
x_359 = lean_string_append(x_358, x_357);
lean_dec(x_357);
x_360 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_361 = lean_string_append(x_359, x_360);
if (lean_is_scalar(x_350)) {
 x_362 = lean_alloc_ctor(0, 1, 0);
} else {
 x_362 = x_350;
 lean_ctor_set_tag(x_362, 0);
}
lean_ctor_set(x_362, 0, x_361);
x_289 = x_362;
goto block_344;
}
}
else
{
lean_object* x_363; 
lean_dec(x_350);
lean_dec(x_349);
lean_dec(x_288);
x_363 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4;
x_289 = x_363;
goto block_344;
}
}
block_344:
{
lean_object* x_290; 
x_290 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__2(x_289, x_2);
if (lean_obj_tag(x_290) == 0)
{
lean_object* x_291; lean_object* x_292; lean_object* x_293; 
lean_dec(x_287);
lean_dec(x_280);
lean_dec(x_279);
lean_dec(x_272);
lean_dec(x_260);
lean_dec(x_248);
lean_dec(x_2);
x_291 = lean_ctor_get(x_290, 0);
lean_inc(x_291);
if (lean_is_exclusive(x_290)) {
 lean_ctor_release(x_290, 0);
 x_292 = x_290;
} else {
 lean_dec_ref(x_290);
 x_292 = lean_box(0);
}
if (lean_is_scalar(x_292)) {
 x_293 = lean_alloc_ctor(0, 1, 0);
} else {
 x_293 = x_292;
}
lean_ctor_set(x_293, 0, x_291);
return x_293;
}
else
{
lean_object* x_294; 
x_294 = lean_ctor_get(x_248, 6);
lean_inc(x_294);
if (lean_obj_tag(x_294) == 0)
{
lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_295 = lean_ctor_get(x_290, 0);
lean_inc(x_295);
if (lean_is_exclusive(x_290)) {
 lean_ctor_release(x_290, 0);
 x_296 = x_290;
} else {
 lean_dec_ref(x_290);
 x_296 = lean_box(0);
}
x_297 = lean_box(0);
x_298 = lean_ctor_get(x_248, 7);
lean_inc(x_298);
lean_dec(x_248);
if (lean_obj_tag(x_298) == 0)
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; 
lean_dec(x_2);
x_299 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_299, 0, x_260);
lean_ctor_set(x_299, 1, x_272);
lean_ctor_set(x_299, 2, x_279);
x_300 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_300, 0, x_299);
lean_ctor_set(x_300, 1, x_280);
lean_ctor_set(x_300, 2, x_287);
lean_ctor_set(x_300, 3, x_295);
lean_ctor_set(x_300, 4, x_297);
lean_ctor_set(x_300, 5, x_297);
if (lean_is_scalar(x_296)) {
 x_301 = lean_alloc_ctor(1, 1, 0);
} else {
 x_301 = x_296;
}
lean_ctor_set(x_301, 0, x_300);
return x_301;
}
else
{
lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; 
lean_dec(x_296);
x_302 = lean_ctor_get(x_298, 0);
lean_inc(x_302);
if (lean_is_exclusive(x_298)) {
 lean_ctor_release(x_298, 0);
 x_303 = x_298;
} else {
 lean_dec_ref(x_298);
 x_303 = lean_box(0);
}
x_304 = l_Lean_Json_getBool_x3f(x_302);
lean_dec(x_302);
x_305 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_304, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_305) == 0)
{
lean_object* x_306; lean_object* x_307; lean_object* x_308; 
lean_dec(x_303);
lean_dec(x_295);
lean_dec(x_287);
lean_dec(x_280);
lean_dec(x_279);
lean_dec(x_272);
lean_dec(x_260);
x_306 = lean_ctor_get(x_305, 0);
lean_inc(x_306);
if (lean_is_exclusive(x_305)) {
 lean_ctor_release(x_305, 0);
 x_307 = x_305;
} else {
 lean_dec_ref(x_305);
 x_307 = lean_box(0);
}
if (lean_is_scalar(x_307)) {
 x_308 = lean_alloc_ctor(0, 1, 0);
} else {
 x_308 = x_307;
}
lean_ctor_set(x_308, 0, x_306);
return x_308;
}
else
{
lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; 
x_309 = lean_ctor_get(x_305, 0);
lean_inc(x_309);
if (lean_is_exclusive(x_305)) {
 lean_ctor_release(x_305, 0);
 x_310 = x_305;
} else {
 lean_dec_ref(x_305);
 x_310 = lean_box(0);
}
if (lean_is_scalar(x_303)) {
 x_311 = lean_alloc_ctor(1, 1, 0);
} else {
 x_311 = x_303;
}
lean_ctor_set(x_311, 0, x_309);
x_312 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_312, 0, x_260);
lean_ctor_set(x_312, 1, x_272);
lean_ctor_set(x_312, 2, x_279);
x_313 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_313, 0, x_312);
lean_ctor_set(x_313, 1, x_280);
lean_ctor_set(x_313, 2, x_287);
lean_ctor_set(x_313, 3, x_295);
lean_ctor_set(x_313, 4, x_297);
lean_ctor_set(x_313, 5, x_311);
if (lean_is_scalar(x_310)) {
 x_314 = lean_alloc_ctor(1, 1, 0);
} else {
 x_314 = x_310;
}
lean_ctor_set(x_314, 0, x_313);
return x_314;
}
}
}
else
{
lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; 
x_315 = lean_ctor_get(x_290, 0);
lean_inc(x_315);
lean_dec(x_290);
x_316 = lean_ctor_get(x_294, 0);
lean_inc(x_316);
if (lean_is_exclusive(x_294)) {
 lean_ctor_release(x_294, 0);
 x_317 = x_294;
} else {
 lean_dec_ref(x_294);
 x_317 = lean_box(0);
}
x_318 = l_Lean_Json_getBool_x3f(x_316);
lean_dec(x_316);
x_319 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_318, x_2);
if (lean_obj_tag(x_319) == 0)
{
lean_object* x_320; lean_object* x_321; lean_object* x_322; 
lean_dec(x_317);
lean_dec(x_315);
lean_dec(x_287);
lean_dec(x_280);
lean_dec(x_279);
lean_dec(x_272);
lean_dec(x_260);
lean_dec(x_248);
lean_dec(x_2);
x_320 = lean_ctor_get(x_319, 0);
lean_inc(x_320);
if (lean_is_exclusive(x_319)) {
 lean_ctor_release(x_319, 0);
 x_321 = x_319;
} else {
 lean_dec_ref(x_319);
 x_321 = lean_box(0);
}
if (lean_is_scalar(x_321)) {
 x_322 = lean_alloc_ctor(0, 1, 0);
} else {
 x_322 = x_321;
}
lean_ctor_set(x_322, 0, x_320);
return x_322;
}
else
{
lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; 
x_323 = lean_ctor_get(x_319, 0);
lean_inc(x_323);
if (lean_is_exclusive(x_319)) {
 lean_ctor_release(x_319, 0);
 x_324 = x_319;
} else {
 lean_dec_ref(x_319);
 x_324 = lean_box(0);
}
if (lean_is_scalar(x_317)) {
 x_325 = lean_alloc_ctor(1, 1, 0);
} else {
 x_325 = x_317;
}
lean_ctor_set(x_325, 0, x_323);
x_326 = lean_ctor_get(x_248, 7);
lean_inc(x_326);
lean_dec(x_248);
if (lean_obj_tag(x_326) == 0)
{
lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; 
lean_dec(x_2);
x_327 = lean_box(0);
x_328 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_328, 0, x_260);
lean_ctor_set(x_328, 1, x_272);
lean_ctor_set(x_328, 2, x_279);
x_329 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_329, 0, x_328);
lean_ctor_set(x_329, 1, x_280);
lean_ctor_set(x_329, 2, x_287);
lean_ctor_set(x_329, 3, x_315);
lean_ctor_set(x_329, 4, x_325);
lean_ctor_set(x_329, 5, x_327);
if (lean_is_scalar(x_324)) {
 x_330 = lean_alloc_ctor(1, 1, 0);
} else {
 x_330 = x_324;
}
lean_ctor_set(x_330, 0, x_329);
return x_330;
}
else
{
lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; 
lean_dec(x_324);
x_331 = lean_ctor_get(x_326, 0);
lean_inc(x_331);
if (lean_is_exclusive(x_326)) {
 lean_ctor_release(x_326, 0);
 x_332 = x_326;
} else {
 lean_dec_ref(x_326);
 x_332 = lean_box(0);
}
x_333 = l_Lean_Json_getBool_x3f(x_331);
lean_dec(x_331);
x_334 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_333, x_2);
lean_dec(x_2);
if (lean_obj_tag(x_334) == 0)
{
lean_object* x_335; lean_object* x_336; lean_object* x_337; 
lean_dec(x_332);
lean_dec(x_325);
lean_dec(x_315);
lean_dec(x_287);
lean_dec(x_280);
lean_dec(x_279);
lean_dec(x_272);
lean_dec(x_260);
x_335 = lean_ctor_get(x_334, 0);
lean_inc(x_335);
if (lean_is_exclusive(x_334)) {
 lean_ctor_release(x_334, 0);
 x_336 = x_334;
} else {
 lean_dec_ref(x_334);
 x_336 = lean_box(0);
}
if (lean_is_scalar(x_336)) {
 x_337 = lean_alloc_ctor(0, 1, 0);
} else {
 x_337 = x_336;
}
lean_ctor_set(x_337, 0, x_335);
return x_337;
}
else
{
lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; 
x_338 = lean_ctor_get(x_334, 0);
lean_inc(x_338);
if (lean_is_exclusive(x_334)) {
 lean_ctor_release(x_334, 0);
 x_339 = x_334;
} else {
 lean_dec_ref(x_334);
 x_339 = lean_box(0);
}
if (lean_is_scalar(x_332)) {
 x_340 = lean_alloc_ctor(1, 1, 0);
} else {
 x_340 = x_332;
}
lean_ctor_set(x_340, 0, x_338);
x_341 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_341, 0, x_260);
lean_ctor_set(x_341, 1, x_272);
lean_ctor_set(x_341, 2, x_279);
x_342 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_342, 0, x_341);
lean_ctor_set(x_342, 1, x_280);
lean_ctor_set(x_342, 2, x_287);
lean_ctor_set(x_342, 3, x_315);
lean_ctor_set(x_342, 4, x_325);
lean_ctor_set(x_342, 5, x_340);
if (lean_is_scalar(x_339)) {
 x_343 = lean_alloc_ctor(1, 1, 0);
} else {
 x_343 = x_339;
}
lean_ctor_set(x_343, 0, x_342);
return x_343;
}
}
}
}
}
}
}
}
}
}
}
}
}
else
{
lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; 
lean_dec(x_248);
lean_dec(x_2);
x_376 = lean_unsigned_to_nat(80u);
x_377 = l_Lean_Json_pretty(x_249, x_376);
x_378 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_379 = lean_string_append(x_378, x_377);
lean_dec(x_377);
x_380 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_381 = lean_string_append(x_379, x_380);
x_382 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_382, 0, x_381);
return x_382;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__1;
x_2 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__2;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__3;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("InteractiveTermGoal", 19, 19);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__2;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__3;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__4;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__5;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__6;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__7;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__8;
x_2 = lean_unsigned_to_nat(2335u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__10() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__9;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__10;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__13;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__12;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__14;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__20;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__16;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("range", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__20() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__19;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__20;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__21;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("term", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__25() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__24;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__25;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__26;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_2);
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
lean_dec(x_3);
x_5 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
lean_inc(x_1);
x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_5);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18;
lean_inc(x_1);
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_8);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18;
lean_inc(x_1);
x_12 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_11);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec(x_12);
x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23;
x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_14);
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_ctor_get(x_15, 0);
x_18 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_18, 0, x_4);
lean_ctor_set(x_18, 1, x_7);
lean_ctor_set(x_18, 2, x_10);
lean_ctor_set(x_18, 3, x_13);
lean_ctor_set(x_18, 4, x_17);
lean_ctor_set(x_15, 0, x_18);
return x_15;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_15, 0);
lean_inc(x_19);
lean_dec(x_15);
x_20 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_20, 0, x_4);
lean_ctor_set(x_20, 1, x_7);
lean_ctor_set(x_20, 2, x_10);
lean_ctor_set(x_20, 3, x_13);
lean_ctor_set(x_20, 4, x_19);
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_20);
return x_21;
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_2 = lean_ctor_get(x_1, 0);
x_3 = lean_ctor_get(x_1, 1);
x_4 = lean_ctor_get(x_1, 2);
x_5 = lean_ctor_get(x_1, 3);
x_6 = lean_ctor_get(x_1, 4);
x_7 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1;
lean_inc(x_2);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_7);
lean_ctor_set(x_8, 1, x_2);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_10, 0, x_8);
lean_ctor_set(x_10, 1, x_9);
x_11 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34;
lean_inc(x_3);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_3);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_9);
x_14 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18;
lean_inc(x_4);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_4);
x_16 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_9);
x_17 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18;
lean_inc(x_5);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_5);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_9);
x_20 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23;
lean_inc(x_6);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_6);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_9);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_9);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_19);
lean_ctor_set(x_24, 1, x_23);
x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_16);
lean_ctor_set(x_25, 1, x_24);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_13);
lean_ctor_set(x_26, 1, x_25);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_10);
lean_ctor_set(x_27, 1, x_26);
x_28 = l_List_join___rarg(x_27);
x_29 = l_Lean_Json_mkObj(x_28);
return x_29;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749_(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749____boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_2335_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
x_5 = lean_array_size(x_4);
x_6 = 0;
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_5, x_6, x_4, x_2);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_7, 1);
lean_inc(x_9);
lean_dec(x_7);
x_10 = lean_array_size(x_8);
x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1590____spec__2(x_10, x_6, x_8);
x_12 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_12, 0, x_11);
x_13 = lean_ctor_get(x_3, 1);
lean_inc(x_13);
x_14 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_15 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_14, x_13, x_9);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_611____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_16);
x_19 = lean_ctor_get(x_3, 2);
lean_inc(x_19);
lean_dec(x_3);
x_20 = l_Lean_Widget_instTypeNameContextInfo;
x_21 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___rarg(x_20, x_19, x_17);
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_21, 1);
lean_inc(x_23);
lean_dec(x_21);
x_24 = lean_ctor_get(x_1, 1);
lean_inc(x_24);
x_25 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_726_(x_24);
x_26 = lean_ctor_get(x_1, 2);
lean_inc(x_26);
lean_dec(x_1);
x_27 = l_Lean_Widget_instTypeNameTermInfo;
x_28 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___rarg(x_27, x_26, x_23);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_30 = lean_ctor_get(x_28, 0);
x_31 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_31, 0, x_12);
lean_ctor_set(x_31, 1, x_18);
lean_ctor_set(x_31, 2, x_22);
lean_ctor_set(x_31, 3, x_25);
lean_ctor_set(x_31, 4, x_30);
x_32 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749_(x_31);
lean_dec(x_31);
lean_ctor_set(x_28, 0, x_32);
return x_28;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_33 = lean_ctor_get(x_28, 0);
x_34 = lean_ctor_get(x_28, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_28);
x_35 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_35, 0, x_12);
lean_ctor_set(x_35, 1, x_18);
lean_ctor_set(x_35, 2, x_22);
lean_ctor_set(x_35, 3, x_25);
lean_ctor_set(x_35, 4, x_33);
x_36 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2749_(x_35);
lean_dec(x_35);
x_37 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_34);
return x_37;
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4; 
x_3 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410_(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
if (lean_obj_tag(x_6) == 4)
{
lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; lean_object* x_13; 
lean_free_object(x_3);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = lean_array_size(x_7);
x_9 = 0;
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_8, x_9, x_7);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_array_size(x_11);
lean_inc(x_2);
x_13 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_12, x_9, x_11, x_2);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14; 
lean_dec(x_5);
lean_dec(x_2);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
return x_13;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_13, 0);
lean_inc(x_17);
lean_dec(x_13);
x_18 = lean_ctor_get(x_5, 1);
lean_inc(x_18);
x_19 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_18);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
return x_19;
}
else
{
lean_object* x_21; lean_object* x_22; 
x_21 = lean_ctor_get(x_19, 0);
lean_inc(x_21);
lean_dec(x_19);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
return x_22;
}
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_23 = lean_ctor_get(x_19, 0);
lean_inc(x_23);
lean_dec(x_19);
x_24 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2;
lean_inc(x_2);
x_25 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_24, x_23, x_2);
if (lean_obj_tag(x_25) == 0)
{
uint8_t x_26; 
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_26 = !lean_is_exclusive(x_25);
if (x_26 == 0)
{
return x_25;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_25, 0);
lean_inc(x_27);
lean_dec(x_25);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_29 = lean_ctor_get(x_25, 0);
lean_inc(x_29);
lean_dec(x_25);
x_30 = lean_ctor_get(x_5, 2);
lean_inc(x_30);
x_31 = l_Lean_Widget_instTypeNameContextInfo;
lean_inc(x_2);
x_32 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_31, x_30, x_2);
if (lean_obj_tag(x_32) == 0)
{
uint8_t x_33; 
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_33 = !lean_is_exclusive(x_32);
if (x_33 == 0)
{
return x_32;
}
else
{
lean_object* x_34; lean_object* x_35; 
x_34 = lean_ctor_get(x_32, 0);
lean_inc(x_34);
lean_dec(x_32);
x_35 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_35, 0, x_34);
return x_35;
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_32, 0);
lean_inc(x_36);
lean_dec(x_32);
x_37 = lean_ctor_get(x_5, 3);
lean_inc(x_37);
x_38 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_774_(x_37);
x_39 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(x_38, x_2);
if (lean_obj_tag(x_39) == 0)
{
uint8_t x_40; 
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
lean_dec(x_5);
lean_dec(x_2);
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
return x_39;
}
else
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_39, 0);
lean_inc(x_41);
lean_dec(x_39);
x_42 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_43 = lean_ctor_get(x_39, 0);
lean_inc(x_43);
lean_dec(x_39);
x_44 = lean_ctor_get(x_5, 4);
lean_inc(x_44);
lean_dec(x_5);
x_45 = l_Lean_Widget_instTypeNameTermInfo;
x_46 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_45, x_44, x_2);
if (lean_obj_tag(x_46) == 0)
{
uint8_t x_47; 
lean_dec(x_43);
lean_dec(x_36);
lean_dec(x_29);
lean_dec(x_17);
x_47 = !lean_is_exclusive(x_46);
if (x_47 == 0)
{
return x_46;
}
else
{
lean_object* x_48; lean_object* x_49; 
x_48 = lean_ctor_get(x_46, 0);
lean_inc(x_48);
lean_dec(x_46);
x_49 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_49, 0, x_48);
return x_49;
}
}
else
{
uint8_t x_50; 
x_50 = !lean_is_exclusive(x_46);
if (x_50 == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_51 = lean_ctor_get(x_46, 0);
x_52 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_52, 0, x_17);
lean_ctor_set(x_52, 1, x_29);
lean_ctor_set(x_52, 2, x_36);
x_53 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_53, 1, x_43);
lean_ctor_set(x_53, 2, x_51);
lean_ctor_set(x_46, 0, x_53);
return x_46;
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_54 = lean_ctor_get(x_46, 0);
lean_inc(x_54);
lean_dec(x_46);
x_55 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_55, 0, x_17);
lean_ctor_set(x_55, 1, x_29);
lean_ctor_set(x_55, 2, x_36);
x_56 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_56, 0, x_55);
lean_ctor_set(x_56, 1, x_43);
lean_ctor_set(x_56, 2, x_54);
x_57 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_57, 0, x_56);
return x_57;
}
}
}
}
}
}
}
}
else
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_5);
lean_dec(x_2);
x_58 = lean_unsigned_to_nat(80u);
x_59 = l_Lean_Json_pretty(x_6, x_58);
x_60 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_61 = lean_string_append(x_60, x_59);
lean_dec(x_59);
x_62 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_63 = lean_string_append(x_61, x_62);
lean_ctor_set_tag(x_3, 0);
lean_ctor_set(x_3, 0, x_63);
return x_3;
}
}
else
{
lean_object* x_64; lean_object* x_65; 
x_64 = lean_ctor_get(x_3, 0);
lean_inc(x_64);
lean_dec(x_3);
x_65 = lean_ctor_get(x_64, 0);
lean_inc(x_65);
if (lean_obj_tag(x_65) == 4)
{
lean_object* x_66; size_t x_67; size_t x_68; lean_object* x_69; lean_object* x_70; size_t x_71; lean_object* x_72; 
x_66 = lean_ctor_get(x_65, 0);
lean_inc(x_66);
lean_dec(x_65);
x_67 = lean_array_size(x_66);
x_68 = 0;
x_69 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_67, x_68, x_66);
x_70 = lean_ctor_get(x_69, 0);
lean_inc(x_70);
lean_dec(x_69);
x_71 = lean_array_size(x_70);
lean_inc(x_2);
x_72 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205____spec__1(x_71, x_68, x_70, x_2);
if (lean_obj_tag(x_72) == 0)
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; 
lean_dec(x_64);
lean_dec(x_2);
x_73 = lean_ctor_get(x_72, 0);
lean_inc(x_73);
if (lean_is_exclusive(x_72)) {
 lean_ctor_release(x_72, 0);
 x_74 = x_72;
} else {
 lean_dec_ref(x_72);
 x_74 = lean_box(0);
}
if (lean_is_scalar(x_74)) {
 x_75 = lean_alloc_ctor(0, 1, 0);
} else {
 x_75 = x_74;
}
lean_ctor_set(x_75, 0, x_73);
return x_75;
}
else
{
lean_object* x_76; lean_object* x_77; lean_object* x_78; 
x_76 = lean_ctor_get(x_72, 0);
lean_inc(x_76);
lean_dec(x_72);
x_77 = lean_ctor_get(x_64, 1);
lean_inc(x_77);
x_78 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_406____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_77);
if (lean_obj_tag(x_78) == 0)
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; 
lean_dec(x_76);
lean_dec(x_64);
lean_dec(x_2);
x_79 = lean_ctor_get(x_78, 0);
lean_inc(x_79);
if (lean_is_exclusive(x_78)) {
 lean_ctor_release(x_78, 0);
 x_80 = x_78;
} else {
 lean_dec_ref(x_78);
 x_80 = lean_box(0);
}
if (lean_is_scalar(x_80)) {
 x_81 = lean_alloc_ctor(0, 1, 0);
} else {
 x_81 = x_80;
}
lean_ctor_set(x_81, 0, x_79);
return x_81;
}
else
{
lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_82 = lean_ctor_get(x_78, 0);
lean_inc(x_82);
lean_dec(x_78);
x_83 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2;
lean_inc(x_2);
x_84 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_83, x_82, x_2);
if (lean_obj_tag(x_84) == 0)
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; 
lean_dec(x_76);
lean_dec(x_64);
lean_dec(x_2);
x_85 = lean_ctor_get(x_84, 0);
lean_inc(x_85);
if (lean_is_exclusive(x_84)) {
 lean_ctor_release(x_84, 0);
 x_86 = x_84;
} else {
 lean_dec_ref(x_84);
 x_86 = lean_box(0);
}
if (lean_is_scalar(x_86)) {
 x_87 = lean_alloc_ctor(0, 1, 0);
} else {
 x_87 = x_86;
}
lean_ctor_set(x_87, 0, x_85);
return x_87;
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_88 = lean_ctor_get(x_84, 0);
lean_inc(x_88);
lean_dec(x_84);
x_89 = lean_ctor_get(x_64, 2);
lean_inc(x_89);
x_90 = l_Lean_Widget_instTypeNameContextInfo;
lean_inc(x_2);
x_91 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_90, x_89, x_2);
if (lean_obj_tag(x_91) == 0)
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; 
lean_dec(x_88);
lean_dec(x_76);
lean_dec(x_64);
lean_dec(x_2);
x_92 = lean_ctor_get(x_91, 0);
lean_inc(x_92);
if (lean_is_exclusive(x_91)) {
 lean_ctor_release(x_91, 0);
 x_93 = x_91;
} else {
 lean_dec_ref(x_91);
 x_93 = lean_box(0);
}
if (lean_is_scalar(x_93)) {
 x_94 = lean_alloc_ctor(0, 1, 0);
} else {
 x_94 = x_93;
}
lean_ctor_set(x_94, 0, x_92);
return x_94;
}
else
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; 
x_95 = lean_ctor_get(x_91, 0);
lean_inc(x_95);
lean_dec(x_91);
x_96 = lean_ctor_get(x_64, 3);
lean_inc(x_96);
x_97 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_774_(x_96);
x_98 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(x_97, x_2);
if (lean_obj_tag(x_98) == 0)
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; 
lean_dec(x_95);
lean_dec(x_88);
lean_dec(x_76);
lean_dec(x_64);
lean_dec(x_2);
x_99 = lean_ctor_get(x_98, 0);
lean_inc(x_99);
if (lean_is_exclusive(x_98)) {
 lean_ctor_release(x_98, 0);
 x_100 = x_98;
} else {
 lean_dec_ref(x_98);
 x_100 = lean_box(0);
}
if (lean_is_scalar(x_100)) {
 x_101 = lean_alloc_ctor(0, 1, 0);
} else {
 x_101 = x_100;
}
lean_ctor_set(x_101, 0, x_99);
return x_101;
}
else
{
lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; 
x_102 = lean_ctor_get(x_98, 0);
lean_inc(x_102);
lean_dec(x_98);
x_103 = lean_ctor_get(x_64, 4);
lean_inc(x_103);
lean_dec(x_64);
x_104 = l_Lean_Widget_instTypeNameTermInfo;
x_105 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_104, x_103, x_2);
if (lean_obj_tag(x_105) == 0)
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; 
lean_dec(x_102);
lean_dec(x_95);
lean_dec(x_88);
lean_dec(x_76);
x_106 = lean_ctor_get(x_105, 0);
lean_inc(x_106);
if (lean_is_exclusive(x_105)) {
 lean_ctor_release(x_105, 0);
 x_107 = x_105;
} else {
 lean_dec_ref(x_105);
 x_107 = lean_box(0);
}
if (lean_is_scalar(x_107)) {
 x_108 = lean_alloc_ctor(0, 1, 0);
} else {
 x_108 = x_107;
}
lean_ctor_set(x_108, 0, x_106);
return x_108;
}
else
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
x_109 = lean_ctor_get(x_105, 0);
lean_inc(x_109);
if (lean_is_exclusive(x_105)) {
 lean_ctor_release(x_105, 0);
 x_110 = x_105;
} else {
 lean_dec_ref(x_105);
 x_110 = lean_box(0);
}
x_111 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_111, 0, x_76);
lean_ctor_set(x_111, 1, x_88);
lean_ctor_set(x_111, 2, x_95);
x_112 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_112, 0, x_111);
lean_ctor_set(x_112, 1, x_102);
lean_ctor_set(x_112, 2, x_109);
if (lean_is_scalar(x_110)) {
 x_113 = lean_alloc_ctor(1, 1, 0);
} else {
 x_113 = x_110;
}
lean_ctor_set(x_113, 0, x_112);
return x_113;
}
}
}
}
}
}
}
else
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; 
lean_dec(x_64);
lean_dec(x_2);
x_114 = lean_unsigned_to_nat(80u);
x_115 = l_Lean_Json_pretty(x_65, x_114);
x_116 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_117 = lean_string_append(x_116, x_115);
lean_dec(x_115);
x_118 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_119 = lean_string_append(x_117, x_118);
x_120 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_120, 0, x_119);
return x_120;
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_2335_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__1;
x_2 = l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__2;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__3;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoalCore_pretty_addLine(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = l_Std_Format_isNil(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_box(1);
x_4 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_3);
return x_4;
}
else
{
return x_1;
}
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___closed__1() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; 
x_2 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___closed__1;
x_3 = lean_string_dec_eq(x_1, x_2);
if (x_3 == 0)
{
uint8_t x_4; 
x_4 = 1;
return x_4;
}
else
{
uint8_t x_5; 
x_5 = 0;
return x_5;
}
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" ", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" :", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" : ", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__6;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" :=", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__8;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__10;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_4, x_3);
if (x_6 == 0)
{
lean_dec(x_1);
return x_5;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_7 = lean_array_uget(x_2, x_4);
x_8 = l_Lean_Widget_InteractiveGoalCore_pretty_addLine(x_5);
x_9 = lean_ctor_get(x_7, 0);
lean_inc(x_9);
x_10 = lean_array_to_list(lean_box(0), x_9);
x_11 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__1;
x_12 = l_List_filter___rarg(x_11, x_10);
x_13 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__2;
x_14 = l_String_intercalate(x_13, x_12);
x_15 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2;
x_16 = lean_string_dec_eq(x_14, x_15);
if (x_16 == 0)
{
lean_object* x_17; 
x_17 = lean_ctor_get(x_7, 3);
lean_inc(x_17);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; 
x_18 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_18, 0, x_14);
x_19 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_20 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
x_21 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__5;
x_22 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
x_23 = lean_ctor_get(x_7, 2);
lean_inc(x_23);
lean_dec(x_7);
x_24 = l_Lean_Widget_TaggedText_stripTags___rarg(x_23);
x_25 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = lean_box(1);
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_25);
lean_inc(x_1);
x_28 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_28, 0, x_1);
lean_ctor_set(x_28, 1, x_27);
x_29 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_29, 0, x_22);
lean_ctor_set(x_29, 1, x_28);
x_30 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_30, 0, x_29);
lean_ctor_set(x_30, 1, x_19);
x_31 = 0;
x_32 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_31);
x_33 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_33, 0, x_8);
lean_ctor_set(x_33, 1, x_32);
x_34 = 1;
x_35 = lean_usize_add(x_4, x_34);
x_4 = x_35;
x_5 = x_33;
goto _start;
}
else
{
uint8_t x_37; 
x_37 = !lean_is_exclusive(x_17);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; 
x_38 = lean_ctor_get(x_17, 0);
lean_ctor_set_tag(x_17, 3);
lean_ctor_set(x_17, 0, x_14);
x_39 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_40 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_17);
x_41 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7;
x_42 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_41);
x_43 = lean_ctor_get(x_7, 2);
lean_inc(x_43);
lean_dec(x_7);
x_44 = l_Lean_Widget_TaggedText_stripTags___rarg(x_43);
x_45 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_45, 0, x_44);
x_46 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_46, 0, x_42);
lean_ctor_set(x_46, 1, x_45);
x_47 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9;
x_48 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
x_49 = l_Lean_Widget_TaggedText_stripTags___rarg(x_38);
x_50 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_50, 0, x_49);
x_51 = lean_box(1);
x_52 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_50);
lean_inc(x_1);
x_53 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_53, 0, x_1);
lean_ctor_set(x_53, 1, x_52);
x_54 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_54, 0, x_48);
lean_ctor_set(x_54, 1, x_53);
x_55 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_39);
x_56 = 0;
x_57 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_56);
x_58 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_58, 0, x_8);
lean_ctor_set(x_58, 1, x_57);
x_59 = 1;
x_60 = lean_usize_add(x_4, x_59);
x_4 = x_60;
x_5 = x_58;
goto _start;
}
else
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; 
x_62 = lean_ctor_get(x_17, 0);
lean_inc(x_62);
lean_dec(x_17);
x_63 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_63, 0, x_14);
x_64 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_65 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_65, 0, x_64);
lean_ctor_set(x_65, 1, x_63);
x_66 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7;
x_67 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_67, 0, x_65);
lean_ctor_set(x_67, 1, x_66);
x_68 = lean_ctor_get(x_7, 2);
lean_inc(x_68);
lean_dec(x_7);
x_69 = l_Lean_Widget_TaggedText_stripTags___rarg(x_68);
x_70 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_70, 0, x_69);
x_71 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_71, 0, x_67);
lean_ctor_set(x_71, 1, x_70);
x_72 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9;
x_73 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
x_74 = l_Lean_Widget_TaggedText_stripTags___rarg(x_62);
x_75 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_75, 0, x_74);
x_76 = lean_box(1);
x_77 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_77, 0, x_76);
lean_ctor_set(x_77, 1, x_75);
lean_inc(x_1);
x_78 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_78, 0, x_1);
lean_ctor_set(x_78, 1, x_77);
x_79 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_79, 0, x_73);
lean_ctor_set(x_79, 1, x_78);
x_80 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_80, 0, x_79);
lean_ctor_set(x_80, 1, x_64);
x_81 = 0;
x_82 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_82, 0, x_80);
lean_ctor_set_uint8(x_82, sizeof(void*)*1, x_81);
x_83 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_83, 0, x_8);
lean_ctor_set(x_83, 1, x_82);
x_84 = 1;
x_85 = lean_usize_add(x_4, x_84);
x_4 = x_85;
x_5 = x_83;
goto _start;
}
}
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; 
lean_dec(x_14);
x_87 = lean_ctor_get(x_7, 2);
lean_inc(x_87);
lean_dec(x_7);
x_88 = l_Lean_Widget_TaggedText_stripTags___rarg(x_87);
x_89 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_89, 0, x_88);
x_90 = lean_box(1);
x_91 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_91, 0, x_90);
lean_ctor_set(x_91, 1, x_89);
lean_inc(x_1);
x_92 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_92, 0, x_1);
lean_ctor_set(x_92, 1, x_91);
x_93 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__11;
x_94 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_94, 0, x_93);
lean_ctor_set(x_94, 1, x_92);
x_95 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_96 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_96, 0, x_94);
lean_ctor_set(x_96, 1, x_95);
x_97 = 0;
x_98 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_98, 0, x_96);
lean_ctor_set_uint8(x_98, sizeof(void*)*1, x_97);
x_99 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_99, 0, x_8);
lean_ctor_set(x_99, 1, x_98);
x_100 = 1;
x_101 = lean_usize_add(x_4, x_100);
x_4 = x_101;
x_5 = x_99;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_4, x_3);
if (x_6 == 0)
{
lean_dec(x_1);
return x_5;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_7 = lean_array_uget(x_2, x_4);
x_8 = l_Lean_Widget_InteractiveGoalCore_pretty_addLine(x_5);
x_9 = lean_ctor_get(x_7, 0);
lean_inc(x_9);
x_10 = lean_array_to_list(lean_box(0), x_9);
x_11 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__1;
x_12 = l_List_filter___rarg(x_11, x_10);
x_13 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__2;
x_14 = l_String_intercalate(x_13, x_12);
x_15 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2;
x_16 = lean_string_dec_eq(x_14, x_15);
if (x_16 == 0)
{
lean_object* x_17; 
x_17 = lean_ctor_get(x_7, 3);
lean_inc(x_17);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; 
x_18 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_18, 0, x_14);
x_19 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_20 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_18);
x_21 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__5;
x_22 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
x_23 = lean_ctor_get(x_7, 2);
lean_inc(x_23);
lean_dec(x_7);
x_24 = l_Lean_Widget_TaggedText_stripTags___rarg(x_23);
x_25 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = lean_box(1);
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_25);
lean_inc(x_1);
x_28 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_28, 0, x_1);
lean_ctor_set(x_28, 1, x_27);
x_29 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_29, 0, x_22);
lean_ctor_set(x_29, 1, x_28);
x_30 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_30, 0, x_29);
lean_ctor_set(x_30, 1, x_19);
x_31 = 0;
x_32 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_31);
x_33 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_33, 0, x_8);
lean_ctor_set(x_33, 1, x_32);
x_34 = 1;
x_35 = lean_usize_add(x_4, x_34);
x_4 = x_35;
x_5 = x_33;
goto _start;
}
else
{
uint8_t x_37; 
x_37 = !lean_is_exclusive(x_17);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; 
x_38 = lean_ctor_get(x_17, 0);
lean_ctor_set_tag(x_17, 3);
lean_ctor_set(x_17, 0, x_14);
x_39 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_40 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_17);
x_41 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7;
x_42 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_41);
x_43 = lean_ctor_get(x_7, 2);
lean_inc(x_43);
lean_dec(x_7);
x_44 = l_Lean_Widget_TaggedText_stripTags___rarg(x_43);
x_45 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_45, 0, x_44);
x_46 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_46, 0, x_42);
lean_ctor_set(x_46, 1, x_45);
x_47 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9;
x_48 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
x_49 = l_Lean_Widget_TaggedText_stripTags___rarg(x_38);
x_50 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_50, 0, x_49);
x_51 = lean_box(1);
x_52 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_50);
lean_inc(x_1);
x_53 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_53, 0, x_1);
lean_ctor_set(x_53, 1, x_52);
x_54 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_54, 0, x_48);
lean_ctor_set(x_54, 1, x_53);
x_55 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_39);
x_56 = 0;
x_57 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set_uint8(x_57, sizeof(void*)*1, x_56);
x_58 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_58, 0, x_8);
lean_ctor_set(x_58, 1, x_57);
x_59 = 1;
x_60 = lean_usize_add(x_4, x_59);
x_4 = x_60;
x_5 = x_58;
goto _start;
}
else
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; 
x_62 = lean_ctor_get(x_17, 0);
lean_inc(x_62);
lean_dec(x_17);
x_63 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_63, 0, x_14);
x_64 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_65 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_65, 0, x_64);
lean_ctor_set(x_65, 1, x_63);
x_66 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7;
x_67 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_67, 0, x_65);
lean_ctor_set(x_67, 1, x_66);
x_68 = lean_ctor_get(x_7, 2);
lean_inc(x_68);
lean_dec(x_7);
x_69 = l_Lean_Widget_TaggedText_stripTags___rarg(x_68);
x_70 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_70, 0, x_69);
x_71 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_71, 0, x_67);
lean_ctor_set(x_71, 1, x_70);
x_72 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9;
x_73 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
x_74 = l_Lean_Widget_TaggedText_stripTags___rarg(x_62);
x_75 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_75, 0, x_74);
x_76 = lean_box(1);
x_77 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_77, 0, x_76);
lean_ctor_set(x_77, 1, x_75);
lean_inc(x_1);
x_78 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_78, 0, x_1);
lean_ctor_set(x_78, 1, x_77);
x_79 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_79, 0, x_73);
lean_ctor_set(x_79, 1, x_78);
x_80 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_80, 0, x_79);
lean_ctor_set(x_80, 1, x_64);
x_81 = 0;
x_82 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_82, 0, x_80);
lean_ctor_set_uint8(x_82, sizeof(void*)*1, x_81);
x_83 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_83, 0, x_8);
lean_ctor_set(x_83, 1, x_82);
x_84 = 1;
x_85 = lean_usize_add(x_4, x_84);
x_4 = x_85;
x_5 = x_83;
goto _start;
}
}
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; 
lean_dec(x_14);
x_87 = lean_ctor_get(x_7, 2);
lean_inc(x_87);
lean_dec(x_7);
x_88 = l_Lean_Widget_TaggedText_stripTags___rarg(x_87);
x_89 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_89, 0, x_88);
x_90 = lean_box(1);
x_91 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_91, 0, x_90);
lean_ctor_set(x_91, 1, x_89);
lean_inc(x_1);
x_92 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_92, 0, x_1);
lean_ctor_set(x_92, 1, x_91);
x_93 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__11;
x_94 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_94, 0, x_93);
lean_ctor_set(x_94, 1, x_92);
x_95 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_96 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_96, 0, x_94);
lean_ctor_set(x_96, 1, x_95);
x_97 = 0;
x_98 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_98, 0, x_96);
lean_ctor_set_uint8(x_98, sizeof(void*)*1, x_97);
x_99 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_99, 0, x_8);
lean_ctor_set(x_99, 1, x_98);
x_100 = 1;
x_101 = lean_usize_add(x_4, x_100);
x_4 = x_101;
x_5 = x_99;
goto _start;
}
}
}
}
static lean_object* _init_l_Lean_Widget_InteractiveGoalCore_pretty___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveGoalCore_pretty___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("case ", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveGoalCore_pretty___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_InteractiveGoalCore_pretty___closed__2;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoalCore_pretty(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
x_5 = lean_array_size(x_4);
x_6 = 0;
x_7 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_7, 0, x_3);
x_8 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3;
x_9 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_7);
x_10 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = lean_ctor_get(x_1, 1);
lean_inc(x_11);
lean_dec(x_1);
x_12 = l_Lean_Widget_TaggedText_stripTags___rarg(x_11);
x_13 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_13, 0, x_12);
x_14 = l_Lean_Widget_InteractiveGoalCore_pretty___closed__1;
x_15 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_13);
x_16 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_16, 0, x_10);
lean_ctor_set(x_16, 1, x_15);
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_8);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_18 = lean_box(0);
x_19 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1(x_14, x_4, x_5, x_6, x_18);
lean_dec(x_4);
x_20 = l_Lean_Widget_InteractiveGoalCore_pretty_addLine(x_19);
x_21 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_17);
return x_21;
}
else
{
uint8_t x_22; 
x_22 = !lean_is_exclusive(x_2);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
lean_ctor_set_tag(x_2, 3);
x_23 = l_Lean_Widget_InteractiveGoalCore_pretty___closed__3;
x_24 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_2);
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_8);
x_26 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2(x_14, x_4, x_5, x_6, x_25);
lean_dec(x_4);
x_27 = l_Lean_Widget_InteractiveGoalCore_pretty_addLine(x_26);
x_28 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_17);
return x_28;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_29 = lean_ctor_get(x_2, 0);
lean_inc(x_29);
lean_dec(x_2);
x_30 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_31 = l_Lean_Widget_InteractiveGoalCore_pretty___closed__3;
x_32 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_30);
x_33 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_8);
x_34 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2(x_14, x_4, x_5, x_6, x_33);
lean_dec(x_4);
x_35 = l_Lean_Widget_InteractiveGoalCore_pretty_addLine(x_34);
x_36 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_17);
return x_36;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1(x_1, x_2, x_6, x_7, x_5);
lean_dec(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2(x_1, x_2, x_6, x_7, x_5);
lean_dec(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoal_pretty(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 2);
lean_inc(x_4);
lean_dec(x_1);
x_5 = l_Lean_Widget_InteractiveGoalCore_pretty(x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveTermGoal_pretty___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("⊢ ", 4, 2);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveTermGoal_pretty(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
lean_dec(x_1);
x_3 = lean_box(0);
x_4 = l_Lean_Widget_InteractiveTermGoal_pretty___closed__1;
x_5 = l_Lean_Widget_InteractiveGoalCore_pretty(x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("goals", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("InteractiveGoals", 16, 16);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__3;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__4;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__5;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__6;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__7;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__8;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__9;
x_2 = lean_unsigned_to_nat(3476u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__11() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__10;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__11;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__14() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__13;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__12;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__14;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__15;
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1;
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3590_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
x_7 = l_List_join___rarg(x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3590_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205_(x_7, x_4);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_10, 1);
lean_inc(x_12);
lean_dec(x_10);
x_13 = 1;
x_14 = lean_usize_add(x_2, x_13);
x_15 = lean_array_uset(x_9, x_2, x_11);
x_2 = x_14;
x_3 = x_15;
x_4 = x_12;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476_(lean_object* x_1, lean_object* x_2) {
_start:
{
size_t x_3; size_t x_4; lean_object* x_5; uint8_t x_6; 
x_3 = lean_array_size(x_1);
x_4 = 0;
x_5 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(x_3, x_4, x_1, x_2);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = lean_array_size(x_7);
x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1590____spec__2(x_8, x_4, x_7);
x_10 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3590_(x_10);
lean_ctor_set(x_5, 0, x_11);
return x_5;
}
else
{
lean_object* x_12; lean_object* x_13; size_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_12 = lean_ctor_get(x_5, 0);
x_13 = lean_ctor_get(x_5, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_5);
x_14 = lean_array_size(x_12);
x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1590____spec__2(x_14, x_4, x_12);
x_16 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_16, 0, x_15);
x_17 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3590_(x_16);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_13);
return x_18;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_4);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
lean_inc(x_4);
x_10 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205_(x_7, x_4);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
lean_dec(x_9);
lean_dec(x_4);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
return x_10;
}
else
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
else
{
lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
lean_dec(x_10);
x_15 = 1;
x_16 = lean_usize_add(x_2, x_15);
x_17 = lean_array_uset(x_9, x_2, x_14);
x_2 = x_16;
x_3 = x_17;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; uint8_t x_4; 
x_3 = l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503_(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_ctor_get(x_3, 0);
if (lean_obj_tag(x_5) == 4)
{
lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; size_t x_11; lean_object* x_12; 
lean_free_object(x_3);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec(x_5);
x_7 = lean_array_size(x_6);
x_8 = 0;
x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_7, x_8, x_6);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_array_size(x_10);
x_12 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(x_11, x_8, x_10, x_2);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
return x_12;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
uint8_t x_16; 
x_16 = !lean_is_exclusive(x_12);
if (x_16 == 0)
{
return x_12;
}
else
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_ctor_get(x_12, 0);
lean_inc(x_17);
lean_dec(x_12);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
lean_dec(x_2);
x_19 = lean_unsigned_to_nat(80u);
x_20 = l_Lean_Json_pretty(x_5, x_19);
x_21 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_22 = lean_string_append(x_21, x_20);
lean_dec(x_20);
x_23 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_24 = lean_string_append(x_22, x_23);
lean_ctor_set_tag(x_3, 0);
lean_ctor_set(x_3, 0, x_24);
return x_3;
}
}
else
{
lean_object* x_25; 
x_25 = lean_ctor_get(x_3, 0);
lean_inc(x_25);
lean_dec(x_3);
if (lean_obj_tag(x_25) == 4)
{
lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; size_t x_31; lean_object* x_32; 
x_26 = lean_ctor_get(x_25, 0);
lean_inc(x_26);
lean_dec(x_25);
x_27 = lean_array_size(x_26);
x_28 = 0;
x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1645____spec__2(x_27, x_28, x_26);
x_30 = lean_ctor_get(x_29, 0);
lean_inc(x_30);
lean_dec(x_29);
x_31 = lean_array_size(x_30);
x_32 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(x_31, x_28, x_30, x_2);
if (lean_obj_tag(x_32) == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_32, 0);
lean_inc(x_33);
if (lean_is_exclusive(x_32)) {
 lean_ctor_release(x_32, 0);
 x_34 = x_32;
} else {
 lean_dec_ref(x_32);
 x_34 = lean_box(0);
}
if (lean_is_scalar(x_34)) {
 x_35 = lean_alloc_ctor(0, 1, 0);
} else {
 x_35 = x_34;
}
lean_ctor_set(x_35, 0, x_33);
return x_35;
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_36 = lean_ctor_get(x_32, 0);
lean_inc(x_36);
if (lean_is_exclusive(x_32)) {
 lean_ctor_release(x_32, 0);
 x_37 = x_32;
} else {
 lean_dec_ref(x_32);
 x_37 = lean_box(0);
}
if (lean_is_scalar(x_37)) {
 x_38 = lean_alloc_ctor(1, 1, 0);
} else {
 x_38 = x_37;
}
lean_ctor_set(x_38, 0, x_36);
return x_38;
}
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
lean_dec(x_2);
x_39 = lean_unsigned_to_nat(80u);
x_40 = l_Lean_Json_pretty(x_25, x_39);
x_41 = l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1;
x_42 = lean_string_append(x_41, x_40);
lean_dec(x_40);
x_43 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3;
x_44 = lean_string_append(x_42, x_43);
x_45 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_45, 0, x_44);
return x_45;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476____spec__1(x_5, x_6, x_3, x_4);
return x_7;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_enc____x40_Lean_Widget_InteractiveGoal___hyg_3476_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals_dec____x40_Lean_Widget_InteractiveGoal___hyg_3476_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__1;
x_2 = l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__2;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__3;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoals_append(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Array_append___rarg(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveGoals_append___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Widget_InteractiveGoals_append(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_instAppendInteractiveGoals___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_InteractiveGoals_append___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instAppendInteractiveGoals() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instAppendInteractiveGoals___closed__1;
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instEmptyCollectionInteractiveGoals() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = lean_ctor_get(x_5, 1);
lean_inc(x_8);
lean_dec(x_5);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_7, x_2, x_8);
x_2 = x_10;
x_3 = x_11;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = lean_ctor_get(x_5, 0);
lean_inc(x_8);
lean_dec(x_5);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_7, x_2, x_8);
x_2 = x_10;
x_3 = x_11;
goto _start;
}
}
}
static lean_object* _init_l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = lean_box(x_1);
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; 
x_11 = lean_array_size(x_1);
x_12 = 0;
lean_inc(x_1);
x_13 = l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__1(x_11, x_12, x_1);
x_14 = l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__2(x_11, x_12, x_1);
x_15 = 0;
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_2);
x_16 = l_Lean_Widget_ppExprTagged(x_2, x_15, x_6, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_16, 1);
lean_inc(x_18);
lean_dec(x_16);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_64; 
x_64 = lean_box(0);
x_19 = x_64;
x_20 = x_18;
goto block_63;
}
else
{
uint8_t x_65; 
x_65 = !lean_is_exclusive(x_4);
if (x_65 == 0)
{
lean_object* x_66; lean_object* x_67; 
x_66 = lean_ctor_get(x_4, 0);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
x_67 = l_Lean_Widget_ppExprTagged(x_66, x_15, x_6, x_7, x_8, x_9, x_18);
if (lean_obj_tag(x_67) == 0)
{
lean_object* x_68; lean_object* x_69; 
x_68 = lean_ctor_get(x_67, 0);
lean_inc(x_68);
x_69 = lean_ctor_get(x_67, 1);
lean_inc(x_69);
lean_dec(x_67);
lean_ctor_set(x_4, 0, x_68);
x_19 = x_4;
x_20 = x_69;
goto block_63;
}
else
{
uint8_t x_70; 
lean_free_object(x_4);
lean_dec(x_17);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_3);
lean_dec(x_2);
x_70 = !lean_is_exclusive(x_67);
if (x_70 == 0)
{
return x_67;
}
else
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_71 = lean_ctor_get(x_67, 0);
x_72 = lean_ctor_get(x_67, 1);
lean_inc(x_72);
lean_inc(x_71);
lean_dec(x_67);
x_73 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
return x_73;
}
}
}
else
{
lean_object* x_74; lean_object* x_75; 
x_74 = lean_ctor_get(x_4, 0);
lean_inc(x_74);
lean_dec(x_4);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
x_75 = l_Lean_Widget_ppExprTagged(x_74, x_15, x_6, x_7, x_8, x_9, x_18);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; lean_object* x_77; lean_object* x_78; 
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
x_77 = lean_ctor_get(x_75, 1);
lean_inc(x_77);
lean_dec(x_75);
x_78 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_78, 0, x_76);
x_19 = x_78;
x_20 = x_77;
goto block_63;
}
else
{
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_dec(x_17);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_3);
lean_dec(x_2);
x_79 = lean_ctor_get(x_75, 0);
lean_inc(x_79);
x_80 = lean_ctor_get(x_75, 1);
lean_inc(x_80);
if (lean_is_exclusive(x_75)) {
 lean_ctor_release(x_75, 0);
 lean_ctor_release(x_75, 1);
 x_81 = x_75;
} else {
 lean_dec_ref(x_75);
 x_81 = lean_box(0);
}
if (lean_is_scalar(x_81)) {
 x_82 = lean_alloc_ctor(1, 2, 0);
} else {
 x_82 = x_81;
}
lean_ctor_set(x_82, 0, x_79);
lean_ctor_set(x_82, 1, x_80);
return x_82;
}
}
}
block_63:
{
lean_object* x_21; 
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_2);
x_21 = l_Lean_Meta_isClass_x3f(x_2, x_6, x_7, x_8, x_9, x_20);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
x_23 = lean_ctor_get(x_21, 1);
lean_inc(x_23);
lean_dec(x_21);
x_24 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_2, x_6, x_7, x_8, x_9, x_23);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
lean_object* x_26; uint8_t x_27; lean_object* x_28; 
x_26 = lean_ctor_get(x_24, 0);
x_27 = l_Lean_Expr_isSort(x_26);
lean_dec(x_26);
x_28 = lean_box(0);
if (lean_obj_tag(x_22) == 0)
{
if (x_27 == 0)
{
lean_object* x_29; lean_object* x_30; 
x_29 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_29, 0, x_14);
lean_ctor_set(x_29, 1, x_13);
lean_ctor_set(x_29, 2, x_17);
lean_ctor_set(x_29, 3, x_19);
lean_ctor_set(x_29, 4, x_28);
lean_ctor_set(x_29, 5, x_28);
lean_ctor_set(x_29, 6, x_28);
lean_ctor_set(x_29, 7, x_28);
x_30 = lean_array_push(x_3, x_29);
lean_ctor_set(x_24, 0, x_30);
return x_24;
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_31 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1;
x_32 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_32, 0, x_14);
lean_ctor_set(x_32, 1, x_13);
lean_ctor_set(x_32, 2, x_17);
lean_ctor_set(x_32, 3, x_19);
lean_ctor_set(x_32, 4, x_28);
lean_ctor_set(x_32, 5, x_31);
lean_ctor_set(x_32, 6, x_28);
lean_ctor_set(x_32, 7, x_28);
x_33 = lean_array_push(x_3, x_32);
lean_ctor_set(x_24, 0, x_33);
return x_24;
}
}
else
{
lean_dec(x_22);
if (x_27 == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_34 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1;
x_35 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_35, 0, x_14);
lean_ctor_set(x_35, 1, x_13);
lean_ctor_set(x_35, 2, x_17);
lean_ctor_set(x_35, 3, x_19);
lean_ctor_set(x_35, 4, x_34);
lean_ctor_set(x_35, 5, x_28);
lean_ctor_set(x_35, 6, x_28);
lean_ctor_set(x_35, 7, x_28);
x_36 = lean_array_push(x_3, x_35);
lean_ctor_set(x_24, 0, x_36);
return x_24;
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_37 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1;
x_38 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_38, 0, x_14);
lean_ctor_set(x_38, 1, x_13);
lean_ctor_set(x_38, 2, x_17);
lean_ctor_set(x_38, 3, x_19);
lean_ctor_set(x_38, 4, x_37);
lean_ctor_set(x_38, 5, x_37);
lean_ctor_set(x_38, 6, x_28);
lean_ctor_set(x_38, 7, x_28);
x_39 = lean_array_push(x_3, x_38);
lean_ctor_set(x_24, 0, x_39);
return x_24;
}
}
}
else
{
lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; 
x_40 = lean_ctor_get(x_24, 0);
x_41 = lean_ctor_get(x_24, 1);
lean_inc(x_41);
lean_inc(x_40);
lean_dec(x_24);
x_42 = l_Lean_Expr_isSort(x_40);
lean_dec(x_40);
x_43 = lean_box(0);
if (lean_obj_tag(x_22) == 0)
{
if (x_42 == 0)
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_44 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_44, 0, x_14);
lean_ctor_set(x_44, 1, x_13);
lean_ctor_set(x_44, 2, x_17);
lean_ctor_set(x_44, 3, x_19);
lean_ctor_set(x_44, 4, x_43);
lean_ctor_set(x_44, 5, x_43);
lean_ctor_set(x_44, 6, x_43);
lean_ctor_set(x_44, 7, x_43);
x_45 = lean_array_push(x_3, x_44);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_41);
return x_46;
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_47 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1;
x_48 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_48, 0, x_14);
lean_ctor_set(x_48, 1, x_13);
lean_ctor_set(x_48, 2, x_17);
lean_ctor_set(x_48, 3, x_19);
lean_ctor_set(x_48, 4, x_43);
lean_ctor_set(x_48, 5, x_47);
lean_ctor_set(x_48, 6, x_43);
lean_ctor_set(x_48, 7, x_43);
x_49 = lean_array_push(x_3, x_48);
x_50 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_50, 0, x_49);
lean_ctor_set(x_50, 1, x_41);
return x_50;
}
}
else
{
lean_dec(x_22);
if (x_42 == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 
x_51 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1;
x_52 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_52, 0, x_14);
lean_ctor_set(x_52, 1, x_13);
lean_ctor_set(x_52, 2, x_17);
lean_ctor_set(x_52, 3, x_19);
lean_ctor_set(x_52, 4, x_51);
lean_ctor_set(x_52, 5, x_43);
lean_ctor_set(x_52, 6, x_43);
lean_ctor_set(x_52, 7, x_43);
x_53 = lean_array_push(x_3, x_52);
x_54 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_54, 1, x_41);
return x_54;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_55 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1;
x_56 = lean_alloc_ctor(0, 8, 0);
lean_ctor_set(x_56, 0, x_14);
lean_ctor_set(x_56, 1, x_13);
lean_ctor_set(x_56, 2, x_17);
lean_ctor_set(x_56, 3, x_19);
lean_ctor_set(x_56, 4, x_55);
lean_ctor_set(x_56, 5, x_55);
lean_ctor_set(x_56, 6, x_43);
lean_ctor_set(x_56, 7, x_43);
x_57 = lean_array_push(x_3, x_56);
x_58 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_41);
return x_58;
}
}
}
}
else
{
uint8_t x_59; 
lean_dec(x_19);
lean_dec(x_17);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_3);
lean_dec(x_2);
x_59 = !lean_is_exclusive(x_21);
if (x_59 == 0)
{
return x_21;
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; 
x_60 = lean_ctor_get(x_21, 0);
x_61 = lean_ctor_get(x_21, 1);
lean_inc(x_61);
lean_inc(x_60);
lean_dec(x_21);
x_62 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
return x_62;
}
}
}
}
else
{
uint8_t x_83; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_83 = !lean_is_exclusive(x_16);
if (x_83 == 0)
{
return x_16;
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; 
x_84 = lean_ctor_get(x_16, 0);
x_85 = lean_ctor_get(x_16, 1);
lean_inc(x_85);
lean_inc(x_84);
lean_dec(x_16);
x_86 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_86, 0, x_84);
lean_ctor_set(x_86, 1, x_85);
return x_86;
}
}
}
}
static lean_object* _init_l_Lean_Widget_addInteractiveHypothesisBundle___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Can only add a nonzero number of ids as an InteractiveHypothesisBundle.", 71, 71);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_addInteractiveHypothesisBundle___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_addInteractiveHypothesisBundle___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_10 = lean_array_get_size(x_2);
x_11 = lean_unsigned_to_nat(0u);
x_12 = lean_nat_dec_eq(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_box(0);
x_14 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1(x_2, x_3, x_1, x_4, x_13, x_5, x_6, x_7, x_8, x_9);
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; uint8_t x_17; 
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_15 = l_Lean_Widget_addInteractiveHypothesisBundle___closed__2;
x_16 = l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(x_15, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
return x_16;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
lean_inc(x_19);
lean_inc(x_18);
lean_dec(x_16);
x_20 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_20, 0, x_18);
lean_ctor_set(x_20, 1, x_19);
return x_20;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__1(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l_Array_mapMUnsafe_map___at_Lean_Widget_addInteractiveHypothesisBundle___spec__2(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_addInteractiveHypothesisBundle___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) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_5);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_6 = lean_ctor_get(x_1, 1);
lean_inc(x_6);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_8, 0, x_5);
lean_ctor_set(x_8, 1, x_7);
lean_ctor_set(x_8, 2, x_7);
x_9 = l_Lean_LocalContext_sanitizeNames(x_6, x_8);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_ctor_get(x_1, 4);
lean_inc(x_11);
lean_inc(x_10);
x_12 = lean_apply_2(x_2, x_10, x_1);
x_13 = l_Lean_Meta_withLCtx___rarg(x_3, x_4, lean_box(0), x_10, x_11, x_12);
return x_13;
}
}
static lean_object* _init_l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown goal ", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_MetavarContext_findDecl_x3f(x_8, x_1);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_10 = l_Lean_MessageData_ofName(x_1);
x_11 = l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2;
x_12 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_10);
x_13 = l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3;
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___rarg(x_2, x_3, x_14);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; 
lean_dec(x_3);
lean_dec(x_1);
x_16 = lean_ctor_get(x_9, 0);
lean_inc(x_16);
lean_dec(x_9);
x_17 = lean_alloc_closure((void*)(l_Lean_Widget_withGoalCtx___rarg___lambda__1), 5, 4);
lean_closure_set(x_17, 0, x_16);
lean_closure_set(x_17, 1, x_4);
lean_closure_set(x_17, 2, x_5);
lean_closure_set(x_17, 3, x_2);
x_18 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_7, x_17);
return x_18;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___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) {
_start:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_ctor_get(x_2, 1);
lean_inc(x_9);
x_10 = lean_ctor_get(x_5, 0);
lean_inc(x_10);
lean_dec(x_5);
lean_inc(x_9);
x_11 = lean_alloc_closure((void*)(l_Lean_Widget_withGoalCtx___rarg___lambda__2), 8, 7);
lean_closure_set(x_11, 0, x_7);
lean_closure_set(x_11, 1, x_2);
lean_closure_set(x_11, 2, x_3);
lean_closure_set(x_11, 3, x_8);
lean_closure_set(x_11, 4, x_1);
lean_closure_set(x_11, 5, x_9);
lean_closure_set(x_11, 6, x_4);
x_12 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_10, x_11);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_withGoalCtx___rarg), 8, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__3(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
uint8_t x_17; 
x_17 = lean_usize_dec_lt(x_10, x_9);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_11);
lean_ctor_set(x_18, 1, x_16);
return x_18;
}
else
{
lean_object* x_19; uint8_t x_20; 
x_19 = lean_array_uget(x_8, x_10);
x_20 = !lean_is_exclusive(x_11);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_11, 1);
x_22 = lean_ctor_get(x_11, 0);
lean_dec(x_22);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_21);
lean_inc(x_5);
lean_inc(x_4);
x_23 = l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_21, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_19);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; 
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
if (lean_obj_tag(x_24) == 0)
{
uint8_t x_25; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
x_25 = !lean_is_exclusive(x_23);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_ctor_get(x_23, 0);
lean_dec(x_26);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_24);
lean_ctor_set(x_11, 0, x_27);
lean_ctor_set(x_23, 0, x_11);
return x_23;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_23, 1);
lean_inc(x_28);
lean_dec(x_23);
x_29 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_29, 0, x_24);
lean_ctor_set(x_11, 0, x_29);
x_30 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_30, 0, x_11);
lean_ctor_set(x_30, 1, x_28);
return x_30;
}
}
else
{
lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; 
lean_dec(x_21);
x_31 = lean_ctor_get(x_23, 1);
lean_inc(x_31);
lean_dec(x_23);
x_32 = lean_ctor_get(x_24, 0);
lean_inc(x_32);
lean_dec(x_24);
lean_inc(x_7);
lean_ctor_set(x_11, 1, x_32);
lean_ctor_set(x_11, 0, x_7);
x_33 = 1;
x_34 = lean_usize_add(x_10, x_33);
x_10 = x_34;
x_16 = x_31;
goto _start;
}
}
else
{
uint8_t x_36; 
lean_free_object(x_11);
lean_dec(x_21);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
x_36 = !lean_is_exclusive(x_23);
if (x_36 == 0)
{
return x_23;
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_37 = lean_ctor_get(x_23, 0);
x_38 = lean_ctor_get(x_23, 1);
lean_inc(x_38);
lean_inc(x_37);
lean_dec(x_23);
x_39 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
return x_39;
}
}
}
else
{
lean_object* x_40; lean_object* x_41; 
x_40 = lean_ctor_get(x_11, 1);
lean_inc(x_40);
lean_dec(x_11);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_40);
lean_inc(x_5);
lean_inc(x_4);
x_41 = l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_40, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_19);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; 
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
x_43 = lean_ctor_get(x_41, 1);
lean_inc(x_43);
if (lean_is_exclusive(x_41)) {
 lean_ctor_release(x_41, 0);
 lean_ctor_release(x_41, 1);
 x_44 = x_41;
} else {
 lean_dec_ref(x_41);
 x_44 = lean_box(0);
}
x_45 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_45, 0, x_42);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_40);
if (lean_is_scalar(x_44)) {
 x_47 = lean_alloc_ctor(0, 2, 0);
} else {
 x_47 = x_44;
}
lean_ctor_set(x_47, 0, x_46);
lean_ctor_set(x_47, 1, x_43);
return x_47;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; 
lean_dec(x_40);
x_48 = lean_ctor_get(x_41, 1);
lean_inc(x_48);
lean_dec(x_41);
x_49 = lean_ctor_get(x_42, 0);
lean_inc(x_49);
lean_dec(x_42);
lean_inc(x_7);
x_50 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_50, 0, x_7);
lean_ctor_set(x_50, 1, x_49);
x_51 = 1;
x_52 = lean_usize_add(x_10, x_51);
x_10 = x_52;
x_11 = x_50;
x_16 = x_48;
goto _start;
}
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
lean_dec(x_40);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
x_54 = lean_ctor_get(x_41, 0);
lean_inc(x_54);
x_55 = lean_ctor_get(x_41, 1);
lean_inc(x_55);
if (lean_is_exclusive(x_41)) {
 lean_ctor_release(x_41, 0);
 lean_ctor_release(x_41, 1);
 x_56 = x_41;
} else {
 lean_dec_ref(x_41);
 x_56 = lean_box(0);
}
if (lean_is_scalar(x_56)) {
 x_57 = lean_alloc_ctor(1, 2, 0);
} else {
 x_57 = x_56;
}
lean_ctor_set(x_57, 0, x_54);
lean_ctor_set(x_57, 1, x_55);
return x_57;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_1);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_4);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_2);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_10);
return x_15;
}
}
static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_1);
lean_ctor_set(x_14, 1, x_2);
x_15 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_16 = lean_array_push(x_15, x_14);
x_17 = l_Lean_Widget_addInteractiveHypothesisBundle(x_5, x_16, x_3, x_8, x_9, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_17, 0);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_4);
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_22 = lean_ctor_get(x_17, 0);
x_23 = lean_ctor_get(x_17, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_17);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_4);
x_25 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_23);
return x_26;
}
}
else
{
uint8_t x_27; 
lean_dec(x_4);
x_27 = !lean_is_exclusive(x_17);
if (x_27 == 0)
{
return x_17;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_17, 0);
x_29 = lean_ctor_get(x_17, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_17);
x_30 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
return x_30;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
uint8_t x_16; 
x_16 = lean_usize_dec_lt(x_9, x_8);
if (x_16 == 0)
{
lean_object* x_17; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_10);
lean_ctor_set(x_17, 1, x_15);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_42; 
x_18 = lean_array_uget(x_7, x_9);
x_28 = lean_ctor_get(x_10, 1);
lean_inc(x_28);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 x_29 = x_10;
} else {
 lean_dec_ref(x_10);
 x_29 = lean_box(0);
}
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_50; 
lean_inc(x_28);
x_50 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_50, 0, x_28);
x_30 = x_50;
x_31 = x_15;
goto block_41;
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; 
x_51 = lean_ctor_get(x_28, 1);
lean_inc(x_51);
x_52 = lean_ctor_get(x_18, 0);
lean_inc(x_52);
if (lean_is_exclusive(x_18)) {
 lean_ctor_release(x_18, 0);
 x_53 = x_18;
} else {
 lean_dec_ref(x_18);
 x_53 = lean_box(0);
}
x_54 = lean_ctor_get(x_28, 0);
lean_inc(x_54);
x_55 = !lean_is_exclusive(x_51);
if (x_55 == 0)
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_56 = lean_ctor_get(x_51, 0);
x_57 = lean_ctor_get(x_51, 1);
if (x_1 == 0)
{
uint8_t x_168; 
x_168 = l_Lean_LocalDecl_isAuxDecl(x_52);
if (x_168 == 0)
{
if (x_2 == 0)
{
uint8_t x_169; 
x_169 = l_Lean_LocalDecl_isImplementationDetail(x_52);
if (x_169 == 0)
{
lean_object* x_170; 
lean_free_object(x_51);
x_170 = lean_box(0);
x_58 = x_170;
goto block_167;
}
else
{
lean_object* x_171; lean_object* x_172; lean_object* x_173; 
lean_dec(x_53);
lean_dec(x_52);
x_171 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_171, 0, x_54);
lean_ctor_set(x_171, 1, x_51);
x_172 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_172, 0, x_171);
x_173 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_173, 0, x_172);
lean_ctor_set(x_173, 1, x_15);
x_42 = x_173;
goto block_49;
}
}
else
{
lean_object* x_174; 
lean_free_object(x_51);
x_174 = lean_box(0);
x_58 = x_174;
goto block_167;
}
}
else
{
lean_object* x_175; lean_object* x_176; lean_object* x_177; 
lean_dec(x_53);
lean_dec(x_52);
x_175 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_175, 0, x_54);
lean_ctor_set(x_175, 1, x_51);
x_176 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_176, 0, x_175);
x_177 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_177, 0, x_176);
lean_ctor_set(x_177, 1, x_15);
x_42 = x_177;
goto block_49;
}
}
else
{
if (x_2 == 0)
{
uint8_t x_178; 
x_178 = l_Lean_LocalDecl_isImplementationDetail(x_52);
if (x_178 == 0)
{
lean_object* x_179; 
lean_free_object(x_51);
x_179 = lean_box(0);
x_58 = x_179;
goto block_167;
}
else
{
lean_object* x_180; lean_object* x_181; lean_object* x_182; 
lean_dec(x_53);
lean_dec(x_52);
x_180 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_180, 0, x_54);
lean_ctor_set(x_180, 1, x_51);
x_181 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_181, 0, x_180);
x_182 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_182, 0, x_181);
lean_ctor_set(x_182, 1, x_15);
x_42 = x_182;
goto block_49;
}
}
else
{
lean_object* x_183; 
lean_free_object(x_51);
x_183 = lean_box(0);
x_58 = x_183;
goto block_167;
}
}
block_167:
{
lean_dec(x_58);
if (lean_obj_tag(x_52) == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; 
x_59 = lean_ctor_get(x_52, 1);
lean_inc(x_59);
x_60 = lean_ctor_get(x_52, 2);
lean_inc(x_60);
x_61 = lean_ctor_get(x_52, 3);
lean_inc(x_61);
lean_dec(x_52);
x_62 = 1;
x_63 = l_Lean_Name_toString(x_60, x_62);
x_64 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_61, x_11, x_12, x_13, x_14, x_15);
x_65 = !lean_is_exclusive(x_64);
if (x_65 == 0)
{
lean_object* x_66; lean_object* x_67; uint8_t x_68; 
x_66 = lean_ctor_get(x_64, 0);
x_67 = lean_ctor_get(x_64, 1);
x_68 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_4);
if (x_68 == 0)
{
lean_object* x_69; uint8_t x_70; 
lean_inc(x_66);
if (lean_is_scalar(x_53)) {
 x_69 = lean_alloc_ctor(1, 1, 0);
} else {
 x_69 = x_53;
}
lean_ctor_set(x_69, 0, x_66);
x_70 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_69);
lean_dec(x_69);
if (x_70 == 0)
{
uint8_t x_71; 
x_71 = l_Array_isEmpty___rarg(x_57);
if (x_71 == 0)
{
if (lean_obj_tag(x_56) == 0)
{
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
lean_dec(x_57);
lean_ctor_set(x_64, 1, x_59);
lean_ctor_set(x_64, 0, x_63);
x_72 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_73 = lean_array_push(x_72, x_64);
x_74 = lean_box(0);
x_75 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_66, x_54, x_56, x_73, x_74, x_11, x_12, x_13, x_14, x_67);
x_42 = x_75;
goto block_49;
}
else
{
lean_object* x_76; lean_object* x_77; 
x_76 = lean_ctor_get(x_56, 0);
lean_inc(x_76);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
x_77 = l_Lean_Widget_addInteractiveHypothesisBundle(x_54, x_57, x_76, x_4, x_11, x_12, x_13, x_14, x_67);
if (lean_obj_tag(x_77) == 0)
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; 
x_78 = lean_ctor_get(x_77, 0);
lean_inc(x_78);
x_79 = lean_ctor_get(x_77, 1);
lean_inc(x_79);
lean_dec(x_77);
lean_ctor_set(x_64, 1, x_59);
lean_ctor_set(x_64, 0, x_63);
x_80 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_81 = lean_array_push(x_80, x_64);
x_82 = lean_box(0);
x_83 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_66, x_78, x_56, x_81, x_82, x_11, x_12, x_13, x_14, x_79);
lean_dec(x_56);
x_42 = x_83;
goto block_49;
}
else
{
uint8_t x_84; 
lean_free_object(x_64);
lean_dec(x_66);
lean_dec(x_63);
lean_dec(x_59);
lean_dec(x_56);
x_84 = !lean_is_exclusive(x_77);
if (x_84 == 0)
{
x_42 = x_77;
goto block_49;
}
else
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_85 = lean_ctor_get(x_77, 0);
x_86 = lean_ctor_get(x_77, 1);
lean_inc(x_86);
lean_inc(x_85);
lean_dec(x_77);
x_87 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_87, 0, x_85);
lean_ctor_set(x_87, 1, x_86);
x_42 = x_87;
goto block_49;
}
}
}
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 
lean_dec(x_57);
lean_ctor_set(x_64, 1, x_59);
lean_ctor_set(x_64, 0, x_63);
x_88 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_89 = lean_array_push(x_88, x_64);
x_90 = lean_box(0);
x_91 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_66, x_54, x_56, x_89, x_90, x_11, x_12, x_13, x_14, x_67);
lean_dec(x_56);
x_42 = x_91;
goto block_49;
}
}
else
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; 
lean_ctor_set(x_64, 1, x_59);
lean_ctor_set(x_64, 0, x_63);
x_92 = lean_array_push(x_57, x_64);
x_93 = lean_box(0);
x_94 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_66, x_54, x_56, x_92, x_93, x_11, x_12, x_13, x_14, x_67);
lean_dec(x_56);
x_42 = x_94;
goto block_49;
}
}
else
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; 
lean_dec(x_53);
lean_ctor_set(x_64, 1, x_59);
lean_ctor_set(x_64, 0, x_63);
x_95 = lean_array_push(x_57, x_64);
x_96 = lean_box(0);
x_97 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_66, x_54, x_56, x_95, x_96, x_11, x_12, x_13, x_14, x_67);
lean_dec(x_56);
x_42 = x_97;
goto block_49;
}
}
else
{
lean_object* x_98; lean_object* x_99; uint8_t x_100; 
x_98 = lean_ctor_get(x_64, 0);
x_99 = lean_ctor_get(x_64, 1);
lean_inc(x_99);
lean_inc(x_98);
lean_dec(x_64);
x_100 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_4);
if (x_100 == 0)
{
lean_object* x_101; uint8_t x_102; 
lean_inc(x_98);
if (lean_is_scalar(x_53)) {
 x_101 = lean_alloc_ctor(1, 1, 0);
} else {
 x_101 = x_53;
}
lean_ctor_set(x_101, 0, x_98);
x_102 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_101);
lean_dec(x_101);
if (x_102 == 0)
{
uint8_t x_103; 
x_103 = l_Array_isEmpty___rarg(x_57);
if (x_103 == 0)
{
if (lean_obj_tag(x_56) == 0)
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 
lean_dec(x_57);
x_104 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_104, 0, x_63);
lean_ctor_set(x_104, 1, x_59);
x_105 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_106 = lean_array_push(x_105, x_104);
x_107 = lean_box(0);
x_108 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_98, x_54, x_56, x_106, x_107, x_11, x_12, x_13, x_14, x_99);
x_42 = x_108;
goto block_49;
}
else
{
lean_object* x_109; lean_object* x_110; 
x_109 = lean_ctor_get(x_56, 0);
lean_inc(x_109);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
x_110 = l_Lean_Widget_addInteractiveHypothesisBundle(x_54, x_57, x_109, x_4, x_11, x_12, x_13, x_14, x_99);
if (lean_obj_tag(x_110) == 0)
{
lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; 
x_111 = lean_ctor_get(x_110, 0);
lean_inc(x_111);
x_112 = lean_ctor_get(x_110, 1);
lean_inc(x_112);
lean_dec(x_110);
x_113 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_113, 0, x_63);
lean_ctor_set(x_113, 1, x_59);
x_114 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_115 = lean_array_push(x_114, x_113);
x_116 = lean_box(0);
x_117 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_98, x_111, x_56, x_115, x_116, x_11, x_12, x_13, x_14, x_112);
lean_dec(x_56);
x_42 = x_117;
goto block_49;
}
else
{
lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; 
lean_dec(x_98);
lean_dec(x_63);
lean_dec(x_59);
lean_dec(x_56);
x_118 = lean_ctor_get(x_110, 0);
lean_inc(x_118);
x_119 = lean_ctor_get(x_110, 1);
lean_inc(x_119);
if (lean_is_exclusive(x_110)) {
 lean_ctor_release(x_110, 0);
 lean_ctor_release(x_110, 1);
 x_120 = x_110;
} else {
 lean_dec_ref(x_110);
 x_120 = lean_box(0);
}
if (lean_is_scalar(x_120)) {
 x_121 = lean_alloc_ctor(1, 2, 0);
} else {
 x_121 = x_120;
}
lean_ctor_set(x_121, 0, x_118);
lean_ctor_set(x_121, 1, x_119);
x_42 = x_121;
goto block_49;
}
}
}
else
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 
lean_dec(x_57);
x_122 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_122, 0, x_63);
lean_ctor_set(x_122, 1, x_59);
x_123 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_124 = lean_array_push(x_123, x_122);
x_125 = lean_box(0);
x_126 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_98, x_54, x_56, x_124, x_125, x_11, x_12, x_13, x_14, x_99);
lean_dec(x_56);
x_42 = x_126;
goto block_49;
}
}
else
{
lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; 
x_127 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_127, 0, x_63);
lean_ctor_set(x_127, 1, x_59);
x_128 = lean_array_push(x_57, x_127);
x_129 = lean_box(0);
x_130 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_98, x_54, x_56, x_128, x_129, x_11, x_12, x_13, x_14, x_99);
lean_dec(x_56);
x_42 = x_130;
goto block_49;
}
}
else
{
lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 
lean_dec(x_53);
x_131 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_131, 0, x_63);
lean_ctor_set(x_131, 1, x_59);
x_132 = lean_array_push(x_57, x_131);
x_133 = lean_box(0);
x_134 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_98, x_54, x_56, x_132, x_133, x_11, x_12, x_13, x_14, x_99);
lean_dec(x_56);
x_42 = x_134;
goto block_49;
}
}
}
else
{
lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_155; uint8_t x_156; 
x_135 = lean_ctor_get(x_52, 1);
lean_inc(x_135);
x_136 = lean_ctor_get(x_52, 2);
lean_inc(x_136);
x_137 = lean_ctor_get(x_52, 3);
lean_inc(x_137);
x_138 = lean_ctor_get(x_52, 4);
lean_inc(x_138);
lean_dec(x_52);
x_139 = 1;
x_140 = l_Lean_Name_toString(x_136, x_139);
x_155 = l_Array_isEmpty___rarg(x_57);
if (x_155 == 0)
{
uint8_t x_166; 
x_166 = 0;
x_156 = x_166;
goto block_165;
}
else
{
x_156 = x_139;
goto block_165;
}
block_154:
{
lean_object* x_143; 
x_143 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_137, x_11, x_12, x_13, x_14, x_142);
if (x_3 == 0)
{
lean_object* x_144; lean_object* x_145; lean_object* x_146; 
lean_dec(x_138);
lean_dec(x_53);
x_144 = lean_ctor_get(x_143, 0);
lean_inc(x_144);
x_145 = lean_ctor_get(x_143, 1);
lean_inc(x_145);
lean_dec(x_143);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_5);
x_146 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_140, x_135, x_144, x_5, x_141, x_56, x_57, x_4, x_11, x_12, x_13, x_14, x_145);
lean_dec(x_57);
lean_dec(x_56);
x_42 = x_146;
goto block_49;
}
else
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; 
x_147 = lean_ctor_get(x_143, 0);
lean_inc(x_147);
x_148 = lean_ctor_get(x_143, 1);
lean_inc(x_148);
lean_dec(x_143);
x_149 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_138, x_11, x_12, x_13, x_14, x_148);
x_150 = lean_ctor_get(x_149, 0);
lean_inc(x_150);
x_151 = lean_ctor_get(x_149, 1);
lean_inc(x_151);
lean_dec(x_149);
if (lean_is_scalar(x_53)) {
 x_152 = lean_alloc_ctor(1, 1, 0);
} else {
 x_152 = x_53;
}
lean_ctor_set(x_152, 0, x_150);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_5);
x_153 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_140, x_135, x_147, x_5, x_141, x_56, x_57, x_152, x_11, x_12, x_13, x_14, x_151);
lean_dec(x_57);
lean_dec(x_56);
x_42 = x_153;
goto block_49;
}
}
block_165:
{
if (x_156 == 0)
{
if (lean_obj_tag(x_56) == 0)
{
x_141 = x_54;
x_142 = x_15;
goto block_154;
}
else
{
lean_object* x_157; lean_object* x_158; 
x_157 = lean_ctor_get(x_56, 0);
lean_inc(x_157);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_57);
x_158 = l_Lean_Widget_addInteractiveHypothesisBundle(x_54, x_57, x_157, x_4, x_11, x_12, x_13, x_14, x_15);
if (lean_obj_tag(x_158) == 0)
{
lean_object* x_159; lean_object* x_160; 
x_159 = lean_ctor_get(x_158, 0);
lean_inc(x_159);
x_160 = lean_ctor_get(x_158, 1);
lean_inc(x_160);
lean_dec(x_158);
x_141 = x_159;
x_142 = x_160;
goto block_154;
}
else
{
uint8_t x_161; 
lean_dec(x_140);
lean_dec(x_138);
lean_dec(x_137);
lean_dec(x_135);
lean_dec(x_57);
lean_dec(x_56);
lean_dec(x_53);
x_161 = !lean_is_exclusive(x_158);
if (x_161 == 0)
{
x_42 = x_158;
goto block_49;
}
else
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; 
x_162 = lean_ctor_get(x_158, 0);
x_163 = lean_ctor_get(x_158, 1);
lean_inc(x_163);
lean_inc(x_162);
lean_dec(x_158);
x_164 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_164, 0, x_162);
lean_ctor_set(x_164, 1, x_163);
x_42 = x_164;
goto block_49;
}
}
}
}
else
{
x_141 = x_54;
x_142 = x_15;
goto block_154;
}
}
}
}
}
else
{
lean_object* x_184; lean_object* x_185; lean_object* x_186; 
x_184 = lean_ctor_get(x_51, 0);
x_185 = lean_ctor_get(x_51, 1);
lean_inc(x_185);
lean_inc(x_184);
lean_dec(x_51);
if (x_1 == 0)
{
uint8_t x_264; 
x_264 = l_Lean_LocalDecl_isAuxDecl(x_52);
if (x_264 == 0)
{
if (x_2 == 0)
{
uint8_t x_265; 
x_265 = l_Lean_LocalDecl_isImplementationDetail(x_52);
if (x_265 == 0)
{
lean_object* x_266; 
x_266 = lean_box(0);
x_186 = x_266;
goto block_263;
}
else
{
lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; 
lean_dec(x_53);
lean_dec(x_52);
x_267 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_267, 0, x_184);
lean_ctor_set(x_267, 1, x_185);
x_268 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_268, 0, x_54);
lean_ctor_set(x_268, 1, x_267);
x_269 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_269, 0, x_268);
x_270 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_270, 0, x_269);
lean_ctor_set(x_270, 1, x_15);
x_42 = x_270;
goto block_49;
}
}
else
{
lean_object* x_271; 
x_271 = lean_box(0);
x_186 = x_271;
goto block_263;
}
}
else
{
lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; 
lean_dec(x_53);
lean_dec(x_52);
x_272 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_272, 0, x_184);
lean_ctor_set(x_272, 1, x_185);
x_273 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_273, 0, x_54);
lean_ctor_set(x_273, 1, x_272);
x_274 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_274, 0, x_273);
x_275 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_275, 0, x_274);
lean_ctor_set(x_275, 1, x_15);
x_42 = x_275;
goto block_49;
}
}
else
{
if (x_2 == 0)
{
uint8_t x_276; 
x_276 = l_Lean_LocalDecl_isImplementationDetail(x_52);
if (x_276 == 0)
{
lean_object* x_277; 
x_277 = lean_box(0);
x_186 = x_277;
goto block_263;
}
else
{
lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; 
lean_dec(x_53);
lean_dec(x_52);
x_278 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_278, 0, x_184);
lean_ctor_set(x_278, 1, x_185);
x_279 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_279, 0, x_54);
lean_ctor_set(x_279, 1, x_278);
x_280 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_280, 0, x_279);
x_281 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_281, 0, x_280);
lean_ctor_set(x_281, 1, x_15);
x_42 = x_281;
goto block_49;
}
}
else
{
lean_object* x_282; 
x_282 = lean_box(0);
x_186 = x_282;
goto block_263;
}
}
block_263:
{
lean_dec(x_186);
if (lean_obj_tag(x_52) == 0)
{
lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; 
x_187 = lean_ctor_get(x_52, 1);
lean_inc(x_187);
x_188 = lean_ctor_get(x_52, 2);
lean_inc(x_188);
x_189 = lean_ctor_get(x_52, 3);
lean_inc(x_189);
lean_dec(x_52);
x_190 = 1;
x_191 = l_Lean_Name_toString(x_188, x_190);
x_192 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_189, x_11, x_12, x_13, x_14, x_15);
x_193 = lean_ctor_get(x_192, 0);
lean_inc(x_193);
x_194 = lean_ctor_get(x_192, 1);
lean_inc(x_194);
if (lean_is_exclusive(x_192)) {
 lean_ctor_release(x_192, 0);
 lean_ctor_release(x_192, 1);
 x_195 = x_192;
} else {
 lean_dec_ref(x_192);
 x_195 = lean_box(0);
}
x_196 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_184, x_4);
if (x_196 == 0)
{
lean_object* x_197; uint8_t x_198; 
lean_inc(x_193);
if (lean_is_scalar(x_53)) {
 x_197 = lean_alloc_ctor(1, 1, 0);
} else {
 x_197 = x_53;
}
lean_ctor_set(x_197, 0, x_193);
x_198 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_184, x_197);
lean_dec(x_197);
if (x_198 == 0)
{
uint8_t x_199; 
x_199 = l_Array_isEmpty___rarg(x_185);
if (x_199 == 0)
{
if (lean_obj_tag(x_184) == 0)
{
lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; 
lean_dec(x_185);
if (lean_is_scalar(x_195)) {
 x_200 = lean_alloc_ctor(0, 2, 0);
} else {
 x_200 = x_195;
}
lean_ctor_set(x_200, 0, x_191);
lean_ctor_set(x_200, 1, x_187);
x_201 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_202 = lean_array_push(x_201, x_200);
x_203 = lean_box(0);
x_204 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_193, x_54, x_184, x_202, x_203, x_11, x_12, x_13, x_14, x_194);
x_42 = x_204;
goto block_49;
}
else
{
lean_object* x_205; lean_object* x_206; 
x_205 = lean_ctor_get(x_184, 0);
lean_inc(x_205);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
x_206 = l_Lean_Widget_addInteractiveHypothesisBundle(x_54, x_185, x_205, x_4, x_11, x_12, x_13, x_14, x_194);
if (lean_obj_tag(x_206) == 0)
{
lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; 
x_207 = lean_ctor_get(x_206, 0);
lean_inc(x_207);
x_208 = lean_ctor_get(x_206, 1);
lean_inc(x_208);
lean_dec(x_206);
if (lean_is_scalar(x_195)) {
 x_209 = lean_alloc_ctor(0, 2, 0);
} else {
 x_209 = x_195;
}
lean_ctor_set(x_209, 0, x_191);
lean_ctor_set(x_209, 1, x_187);
x_210 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_211 = lean_array_push(x_210, x_209);
x_212 = lean_box(0);
x_213 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_193, x_207, x_184, x_211, x_212, x_11, x_12, x_13, x_14, x_208);
lean_dec(x_184);
x_42 = x_213;
goto block_49;
}
else
{
lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; 
lean_dec(x_195);
lean_dec(x_193);
lean_dec(x_191);
lean_dec(x_187);
lean_dec(x_184);
x_214 = lean_ctor_get(x_206, 0);
lean_inc(x_214);
x_215 = lean_ctor_get(x_206, 1);
lean_inc(x_215);
if (lean_is_exclusive(x_206)) {
 lean_ctor_release(x_206, 0);
 lean_ctor_release(x_206, 1);
 x_216 = x_206;
} else {
 lean_dec_ref(x_206);
 x_216 = lean_box(0);
}
if (lean_is_scalar(x_216)) {
 x_217 = lean_alloc_ctor(1, 2, 0);
} else {
 x_217 = x_216;
}
lean_ctor_set(x_217, 0, x_214);
lean_ctor_set(x_217, 1, x_215);
x_42 = x_217;
goto block_49;
}
}
}
else
{
lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; 
lean_dec(x_185);
if (lean_is_scalar(x_195)) {
 x_218 = lean_alloc_ctor(0, 2, 0);
} else {
 x_218 = x_195;
}
lean_ctor_set(x_218, 0, x_191);
lean_ctor_set(x_218, 1, x_187);
x_219 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_220 = lean_array_push(x_219, x_218);
x_221 = lean_box(0);
x_222 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_193, x_54, x_184, x_220, x_221, x_11, x_12, x_13, x_14, x_194);
lean_dec(x_184);
x_42 = x_222;
goto block_49;
}
}
else
{
lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; 
if (lean_is_scalar(x_195)) {
 x_223 = lean_alloc_ctor(0, 2, 0);
} else {
 x_223 = x_195;
}
lean_ctor_set(x_223, 0, x_191);
lean_ctor_set(x_223, 1, x_187);
x_224 = lean_array_push(x_185, x_223);
x_225 = lean_box(0);
x_226 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_193, x_54, x_184, x_224, x_225, x_11, x_12, x_13, x_14, x_194);
lean_dec(x_184);
x_42 = x_226;
goto block_49;
}
}
else
{
lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; 
lean_dec(x_53);
if (lean_is_scalar(x_195)) {
 x_227 = lean_alloc_ctor(0, 2, 0);
} else {
 x_227 = x_195;
}
lean_ctor_set(x_227, 0, x_191);
lean_ctor_set(x_227, 1, x_187);
x_228 = lean_array_push(x_185, x_227);
x_229 = lean_box(0);
x_230 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_193, x_54, x_184, x_228, x_229, x_11, x_12, x_13, x_14, x_194);
lean_dec(x_184);
x_42 = x_230;
goto block_49;
}
}
else
{
lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_251; uint8_t x_252; 
x_231 = lean_ctor_get(x_52, 1);
lean_inc(x_231);
x_232 = lean_ctor_get(x_52, 2);
lean_inc(x_232);
x_233 = lean_ctor_get(x_52, 3);
lean_inc(x_233);
x_234 = lean_ctor_get(x_52, 4);
lean_inc(x_234);
lean_dec(x_52);
x_235 = 1;
x_236 = l_Lean_Name_toString(x_232, x_235);
x_251 = l_Array_isEmpty___rarg(x_185);
if (x_251 == 0)
{
uint8_t x_262; 
x_262 = 0;
x_252 = x_262;
goto block_261;
}
else
{
x_252 = x_235;
goto block_261;
}
block_250:
{
lean_object* x_239; 
x_239 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_233, x_11, x_12, x_13, x_14, x_238);
if (x_3 == 0)
{
lean_object* x_240; lean_object* x_241; lean_object* x_242; 
lean_dec(x_234);
lean_dec(x_53);
x_240 = lean_ctor_get(x_239, 0);
lean_inc(x_240);
x_241 = lean_ctor_get(x_239, 1);
lean_inc(x_241);
lean_dec(x_239);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_5);
x_242 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_236, x_231, x_240, x_5, x_237, x_184, x_185, x_4, x_11, x_12, x_13, x_14, x_241);
lean_dec(x_185);
lean_dec(x_184);
x_42 = x_242;
goto block_49;
}
else
{
lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; 
x_243 = lean_ctor_get(x_239, 0);
lean_inc(x_243);
x_244 = lean_ctor_get(x_239, 1);
lean_inc(x_244);
lean_dec(x_239);
x_245 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_234, x_11, x_12, x_13, x_14, x_244);
x_246 = lean_ctor_get(x_245, 0);
lean_inc(x_246);
x_247 = lean_ctor_get(x_245, 1);
lean_inc(x_247);
lean_dec(x_245);
if (lean_is_scalar(x_53)) {
 x_248 = lean_alloc_ctor(1, 1, 0);
} else {
 x_248 = x_53;
}
lean_ctor_set(x_248, 0, x_246);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_5);
x_249 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_236, x_231, x_243, x_5, x_237, x_184, x_185, x_248, x_11, x_12, x_13, x_14, x_247);
lean_dec(x_185);
lean_dec(x_184);
x_42 = x_249;
goto block_49;
}
}
block_261:
{
if (x_252 == 0)
{
if (lean_obj_tag(x_184) == 0)
{
x_237 = x_54;
x_238 = x_15;
goto block_250;
}
else
{
lean_object* x_253; lean_object* x_254; 
x_253 = lean_ctor_get(x_184, 0);
lean_inc(x_253);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_185);
x_254 = l_Lean_Widget_addInteractiveHypothesisBundle(x_54, x_185, x_253, x_4, x_11, x_12, x_13, x_14, x_15);
if (lean_obj_tag(x_254) == 0)
{
lean_object* x_255; lean_object* x_256; 
x_255 = lean_ctor_get(x_254, 0);
lean_inc(x_255);
x_256 = lean_ctor_get(x_254, 1);
lean_inc(x_256);
lean_dec(x_254);
x_237 = x_255;
x_238 = x_256;
goto block_250;
}
else
{
lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; 
lean_dec(x_236);
lean_dec(x_234);
lean_dec(x_233);
lean_dec(x_231);
lean_dec(x_185);
lean_dec(x_184);
lean_dec(x_53);
x_257 = lean_ctor_get(x_254, 0);
lean_inc(x_257);
x_258 = lean_ctor_get(x_254, 1);
lean_inc(x_258);
if (lean_is_exclusive(x_254)) {
 lean_ctor_release(x_254, 0);
 lean_ctor_release(x_254, 1);
 x_259 = x_254;
} else {
 lean_dec_ref(x_254);
 x_259 = lean_box(0);
}
if (lean_is_scalar(x_259)) {
 x_260 = lean_alloc_ctor(1, 2, 0);
} else {
 x_260 = x_259;
}
lean_ctor_set(x_260, 0, x_257);
lean_ctor_set(x_260, 1, x_258);
x_42 = x_260;
goto block_49;
}
}
}
else
{
x_237 = x_54;
x_238 = x_15;
goto block_250;
}
}
}
}
}
}
block_27:
{
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_21; lean_object* x_22; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_21 = lean_ctor_get(x_19, 0);
lean_inc(x_21);
lean_dec(x_19);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
return x_22;
}
else
{
lean_object* x_23; size_t x_24; size_t x_25; 
x_23 = lean_ctor_get(x_19, 0);
lean_inc(x_23);
lean_dec(x_19);
x_24 = 1;
x_25 = lean_usize_add(x_9, x_24);
x_9 = x_25;
x_10 = x_23;
x_15 = x_20;
goto _start;
}
}
block_41:
{
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_30);
if (lean_is_scalar(x_29)) {
 x_33 = lean_alloc_ctor(0, 2, 0);
} else {
 x_33 = x_29;
}
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_28);
x_34 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_19 = x_34;
x_20 = x_31;
goto block_27;
}
else
{
uint8_t x_35; 
lean_dec(x_28);
x_35 = !lean_is_exclusive(x_30);
if (x_35 == 0)
{
lean_object* x_36; lean_object* x_37; 
x_36 = lean_ctor_get(x_30, 0);
lean_inc(x_6);
if (lean_is_scalar(x_29)) {
 x_37 = lean_alloc_ctor(0, 2, 0);
} else {
 x_37 = x_29;
}
lean_ctor_set(x_37, 0, x_6);
lean_ctor_set(x_37, 1, x_36);
lean_ctor_set(x_30, 0, x_37);
x_19 = x_30;
x_20 = x_31;
goto block_27;
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_38 = lean_ctor_get(x_30, 0);
lean_inc(x_38);
lean_dec(x_30);
lean_inc(x_6);
if (lean_is_scalar(x_29)) {
 x_39 = lean_alloc_ctor(0, 2, 0);
} else {
 x_39 = x_29;
}
lean_ctor_set(x_39, 0, x_6);
lean_ctor_set(x_39, 1, x_38);
x_40 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_40, 0, x_39);
x_19 = x_40;
x_20 = x_31;
goto block_27;
}
}
}
block_49:
{
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; lean_object* x_44; 
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
x_44 = lean_ctor_get(x_42, 1);
lean_inc(x_44);
lean_dec(x_42);
x_30 = x_43;
x_31 = x_44;
goto block_41;
}
else
{
uint8_t x_45; 
lean_dec(x_29);
lean_dec(x_28);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_45 = !lean_is_exclusive(x_42);
if (x_45 == 0)
{
return x_42;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_46 = lean_ctor_get(x_42, 0);
x_47 = lean_ctor_get(x_42, 1);
lean_inc(x_47);
lean_inc(x_46);
lean_dec(x_42);
x_48 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
return x_48;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_1);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_14 = lean_ctor_get(x_7, 0);
x_15 = lean_box(0);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_8);
x_17 = lean_array_size(x_14);
x_18 = 0;
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
x_19 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_14, x_17, x_18, x_16, x_9, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_22 = lean_ctor_get(x_19, 1);
lean_inc(x_22);
lean_dec(x_19);
x_23 = lean_ctor_get(x_20, 1);
lean_inc(x_23);
lean_dec(x_20);
x_24 = lean_box(0);
x_25 = l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___lambda__1(x_23, x_24, x_9, x_10, x_11, x_12, x_22);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
return x_25;
}
else
{
uint8_t x_26; 
lean_dec(x_20);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
x_26 = !lean_is_exclusive(x_19);
if (x_26 == 0)
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_19, 0);
lean_dec(x_27);
x_28 = lean_ctor_get(x_21, 0);
lean_inc(x_28);
lean_dec(x_21);
lean_ctor_set(x_19, 0, x_28);
return x_19;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_19, 1);
lean_inc(x_29);
lean_dec(x_19);
x_30 = lean_ctor_get(x_21, 0);
lean_inc(x_30);
lean_dec(x_21);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_29);
return x_31;
}
}
}
else
{
uint8_t x_32; 
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
x_32 = !lean_is_exclusive(x_19);
if (x_32 == 0)
{
return x_19;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_19, 0);
x_34 = lean_ctor_get(x_19, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_19);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
return x_35;
}
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; 
x_36 = lean_ctor_get(x_7, 0);
x_37 = lean_box(0);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_8);
x_39 = lean_array_size(x_36);
x_40 = 0;
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
x_41 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4(x_1, x_2, x_3, x_4, x_5, x_37, x_36, x_39, x_40, x_38, x_9, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; lean_object* x_43; 
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
if (lean_obj_tag(x_43) == 0)
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_44 = lean_ctor_get(x_41, 1);
lean_inc(x_44);
lean_dec(x_41);
x_45 = lean_ctor_get(x_42, 1);
lean_inc(x_45);
lean_dec(x_42);
x_46 = lean_box(0);
x_47 = l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___lambda__1(x_45, x_46, x_9, x_10, x_11, x_12, x_44);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
return x_47;
}
else
{
uint8_t x_48; 
lean_dec(x_42);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
x_48 = !lean_is_exclusive(x_41);
if (x_48 == 0)
{
lean_object* x_49; lean_object* x_50; 
x_49 = lean_ctor_get(x_41, 0);
lean_dec(x_49);
x_50 = lean_ctor_get(x_43, 0);
lean_inc(x_50);
lean_dec(x_43);
lean_ctor_set(x_41, 0, x_50);
return x_41;
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_51 = lean_ctor_get(x_41, 1);
lean_inc(x_51);
lean_dec(x_41);
x_52 = lean_ctor_get(x_43, 0);
lean_inc(x_52);
lean_dec(x_43);
x_53 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_53, 1, x_51);
return x_53;
}
}
}
else
{
uint8_t x_54; 
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
x_54 = !lean_is_exclusive(x_41);
if (x_54 == 0)
{
return x_41;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_55 = lean_ctor_get(x_41, 0);
x_56 = lean_ctor_get(x_41, 1);
lean_inc(x_56);
lean_inc(x_55);
lean_dec(x_41);
x_57 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_56);
return x_57;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
uint8_t x_16; 
x_16 = lean_usize_dec_lt(x_9, x_8);
if (x_16 == 0)
{
lean_object* x_17; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_10);
lean_ctor_set(x_17, 1, x_15);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_47; 
x_18 = lean_array_uget(x_7, x_9);
x_28 = lean_ctor_get(x_10, 1);
lean_inc(x_28);
if (lean_is_exclusive(x_10)) {
 lean_ctor_release(x_10, 0);
 lean_ctor_release(x_10, 1);
 x_29 = x_10;
} else {
 lean_dec_ref(x_10);
 x_29 = lean_box(0);
}
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_55; 
lean_inc(x_28);
x_55 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_55, 0, x_28);
x_30 = x_55;
x_31 = x_15;
goto block_46;
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; 
x_56 = lean_ctor_get(x_28, 1);
lean_inc(x_56);
x_57 = lean_ctor_get(x_18, 0);
lean_inc(x_57);
if (lean_is_exclusive(x_18)) {
 lean_ctor_release(x_18, 0);
 x_58 = x_18;
} else {
 lean_dec_ref(x_18);
 x_58 = lean_box(0);
}
x_59 = lean_ctor_get(x_28, 0);
lean_inc(x_59);
x_60 = !lean_is_exclusive(x_56);
if (x_60 == 0)
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_61 = lean_ctor_get(x_56, 0);
x_62 = lean_ctor_get(x_56, 1);
if (x_1 == 0)
{
uint8_t x_173; 
x_173 = l_Lean_LocalDecl_isAuxDecl(x_57);
if (x_173 == 0)
{
if (x_2 == 0)
{
uint8_t x_174; 
x_174 = l_Lean_LocalDecl_isImplementationDetail(x_57);
if (x_174 == 0)
{
lean_object* x_175; 
lean_free_object(x_56);
x_175 = lean_box(0);
x_63 = x_175;
goto block_172;
}
else
{
lean_object* x_176; lean_object* x_177; lean_object* x_178; 
lean_dec(x_58);
lean_dec(x_57);
x_176 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_176, 0, x_59);
lean_ctor_set(x_176, 1, x_56);
x_177 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_177, 0, x_176);
x_178 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_178, 0, x_177);
lean_ctor_set(x_178, 1, x_15);
x_47 = x_178;
goto block_54;
}
}
else
{
lean_object* x_179; 
lean_free_object(x_56);
x_179 = lean_box(0);
x_63 = x_179;
goto block_172;
}
}
else
{
lean_object* x_180; lean_object* x_181; lean_object* x_182; 
lean_dec(x_58);
lean_dec(x_57);
x_180 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_180, 0, x_59);
lean_ctor_set(x_180, 1, x_56);
x_181 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_181, 0, x_180);
x_182 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_182, 0, x_181);
lean_ctor_set(x_182, 1, x_15);
x_47 = x_182;
goto block_54;
}
}
else
{
if (x_2 == 0)
{
uint8_t x_183; 
x_183 = l_Lean_LocalDecl_isImplementationDetail(x_57);
if (x_183 == 0)
{
lean_object* x_184; 
lean_free_object(x_56);
x_184 = lean_box(0);
x_63 = x_184;
goto block_172;
}
else
{
lean_object* x_185; lean_object* x_186; lean_object* x_187; 
lean_dec(x_58);
lean_dec(x_57);
x_185 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_185, 0, x_59);
lean_ctor_set(x_185, 1, x_56);
x_186 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_186, 0, x_185);
x_187 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_187, 0, x_186);
lean_ctor_set(x_187, 1, x_15);
x_47 = x_187;
goto block_54;
}
}
else
{
lean_object* x_188; 
lean_free_object(x_56);
x_188 = lean_box(0);
x_63 = x_188;
goto block_172;
}
}
block_172:
{
lean_dec(x_63);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; 
x_64 = lean_ctor_get(x_57, 1);
lean_inc(x_64);
x_65 = lean_ctor_get(x_57, 2);
lean_inc(x_65);
x_66 = lean_ctor_get(x_57, 3);
lean_inc(x_66);
lean_dec(x_57);
x_67 = 1;
x_68 = l_Lean_Name_toString(x_65, x_67);
x_69 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_66, x_11, x_12, x_13, x_14, x_15);
x_70 = !lean_is_exclusive(x_69);
if (x_70 == 0)
{
lean_object* x_71; lean_object* x_72; uint8_t x_73; 
x_71 = lean_ctor_get(x_69, 0);
x_72 = lean_ctor_get(x_69, 1);
x_73 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_4);
if (x_73 == 0)
{
lean_object* x_74; uint8_t x_75; 
lean_inc(x_71);
if (lean_is_scalar(x_58)) {
 x_74 = lean_alloc_ctor(1, 1, 0);
} else {
 x_74 = x_58;
}
lean_ctor_set(x_74, 0, x_71);
x_75 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_74);
lean_dec(x_74);
if (x_75 == 0)
{
uint8_t x_76; 
x_76 = l_Array_isEmpty___rarg(x_62);
if (x_76 == 0)
{
if (lean_obj_tag(x_61) == 0)
{
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 
lean_dec(x_62);
lean_ctor_set(x_69, 1, x_64);
lean_ctor_set(x_69, 0, x_68);
x_77 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_78 = lean_array_push(x_77, x_69);
x_79 = lean_box(0);
x_80 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_71, x_59, x_61, x_78, x_79, x_11, x_12, x_13, x_14, x_72);
x_47 = x_80;
goto block_54;
}
else
{
lean_object* x_81; lean_object* x_82; 
x_81 = lean_ctor_get(x_61, 0);
lean_inc(x_81);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
x_82 = l_Lean_Widget_addInteractiveHypothesisBundle(x_59, x_62, x_81, x_4, x_11, x_12, x_13, x_14, x_72);
if (lean_obj_tag(x_82) == 0)
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; 
x_83 = lean_ctor_get(x_82, 0);
lean_inc(x_83);
x_84 = lean_ctor_get(x_82, 1);
lean_inc(x_84);
lean_dec(x_82);
lean_ctor_set(x_69, 1, x_64);
lean_ctor_set(x_69, 0, x_68);
x_85 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_86 = lean_array_push(x_85, x_69);
x_87 = lean_box(0);
x_88 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_71, x_83, x_61, x_86, x_87, x_11, x_12, x_13, x_14, x_84);
lean_dec(x_61);
x_47 = x_88;
goto block_54;
}
else
{
uint8_t x_89; 
lean_free_object(x_69);
lean_dec(x_71);
lean_dec(x_68);
lean_dec(x_64);
lean_dec(x_61);
x_89 = !lean_is_exclusive(x_82);
if (x_89 == 0)
{
x_47 = x_82;
goto block_54;
}
else
{
lean_object* x_90; lean_object* x_91; lean_object* x_92; 
x_90 = lean_ctor_get(x_82, 0);
x_91 = lean_ctor_get(x_82, 1);
lean_inc(x_91);
lean_inc(x_90);
lean_dec(x_82);
x_92 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_92, 0, x_90);
lean_ctor_set(x_92, 1, x_91);
x_47 = x_92;
goto block_54;
}
}
}
}
else
{
lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; 
lean_dec(x_62);
lean_ctor_set(x_69, 1, x_64);
lean_ctor_set(x_69, 0, x_68);
x_93 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_94 = lean_array_push(x_93, x_69);
x_95 = lean_box(0);
x_96 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_71, x_59, x_61, x_94, x_95, x_11, x_12, x_13, x_14, x_72);
lean_dec(x_61);
x_47 = x_96;
goto block_54;
}
}
else
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; 
lean_ctor_set(x_69, 1, x_64);
lean_ctor_set(x_69, 0, x_68);
x_97 = lean_array_push(x_62, x_69);
x_98 = lean_box(0);
x_99 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_71, x_59, x_61, x_97, x_98, x_11, x_12, x_13, x_14, x_72);
lean_dec(x_61);
x_47 = x_99;
goto block_54;
}
}
else
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; 
lean_dec(x_58);
lean_ctor_set(x_69, 1, x_64);
lean_ctor_set(x_69, 0, x_68);
x_100 = lean_array_push(x_62, x_69);
x_101 = lean_box(0);
x_102 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_71, x_59, x_61, x_100, x_101, x_11, x_12, x_13, x_14, x_72);
lean_dec(x_61);
x_47 = x_102;
goto block_54;
}
}
else
{
lean_object* x_103; lean_object* x_104; uint8_t x_105; 
x_103 = lean_ctor_get(x_69, 0);
x_104 = lean_ctor_get(x_69, 1);
lean_inc(x_104);
lean_inc(x_103);
lean_dec(x_69);
x_105 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_4);
if (x_105 == 0)
{
lean_object* x_106; uint8_t x_107; 
lean_inc(x_103);
if (lean_is_scalar(x_58)) {
 x_106 = lean_alloc_ctor(1, 1, 0);
} else {
 x_106 = x_58;
}
lean_ctor_set(x_106, 0, x_103);
x_107 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_106);
lean_dec(x_106);
if (x_107 == 0)
{
uint8_t x_108; 
x_108 = l_Array_isEmpty___rarg(x_62);
if (x_108 == 0)
{
if (lean_obj_tag(x_61) == 0)
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
lean_dec(x_62);
x_109 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_109, 0, x_68);
lean_ctor_set(x_109, 1, x_64);
x_110 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_111 = lean_array_push(x_110, x_109);
x_112 = lean_box(0);
x_113 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_103, x_59, x_61, x_111, x_112, x_11, x_12, x_13, x_14, x_104);
x_47 = x_113;
goto block_54;
}
else
{
lean_object* x_114; lean_object* x_115; 
x_114 = lean_ctor_get(x_61, 0);
lean_inc(x_114);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
x_115 = l_Lean_Widget_addInteractiveHypothesisBundle(x_59, x_62, x_114, x_4, x_11, x_12, x_13, x_14, x_104);
if (lean_obj_tag(x_115) == 0)
{
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; 
x_116 = lean_ctor_get(x_115, 0);
lean_inc(x_116);
x_117 = lean_ctor_get(x_115, 1);
lean_inc(x_117);
lean_dec(x_115);
x_118 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_118, 0, x_68);
lean_ctor_set(x_118, 1, x_64);
x_119 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_120 = lean_array_push(x_119, x_118);
x_121 = lean_box(0);
x_122 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_103, x_116, x_61, x_120, x_121, x_11, x_12, x_13, x_14, x_117);
lean_dec(x_61);
x_47 = x_122;
goto block_54;
}
else
{
lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; 
lean_dec(x_103);
lean_dec(x_68);
lean_dec(x_64);
lean_dec(x_61);
x_123 = lean_ctor_get(x_115, 0);
lean_inc(x_123);
x_124 = lean_ctor_get(x_115, 1);
lean_inc(x_124);
if (lean_is_exclusive(x_115)) {
 lean_ctor_release(x_115, 0);
 lean_ctor_release(x_115, 1);
 x_125 = x_115;
} else {
 lean_dec_ref(x_115);
 x_125 = lean_box(0);
}
if (lean_is_scalar(x_125)) {
 x_126 = lean_alloc_ctor(1, 2, 0);
} else {
 x_126 = x_125;
}
lean_ctor_set(x_126, 0, x_123);
lean_ctor_set(x_126, 1, x_124);
x_47 = x_126;
goto block_54;
}
}
}
else
{
lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; 
lean_dec(x_62);
x_127 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_127, 0, x_68);
lean_ctor_set(x_127, 1, x_64);
x_128 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_129 = lean_array_push(x_128, x_127);
x_130 = lean_box(0);
x_131 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_103, x_59, x_61, x_129, x_130, x_11, x_12, x_13, x_14, x_104);
lean_dec(x_61);
x_47 = x_131;
goto block_54;
}
}
else
{
lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; 
x_132 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_132, 0, x_68);
lean_ctor_set(x_132, 1, x_64);
x_133 = lean_array_push(x_62, x_132);
x_134 = lean_box(0);
x_135 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_103, x_59, x_61, x_133, x_134, x_11, x_12, x_13, x_14, x_104);
lean_dec(x_61);
x_47 = x_135;
goto block_54;
}
}
else
{
lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; 
lean_dec(x_58);
x_136 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_136, 0, x_68);
lean_ctor_set(x_136, 1, x_64);
x_137 = lean_array_push(x_62, x_136);
x_138 = lean_box(0);
x_139 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_103, x_59, x_61, x_137, x_138, x_11, x_12, x_13, x_14, x_104);
lean_dec(x_61);
x_47 = x_139;
goto block_54;
}
}
}
else
{
lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_160; uint8_t x_161; 
x_140 = lean_ctor_get(x_57, 1);
lean_inc(x_140);
x_141 = lean_ctor_get(x_57, 2);
lean_inc(x_141);
x_142 = lean_ctor_get(x_57, 3);
lean_inc(x_142);
x_143 = lean_ctor_get(x_57, 4);
lean_inc(x_143);
lean_dec(x_57);
x_144 = 1;
x_145 = l_Lean_Name_toString(x_141, x_144);
x_160 = l_Array_isEmpty___rarg(x_62);
if (x_160 == 0)
{
uint8_t x_171; 
x_171 = 0;
x_161 = x_171;
goto block_170;
}
else
{
x_161 = x_144;
goto block_170;
}
block_159:
{
lean_object* x_148; 
x_148 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_142, x_11, x_12, x_13, x_14, x_147);
if (x_3 == 0)
{
lean_object* x_149; lean_object* x_150; lean_object* x_151; 
lean_dec(x_143);
lean_dec(x_58);
x_149 = lean_ctor_get(x_148, 0);
lean_inc(x_149);
x_150 = lean_ctor_get(x_148, 1);
lean_inc(x_150);
lean_dec(x_148);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_5);
x_151 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_145, x_140, x_149, x_5, x_146, x_61, x_62, x_4, x_11, x_12, x_13, x_14, x_150);
lean_dec(x_62);
lean_dec(x_61);
x_47 = x_151;
goto block_54;
}
else
{
lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; 
x_152 = lean_ctor_get(x_148, 0);
lean_inc(x_152);
x_153 = lean_ctor_get(x_148, 1);
lean_inc(x_153);
lean_dec(x_148);
x_154 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_143, x_11, x_12, x_13, x_14, x_153);
x_155 = lean_ctor_get(x_154, 0);
lean_inc(x_155);
x_156 = lean_ctor_get(x_154, 1);
lean_inc(x_156);
lean_dec(x_154);
if (lean_is_scalar(x_58)) {
 x_157 = lean_alloc_ctor(1, 1, 0);
} else {
 x_157 = x_58;
}
lean_ctor_set(x_157, 0, x_155);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_5);
x_158 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_145, x_140, x_152, x_5, x_146, x_61, x_62, x_157, x_11, x_12, x_13, x_14, x_156);
lean_dec(x_62);
lean_dec(x_61);
x_47 = x_158;
goto block_54;
}
}
block_170:
{
if (x_161 == 0)
{
if (lean_obj_tag(x_61) == 0)
{
x_146 = x_59;
x_147 = x_15;
goto block_159;
}
else
{
lean_object* x_162; lean_object* x_163; 
x_162 = lean_ctor_get(x_61, 0);
lean_inc(x_162);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_62);
x_163 = l_Lean_Widget_addInteractiveHypothesisBundle(x_59, x_62, x_162, x_4, x_11, x_12, x_13, x_14, x_15);
if (lean_obj_tag(x_163) == 0)
{
lean_object* x_164; lean_object* x_165; 
x_164 = lean_ctor_get(x_163, 0);
lean_inc(x_164);
x_165 = lean_ctor_get(x_163, 1);
lean_inc(x_165);
lean_dec(x_163);
x_146 = x_164;
x_147 = x_165;
goto block_159;
}
else
{
uint8_t x_166; 
lean_dec(x_145);
lean_dec(x_143);
lean_dec(x_142);
lean_dec(x_140);
lean_dec(x_62);
lean_dec(x_61);
lean_dec(x_58);
x_166 = !lean_is_exclusive(x_163);
if (x_166 == 0)
{
x_47 = x_163;
goto block_54;
}
else
{
lean_object* x_167; lean_object* x_168; lean_object* x_169; 
x_167 = lean_ctor_get(x_163, 0);
x_168 = lean_ctor_get(x_163, 1);
lean_inc(x_168);
lean_inc(x_167);
lean_dec(x_163);
x_169 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_169, 0, x_167);
lean_ctor_set(x_169, 1, x_168);
x_47 = x_169;
goto block_54;
}
}
}
}
else
{
x_146 = x_59;
x_147 = x_15;
goto block_159;
}
}
}
}
}
else
{
lean_object* x_189; lean_object* x_190; lean_object* x_191; 
x_189 = lean_ctor_get(x_56, 0);
x_190 = lean_ctor_get(x_56, 1);
lean_inc(x_190);
lean_inc(x_189);
lean_dec(x_56);
if (x_1 == 0)
{
uint8_t x_269; 
x_269 = l_Lean_LocalDecl_isAuxDecl(x_57);
if (x_269 == 0)
{
if (x_2 == 0)
{
uint8_t x_270; 
x_270 = l_Lean_LocalDecl_isImplementationDetail(x_57);
if (x_270 == 0)
{
lean_object* x_271; 
x_271 = lean_box(0);
x_191 = x_271;
goto block_268;
}
else
{
lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; 
lean_dec(x_58);
lean_dec(x_57);
x_272 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_272, 0, x_189);
lean_ctor_set(x_272, 1, x_190);
x_273 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_273, 0, x_59);
lean_ctor_set(x_273, 1, x_272);
x_274 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_274, 0, x_273);
x_275 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_275, 0, x_274);
lean_ctor_set(x_275, 1, x_15);
x_47 = x_275;
goto block_54;
}
}
else
{
lean_object* x_276; 
x_276 = lean_box(0);
x_191 = x_276;
goto block_268;
}
}
else
{
lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 
lean_dec(x_58);
lean_dec(x_57);
x_277 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_277, 0, x_189);
lean_ctor_set(x_277, 1, x_190);
x_278 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_278, 0, x_59);
lean_ctor_set(x_278, 1, x_277);
x_279 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_279, 0, x_278);
x_280 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_280, 0, x_279);
lean_ctor_set(x_280, 1, x_15);
x_47 = x_280;
goto block_54;
}
}
else
{
if (x_2 == 0)
{
uint8_t x_281; 
x_281 = l_Lean_LocalDecl_isImplementationDetail(x_57);
if (x_281 == 0)
{
lean_object* x_282; 
x_282 = lean_box(0);
x_191 = x_282;
goto block_268;
}
else
{
lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; 
lean_dec(x_58);
lean_dec(x_57);
x_283 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_283, 0, x_189);
lean_ctor_set(x_283, 1, x_190);
x_284 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_284, 0, x_59);
lean_ctor_set(x_284, 1, x_283);
x_285 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_285, 0, x_284);
x_286 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_286, 0, x_285);
lean_ctor_set(x_286, 1, x_15);
x_47 = x_286;
goto block_54;
}
}
else
{
lean_object* x_287; 
x_287 = lean_box(0);
x_191 = x_287;
goto block_268;
}
}
block_268:
{
lean_dec(x_191);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; 
x_192 = lean_ctor_get(x_57, 1);
lean_inc(x_192);
x_193 = lean_ctor_get(x_57, 2);
lean_inc(x_193);
x_194 = lean_ctor_get(x_57, 3);
lean_inc(x_194);
lean_dec(x_57);
x_195 = 1;
x_196 = l_Lean_Name_toString(x_193, x_195);
x_197 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_194, x_11, x_12, x_13, x_14, x_15);
x_198 = lean_ctor_get(x_197, 0);
lean_inc(x_198);
x_199 = lean_ctor_get(x_197, 1);
lean_inc(x_199);
if (lean_is_exclusive(x_197)) {
 lean_ctor_release(x_197, 0);
 lean_ctor_release(x_197, 1);
 x_200 = x_197;
} else {
 lean_dec_ref(x_197);
 x_200 = lean_box(0);
}
x_201 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_189, x_4);
if (x_201 == 0)
{
lean_object* x_202; uint8_t x_203; 
lean_inc(x_198);
if (lean_is_scalar(x_58)) {
 x_202 = lean_alloc_ctor(1, 1, 0);
} else {
 x_202 = x_58;
}
lean_ctor_set(x_202, 0, x_198);
x_203 = l___private_Init_Data_Option_Basic_0__Option_beqOption____x40_Init_Data_Option_Basic___hyg_159____at_Lean_Meta_ppGoal_ppVars___spec__1(x_189, x_202);
lean_dec(x_202);
if (x_203 == 0)
{
uint8_t x_204; 
x_204 = l_Array_isEmpty___rarg(x_190);
if (x_204 == 0)
{
if (lean_obj_tag(x_189) == 0)
{
lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; 
lean_dec(x_190);
if (lean_is_scalar(x_200)) {
 x_205 = lean_alloc_ctor(0, 2, 0);
} else {
 x_205 = x_200;
}
lean_ctor_set(x_205, 0, x_196);
lean_ctor_set(x_205, 1, x_192);
x_206 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_207 = lean_array_push(x_206, x_205);
x_208 = lean_box(0);
x_209 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_198, x_59, x_189, x_207, x_208, x_11, x_12, x_13, x_14, x_199);
x_47 = x_209;
goto block_54;
}
else
{
lean_object* x_210; lean_object* x_211; 
x_210 = lean_ctor_get(x_189, 0);
lean_inc(x_210);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
x_211 = l_Lean_Widget_addInteractiveHypothesisBundle(x_59, x_190, x_210, x_4, x_11, x_12, x_13, x_14, x_199);
if (lean_obj_tag(x_211) == 0)
{
lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; 
x_212 = lean_ctor_get(x_211, 0);
lean_inc(x_212);
x_213 = lean_ctor_get(x_211, 1);
lean_inc(x_213);
lean_dec(x_211);
if (lean_is_scalar(x_200)) {
 x_214 = lean_alloc_ctor(0, 2, 0);
} else {
 x_214 = x_200;
}
lean_ctor_set(x_214, 0, x_196);
lean_ctor_set(x_214, 1, x_192);
x_215 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_216 = lean_array_push(x_215, x_214);
x_217 = lean_box(0);
x_218 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_198, x_212, x_189, x_216, x_217, x_11, x_12, x_13, x_14, x_213);
lean_dec(x_189);
x_47 = x_218;
goto block_54;
}
else
{
lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; 
lean_dec(x_200);
lean_dec(x_198);
lean_dec(x_196);
lean_dec(x_192);
lean_dec(x_189);
x_219 = lean_ctor_get(x_211, 0);
lean_inc(x_219);
x_220 = lean_ctor_get(x_211, 1);
lean_inc(x_220);
if (lean_is_exclusive(x_211)) {
 lean_ctor_release(x_211, 0);
 lean_ctor_release(x_211, 1);
 x_221 = x_211;
} else {
 lean_dec_ref(x_211);
 x_221 = lean_box(0);
}
if (lean_is_scalar(x_221)) {
 x_222 = lean_alloc_ctor(1, 2, 0);
} else {
 x_222 = x_221;
}
lean_ctor_set(x_222, 0, x_219);
lean_ctor_set(x_222, 1, x_220);
x_47 = x_222;
goto block_54;
}
}
}
else
{
lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; 
lean_dec(x_190);
if (lean_is_scalar(x_200)) {
 x_223 = lean_alloc_ctor(0, 2, 0);
} else {
 x_223 = x_200;
}
lean_ctor_set(x_223, 0, x_196);
lean_ctor_set(x_223, 1, x_192);
x_224 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1;
x_225 = lean_array_push(x_224, x_223);
x_226 = lean_box(0);
x_227 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_198, x_59, x_189, x_225, x_226, x_11, x_12, x_13, x_14, x_199);
lean_dec(x_189);
x_47 = x_227;
goto block_54;
}
}
else
{
lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; 
if (lean_is_scalar(x_200)) {
 x_228 = lean_alloc_ctor(0, 2, 0);
} else {
 x_228 = x_200;
}
lean_ctor_set(x_228, 0, x_196);
lean_ctor_set(x_228, 1, x_192);
x_229 = lean_array_push(x_190, x_228);
x_230 = lean_box(0);
x_231 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_198, x_59, x_189, x_229, x_230, x_11, x_12, x_13, x_14, x_199);
lean_dec(x_189);
x_47 = x_231;
goto block_54;
}
}
else
{
lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; 
lean_dec(x_58);
if (lean_is_scalar(x_200)) {
 x_232 = lean_alloc_ctor(0, 2, 0);
} else {
 x_232 = x_200;
}
lean_ctor_set(x_232, 0, x_196);
lean_ctor_set(x_232, 1, x_192);
x_233 = lean_array_push(x_190, x_232);
x_234 = lean_box(0);
x_235 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_198, x_59, x_189, x_233, x_234, x_11, x_12, x_13, x_14, x_199);
lean_dec(x_189);
x_47 = x_235;
goto block_54;
}
}
else
{
lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_256; uint8_t x_257; 
x_236 = lean_ctor_get(x_57, 1);
lean_inc(x_236);
x_237 = lean_ctor_get(x_57, 2);
lean_inc(x_237);
x_238 = lean_ctor_get(x_57, 3);
lean_inc(x_238);
x_239 = lean_ctor_get(x_57, 4);
lean_inc(x_239);
lean_dec(x_57);
x_240 = 1;
x_241 = l_Lean_Name_toString(x_237, x_240);
x_256 = l_Array_isEmpty___rarg(x_190);
if (x_256 == 0)
{
uint8_t x_267; 
x_267 = 0;
x_257 = x_267;
goto block_266;
}
else
{
x_257 = x_240;
goto block_266;
}
block_255:
{
lean_object* x_244; 
x_244 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_238, x_11, x_12, x_13, x_14, x_243);
if (x_3 == 0)
{
lean_object* x_245; lean_object* x_246; lean_object* x_247; 
lean_dec(x_239);
lean_dec(x_58);
x_245 = lean_ctor_get(x_244, 0);
lean_inc(x_245);
x_246 = lean_ctor_get(x_244, 1);
lean_inc(x_246);
lean_dec(x_244);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_5);
x_247 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_241, x_236, x_245, x_5, x_242, x_189, x_190, x_4, x_11, x_12, x_13, x_14, x_246);
lean_dec(x_190);
lean_dec(x_189);
x_47 = x_247;
goto block_54;
}
else
{
lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; 
x_248 = lean_ctor_get(x_244, 0);
lean_inc(x_248);
x_249 = lean_ctor_get(x_244, 1);
lean_inc(x_249);
lean_dec(x_244);
x_250 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_239, x_11, x_12, x_13, x_14, x_249);
x_251 = lean_ctor_get(x_250, 0);
lean_inc(x_251);
x_252 = lean_ctor_get(x_250, 1);
lean_inc(x_252);
lean_dec(x_250);
if (lean_is_scalar(x_58)) {
 x_253 = lean_alloc_ctor(1, 1, 0);
} else {
 x_253 = x_58;
}
lean_ctor_set(x_253, 0, x_251);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_5);
x_254 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_241, x_236, x_248, x_5, x_242, x_189, x_190, x_253, x_11, x_12, x_13, x_14, x_252);
lean_dec(x_190);
lean_dec(x_189);
x_47 = x_254;
goto block_54;
}
}
block_266:
{
if (x_257 == 0)
{
if (lean_obj_tag(x_189) == 0)
{
x_242 = x_59;
x_243 = x_15;
goto block_255;
}
else
{
lean_object* x_258; lean_object* x_259; 
x_258 = lean_ctor_get(x_189, 0);
lean_inc(x_258);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_4);
lean_inc(x_190);
x_259 = l_Lean_Widget_addInteractiveHypothesisBundle(x_59, x_190, x_258, x_4, x_11, x_12, x_13, x_14, x_15);
if (lean_obj_tag(x_259) == 0)
{
lean_object* x_260; lean_object* x_261; 
x_260 = lean_ctor_get(x_259, 0);
lean_inc(x_260);
x_261 = lean_ctor_get(x_259, 1);
lean_inc(x_261);
lean_dec(x_259);
x_242 = x_260;
x_243 = x_261;
goto block_255;
}
else
{
lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; 
lean_dec(x_241);
lean_dec(x_239);
lean_dec(x_238);
lean_dec(x_236);
lean_dec(x_190);
lean_dec(x_189);
lean_dec(x_58);
x_262 = lean_ctor_get(x_259, 0);
lean_inc(x_262);
x_263 = lean_ctor_get(x_259, 1);
lean_inc(x_263);
if (lean_is_exclusive(x_259)) {
 lean_ctor_release(x_259, 0);
 lean_ctor_release(x_259, 1);
 x_264 = x_259;
} else {
 lean_dec_ref(x_259);
 x_264 = lean_box(0);
}
if (lean_is_scalar(x_264)) {
 x_265 = lean_alloc_ctor(1, 2, 0);
} else {
 x_265 = x_264;
}
lean_ctor_set(x_265, 0, x_262);
lean_ctor_set(x_265, 1, x_263);
x_47 = x_265;
goto block_54;
}
}
}
else
{
x_242 = x_59;
x_243 = x_15;
goto block_255;
}
}
}
}
}
}
block_27:
{
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_21; lean_object* x_22; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_21 = lean_ctor_get(x_19, 0);
lean_inc(x_21);
lean_dec(x_19);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
return x_22;
}
else
{
lean_object* x_23; size_t x_24; size_t x_25; 
x_23 = lean_ctor_get(x_19, 0);
lean_inc(x_23);
lean_dec(x_19);
x_24 = 1;
x_25 = lean_usize_add(x_9, x_24);
x_9 = x_25;
x_10 = x_23;
x_15 = x_20;
goto _start;
}
}
block_46:
{
if (lean_obj_tag(x_30) == 0)
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_30);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_30, 0);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
if (lean_is_scalar(x_29)) {
 x_35 = lean_alloc_ctor(0, 2, 0);
} else {
 x_35 = x_29;
}
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_28);
lean_ctor_set(x_30, 0, x_35);
x_19 = x_30;
x_20 = x_31;
goto block_27;
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_30, 0);
lean_inc(x_36);
lean_dec(x_30);
x_37 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_37, 0, x_36);
if (lean_is_scalar(x_29)) {
 x_38 = lean_alloc_ctor(0, 2, 0);
} else {
 x_38 = x_29;
}
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_28);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
x_19 = x_39;
x_20 = x_31;
goto block_27;
}
}
else
{
uint8_t x_40; 
lean_dec(x_28);
x_40 = !lean_is_exclusive(x_30);
if (x_40 == 0)
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_30, 0);
lean_inc(x_6);
if (lean_is_scalar(x_29)) {
 x_42 = lean_alloc_ctor(0, 2, 0);
} else {
 x_42 = x_29;
}
lean_ctor_set(x_42, 0, x_6);
lean_ctor_set(x_42, 1, x_41);
lean_ctor_set(x_30, 0, x_42);
x_19 = x_30;
x_20 = x_31;
goto block_27;
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_43 = lean_ctor_get(x_30, 0);
lean_inc(x_43);
lean_dec(x_30);
lean_inc(x_6);
if (lean_is_scalar(x_29)) {
 x_44 = lean_alloc_ctor(0, 2, 0);
} else {
 x_44 = x_29;
}
lean_ctor_set(x_44, 0, x_6);
lean_ctor_set(x_44, 1, x_43);
x_45 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_45, 0, x_44);
x_19 = x_45;
x_20 = x_31;
goto block_27;
}
}
}
block_54:
{
if (lean_obj_tag(x_47) == 0)
{
lean_object* x_48; lean_object* x_49; 
x_48 = lean_ctor_get(x_47, 0);
lean_inc(x_48);
x_49 = lean_ctor_get(x_47, 1);
lean_inc(x_49);
lean_dec(x_47);
x_30 = x_48;
x_31 = x_49;
goto block_46;
}
else
{
uint8_t x_50; 
lean_dec(x_29);
lean_dec(x_28);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
x_50 = !lean_is_exclusive(x_47);
if (x_50 == 0)
{
return x_47;
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_51 = lean_ctor_get(x_47, 0);
x_52 = lean_ctor_get(x_47, 1);
lean_inc(x_52);
lean_inc(x_51);
lean_dec(x_47);
x_53 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_53, 0, x_51);
lean_ctor_set(x_53, 1, x_52);
return x_53;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_1);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_6, 0);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_5);
lean_inc(x_4);
x_14 = l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2(x_1, x_2, x_3, x_4, x_5, x_7, x_13, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_7);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
if (lean_obj_tag(x_15) == 0)
{
uint8_t x_16; 
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_5);
lean_dec(x_4);
x_16 = !lean_is_exclusive(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_ctor_get(x_14, 0);
lean_dec(x_17);
x_18 = lean_ctor_get(x_15, 0);
lean_inc(x_18);
lean_dec(x_15);
lean_ctor_set(x_14, 0, x_18);
return x_14;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_14, 1);
lean_inc(x_19);
lean_dec(x_14);
x_20 = lean_ctor_get(x_15, 0);
lean_inc(x_20);
lean_dec(x_15);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
return x_21;
}
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; 
x_22 = lean_ctor_get(x_14, 1);
lean_inc(x_22);
lean_dec(x_14);
x_23 = lean_ctor_get(x_15, 0);
lean_inc(x_23);
lean_dec(x_15);
x_24 = lean_ctor_get(x_6, 1);
x_25 = lean_box(0);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_23);
x_27 = lean_array_size(x_24);
x_28 = 0;
x_29 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5(x_1, x_2, x_3, x_4, x_5, x_25, x_24, x_27, x_28, x_26, x_8, x_9, x_10, x_11, x_22);
if (lean_obj_tag(x_29) == 0)
{
lean_object* x_30; lean_object* x_31; 
x_30 = lean_ctor_get(x_29, 0);
lean_inc(x_30);
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_29);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; 
x_33 = lean_ctor_get(x_29, 0);
lean_dec(x_33);
x_34 = lean_ctor_get(x_30, 1);
lean_inc(x_34);
lean_dec(x_30);
lean_ctor_set(x_29, 0, x_34);
return x_29;
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_35 = lean_ctor_get(x_29, 1);
lean_inc(x_35);
lean_dec(x_29);
x_36 = lean_ctor_get(x_30, 1);
lean_inc(x_36);
lean_dec(x_30);
x_37 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_35);
return x_37;
}
}
else
{
uint8_t x_38; 
lean_dec(x_30);
x_38 = !lean_is_exclusive(x_29);
if (x_38 == 0)
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_29, 0);
lean_dec(x_39);
x_40 = lean_ctor_get(x_31, 0);
lean_inc(x_40);
lean_dec(x_31);
lean_ctor_set(x_29, 0, x_40);
return x_29;
}
else
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_41 = lean_ctor_get(x_29, 1);
lean_inc(x_41);
lean_dec(x_29);
x_42 = lean_ctor_get(x_31, 0);
lean_inc(x_42);
lean_dec(x_31);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_41);
return x_43;
}
}
}
else
{
uint8_t x_44; 
x_44 = !lean_is_exclusive(x_29);
if (x_44 == 0)
{
return x_29;
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_29, 0);
x_46 = lean_ctor_get(x_29, 1);
lean_inc(x_46);
lean_inc(x_45);
lean_dec(x_29);
x_47 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
return x_47;
}
}
}
}
else
{
uint8_t x_48; 
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_5);
lean_dec(x_4);
x_48 = !lean_is_exclusive(x_14);
if (x_48 == 0)
{
return x_14;
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_49 = lean_ctor_get(x_14, 0);
x_50 = lean_ctor_get(x_14, 1);
lean_inc(x_50);
lean_inc(x_49);
lean_dec(x_14);
x_51 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
return x_51;
}
}
}
}
static lean_object* _init_l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2;
x_2 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_5 = lean_st_ref_get(x_3, x_4);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
x_7 = lean_ctor_get(x_5, 1);
lean_inc(x_7);
lean_dec(x_5);
x_8 = !lean_is_exclusive(x_6);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_9 = lean_ctor_get(x_6, 6);
lean_dec(x_9);
x_10 = lean_ctor_get(x_6, 5);
lean_dec(x_10);
x_11 = lean_ctor_get(x_6, 4);
lean_dec(x_11);
x_12 = lean_ctor_get(x_6, 3);
lean_dec(x_12);
x_13 = lean_ctor_get(x_6, 2);
lean_dec(x_13);
x_14 = lean_ctor_get(x_6, 1);
lean_dec(x_14);
x_15 = lean_st_ref_get(x_1, x_7);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = lean_ctor_get(x_16, 0);
lean_inc(x_18);
lean_dec(x_16);
x_19 = lean_ctor_get(x_2, 2);
x_20 = lean_ctor_get(x_2, 6);
x_21 = lean_ctor_get(x_2, 7);
x_22 = lean_st_ref_get(x_3, x_17);
x_23 = !lean_is_exclusive(x_22);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_22, 0);
x_25 = lean_ctor_get(x_24, 2);
lean_inc(x_25);
lean_dec(x_24);
x_26 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1;
lean_inc(x_21);
lean_inc(x_20);
lean_inc(x_19);
lean_ctor_set(x_6, 6, x_25);
lean_ctor_set(x_6, 5, x_21);
lean_ctor_set(x_6, 4, x_20);
lean_ctor_set(x_6, 3, x_19);
lean_ctor_set(x_6, 2, x_18);
lean_ctor_set(x_6, 1, x_26);
lean_ctor_set(x_22, 0, x_6);
return x_22;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_27 = lean_ctor_get(x_22, 0);
x_28 = lean_ctor_get(x_22, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_22);
x_29 = lean_ctor_get(x_27, 2);
lean_inc(x_29);
lean_dec(x_27);
x_30 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1;
lean_inc(x_21);
lean_inc(x_20);
lean_inc(x_19);
lean_ctor_set(x_6, 6, x_29);
lean_ctor_set(x_6, 5, x_21);
lean_ctor_set(x_6, 4, x_20);
lean_ctor_set(x_6, 3, x_19);
lean_ctor_set(x_6, 2, x_18);
lean_ctor_set(x_6, 1, x_30);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_6);
lean_ctor_set(x_31, 1, x_28);
return x_31;
}
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_32 = lean_ctor_get(x_6, 0);
lean_inc(x_32);
lean_dec(x_6);
x_33 = lean_st_ref_get(x_1, x_7);
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_ctor_get(x_34, 0);
lean_inc(x_36);
lean_dec(x_34);
x_37 = lean_ctor_get(x_2, 2);
x_38 = lean_ctor_get(x_2, 6);
x_39 = lean_ctor_get(x_2, 7);
x_40 = lean_st_ref_get(x_3, x_35);
x_41 = lean_ctor_get(x_40, 0);
lean_inc(x_41);
x_42 = lean_ctor_get(x_40, 1);
lean_inc(x_42);
if (lean_is_exclusive(x_40)) {
 lean_ctor_release(x_40, 0);
 lean_ctor_release(x_40, 1);
 x_43 = x_40;
} else {
 lean_dec_ref(x_40);
 x_43 = lean_box(0);
}
x_44 = lean_ctor_get(x_41, 2);
lean_inc(x_44);
lean_dec(x_41);
x_45 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1;
lean_inc(x_39);
lean_inc(x_38);
lean_inc(x_37);
x_46 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_46, 0, x_32);
lean_ctor_set(x_46, 1, x_45);
lean_ctor_set(x_46, 2, x_36);
lean_ctor_set(x_46, 3, x_37);
lean_ctor_set(x_46, 4, x_38);
lean_ctor_set(x_46, 5, x_39);
lean_ctor_set(x_46, 6, x_44);
if (lean_is_scalar(x_43)) {
 x_47 = lean_alloc_ctor(0, 2, 0);
} else {
 x_47 = x_43;
}
lean_ctor_set(x_47, 0, x_46);
lean_ctor_set(x_47, 1, x_42);
return x_47;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___boxed), 4, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Widget_goalToInteractive___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7; 
x_6 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg(x_2, x_3, x_4, x_5);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; uint8_t x_9; 
x_8 = lean_ctor_get(x_6, 0);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_3, 1);
x_11 = lean_ctor_get(x_8, 1);
lean_dec(x_11);
lean_inc(x_10);
lean_ctor_set(x_8, 1, x_10);
return x_6;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_12 = lean_ctor_get(x_3, 1);
x_13 = lean_ctor_get(x_8, 0);
x_14 = lean_ctor_get(x_8, 2);
x_15 = lean_ctor_get(x_8, 3);
x_16 = lean_ctor_get(x_8, 4);
x_17 = lean_ctor_get(x_8, 5);
x_18 = lean_ctor_get(x_8, 6);
lean_inc(x_18);
lean_inc(x_17);
lean_inc(x_16);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_dec(x_8);
lean_inc(x_12);
x_19 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_19, 0, x_13);
lean_ctor_set(x_19, 1, x_12);
lean_ctor_set(x_19, 2, x_14);
lean_ctor_set(x_19, 3, x_15);
lean_ctor_set(x_19, 4, x_16);
lean_ctor_set(x_19, 5, x_17);
lean_ctor_set(x_19, 6, x_18);
lean_ctor_set(x_6, 0, x_19);
return x_6;
}
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_20 = lean_ctor_get(x_6, 0);
x_21 = lean_ctor_get(x_6, 1);
lean_inc(x_21);
lean_inc(x_20);
lean_dec(x_6);
x_22 = lean_ctor_get(x_3, 1);
x_23 = lean_ctor_get(x_20, 0);
lean_inc(x_23);
x_24 = lean_ctor_get(x_20, 2);
lean_inc(x_24);
x_25 = lean_ctor_get(x_20, 3);
lean_inc(x_25);
x_26 = lean_ctor_get(x_20, 4);
lean_inc(x_26);
x_27 = lean_ctor_get(x_20, 5);
lean_inc(x_27);
x_28 = lean_ctor_get(x_20, 6);
lean_inc(x_28);
if (lean_is_exclusive(x_20)) {
 lean_ctor_release(x_20, 0);
 lean_ctor_release(x_20, 1);
 lean_ctor_release(x_20, 2);
 lean_ctor_release(x_20, 3);
 lean_ctor_release(x_20, 4);
 lean_ctor_release(x_20, 5);
 lean_ctor_release(x_20, 6);
 x_29 = x_20;
} else {
 lean_dec_ref(x_20);
 x_29 = lean_box(0);
}
lean_inc(x_22);
if (lean_is_scalar(x_29)) {
 x_30 = lean_alloc_ctor(0, 7, 0);
} else {
 x_30 = x_29;
}
lean_ctor_set(x_30, 0, x_23);
lean_ctor_set(x_30, 1, x_22);
lean_ctor_set(x_30, 2, x_24);
lean_ctor_set(x_30, 3, x_25);
lean_ctor_set(x_30, 4, x_26);
lean_ctor_set(x_30, 5, x_27);
lean_ctor_set(x_30, 6, x_28);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_21);
return x_31;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9___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; uint8_t x_9; 
x_7 = lean_ctor_get(x_4, 5);
x_8 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_8, 0);
lean_inc(x_7);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set_tag(x_8, 1);
lean_ctor_set(x_8, 0, x_11);
return x_8;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_ctor_get(x_8, 0);
x_13 = lean_ctor_get(x_8, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_8);
lean_inc(x_7);
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_7);
lean_ctor_set(x_14, 1, x_12);
x_15 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_13);
return x_15;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9___rarg___boxed), 6, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___at_Lean_Widget_goalToInteractive___spec__8___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) {
_start:
{
lean_object* x_8; uint8_t x_9; 
x_8 = lean_st_ref_get(x_4, x_7);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_8, 0);
x_11 = lean_ctor_get(x_8, 1);
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = l_Lean_MetavarContext_findDecl_x3f(x_12, x_1);
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_2);
x_14 = l_Lean_MessageData_ofName(x_1);
x_15 = l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2;
lean_ctor_set_tag(x_8, 7);
lean_ctor_set(x_8, 1, x_14);
lean_ctor_set(x_8, 0, x_15);
x_16 = l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3;
x_17 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_17, 0, x_8);
lean_ctor_set(x_17, 1, x_16);
x_18 = l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9___rarg(x_17, x_3, x_4, x_5, x_6, x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
lean_free_object(x_8);
lean_dec(x_1);
x_19 = lean_ctor_get(x_13, 0);
lean_inc(x_19);
lean_dec(x_13);
x_20 = lean_ctor_get(x_5, 2);
lean_inc(x_20);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
x_22 = lean_box(0);
x_23 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_23, 0, x_20);
lean_ctor_set(x_23, 1, x_22);
lean_ctor_set(x_23, 2, x_22);
x_24 = l_Lean_LocalContext_sanitizeNames(x_21, x_23);
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
lean_dec(x_24);
x_26 = lean_ctor_get(x_19, 4);
lean_inc(x_26);
lean_inc(x_25);
x_27 = lean_apply_2(x_2, x_25, x_19);
x_28 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(x_25, x_26, x_27, x_3, x_4, x_5, x_6, x_11);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_29 = lean_ctor_get(x_8, 0);
x_30 = lean_ctor_get(x_8, 1);
lean_inc(x_30);
lean_inc(x_29);
lean_dec(x_8);
x_31 = lean_ctor_get(x_29, 0);
lean_inc(x_31);
lean_dec(x_29);
x_32 = l_Lean_MetavarContext_findDecl_x3f(x_31, x_1);
if (lean_obj_tag(x_32) == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
lean_dec(x_2);
x_33 = l_Lean_MessageData_ofName(x_1);
x_34 = l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2;
x_35 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_33);
x_36 = l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3;
x_37 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set(x_37, 1, x_36);
x_38 = l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9___rarg(x_37, x_3, x_4, x_5, x_6, x_30);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_38;
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 
lean_dec(x_1);
x_39 = lean_ctor_get(x_32, 0);
lean_inc(x_39);
lean_dec(x_32);
x_40 = lean_ctor_get(x_5, 2);
lean_inc(x_40);
x_41 = lean_ctor_get(x_39, 1);
lean_inc(x_41);
x_42 = lean_box(0);
x_43 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_43, 0, x_40);
lean_ctor_set(x_43, 1, x_42);
lean_ctor_set(x_43, 2, x_42);
x_44 = l_Lean_LocalContext_sanitizeNames(x_41, x_43);
x_45 = lean_ctor_get(x_44, 0);
lean_inc(x_45);
lean_dec(x_44);
x_46 = lean_ctor_get(x_39, 4);
lean_inc(x_46);
lean_inc(x_45);
x_47 = lean_apply_2(x_2, x_45, x_39);
x_48 = l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(x_45, x_46, x_47, x_3, x_4, x_5, x_6, x_30);
return x_48;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_withGoalCtx___at_Lean_Widget_goalToInteractive___spec__8(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_withGoalCtx___at_Lean_Widget_goalToInteractive___spec__8___rarg), 7, 0);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_goalToInteractive___lambda__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_goalToInteractive___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1;
x_2 = l_Lean_Widget_goalToInteractive___lambda__1___closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_goalToInteractive___lambda__1(uint8_t x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_12 = lean_box(0);
x_13 = lean_ctor_get(x_5, 1);
x_14 = l_Lean_Widget_goalToInteractive___lambda__1___closed__1;
x_15 = l_Lean_Widget_goalToInteractive___lambda__1___closed__2;
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
x_16 = l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1(x_1, x_2, x_3, x_12, x_14, x_13, x_15, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; 
x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
x_19 = lean_ctor_get(x_16, 1);
lean_inc(x_19);
lean_dec(x_16);
x_20 = lean_ctor_get(x_17, 0);
lean_inc(x_20);
lean_dec(x_17);
x_21 = lean_ctor_get(x_18, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_18, 1);
lean_inc(x_22);
lean_dec(x_18);
x_23 = l_Array_isEmpty___rarg(x_22);
if (x_23 == 0)
{
uint8_t x_114; 
x_114 = 0;
x_24 = x_114;
goto block_113;
}
else
{
uint8_t x_115; 
x_115 = 1;
x_24 = x_115;
goto block_113;
}
block_113:
{
lean_object* x_25; lean_object* x_26; 
if (x_24 == 0)
{
if (lean_obj_tag(x_21) == 0)
{
lean_dec(x_22);
x_25 = x_20;
x_26 = x_19;
goto block_104;
}
else
{
lean_object* x_105; lean_object* x_106; 
x_105 = lean_ctor_get(x_21, 0);
lean_inc(x_105);
lean_dec(x_21);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
x_106 = l_Lean_Widget_addInteractiveHypothesisBundle(x_20, x_22, x_105, x_12, x_7, x_8, x_9, x_10, x_19);
if (lean_obj_tag(x_106) == 0)
{
lean_object* x_107; lean_object* x_108; 
x_107 = lean_ctor_get(x_106, 0);
lean_inc(x_107);
x_108 = lean_ctor_get(x_106, 1);
lean_inc(x_108);
lean_dec(x_106);
x_25 = x_107;
x_26 = x_108;
goto block_104;
}
else
{
uint8_t x_109; 
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
x_109 = !lean_is_exclusive(x_106);
if (x_109 == 0)
{
return x_106;
}
else
{
lean_object* x_110; lean_object* x_111; lean_object* x_112; 
x_110 = lean_ctor_get(x_106, 0);
x_111 = lean_ctor_get(x_106, 1);
lean_inc(x_111);
lean_inc(x_110);
lean_dec(x_106);
x_112 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_112, 0, x_110);
lean_ctor_set(x_112, 1, x_111);
return x_112;
}
}
}
}
else
{
lean_dec(x_22);
lean_dec(x_21);
x_25 = x_20;
x_26 = x_19;
goto block_104;
}
block_104:
{
lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_27 = lean_ctor_get(x_6, 2);
lean_inc(x_27);
x_28 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(x_27, x_7, x_8, x_9, x_10, x_26);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; 
x_30 = lean_ctor_get(x_28, 0);
x_31 = lean_ctor_get(x_28, 1);
x_32 = 0;
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
x_33 = l_Lean_Widget_ppExprTagged(x_30, x_32, x_7, x_8, x_9, x_10, x_31);
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_ctor_get(x_6, 0);
lean_inc(x_36);
x_37 = l_Lean_Elab_CommandContextInfo_save___at_Lean_Widget_goalToInteractive___spec__6(x_7, x_8, x_9, x_10, x_35);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
if (lean_obj_tag(x_36) == 0)
{
uint8_t x_38; 
x_38 = !lean_is_exclusive(x_37);
if (x_38 == 0)
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_39 = lean_ctor_get(x_37, 0);
lean_ctor_set(x_28, 1, x_12);
lean_ctor_set(x_28, 0, x_39);
x_40 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_40, 0, x_25);
lean_ctor_set(x_40, 1, x_34);
lean_ctor_set(x_40, 2, x_28);
x_41 = l_Lean_Meta_getGoalPrefix(x_6);
lean_dec(x_6);
x_42 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_12);
lean_ctor_set(x_42, 2, x_41);
lean_ctor_set(x_42, 3, x_4);
lean_ctor_set(x_42, 4, x_12);
lean_ctor_set(x_42, 5, x_12);
lean_ctor_set(x_37, 0, x_42);
return x_37;
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_43 = lean_ctor_get(x_37, 0);
x_44 = lean_ctor_get(x_37, 1);
lean_inc(x_44);
lean_inc(x_43);
lean_dec(x_37);
lean_ctor_set(x_28, 1, x_12);
lean_ctor_set(x_28, 0, x_43);
x_45 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_45, 0, x_25);
lean_ctor_set(x_45, 1, x_34);
lean_ctor_set(x_45, 2, x_28);
x_46 = l_Lean_Meta_getGoalPrefix(x_6);
lean_dec(x_6);
x_47 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_12);
lean_ctor_set(x_47, 2, x_46);
lean_ctor_set(x_47, 3, x_4);
lean_ctor_set(x_47, 4, x_12);
lean_ctor_set(x_47, 5, x_12);
x_48 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_48, 1, x_44);
return x_48;
}
}
else
{
uint8_t x_49; 
x_49 = !lean_is_exclusive(x_37);
if (x_49 == 0)
{
lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_50 = lean_ctor_get(x_37, 0);
x_51 = lean_erase_macro_scopes(x_36);
x_52 = 1;
x_53 = l_Lean_Name_toString(x_51, x_52);
x_54 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_28, 1, x_12);
lean_ctor_set(x_28, 0, x_50);
x_55 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_55, 0, x_25);
lean_ctor_set(x_55, 1, x_34);
lean_ctor_set(x_55, 2, x_28);
x_56 = l_Lean_Meta_getGoalPrefix(x_6);
lean_dec(x_6);
x_57 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_54);
lean_ctor_set(x_57, 2, x_56);
lean_ctor_set(x_57, 3, x_4);
lean_ctor_set(x_57, 4, x_12);
lean_ctor_set(x_57, 5, x_12);
lean_ctor_set(x_37, 0, x_57);
return x_37;
}
else
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; 
x_58 = lean_ctor_get(x_37, 0);
x_59 = lean_ctor_get(x_37, 1);
lean_inc(x_59);
lean_inc(x_58);
lean_dec(x_37);
x_60 = lean_erase_macro_scopes(x_36);
x_61 = 1;
x_62 = l_Lean_Name_toString(x_60, x_61);
x_63 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set(x_28, 1, x_12);
lean_ctor_set(x_28, 0, x_58);
x_64 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_64, 0, x_25);
lean_ctor_set(x_64, 1, x_34);
lean_ctor_set(x_64, 2, x_28);
x_65 = l_Lean_Meta_getGoalPrefix(x_6);
lean_dec(x_6);
x_66 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_63);
lean_ctor_set(x_66, 2, x_65);
lean_ctor_set(x_66, 3, x_4);
lean_ctor_set(x_66, 4, x_12);
lean_ctor_set(x_66, 5, x_12);
x_67 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_67, 0, x_66);
lean_ctor_set(x_67, 1, x_59);
return x_67;
}
}
}
else
{
uint8_t x_68; 
lean_free_object(x_28);
lean_dec(x_25);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
x_68 = !lean_is_exclusive(x_33);
if (x_68 == 0)
{
return x_33;
}
else
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_69 = lean_ctor_get(x_33, 0);
x_70 = lean_ctor_get(x_33, 1);
lean_inc(x_70);
lean_inc(x_69);
lean_dec(x_33);
x_71 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_71, 0, x_69);
lean_ctor_set(x_71, 1, x_70);
return x_71;
}
}
}
else
{
lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; 
x_72 = lean_ctor_get(x_28, 0);
x_73 = lean_ctor_get(x_28, 1);
lean_inc(x_73);
lean_inc(x_72);
lean_dec(x_28);
x_74 = 0;
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
x_75 = l_Lean_Widget_ppExprTagged(x_72, x_74, x_7, x_8, x_9, x_10, x_73);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
x_77 = lean_ctor_get(x_75, 1);
lean_inc(x_77);
lean_dec(x_75);
x_78 = lean_ctor_get(x_6, 0);
lean_inc(x_78);
x_79 = l_Lean_Elab_CommandContextInfo_save___at_Lean_Widget_goalToInteractive___spec__6(x_7, x_8, x_9, x_10, x_77);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
if (lean_obj_tag(x_78) == 0)
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_80 = lean_ctor_get(x_79, 0);
lean_inc(x_80);
x_81 = lean_ctor_get(x_79, 1);
lean_inc(x_81);
if (lean_is_exclusive(x_79)) {
 lean_ctor_release(x_79, 0);
 lean_ctor_release(x_79, 1);
 x_82 = x_79;
} else {
 lean_dec_ref(x_79);
 x_82 = lean_box(0);
}
x_83 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_83, 0, x_80);
lean_ctor_set(x_83, 1, x_12);
x_84 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_84, 0, x_25);
lean_ctor_set(x_84, 1, x_76);
lean_ctor_set(x_84, 2, x_83);
x_85 = l_Lean_Meta_getGoalPrefix(x_6);
lean_dec(x_6);
x_86 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_86, 0, x_84);
lean_ctor_set(x_86, 1, x_12);
lean_ctor_set(x_86, 2, x_85);
lean_ctor_set(x_86, 3, x_4);
lean_ctor_set(x_86, 4, x_12);
lean_ctor_set(x_86, 5, x_12);
if (lean_is_scalar(x_82)) {
 x_87 = lean_alloc_ctor(0, 2, 0);
} else {
 x_87 = x_82;
}
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set(x_87, 1, x_81);
return x_87;
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; 
x_88 = lean_ctor_get(x_79, 0);
lean_inc(x_88);
x_89 = lean_ctor_get(x_79, 1);
lean_inc(x_89);
if (lean_is_exclusive(x_79)) {
 lean_ctor_release(x_79, 0);
 lean_ctor_release(x_79, 1);
 x_90 = x_79;
} else {
 lean_dec_ref(x_79);
 x_90 = lean_box(0);
}
x_91 = lean_erase_macro_scopes(x_78);
x_92 = 1;
x_93 = l_Lean_Name_toString(x_91, x_92);
x_94 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_94, 0, x_93);
x_95 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_95, 0, x_88);
lean_ctor_set(x_95, 1, x_12);
x_96 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_96, 0, x_25);
lean_ctor_set(x_96, 1, x_76);
lean_ctor_set(x_96, 2, x_95);
x_97 = l_Lean_Meta_getGoalPrefix(x_6);
lean_dec(x_6);
x_98 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_98, 0, x_96);
lean_ctor_set(x_98, 1, x_94);
lean_ctor_set(x_98, 2, x_97);
lean_ctor_set(x_98, 3, x_4);
lean_ctor_set(x_98, 4, x_12);
lean_ctor_set(x_98, 5, x_12);
if (lean_is_scalar(x_90)) {
 x_99 = lean_alloc_ctor(0, 2, 0);
} else {
 x_99 = x_90;
}
lean_ctor_set(x_99, 0, x_98);
lean_ctor_set(x_99, 1, x_89);
return x_99;
}
}
else
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; 
lean_dec(x_25);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
x_100 = lean_ctor_get(x_75, 0);
lean_inc(x_100);
x_101 = lean_ctor_get(x_75, 1);
lean_inc(x_101);
if (lean_is_exclusive(x_75)) {
 lean_ctor_release(x_75, 0);
 lean_ctor_release(x_75, 1);
 x_102 = x_75;
} else {
 lean_dec_ref(x_75);
 x_102 = lean_box(0);
}
if (lean_is_scalar(x_102)) {
 x_103 = lean_alloc_ctor(1, 2, 0);
} else {
 x_103 = x_102;
}
lean_ctor_set(x_103, 0, x_100);
lean_ctor_set(x_103, 1, x_101);
return x_103;
}
}
}
}
}
else
{
uint8_t x_116; 
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
x_116 = !lean_is_exclusive(x_16);
if (x_116 == 0)
{
return x_16;
}
else
{
lean_object* x_117; lean_object* x_118; lean_object* x_119; 
x_117 = lean_ctor_get(x_16, 0);
x_118 = lean_ctor_get(x_16, 1);
lean_inc(x_118);
lean_inc(x_117);
lean_dec(x_16);
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;
}
}
}
}
static lean_object* _init_l_Lean_Widget_goalToInteractive___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_auxDecls;
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_goalToInteractive___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_implementationDetailHyps;
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_goalToInteractive___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Meta_pp_showLetValues;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_goalToInteractive(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_7 = lean_ctor_get(x_4, 2);
lean_inc(x_7);
x_8 = l_Lean_Widget_goalToInteractive___closed__1;
x_9 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_7, x_8);
x_10 = l_Lean_Widget_goalToInteractive___closed__2;
x_11 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_7, x_10);
x_12 = l_Lean_Widget_goalToInteractive___closed__3;
x_13 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_7, x_12);
lean_dec(x_7);
x_14 = lean_box(x_9);
x_15 = lean_box(x_11);
x_16 = lean_box(x_13);
lean_inc(x_1);
x_17 = lean_alloc_closure((void*)(l_Lean_Widget_goalToInteractive___lambda__1___boxed), 11, 4);
lean_closure_set(x_17, 0, x_14);
lean_closure_set(x_17, 1, x_15);
lean_closure_set(x_17, 2, x_16);
lean_closure_set(x_17, 3, x_1);
x_18 = l_Lean_Widget_withGoalCtx___at_Lean_Widget_goalToInteractive___spec__8___rarg(x_1, x_17, x_2, x_3, x_4, x_5, x_6);
return x_18;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
uint8_t x_17; uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; 
x_17 = lean_unbox(x_1);
lean_dec(x_1);
x_18 = lean_unbox(x_2);
lean_dec(x_2);
x_19 = lean_unbox(x_3);
lean_dec(x_3);
x_20 = lean_unbox_usize(x_9);
lean_dec(x_9);
x_21 = lean_unbox_usize(x_10);
lean_dec(x_10);
x_22 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__3(x_17, x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_20, x_21, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_8);
lean_dec(x_6);
return x_22;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___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) {
_start:
{
lean_object* x_11; 
x_11 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_7);
lean_dec(x_6);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
uint8_t x_16; uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; 
x_16 = lean_unbox(x_1);
lean_dec(x_1);
x_17 = lean_unbox(x_2);
lean_dec(x_2);
x_18 = lean_unbox(x_3);
lean_dec(x_3);
x_19 = lean_unbox_usize(x_8);
lean_dec(x_8);
x_20 = lean_unbox_usize(x_9);
lean_dec(x_9);
x_21 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4(x_16, x_17, x_18, x_4, x_5, x_6, x_7, x_19, x_20, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_7);
return x_21;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___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) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; 
x_14 = lean_unbox(x_1);
lean_dec(x_1);
x_15 = lean_unbox(x_2);
lean_dec(x_2);
x_16 = lean_unbox(x_3);
lean_dec(x_3);
x_17 = l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2(x_14, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_7);
lean_dec(x_6);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
uint8_t x_16; uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; 
x_16 = lean_unbox(x_1);
lean_dec(x_1);
x_17 = lean_unbox(x_2);
lean_dec(x_2);
x_18 = lean_unbox(x_3);
lean_dec(x_3);
x_19 = lean_unbox_usize(x_8);
lean_dec(x_8);
x_20 = lean_unbox_usize(x_9);
lean_dec(x_9);
x_21 = l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__5(x_16, x_17, x_18, x_4, x_5, x_6, x_7, x_19, x_20, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_7);
return x_21;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1___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) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; 
x_13 = lean_unbox(x_1);
lean_dec(x_1);
x_14 = lean_unbox(x_2);
lean_dec(x_2);
x_15 = lean_unbox(x_3);
lean_dec(x_3);
x_16 = l_Lean_PersistentArray_forIn___at_Lean_Widget_goalToInteractive___spec__1(x_13, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_6);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Widget_goalToInteractive___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Elab_CommandContextInfo_save___at_Lean_Widget_goalToInteractive___spec__6(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Widget_goalToInteractive___spec__9___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_throwError___at_Lean_Widget_goalToInteractive___spec__9___rarg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_goalToInteractive___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) {
_start:
{
uint8_t x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; 
x_12 = lean_unbox(x_1);
lean_dec(x_1);
x_13 = lean_unbox(x_2);
lean_dec(x_2);
x_14 = lean_unbox(x_3);
lean_dec(x_3);
x_15 = l_Lean_Widget_goalToInteractive___lambda__1(x_12, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_5);
return x_15;
}
}
lean_object* initialize_Lean_Meta_PPGoal(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Widget_InteractiveCode(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Data_Lsp_Extra(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Widget_InteractiveGoal(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Meta_PPGoal(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Widget_InteractiveCode(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Lsp_Extra(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Widget_InteractiveHypothesisBundle_val_x3f___default = _init_l_Lean_Widget_InteractiveHypothesisBundle_val_x3f___default();
lean_mark_persistent(l_Lean_Widget_InteractiveHypothesisBundle_val_x3f___default);
l_Lean_Widget_InteractiveHypothesisBundle_isInstance_x3f___default = _init_l_Lean_Widget_InteractiveHypothesisBundle_isInstance_x3f___default();
lean_mark_persistent(l_Lean_Widget_InteractiveHypothesisBundle_isInstance_x3f___default);
l_Lean_Widget_InteractiveHypothesisBundle_isType_x3f___default = _init_l_Lean_Widget_InteractiveHypothesisBundle_isType_x3f___default();
lean_mark_persistent(l_Lean_Widget_InteractiveHypothesisBundle_isType_x3f___default);
l_Lean_Widget_InteractiveHypothesisBundle_isInserted_x3f___default = _init_l_Lean_Widget_InteractiveHypothesisBundle_isInserted_x3f___default();
lean_mark_persistent(l_Lean_Widget_InteractiveHypothesisBundle_isInserted_x3f___default);
l_Lean_Widget_InteractiveHypothesisBundle_isRemoved_x3f___default = _init_l_Lean_Widget_InteractiveHypothesisBundle_isRemoved_x3f___default();
lean_mark_persistent(l_Lean_Widget_InteractiveHypothesisBundle_isRemoved_x3f___default);
l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1 = _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1();
lean_mark_persistent(l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__1);
l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2 = _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2();
lean_mark_persistent(l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__2);
l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__3 = _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__3();
lean_mark_persistent(l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__3);
l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__4 = _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__4();
lean_mark_persistent(l_Lean_Widget_instInhabitedInteractiveHypothesisBundle___closed__4);
l_Lean_Widget_instInhabitedInteractiveHypothesisBundle = _init_l_Lean_Widget_instInhabitedInteractiveHypothesisBundle();
lean_mark_persistent(l_Lean_Widget_instInhabitedInteractiveHypothesisBundle);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__1);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__2);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__3 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__3);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__4);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__5 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__5);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__6 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__6);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__7);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__8 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__8);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__9 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__9);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__10);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__11 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__11();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__11);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__12);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__13 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__13();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__13);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__14 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__14();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__14);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__15 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__15();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__15);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__16);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__17 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__17();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__17);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__18);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__19 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__19();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__19);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__20 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__20();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__20);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__21 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__21();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__21);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__22);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__23);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__24 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__24();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__24);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__25 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__25();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__25);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__26 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__26();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__26);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__27);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__28 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__28();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__28);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__29);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__30 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__30();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__30);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__31 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__31();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__31);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__32 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__32();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__32);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__33 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__33();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__33);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__34);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__35 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__35();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__35);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__36);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__37 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__37();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__37);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__38 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__38();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__38);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__39 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__39();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__39);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__40 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__40();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__40);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__41 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__41();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__41);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__42 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__42();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__42);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__43 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__43();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__43);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__44 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__44();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__44);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__45 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__45();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__45);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__46 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__46();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__46);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__47 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__47();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__47);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__48 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__48();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__48);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__49 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__49();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__49);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__50 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__50();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__50);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__51 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__51();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__51);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__52 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__52();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__52);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__53 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__53();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__53);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__54 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__54();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__54);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__55 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__55();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__55);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__56 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__56();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__56);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__57);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__58 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__58();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__58);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__59 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__59();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__59);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__60 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__60();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__60);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__61 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__61();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__61);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__62 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__62();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__62);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__63);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__64 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__64();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__64);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__65 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__65();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__65);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__66 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__66();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__66);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__67 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__67();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__67);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__68 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__68();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_177____closed__68);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instFromJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instToJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__1);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__2);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__3);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__4___closed__4);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__1);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__2 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__2);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__3 = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__3();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle___closed__3);
l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle = _init_l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle);
l_Lean_Widget_InteractiveGoal_isInserted_x3f___default = _init_l_Lean_Widget_InteractiveGoal_isInserted_x3f___default();
lean_mark_persistent(l_Lean_Widget_InteractiveGoal_isInserted_x3f___default);
l_Lean_Widget_InteractiveGoal_isRemoved_x3f___default = _init_l_Lean_Widget_InteractiveGoal_isRemoved_x3f___default();
lean_mark_persistent(l_Lean_Widget_InteractiveGoal_isRemoved_x3f___default);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__1);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__2 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__2);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__3 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__3);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__4 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__4);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__5 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__5);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__6 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__6);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__7 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__7);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__8 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__8);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__9 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__9);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__10 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__10();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__10);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__11);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__12 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__12();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__12);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__13 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__13();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__13);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__14 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__14();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__14);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__15 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__15();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__15);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__16 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__16();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__16);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__17 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__17();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__17);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__18);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__19 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__19();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__19);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__20 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__20();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__20);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__21 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__21();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__21);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__22 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__22();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__22);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__23 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__23();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__23);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__24 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__24();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__24);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__25 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__25();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__25);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__26 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__26();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__26);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__27 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__27();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__27);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__28 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__28();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__28);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__29);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__30 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__30();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__30);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__31 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__31();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__31);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__32 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__32();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__32);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__33 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__33();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__33);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__34);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__35 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__35();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__35);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__36 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__36();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__36);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__37 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__37();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__37);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__38 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__38();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__38);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__39 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__39();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__39);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__40 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__40();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__40);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__41 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__41();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__41);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__42 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__42();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1335____closed__42);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instFromJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instToJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__2 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__2);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__3 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__3();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal___closed__3);
l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal = _init_l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__1);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__2 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__2);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__3 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__3);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__4 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__4);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__5 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__5);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__6 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__6);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__7 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__7);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__8 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__8);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__9 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__9);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__10 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__10();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__10);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__11);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__12 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__12();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__12);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__13 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__13();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__13);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__14 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__14();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__14);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__15 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__15();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__15);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__16 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__16();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__16);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__17 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__17();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__17);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__18);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__19 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__19();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__19);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__20 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__20();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__20);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__21 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__21();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__21);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__22 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__22();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__22);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__23);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__24 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__24();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__24);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__25 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__25();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__25);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__26 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__26();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__26);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__27 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__27();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveTermGoal_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2410____closed__27);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instFromJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instToJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__2 = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__2);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__3 = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__3();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal___closed__3);
l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal = _init_l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___closed__1();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___lambda__1___closed__1);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__1();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__1);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__2();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__2);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__3);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__4();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__4);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__5();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__5);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__6();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__6);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__7);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__8();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__8);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__9);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__10 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__10();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__10);
l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__11 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__11();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__1___closed__11);
l_Lean_Widget_InteractiveGoalCore_pretty___closed__1 = _init_l_Lean_Widget_InteractiveGoalCore_pretty___closed__1();
lean_mark_persistent(l_Lean_Widget_InteractiveGoalCore_pretty___closed__1);
l_Lean_Widget_InteractiveGoalCore_pretty___closed__2 = _init_l_Lean_Widget_InteractiveGoalCore_pretty___closed__2();
lean_mark_persistent(l_Lean_Widget_InteractiveGoalCore_pretty___closed__2);
l_Lean_Widget_InteractiveGoalCore_pretty___closed__3 = _init_l_Lean_Widget_InteractiveGoalCore_pretty___closed__3();
lean_mark_persistent(l_Lean_Widget_InteractiveGoalCore_pretty___closed__3);
l_Lean_Widget_InteractiveTermGoal_pretty___closed__1 = _init_l_Lean_Widget_InteractiveTermGoal_pretty___closed__1();
lean_mark_persistent(l_Lean_Widget_InteractiveTermGoal_pretty___closed__1);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__1);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__2 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__2);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__3 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__3);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__4 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__4);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__5 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__5);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__6 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__6);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__7 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__7);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__8 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__8);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__9 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__9);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__10 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__10();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__10);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__11 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__11();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__11);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__12 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__12();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__12);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__13 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__13();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__13);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__14 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__14();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__14);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__15 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__15();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__15);
l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__16 = _init_l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__16();
lean_mark_persistent(l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_Lean_Widget_InteractiveGoals_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_3503____closed__16);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instFromJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instToJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__1 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__1);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__2 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__2);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__3 = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__3();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals___closed__3);
l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals = _init_l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_InteractiveGoals_instRpcEncodableInteractiveGoals);
l_Lean_Widget_instAppendInteractiveGoals___closed__1 = _init_l_Lean_Widget_instAppendInteractiveGoals___closed__1();
lean_mark_persistent(l_Lean_Widget_instAppendInteractiveGoals___closed__1);
l_Lean_Widget_instAppendInteractiveGoals = _init_l_Lean_Widget_instAppendInteractiveGoals();
lean_mark_persistent(l_Lean_Widget_instAppendInteractiveGoals);
l_Lean_Widget_instEmptyCollectionInteractiveGoals = _init_l_Lean_Widget_instEmptyCollectionInteractiveGoals();
lean_mark_persistent(l_Lean_Widget_instEmptyCollectionInteractiveGoals);
l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1 = _init_l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Widget_addInteractiveHypothesisBundle___lambda__1___closed__1);
l_Lean_Widget_addInteractiveHypothesisBundle___closed__1 = _init_l_Lean_Widget_addInteractiveHypothesisBundle___closed__1();
lean_mark_persistent(l_Lean_Widget_addInteractiveHypothesisBundle___closed__1);
l_Lean_Widget_addInteractiveHypothesisBundle___closed__2 = _init_l_Lean_Widget_addInteractiveHypothesisBundle___closed__2();
lean_mark_persistent(l_Lean_Widget_addInteractiveHypothesisBundle___closed__2);
l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__1 = _init_l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__1);
l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2 = _init_l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2();
lean_mark_persistent(l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__2);
l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3 = _init_l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3();
lean_mark_persistent(l_Lean_Widget_withGoalCtx___rarg___lambda__2___closed__3);
l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1();
lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Widget_goalToInteractive___spec__4___lambda__2___closed__1);
l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1 = _init_l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1();
lean_mark_persistent(l_Lean_Elab_CommandContextInfo_saveNoFileMap___at_Lean_Widget_goalToInteractive___spec__7___rarg___closed__1);
l_Lean_Widget_goalToInteractive___lambda__1___closed__1 = _init_l_Lean_Widget_goalToInteractive___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Widget_goalToInteractive___lambda__1___closed__1);
l_Lean_Widget_goalToInteractive___lambda__1___closed__2 = _init_l_Lean_Widget_goalToInteractive___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Widget_goalToInteractive___lambda__1___closed__2);
l_Lean_Widget_goalToInteractive___closed__1 = _init_l_Lean_Widget_goalToInteractive___closed__1();
lean_mark_persistent(l_Lean_Widget_goalToInteractive___closed__1);
l_Lean_Widget_goalToInteractive___closed__2 = _init_l_Lean_Widget_goalToInteractive___closed__2();
lean_mark_persistent(l_Lean_Widget_goalToInteractive___closed__2);
l_Lean_Widget_goalToInteractive___closed__3 = _init_l_Lean_Widget_goalToInteractive___closed__3();
lean_mark_persistent(l_Lean_Widget_goalToInteractive___closed__3);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
