diff --git "a/.lake/build/ir/REPL/JSON.c" "b/.lake/build/ir/REPL/JSON.c" new file mode 100644--- /dev/null +++ "b/.lake/build/ir/REPL/JSON.c" @@ -0,0 +1,9924 @@ +// Lean compiler output +// Module: REPL.JSON +// Imports: Init Lean.Data.Json Lean.Message Lean.Elab.InfoTree.Main +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_Lean_JsonNumber_fromNat(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__5; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__3___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__3; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__3; +lean_object* l_List_join___rarg(lean_object*); +LEAN_EXPORT lean_object* l_REPL_instToJsonCommand; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__1; +static lean_object* l_REPL_instToJsonCommand___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__20; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__16; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__15; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__7; +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__14; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__19; +lean_object* l_Lean_Json_mkObj(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__3; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__19; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__10; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54_(lean_object*); +lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_REPL_instToJsonPickleProofState; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__1(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__15; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1; +LEAN_EXPORT lean_object* l_REPL_instToJsonPickleEnvironment; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__12; +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_REPL_instFromJsonProofStep; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__3; +LEAN_EXPORT lean_object* l_REPL_instFromJsonCommandResponse; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_REPL_instFromJsonProofStepResponse___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__3; +LEAN_EXPORT lean_object* l_REPL_Severity_toCtorIdx___boxed(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__6(size_t, size_t, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__18; +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__6; +static lean_object* l_REPL_instToJsonUnpickleEnvironment___closed__1; +lean_object* l_String_trim(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__1; +static lean_object* l_REPL_instFromJsonMessage___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__23; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__6___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__6; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__3; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__15; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6; +LEAN_EXPORT lean_object* l_REPL_instFromJsonSeverity; +LEAN_EXPORT lean_object* l_REPL_ProofStepResponse_messages___default; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____boxed(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__8; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__7; +static lean_object* l_REPL_instFromJsonUnpickleProofState___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__20; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__18; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__8; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407_(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____boxed(lean_object*); +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___at_REPL_instToJsonProofStepResponse__1___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_REPL_instFromJsonMessage; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__13; +LEAN_EXPORT lean_object* l_REPL_instToJsonProofStep; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__14; +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__5(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__5; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__5; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__2; +LEAN_EXPORT lean_object* l_REPL_instToJsonPos; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__3; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__21; +lean_object* l_Lean_Json_getBool_x3f(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798_(uint8_t); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__5; +static lean_object* l_REPL_instToJsonError___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__2; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__2___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__5; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__2; +lean_object* l_Lean_Json_getStr_x3f(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__2; +static lean_object* l_REPL_instFromJsonUnpickleEnvironment___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__10; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__4(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__12; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4; +LEAN_EXPORT lean_object* l_REPL_instToJsonUnpickleEnvironment; +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__8; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_REPL_instFromJsonError; +LEAN_EXPORT lean_object* l_REPL_Sorry_of___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_REPL_instFromJsonPickleProofState___closed__1; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__2(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__10; +uint8_t l_instDecidableNot___rarg(uint8_t); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__22; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__2(size_t, size_t, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__12; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__5; +static lean_object* l_REPL_instToJsonSorry___closed__1; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__6; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__6; +LEAN_EXPORT lean_object* l_REPL_instFromJsonPickleProofState; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__12; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__6; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__7; +static lean_object* l_REPL_instFromJsonPickleEnvironment___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__15; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__1; +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__16; +static lean_object* l_REPL_instToJsonPos___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__2; +LEAN_EXPORT lean_object* l_REPL_Message_of(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__3; +lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__6; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__2; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__5; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__12; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__11; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__3; +LEAN_EXPORT lean_object* l_REPL_instFromJsonTactic; +static lean_object* l_REPL_Severity_noConfusion___rarg___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__7; +LEAN_EXPORT lean_object* l_REPL_CommandResponse_tactics___default; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__2; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__6; +LEAN_EXPORT lean_object* l_REPL_instToJsonProofStepResponse__1(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__5; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____boxed(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +LEAN_EXPORT lean_object* l_REPL_instToJsonTactic; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__4(size_t, size_t, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__4; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__5; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__5; +lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__4; +LEAN_EXPORT lean_object* l_REPL_CommandResponse_messages___default; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__10; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__3; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__4; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__5; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__6; +static lean_object* l_REPL_instFromJsonSeverity___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__10; +LEAN_EXPORT lean_object* l_REPL_instFromJsonProofStepResponse; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__11; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__8; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__6; +LEAN_EXPORT lean_object* l_REPL_CommandResponse_infotree___default; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____boxed(lean_object*); +LEAN_EXPORT lean_object* l_REPL_instFromJsonPickleEnvironment; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__11; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__14; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____boxed(lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__10; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__3; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__20; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__1; +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__7___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__6___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__18; +LEAN_EXPORT lean_object* l_REPL_CommandResponse_sorries___default; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__5___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__21; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__14; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__12; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__5; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__13; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__11; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__11; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__2(lean_object*, lean_object*); +static lean_object* l_REPL_instFromJsonCommand___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__16; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___boxed(lean_object*); +static lean_object* l_REPL_instFromJsonTactic___closed__1; +LEAN_EXPORT lean_object* l_REPL_Sorry_of(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_REPL_instToJsonCommandResponse(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____boxed(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__1; +LEAN_EXPORT lean_object* l_REPL_Severity_toCtorIdx(uint8_t); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__11; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__2; +LEAN_EXPORT lean_object* l_REPL_Tactic_of(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4; +static lean_object* l_REPL_instFromJsonError___closed__1; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__1; +LEAN_EXPORT lean_object* l_REPL_instFromJsonPos; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(lean_object*); +static lean_object* l_REPL_instFromJsonSorry___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__15; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023_(lean_object*); +LEAN_EXPORT lean_object* l_REPL_instFromJsonSorry; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__23; +static lean_object* l_REPL_instToJsonSorry___closed__2; +lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__13; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____boxed(lean_object*); +static lean_object* l_REPL_instToJsonProofStep___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__16; +LEAN_EXPORT lean_object* l_REPL_Tactic_of___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__9; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__10; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__12; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__12; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__2(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__2; +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__1; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495_(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__8; +static lean_object* l_REPL_instToJsonMessage___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__13; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694_(lean_object*); +LEAN_EXPORT lean_object* l_REPL_instFromJsonCommand; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9; +LEAN_EXPORT lean_object* l_REPL_instToJsonSeverity; +static lean_object* l_REPL_instToJsonSeverity___closed__1; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____boxed(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__3; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2; +static lean_object* l_REPL_instToJsonPickleProofState___closed__1; +static lean_object* l_REPL_instFromJsonPos___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__4; +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__3; +lean_object* l_Except_orElseLazy___rarg(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__15; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__7; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__1; +lean_object* l_Lean_Json_getNat_x3f(lean_object*); +static lean_object* l_REPL_instFromJsonProofStep___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__6; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +static lean_object* l_REPL_instFromJsonFile___closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__9; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__2(size_t, size_t, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__3(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__3; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____boxed(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__22; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__4; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__13; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__14; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1; +LEAN_EXPORT lean_object* l_REPL_instToJsonError; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____boxed(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3; +LEAN_EXPORT lean_object* l_REPL_instToJsonUnpickleProofState; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__5; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__1; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__5; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__11; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__6; +size_t lean_usize_add(size_t, size_t); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__11; +LEAN_EXPORT lean_object* l_REPL_instFromJsonUnpickleProofState; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__3; +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__2; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__11; +lean_object* l_List_redLength___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonPickleProofState____x40_REPL_JSON___hyg_3241_(lean_object*); +LEAN_EXPORT lean_object* l_REPL_instFromJsonFile; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__5; +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__13; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__3; +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_REPL_instToJsonUnpickleProofState___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__2; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__2; +uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_REPL_instToJsonTactic___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__5; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__8; +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__19; +LEAN_EXPORT lean_object* l_REPL_ProofStepResponse_sorries___default; +static lean_object* l_REPL_instFromJsonCommandResponse___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__8; +lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__6; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__10; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__16; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__8; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__14; +LEAN_EXPORT lean_object* l_REPL_CommandOptions_allTactics___default; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__9; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__10; +static lean_object* l_REPL_instToJsonProofStepResponse___closed__1; +LEAN_EXPORT lean_object* l_REPL_instToJsonMessage; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__6(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_REPL_instToJsonSorry(lean_object*); +static lean_object* l_REPL_instToJsonPickleEnvironment___closed__1; +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg___lambda__1(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__17; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__6; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__3___boxed(lean_object*, lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__3; +LEAN_EXPORT lean_object* l_REPL_instFromJsonUnpickleEnvironment; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__7; +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__4; +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_REPL_instToJsonProofStepResponse; +static lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483_(lean_object*); +static lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__7; +static lean_object* _init_l_REPL_CommandOptions_allTactics___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("cmd", 3); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("allTactics", 10); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("infotree", 8); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("env", 3); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54_(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_box(0); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 2); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_8, 0, x_7); +x_9 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_4); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_4); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_59; +x_59 = lean_box(0); +x_13 = x_59; +goto block_58; +} +else +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_60 = lean_ctor_get(x_3, 0); +lean_inc(x_60); +lean_dec(x_3); +x_61 = lean_alloc_ctor(1, 0, 1); +x_62 = lean_unbox(x_60); +lean_dec(x_60); +lean_ctor_set_uint8(x_61, 0, x_62); +x_13 = x_61; +goto block_58; +} +block_58: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +if (lean_obj_tag(x_5) == 0) +{ +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_12); +x_19 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__5; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_16); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_List_join___rarg(x_21); +x_23 = l_Lean_Json_mkObj(x_22); +return x_23; +} +else +{ +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; +x_24 = lean_ctor_get(x_6, 0); +lean_inc(x_24); +lean_dec(x_6); +x_25 = l_Lean_JsonNumber_fromNat(x_24); +x_26 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_4); +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 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__5; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_16); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_List_join___rarg(x_33); +x_35 = l_Lean_Json_mkObj(x_34); +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_5, 0); +lean_inc(x_36); +lean_dec(x_5); +x_37 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_37, 0, x_36); +x_38 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_4); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_41 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_12); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_16); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_List_join___rarg(x_44); +x_46 = l_Lean_Json_mkObj(x_45); +return x_46; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_47 = lean_ctor_get(x_6, 0); +lean_inc(x_47); +lean_dec(x_6); +x_48 = l_Lean_JsonNumber_fromNat(x_47); +x_49 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_49); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_4); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_12); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_40); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_16); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_List_join___rarg(x_55); +x_57 = l_Lean_Json_mkObj(x_56); +return x_57; +} +} +} +} +} +static lean_object* _init_l_REPL_instToJsonCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonCommand___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getBool_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getStr_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getNat_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l_Lean_Json_getStr_x3f(x_3); +lean_dec(x_3); +return x_4; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("REPL", 4); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Command", 7); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__3; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(".", 1); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__8() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__7; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(": ", 2); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__9; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__12; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__14; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__16; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__18; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__21() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__20; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__21; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__22; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__11; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__11; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__2(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__15; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__15; +x_21 = lean_string_append(x_20, x_19); +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_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_25 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_23); +lean_dec(x_12); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__19; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__19; +x_32 = lean_string_append(x_31, x_30); +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_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1; +x_36 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_35); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__23; +x_40 = lean_string_append(x_39, x_38); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_40); +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__23; +x_43 = lean_string_append(x_42, x_41); +lean_dec(x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_36); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_36, 0); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_12); +lean_ctor_set(x_47, 1, x_23); +x_48 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_34); +lean_ctor_set(x_48, 2, x_46); +lean_ctor_set(x_36, 0, x_48); +return x_36; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_36, 0); +lean_inc(x_49); +lean_dec(x_36); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_12); +lean_ctor_set(x_50, 1, x_23); +x_51 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_34); +lean_ctor_set(x_51, 2, x_49); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +return x_52; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonCommand___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonCommand() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonCommand___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l_Lean_Json_getStr_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_4); +if (x_8 == 0) +{ +return x_4; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("File", 4); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__5; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("path", 4); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__11() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__10; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__11; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__12; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__6; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__6; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__2(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__8; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__8; +x_21 = lean_string_append(x_20, x_19); +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_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__9; +x_25 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_23); +lean_dec(x_12); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__13; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__13; +x_32 = lean_string_append(x_31, x_30); +lean_dec(x_30); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_25); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_25, 0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_12); +lean_ctor_set(x_36, 1, x_23); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_25, 0, x_37); +return x_25; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_25, 0); +lean_inc(x_38); +lean_dec(x_25); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_12); +lean_ctor_set(x_39, 1, x_23); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +return x_41; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonFile___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonFile() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonFile___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("proofState", 10); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tactic", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483_(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_JsonNumber_fromNat(x_2); +x_4 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_List_join___rarg(x_15); +x_17 = l_Lean_Json_mkObj(x_16); +return x_17; +} +} +static lean_object* _init_l_REPL_instToJsonProofStep___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonProofStep() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonProofStep___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l_Lean_Json_getNat_x3f(x_3); +lean_dec(x_3); +return x_4; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ProofStep", 9); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__5; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__10() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__9; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__11; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__8; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__8; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__12; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__12; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonProofStep___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonProofStep() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonProofStep___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("line", 4); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("column", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_JsonNumber_fromNat(x_2); +x_4 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = l_Lean_JsonNumber_fromNat(x_9); +x_11 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_7); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_8); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_List_join___rarg(x_16); +x_18 = l_Lean_Json_mkObj(x_17); +return x_18; +} +} +static lean_object* _init_l_REPL_instToJsonPos___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonPos() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonPos___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Pos", 3); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__5; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__10() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__9; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__11; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__8; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__8; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__12; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__12; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonPos___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonPos() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonPos___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_REPL_Severity_toCtorIdx(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(2u); +return x_4; +} +default: +{ +lean_object* x_5; +x_5 = lean_unsigned_to_nat(3u); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_REPL_Severity_toCtorIdx___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_REPL_Severity_toCtorIdx(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg___lambda__1(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_REPL_Severity_noConfusion___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_REPL_Severity_noConfusion___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_REPL_Severity_noConfusion___rarg___closed__1; +return x_4; +} +} +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_REPL_Severity_noConfusion___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_REPL_Severity_noConfusion___rarg___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_REPL_Severity_noConfusion___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_REPL_Severity_noConfusion___rarg(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("trace", 5); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("info", 4); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("warning", 7); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__5; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("error", 5); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__7; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798_(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__2; +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__4; +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__6; +return x_4; +} +default: +{ +lean_object* x_5; +x_5 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__8; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798_(x_2); +return x_3; +} +} +static lean_object* _init_l_REPL_instToJsonSeverity___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonSeverity() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonSeverity___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("no inductive constructor matched", 32); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__2; +return x_2; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 2; +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; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1; +x_3 = l_Except_orElseLazy___rarg(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__5; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1; +x_9 = l_Except_orElseLazy___rarg(x_6, x_8); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1; +x_13 = l_Except_orElseLazy___rarg(x_11, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; +lean_dec(x_6); +x_14 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__3; +return x_14; +} +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___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___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__3; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2); +x_7 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___boxed), 3, 2); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Except_orElseLazy___rarg(x_6, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l_Except_orElseLazy___rarg(x_11, x_7); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +x_13 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___closed__1; +x_14 = l_Except_orElseLazy___rarg(x_13, x_7); +return x_14; +} +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +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___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__1; +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2); +x_7 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___boxed), 3, 2); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +lean_object* x_9; +x_9 = l_Except_orElseLazy___rarg(x_6, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_6, 0); +lean_inc(x_10); +lean_dec(x_6); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l_Except_orElseLazy___rarg(x_11, x_7); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +x_13 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___closed__1; +x_14 = l_Except_orElseLazy___rarg(x_13, x_7); +return x_14; +} +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____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___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__3() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 3; +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___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837_(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; +x_2 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__7; +x_3 = lean_unsigned_to_nat(0u); +x_4 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__2; +x_5 = l_Lean_Json_parseTagged(x_1, x_2, x_3, x_4); +x_6 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___boxed), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_4); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = l_Except_orElseLazy___rarg(x_5, x_6); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l_Except_orElseLazy___rarg(x_10, x_6); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +x_12 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__3; +x_13 = l_Except_orElseLazy___rarg(x_12, x_6); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +static lean_object* _init_l_REPL_instFromJsonSeverity___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonSeverity() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonSeverity___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("pos", 3); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("severity", 8); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("data", 4); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("endPos", 6); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__5; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023_(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; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_2); +x_4 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); +x_10 = l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798_(x_9); +x_11 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_6); +x_14 = lean_ctor_get(x_1, 2); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_6); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_6); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_19); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__6; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_List_join___rarg(x_23); +x_25 = l_Lean_Json_mkObj(x_24); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_26 = lean_ctor_get(x_8, 0); +lean_inc(x_26); +lean_dec(x_8); +x_27 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_26); +x_28 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_6); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_20); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_7); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_List_join___rarg(x_32); +x_34 = l_Lean_Json_mkObj(x_33); +return x_34; +} +} +} +static lean_object* _init_l_REPL_instToJsonMessage___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonMessage() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonMessage___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694_(x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837_(x_3); +return x_4; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Message", 7); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__5; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__9; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__11; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__14() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__13; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__14; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__15; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__18() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__17; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__18; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__19; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__8; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__8; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__2(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__12; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__12; +x_21 = lean_string_append(x_20, x_19); +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_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2; +x_25 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__3(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_23); +lean_dec(x_12); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__16; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__16; +x_32 = lean_string_append(x_31, x_30); +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_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3; +x_36 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_35); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__20; +x_40 = lean_string_append(x_39, x_38); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_40); +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__20; +x_43 = lean_string_append(x_42, x_41); +lean_dec(x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_36); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_46 = lean_ctor_get(x_36, 0); +x_47 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_47, 0, x_12); +lean_ctor_set(x_47, 1, x_23); +lean_ctor_set(x_47, 2, x_46); +x_48 = lean_unbox(x_34); +lean_dec(x_34); +lean_ctor_set_uint8(x_47, sizeof(void*)*3, x_48); +lean_ctor_set(x_36, 0, x_47); +return x_36; +} +else +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_36, 0); +lean_inc(x_49); +lean_dec(x_36); +x_50 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_50, 0, x_12); +lean_ctor_set(x_50, 1, x_23); +lean_ctor_set(x_50, 2, x_49); +x_51 = lean_unbox(x_34); +lean_dec(x_34); +lean_ctor_set_uint8(x_50, sizeof(void*)*3, x_51); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_50); +return x_52; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonMessage___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonMessage() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonMessage___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_REPL_Message_of(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 4); +lean_inc(x_3); +x_4 = l_Lean_MessageData_toString(x_3, x_2); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_4, 0); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_5, 1); +lean_inc(x_9); +lean_dec(x_5); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_ctor_get(x_1, 2); +lean_inc(x_11); +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*5 + 1); +lean_dec(x_1); +x_13 = l_String_trim(x_7); +lean_dec(x_7); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_14; +x_14 = lean_box(0); +switch (x_12) { +case 0: +{ +uint8_t x_15; lean_object* x_16; +x_15 = 1; +x_16 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_13); +lean_ctor_set_uint8(x_16, sizeof(void*)*3, x_15); +lean_ctor_set(x_4, 0, x_16); +return x_4; +} +case 1: +{ +uint8_t x_17; lean_object* x_18; +x_17 = 2; +x_18 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_14); +lean_ctor_set(x_18, 2, x_13); +lean_ctor_set_uint8(x_18, sizeof(void*)*3, x_17); +lean_ctor_set(x_4, 0, x_18); +return x_4; +} +default: +{ +uint8_t x_19; lean_object* x_20; +x_19 = 3; +x_20 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_14); +lean_ctor_set(x_20, 2, x_13); +lean_ctor_set_uint8(x_20, sizeof(void*)*3, x_19); +lean_ctor_set(x_4, 0, x_20); +return x_4; +} +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_11); +if (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_11, 0); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_11, 0, x_25); +switch (x_12) { +case 0: +{ +uint8_t x_26; lean_object* x_27; +x_26 = 1; +x_27 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_27, 0, x_10); +lean_ctor_set(x_27, 1, x_11); +lean_ctor_set(x_27, 2, x_13); +lean_ctor_set_uint8(x_27, sizeof(void*)*3, x_26); +lean_ctor_set(x_4, 0, x_27); +return x_4; +} +case 1: +{ +uint8_t x_28; lean_object* x_29; +x_28 = 2; +x_29 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_29, 0, x_10); +lean_ctor_set(x_29, 1, x_11); +lean_ctor_set(x_29, 2, x_13); +lean_ctor_set_uint8(x_29, sizeof(void*)*3, x_28); +lean_ctor_set(x_4, 0, x_29); +return x_4; +} +default: +{ +uint8_t x_30; lean_object* x_31; +x_30 = 3; +x_31 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_31, 0, x_10); +lean_ctor_set(x_31, 1, x_11); +lean_ctor_set(x_31, 2, x_13); +lean_ctor_set_uint8(x_31, sizeof(void*)*3, x_30); +lean_ctor_set(x_4, 0, x_31); +return x_4; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_11, 0); +lean_inc(x_32); +lean_dec(x_11); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +switch (x_12) { +case 0: +{ +uint8_t x_37; lean_object* x_38; +x_37 = 1; +x_38 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_38, 0, x_10); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_13); +lean_ctor_set_uint8(x_38, sizeof(void*)*3, x_37); +lean_ctor_set(x_4, 0, x_38); +return x_4; +} +case 1: +{ +uint8_t x_39; lean_object* x_40; +x_39 = 2; +x_40 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_40, 0, x_10); +lean_ctor_set(x_40, 1, x_36); +lean_ctor_set(x_40, 2, x_13); +lean_ctor_set_uint8(x_40, sizeof(void*)*3, x_39); +lean_ctor_set(x_4, 0, x_40); +return x_4; +} +default: +{ +uint8_t x_41; lean_object* x_42; +x_41 = 3; +x_42 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_42, 0, x_10); +lean_ctor_set(x_42, 1, x_36); +lean_ctor_set(x_42, 2, x_13); +lean_ctor_set_uint8(x_42, sizeof(void*)*3, x_41); +lean_ctor_set(x_4, 0, x_42); +return x_4; +} +} +} +} +} +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; uint8_t x_49; lean_object* x_50; +x_43 = lean_ctor_get(x_4, 0); +x_44 = lean_ctor_get(x_4, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_4); +x_45 = lean_ctor_get(x_5, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_5, 1); +lean_inc(x_46); +lean_dec(x_5); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_ctor_get(x_1, 2); +lean_inc(x_48); +x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*5 + 1); +lean_dec(x_1); +x_50 = l_String_trim(x_43); +lean_dec(x_43); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_51; +x_51 = lean_box(0); +switch (x_49) { +case 0: +{ +uint8_t x_52; lean_object* x_53; lean_object* x_54; +x_52 = 1; +x_53 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_53, 0, x_47); +lean_ctor_set(x_53, 1, x_51); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set_uint8(x_53, sizeof(void*)*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_44); +return x_54; +} +case 1: +{ +uint8_t x_55; lean_object* x_56; lean_object* x_57; +x_55 = 2; +x_56 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_51); +lean_ctor_set(x_56, 2, x_50); +lean_ctor_set_uint8(x_56, sizeof(void*)*3, x_55); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_44); +return x_57; +} +default: +{ +uint8_t x_58; lean_object* x_59; lean_object* x_60; +x_58 = 3; +x_59 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_59, 0, x_47); +lean_ctor_set(x_59, 1, x_51); +lean_ctor_set(x_59, 2, x_50); +lean_ctor_set_uint8(x_59, sizeof(void*)*3, x_58); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_44); +return x_60; +} +} +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_61 = lean_ctor_get(x_48, 0); +lean_inc(x_61); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + x_62 = x_48; +} else { + lean_dec_ref(x_48); + x_62 = lean_box(0); +} +x_63 = lean_ctor_get(x_61, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); +lean_dec(x_61); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +if (lean_is_scalar(x_62)) { + x_66 = lean_alloc_ctor(1, 1, 0); +} else { + x_66 = x_62; +} +lean_ctor_set(x_66, 0, x_65); +switch (x_49) { +case 0: +{ +uint8_t x_67; lean_object* x_68; lean_object* x_69; +x_67 = 1; +x_68 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_68, 0, x_47); +lean_ctor_set(x_68, 1, x_66); +lean_ctor_set(x_68, 2, x_50); +lean_ctor_set_uint8(x_68, sizeof(void*)*3, x_67); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_44); +return x_69; +} +case 1: +{ +uint8_t x_70; lean_object* x_71; lean_object* x_72; +x_70 = 2; +x_71 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_71, 0, x_47); +lean_ctor_set(x_71, 1, x_66); +lean_ctor_set(x_71, 2, x_50); +lean_ctor_set_uint8(x_71, sizeof(void*)*3, x_70); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_44); +return x_72; +} +default: +{ +uint8_t x_73; lean_object* x_74; lean_object* x_75; +x_73 = 3; +x_74 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_74, 0, x_47); +lean_ctor_set(x_74, 1, x_66); +lean_ctor_set(x_74, 2, x_50); +lean_ctor_set_uint8(x_74, sizeof(void*)*3, x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_44); +return x_75; +} +} +} +} +} +else +{ +uint8_t x_76; +lean_dec(x_1); +x_76 = !lean_is_exclusive(x_4); +if (x_76 == 0) +{ +return x_4; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_4, 0); +x_78 = lean_ctor_get(x_4, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_4); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Sorry", 5); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__5; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("goal", 4); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__11() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__10; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__11; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__12; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__14; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__6; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__6; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__8; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__8; +x_21 = lean_string_append(x_20, x_19); +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_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9; +x_25 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_23); +lean_dec(x_12); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__13; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__13; +x_32 = lean_string_append(x_31, x_30); +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_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_36 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3(x_1, x_35); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__15; +x_40 = lean_string_append(x_39, x_38); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_40); +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__15; +x_43 = lean_string_append(x_42, x_41); +lean_dec(x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +else +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_36); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_36, 0); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_12); +lean_ctor_set(x_47, 1, x_23); +lean_ctor_set(x_47, 2, x_34); +lean_ctor_set(x_47, 3, x_46); +lean_ctor_set(x_36, 0, x_47); +return x_36; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_36, 0); +lean_inc(x_48); +lean_dec(x_36); +x_49 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_49, 0, x_12); +lean_ctor_set(x_49, 1, x_23); +lean_ctor_set(x_49, 2, x_34); +lean_ctor_set(x_49, 3, x_48); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_49); +return x_50; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonSorry___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonSorry() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonSorry___closed__1; +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonSorry___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instToJsonSorry___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_REPL_instToJsonSorry___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_REPL_instToJsonSorry(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; uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_2 = lean_ctor_get(x_1, 2); +lean_inc(x_2); +x_3 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3, 0, x_2); +x_4 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +x_13 = l_instDecidableNot___rarg(x_12); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_nat_dec_eq(x_15, x_11); +lean_dec(x_15); +x_17 = l_instDecidableNot___rarg(x_16); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_58; +x_58 = lean_box(0); +x_18 = x_58; +goto block_57; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_8, 0); +lean_inc(x_59); +lean_dec(x_8); +x_60 = l_Lean_JsonNumber_fromNat(x_59); +x_61 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_18 = x_61; +goto block_57; +} +block_57: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_6); +if (x_13 == 0) +{ +lean_dec(x_9); +if (x_17 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_14); +x_22 = l_REPL_instToJsonSorry___closed__2; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_7); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_List_join___rarg(x_24); +x_26 = l_Lean_Json_mkObj(x_25); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_27 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_14); +x_28 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_6); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_6); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_6); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_21); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_7); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_List_join___rarg(x_34); +x_36 = l_Lean_Json_mkObj(x_35); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_9); +x_38 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_6); +if (x_17 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_14); +x_41 = l_REPL_instToJsonSorry___closed__1; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_21); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_7); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_List_join___rarg(x_44); +x_46 = l_Lean_Json_mkObj(x_45); +return x_46; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_47 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_14); +x_48 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_6); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_6); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_40); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_21); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_7); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_List_join___rarg(x_54); +x_56 = l_Lean_Json_mkObj(x_55); +return x_56; +} +} +} +} +} +LEAN_EXPORT lean_object* l_REPL_Sorry_of(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +lean_inc(x_6); +lean_inc(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_inc(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set(x_11, 2, x_1); +lean_ctor_set(x_11, 3, x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_REPL_Sorry_of___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_REPL_Sorry_of(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("goals", 5); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__2; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__3; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714_(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_2); +x_4 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_8); +x_10 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_6); +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +x_14 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_6); +x_18 = lean_ctor_get(x_1, 3); +lean_inc(x_18); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_6); +x_23 = lean_ctor_get(x_1, 4); +lean_inc(x_23); +lean_dec(x_1); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_24 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__4; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_17); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_7); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_List_join___rarg(x_28); +x_30 = l_Lean_Json_mkObj(x_29); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 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; +x_31 = lean_ctor_get(x_23, 0); +lean_inc(x_31); +lean_dec(x_23); +x_32 = l_Lean_JsonNumber_fromNat(x_31); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_6); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_6); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_22); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_17); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_12); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_7); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_List_join___rarg(x_41); +x_43 = l_Lean_Json_mkObj(x_42); +return x_43; +} +} +} +static lean_object* _init_l_REPL_instToJsonTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonTactic() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonTactic___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Tactic", 6); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__5; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__10() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__9; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__11; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__13; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__15; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__6; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__6; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____spec__1(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__8; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__8; +x_21 = lean_string_append(x_20, x_19); +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_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1; +x_25 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_23); +lean_dec(x_12); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__12; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__12; +x_32 = lean_string_append(x_31, x_30); +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_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2; +x_36 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_35); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__14; +x_40 = lean_string_append(x_39, x_38); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_40); +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__14; +x_43 = lean_string_append(x_42, x_41); +lean_dec(x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_36, 0); +lean_inc(x_45); +lean_dec(x_36); +x_46 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_47 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3(x_1, x_46); +if (lean_obj_tag(x_47) == 0) +{ +uint8_t x_48; +lean_dec(x_45); +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 0); +x_50 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__16; +x_51 = lean_string_append(x_50, x_49); +lean_dec(x_49); +lean_ctor_set(x_47, 0, x_51); +return x_47; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_47, 0); +lean_inc(x_52); +lean_dec(x_47); +x_53 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__16; +x_54 = lean_string_append(x_53, x_52); +lean_dec(x_52); +x_55 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_55, 0, x_54); +return x_55; +} +} +else +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_47); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_47, 0); +x_58 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_58, 0, x_12); +lean_ctor_set(x_58, 1, x_23); +lean_ctor_set(x_58, 2, x_34); +lean_ctor_set(x_58, 3, x_45); +lean_ctor_set(x_58, 4, x_57); +lean_ctor_set(x_47, 0, x_58); +return x_47; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_47, 0); +lean_inc(x_59); +lean_dec(x_47); +x_60 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_60, 0, x_12); +lean_ctor_set(x_60, 1, x_23); +lean_ctor_set(x_60, 2, x_34); +lean_ctor_set(x_60, 3, x_45); +lean_ctor_set(x_60, 4, x_59); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +return x_61; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonTactic() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonTactic___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_REPL_Tactic_of(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; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_7); +lean_inc(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +lean_inc(x_9); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_1); +lean_ctor_set(x_12, 3, x_2); +lean_ctor_set(x_12, 4, x_5); +return x_12; +} +} +LEAN_EXPORT lean_object* l_REPL_Tactic_of___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_REPL_Tactic_of(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +static lean_object* _init_l_REPL_CommandResponse_messages___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_REPL_CommandResponse_sorries___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_REPL_CommandResponse_tactics___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_REPL_CommandResponse_infotree___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____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) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097_(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_15; +x_3 = x_16; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expected JSON array, got '", 26); +return x_1; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 4) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__2(x_6, x_7, x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_8); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_8, 0); +x_14 = lean_array_to_list(lean_box(0), x_13); +lean_ctor_set(x_8, 0, x_14); +return x_8; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +lean_dec(x_8); +x_16 = lean_array_to_list(lean_box(0), x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_unsigned_to_nat(80u); +x_19 = l_Lean_Json_pretty(x_3, x_18); +x_20 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379_(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_15; +x_3 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 4) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__4(x_6, x_7, x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_8); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_8, 0); +x_14 = lean_array_to_list(lean_box(0), x_13); +lean_ctor_set(x_8, 0, x_14); +return x_8; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +lean_dec(x_8); +x_16 = lean_array_to_list(lean_box(0), x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_unsigned_to_nat(80u); +x_19 = l_Lean_Json_pretty(x_3, x_18); +x_20 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802_(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_15; +x_3 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 4) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__6(x_6, x_7, x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_8); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_8, 0); +x_14 = lean_array_to_list(lean_box(0), x_13); +lean_ctor_set(x_8, 0, x_14); +return x_8; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +lean_dec(x_8); +x_16 = lean_array_to_list(lean_box(0), x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_unsigned_to_nat(80u); +x_19 = l_Lean_Json_pretty(x_3, x_18); +x_20 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, 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___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("CommandResponse", 15); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__5; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("messages", 8); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__9() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__8; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__9; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__10; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("sorries", 7); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__14() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__13; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__14; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__15; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tactics", 7); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__19() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__18; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__19; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__20; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__22; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__6; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__6; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__11; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__11; +x_21 = lean_string_append(x_20, x_19); +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_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12; +x_25 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__3(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_23); +lean_dec(x_12); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__16; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__16; +x_32 = lean_string_append(x_31, x_30); +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_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17; +x_36 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__5(x_1, x_35); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__21; +x_40 = lean_string_append(x_39, x_38); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_40); +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__21; +x_43 = lean_string_append(x_42, x_41); +lean_dec(x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = lean_ctor_get(x_36, 0); +lean_inc(x_45); +lean_dec(x_36); +x_46 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +x_47 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__7(x_1, x_46); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_50, 0, x_12); +lean_ctor_set(x_50, 1, x_23); +lean_ctor_set(x_50, 2, x_34); +lean_ctor_set(x_50, 3, x_45); +lean_ctor_set(x_50, 4, x_49); +lean_ctor_set(x_47, 0, x_50); +return x_47; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_47, 0); +lean_inc(x_51); +lean_dec(x_47); +x_52 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_52, 0, x_12); +lean_ctor_set(x_52, 1, x_23); +lean_ctor_set(x_52, 2, x_34); +lean_ctor_set(x_52, 3, x_45); +lean_ctor_set(x_52, 4, x_51); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +return x_53; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____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___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__4___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___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__4(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +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___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__6(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__5(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonCommandResponse___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonCommandResponse() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonCommandResponse___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +lean_inc(x_1); +x_9 = lean_apply_1(x_1, x_6); +x_10 = 1; +x_11 = lean_usize_add(x_3, x_10); +x_12 = lean_array_uset(x_8, x_3, x_9); +x_3 = x_11; +x_4 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg___boxed), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = l_List_redLength___rarg(x_3); +x_6 = lean_mk_empty_array_with_capacity(x_5); +lean_dec(x_5); +lean_inc(x_3); +x_7 = l_List_toArrayAux___rarg(x_3, x_6); +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_9 = lean_ctor_get(x_3, 1); +lean_dec(x_9); +x_10 = lean_ctor_get(x_3, 0); +lean_dec(x_10); +x_11 = lean_array_get_size(x_7); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +x_14 = l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg(x_1, x_12, x_13, x_7); +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_2); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_box(0); +lean_ctor_set(x_3, 1, x_17); +lean_ctor_set(x_3, 0, x_16); +return x_3; +} +else +{ +lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_3); +x_18 = lean_array_get_size(x_7); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = 0; +x_21 = l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg(x_1, x_19, x_20, x_7); +x_22 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_2); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_REPL_Json_nonemptyList___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_REPL_Json_nonemptyList___spec__1___rarg(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___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 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023_(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_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = l_List_redLength___rarg(x_2); +x_5 = lean_mk_empty_array_with_capacity(x_4); +lean_dec(x_4); +lean_inc(x_2); +x_6 = l_List_toArrayAux___rarg(x_2, x_5); +x_7 = !lean_is_exclusive(x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_2, 1); +lean_dec(x_8); +x_9 = lean_ctor_get(x_2, 0); +lean_dec(x_9); +x_10 = lean_array_get_size(x_6); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__2(x_11, x_12, x_6); +x_14 = lean_alloc_ctor(4, 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_1); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_box(0); +lean_ctor_set(x_2, 1, x_16); +lean_ctor_set(x_2, 0, x_15); +return x_2; +} +else +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_2); +x_17 = lean_array_get_size(x_6); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +x_20 = l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__2(x_18, x_19, x_6); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; size_t x_23; size_t x_24; lean_object* x_25; +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, 2); +lean_inc(x_8); +x_9 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +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 = lean_ctor_get(x_5, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_nat_dec_eq(x_16, x_6); +lean_dec(x_16); +x_18 = l_instDecidableNot___rarg(x_17); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_nat_dec_eq(x_20, x_6); +lean_dec(x_20); +x_22 = l_instDecidableNot___rarg(x_21); +x_23 = 1; +x_24 = lean_usize_add(x_2, x_23); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_73; +x_73 = lean_box(0); +x_25 = x_73; +goto block_72; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_14, 0); +lean_inc(x_74); +lean_dec(x_14); +x_75 = l_Lean_JsonNumber_fromNat(x_74); +x_76 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_25 = x_76; +goto block_72; +} +block_72: +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_12); +if (x_18 == 0) +{ +lean_dec(x_15); +if (x_22 == 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; +lean_dec(x_19); +x_29 = l_REPL_instToJsonSorry___closed__2; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_13); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_List_join___rarg(x_31); +x_33 = l_Lean_Json_mkObj(x_32); +x_34 = lean_array_uset(x_7, x_2, x_33); +x_2 = x_24; +x_3 = x_34; +goto _start; +} +else +{ +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; +x_36 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_19); +x_37 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_12); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_12); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_12); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_28); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_13); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_List_join___rarg(x_43); +x_45 = l_Lean_Json_mkObj(x_44); +x_46 = lean_array_uset(x_7, x_2, x_45); +x_2 = x_24; +x_3 = x_46; +goto _start; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_15); +x_49 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_12); +if (x_22 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_19); +x_52 = l_REPL_instToJsonSorry___closed__1; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_28); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_13); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_List_join___rarg(x_55); +x_57 = l_Lean_Json_mkObj(x_56); +x_58 = lean_array_uset(x_7, x_2, x_57); +x_2 = x_24; +x_3 = x_58; +goto _start; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_60 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_19); +x_61 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_12); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_12); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_51); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_28); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_13); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_List_join___rarg(x_67); +x_69 = l_Lean_Json_mkObj(x_68); +x_70 = lean_array_uset(x_7, x_2, x_69); +x_2 = x_24; +x_3 = x_70; +goto _start; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = l_List_redLength___rarg(x_2); +x_5 = lean_mk_empty_array_with_capacity(x_4); +lean_dec(x_4); +lean_inc(x_2); +x_6 = l_List_toArrayAux___rarg(x_2, x_5); +x_7 = !lean_is_exclusive(x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_2, 1); +lean_dec(x_8); +x_9 = lean_ctor_get(x_2, 0); +lean_dec(x_9); +x_10 = lean_array_get_size(x_6); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__4(x_11, x_12, x_6); +x_14 = lean_alloc_ctor(4, 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_1); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_box(0); +lean_ctor_set(x_2, 1, x_16); +lean_ctor_set(x_2, 0, x_15); +return x_2; +} +else +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_2); +x_17 = lean_array_get_size(x_6); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +x_20 = l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__4(x_18, x_19, x_6); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714_(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_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = l_List_redLength___rarg(x_2); +x_5 = lean_mk_empty_array_with_capacity(x_4); +lean_dec(x_4); +lean_inc(x_2); +x_6 = l_List_toArrayAux___rarg(x_2, x_5); +x_7 = !lean_is_exclusive(x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_2, 1); +lean_dec(x_8); +x_9 = lean_ctor_get(x_2, 0); +lean_dec(x_9); +x_10 = lean_array_get_size(x_6); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__6(x_11, x_12, x_6); +x_14 = lean_alloc_ctor(4, 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_1); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_box(0); +lean_ctor_set(x_2, 1, x_16); +lean_ctor_set(x_2, 0, x_15); +return x_2; +} +else +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_2); +x_17 = lean_array_get_size(x_6); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +x_20 = l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__6(x_18, x_19, x_6); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_REPL_instToJsonCommandResponse(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_JsonNumber_fromNat(x_2); +x_4 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7; +x_11 = l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__1(x_10, x_9); +x_12 = lean_ctor_get(x_1, 2); +lean_inc(x_12); +x_13 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12; +x_14 = l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__3(x_13, x_12); +x_15 = lean_ctor_get(x_1, 3); +lean_inc(x_15); +x_16 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17; +x_17 = l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__5(x_16, x_15); +x_18 = lean_ctor_get(x_1, 4); +lean_inc(x_18); +lean_dec(x_1); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = l_REPL_instToJsonSorry___closed__1; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_8); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_List_join___rarg(x_23); +x_25 = l_Lean_Json_mkObj(x_24); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_26 = lean_ctor_get(x_18, 0); +lean_inc(x_26); +lean_dec(x_18); +x_27 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_7); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_7); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_17); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_14); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_11); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_8); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_List_join___rarg(x_34); +x_36 = l_Lean_Json_mkObj(x_35); +return x_36; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___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_REPL_instToJsonCommandResponse___spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__4___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_REPL_instToJsonCommandResponse___spec__4(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +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_REPL_instToJsonCommandResponse___spec__6(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l_REPL_ProofStepResponse_messages___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_REPL_ProofStepResponse_sorries___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____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_alloc_ctor(3, 1, 0); +lean_ctor_set(x_8, 0, 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___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = lean_ctor_get(x_6, 2); +lean_inc(x_9); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +lean_inc(x_1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_1); +x_14 = lean_ctor_get(x_6, 3); +lean_inc(x_14); +x_15 = lean_ctor_get(x_6, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_nat_dec_eq(x_16, x_7); +lean_dec(x_16); +x_18 = l_instDecidableNot___rarg(x_17); +x_19 = lean_ctor_get(x_6, 1); +lean_inc(x_19); +lean_dec(x_6); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_nat_dec_eq(x_20, x_7); +lean_dec(x_20); +x_22 = l_instDecidableNot___rarg(x_21); +x_23 = lean_box(0); +x_24 = 1; +x_25 = lean_usize_add(x_3, x_24); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_75; +x_75 = lean_box(0); +x_26 = x_75; +goto block_74; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_14, 0); +lean_inc(x_76); +lean_dec(x_14); +x_77 = l_Lean_JsonNumber_fromNat(x_76); +x_78 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_26 = x_78; +goto block_74; +} +block_74: +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +lean_inc(x_1); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_1); +if (x_18 == 0) +{ +lean_dec(x_15); +if (x_22 == 0) +{ +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_dec(x_19); +lean_inc(x_1); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_1); +lean_ctor_set(x_30, 1, x_23); +lean_inc(x_1); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_13); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_List_join___rarg(x_33); +x_35 = l_Lean_Json_mkObj(x_34); +x_36 = lean_array_uset(x_8, x_3, x_35); +x_3 = x_25; +x_4 = x_36; +goto _start; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_38 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_19); +x_39 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +lean_inc(x_1); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_1); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_23); +lean_inc(x_1); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_1); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_29); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_13); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_List_join___rarg(x_45); +x_47 = l_Lean_Json_mkObj(x_46); +x_48 = lean_array_uset(x_8, x_3, x_47); +x_3 = x_25; +x_4 = x_48; +goto _start; +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_15); +x_51 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1; +x_52 = lean_alloc_ctor(0, 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(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_1); +if (x_22 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_19); +lean_inc(x_1); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_1); +lean_ctor_set(x_54, 1, x_23); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_29); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_13); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_List_join___rarg(x_57); +x_59 = l_Lean_Json_mkObj(x_58); +x_60 = lean_array_uset(x_8, x_3, x_59); +x_3 = x_25; +x_4 = x_60; +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; +x_62 = l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648_(x_19); +x_63 = l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4; +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +lean_inc(x_1); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_1); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_23); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_53); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_29); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_13); +lean_ctor_set(x_69, 1, x_68); +x_70 = l_List_join___rarg(x_69); +x_71 = l_Lean_Json_mkObj(x_70); +x_72 = lean_array_uset(x_8, x_3, x_71); +x_3 = x_25; +x_4 = x_72; +goto _start; +} +} +} +} +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("traces", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495_(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; size_t x_14; size_t 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; size_t 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; size_t 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; size_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_JsonNumber_fromNat(x_2); +x_4 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = l_List_redLength___rarg(x_9); +x_11 = lean_mk_empty_array_with_capacity(x_10); +lean_dec(x_10); +x_12 = l_List_toArrayAux___rarg(x_9, x_11); +x_13 = lean_array_get_size(x_12); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1(x_14, x_15, x_12); +x_17 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +x_21 = lean_ctor_get(x_1, 2); +lean_inc(x_21); +x_22 = l_List_redLength___rarg(x_21); +x_23 = lean_mk_empty_array_with_capacity(x_22); +lean_dec(x_22); +x_24 = l_List_toArrayAux___rarg(x_21, x_23); +x_25 = lean_array_get_size(x_24); +x_26 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_27 = l_Array_mapMUnsafe_map___at_REPL_instToJsonCommandResponse___spec__2(x_26, x_15, x_24); +x_28 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7; +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_7); +x_32 = lean_ctor_get(x_1, 3); +lean_inc(x_32); +x_33 = l_List_redLength___rarg(x_32); +x_34 = lean_mk_empty_array_with_capacity(x_33); +lean_dec(x_33); +x_35 = l_List_toArrayAux___rarg(x_32, x_34); +x_36 = lean_array_get_size(x_35); +x_37 = lean_usize_of_nat(x_36); +lean_dec(x_36); +x_38 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__2(x_7, x_37, x_15, x_35); +x_39 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_39, 0, x_38); +x_40 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12; +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_7); +x_43 = lean_ctor_get(x_1, 4); +lean_inc(x_43); +lean_dec(x_1); +x_44 = l_List_redLength___rarg(x_43); +x_45 = lean_mk_empty_array_with_capacity(x_44); +lean_dec(x_44); +x_46 = l_List_toArrayAux___rarg(x_43, x_45); +x_47 = lean_array_get_size(x_46); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1(x_48, x_15, x_46); +x_50 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_50, 0, x_49); +x_51 = l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_7); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_7); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_42); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_31); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_20); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_8); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_List_join___rarg(x_58); +x_60 = l_Lean_Json_mkObj(x_59); +return x_60; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____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___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____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_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__2(x_1, x_5, x_6, x_4); +return x_7; +} +} +static lean_object* _init_l_REPL_instToJsonProofStepResponse___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonProofStepResponse() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonProofStepResponse___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____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) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l_Lean_Json_getStr_x3f(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_15; +x_3 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 4) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__2(x_6, x_7, x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_8); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_8, 0); +x_14 = lean_array_to_list(lean_box(0), x_13); +lean_ctor_set(x_8, 0, x_14); +return x_8; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +lean_dec(x_8); +x_16 = lean_array_to_list(lean_box(0), x_15); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_unsigned_to_nat(80u); +x_19 = l_Lean_Json_pretty(x_3, x_18); +x_20 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2; +x_23 = lean_string_append(x_21, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ProofStepResponse", 17); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__5; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__9; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__9; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__14; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__11; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__14() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__13; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__14; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__15; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__6; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__6; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__1(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__8; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__8; +x_21 = lean_string_append(x_20, x_19); +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_14, 0); +lean_inc(x_23); +lean_dec(x_14); +x_24 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7; +x_25 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1(x_1, x_24); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +lean_dec(x_23); +lean_dec(x_12); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__10; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_29); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__10; +x_32 = lean_string_append(x_31, x_30); +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_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12; +x_36 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__3(x_1, x_35); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__12; +x_40 = lean_string_append(x_39, x_38); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_40); +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_36, 0); +lean_inc(x_41); +lean_dec(x_36); +x_42 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__12; +x_43 = lean_string_append(x_42, x_41); +lean_dec(x_41); +x_44 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_36, 0); +lean_inc(x_45); +lean_dec(x_36); +x_46 = l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1; +x_47 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__1(x_1, x_46); +if (lean_obj_tag(x_47) == 0) +{ +uint8_t x_48; +lean_dec(x_45); +lean_dec(x_34); +lean_dec(x_23); +lean_dec(x_12); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 0); +x_50 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__16; +x_51 = lean_string_append(x_50, x_49); +lean_dec(x_49); +lean_ctor_set(x_47, 0, x_51); +return x_47; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_47, 0); +lean_inc(x_52); +lean_dec(x_47); +x_53 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__16; +x_54 = lean_string_append(x_53, x_52); +lean_dec(x_52); +x_55 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_55, 0, x_54); +return x_55; +} +} +else +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_47); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_47, 0); +x_58 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_58, 0, x_12); +lean_ctor_set(x_58, 1, x_23); +lean_ctor_set(x_58, 2, x_34); +lean_ctor_set(x_58, 3, x_45); +lean_ctor_set(x_58, 4, x_57); +lean_ctor_set(x_47, 0, x_58); +return x_47; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_47, 0); +lean_inc(x_59); +lean_dec(x_47); +x_60 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_60, 0, x_12); +lean_ctor_set(x_60, 1, x_23); +lean_ctor_set(x_60, 2, x_34); +lean_ctor_set(x_60, 3, x_45); +lean_ctor_set(x_60, 4, x_59); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +return x_61; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____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___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonProofStepResponse___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonProofStepResponse() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonProofStepResponse___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_REPL_Json_nonemptyList___at_REPL_instToJsonProofStepResponse__1___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = l_List_redLength___rarg(x_2); +x_5 = lean_mk_empty_array_with_capacity(x_4); +lean_dec(x_4); +lean_inc(x_2); +x_6 = l_List_toArrayAux___rarg(x_2, x_5); +x_7 = !lean_is_exclusive(x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_8 = lean_ctor_get(x_2, 1); +lean_dec(x_8); +x_9 = lean_ctor_get(x_2, 0); +lean_dec(x_9); +x_10 = lean_array_get_size(x_6); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1(x_11, x_12, x_6); +x_14 = lean_alloc_ctor(4, 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_1); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_box(0); +lean_ctor_set(x_2, 1, x_16); +lean_ctor_set(x_2, 0, x_15); +return x_2; +} +else +{ +lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_2); +x_17 = lean_array_get_size(x_6); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +x_20 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1(x_18, x_19, x_6); +x_21 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_1); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_REPL_instToJsonProofStepResponse__1(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; size_t x_14; size_t 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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_JsonNumber_fromNat(x_2); +x_4 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = l_List_redLength___rarg(x_9); +x_11 = lean_mk_empty_array_with_capacity(x_10); +lean_dec(x_10); +x_12 = l_List_toArrayAux___rarg(x_9, x_11); +x_13 = lean_array_get_size(x_12); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = l_Array_mapMUnsafe_map___at___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____spec__1(x_14, x_15, x_12); +x_17 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_7); +x_21 = lean_ctor_get(x_1, 2); +lean_inc(x_21); +x_22 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7; +x_23 = l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__1(x_22, x_21); +x_24 = lean_ctor_get(x_1, 3); +lean_inc(x_24); +x_25 = l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12; +x_26 = l_REPL_Json_nonemptyList___at_REPL_instToJsonCommandResponse___spec__3(x_25, x_24); +x_27 = lean_ctor_get(x_1, 4); +lean_inc(x_27); +lean_dec(x_1); +x_28 = l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1; +x_29 = l_REPL_Json_nonemptyList___at_REPL_instToJsonProofStepResponse__1___spec__1(x_28, x_27); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_7); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_20); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_8); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_List_join___rarg(x_34); +x_36 = l_Lean_Json_mkObj(x_35); +return x_36; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("message", 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860_(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; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +x_3 = l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; +} +} +static lean_object* _init_l_REPL_instToJsonError___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonError() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonError___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Error", 5); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__5; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__4(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__8; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__8; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_3); +if (x_12 == 0) +{ +return x_3; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonError___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonError() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonError___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("pickleTo", 8); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972_(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_JsonNumber_fromNat(x_2); +x_4 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_List_join___rarg(x_15); +x_17 = l_Lean_Json_mkObj(x_16); +return x_17; +} +} +static lean_object* _init_l_REPL_instToJsonPickleEnvironment___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonPickleEnvironment() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonPickleEnvironment___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("PickleEnvironment", 17); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__5; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__8() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__7; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__9; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__6; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__6; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__10; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__10; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonPickleEnvironment___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonPickleEnvironment() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonPickleEnvironment___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unpickleEnvFrom", 15); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129_(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; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +x_3 = l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; +} +} +static lean_object* _init_l_REPL_instToJsonUnpickleEnvironment___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonUnpickleEnvironment() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonUnpickleEnvironment___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("UnpickleEnvironment", 19); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__5; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__8; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__8; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_3); +if (x_12 == 0) +{ +return x_3; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonUnpickleEnvironment___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonUnpickleEnvironment() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonUnpickleEnvironment___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonPickleProofState____x40_REPL_JSON___hyg_3241_(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_JsonNumber_fromNat(x_2); +x_4 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_List_join___rarg(x_15); +x_17 = l_Lean_Json_mkObj(x_16); +return x_17; +} +} +static lean_object* _init_l_REPL_instToJsonPickleProofState___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonPickleProofState____x40_REPL_JSON___hyg_3241_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonPickleProofState() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonPickleProofState___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("PickleProofState", 16); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__5; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__6; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__6; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__8; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__8; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonPickleProofState___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonPickleProofState() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonPickleProofState___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unpickleProofStateFrom", 22); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_4, 0, x_2); +x_5 = l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__2; +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_List_join___rarg(x_10); +x_12 = l_Lean_Json_mkObj(x_11); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = l_Lean_JsonNumber_fromNat(x_13); +x_15 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_7); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_7); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_List_join___rarg(x_20); +x_22 = l_Lean_Json_mkObj(x_21); +return x_22; +} +} +} +static lean_object* _init_l_REPL_instToJsonUnpickleProofState___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instToJsonUnpickleProofState() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instToJsonUnpickleProofState___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("UnpickleProofState", 18); +return x_1; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__2; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__3; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__6() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__5; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__7; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__4; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__9; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__8; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__8; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__3(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__10; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__10; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_REPL_instFromJsonUnpickleProofState___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_REPL_instFromJsonUnpickleProofState() { +_start: +{ +lean_object* x_1; +x_1 = l_REPL_instFromJsonUnpickleProofState___closed__1; +return x_1; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Json(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Message(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_InfoTree_Main(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_REPL_JSON(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Json(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Message(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_InfoTree_Main(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_REPL_CommandOptions_allTactics___default = _init_l_REPL_CommandOptions_allTactics___default(); +lean_mark_persistent(l_REPL_CommandOptions_allTactics___default); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__1); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__2); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__3); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__4 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__4); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__5 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__5); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__6); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__7 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__7); +l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8 = _init_l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonCommand____x40_REPL_JSON___hyg_54____closed__8); +l_REPL_instToJsonCommand___closed__1 = _init_l_REPL_instToJsonCommand___closed__1(); +lean_mark_persistent(l_REPL_instToJsonCommand___closed__1); +l_REPL_instToJsonCommand = _init_l_REPL_instToJsonCommand(); +lean_mark_persistent(l_REPL_instToJsonCommand); +l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____spec__1___closed__1); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__12); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__13); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__14 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__14(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__14); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__15 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__15(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__15); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__16 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__16(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__16); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__17); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__18 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__18(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__18); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__19 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__19(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__19); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__20 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__20(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__20); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__21 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__21(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__21); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__22 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__22(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__22); +l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__23 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__23(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommand____x40_REPL_JSON___hyg_128____closed__23); +l_REPL_instFromJsonCommand___closed__1 = _init_l_REPL_instFromJsonCommand___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonCommand___closed__1); +l_REPL_instFromJsonCommand = _init_l_REPL_instFromJsonCommand(); +lean_mark_persistent(l_REPL_instFromJsonCommand); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__12); +l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__13 = _init_l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__13(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonFile____x40_REPL_JSON___hyg_325____closed__13); +l_REPL_instFromJsonFile___closed__1 = _init_l_REPL_instFromJsonFile___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonFile___closed__1); +l_REPL_instFromJsonFile = _init_l_REPL_instFromJsonFile(); +lean_mark_persistent(l_REPL_instFromJsonFile); +l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__1); +l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2 = _init_l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonProofStep____x40_REPL_JSON___hyg_483____closed__2); +l_REPL_instToJsonProofStep___closed__1 = _init_l_REPL_instToJsonProofStep___closed__1(); +lean_mark_persistent(l_REPL_instToJsonProofStep___closed__1); +l_REPL_instToJsonProofStep = _init_l_REPL_instToJsonProofStep(); +lean_mark_persistent(l_REPL_instToJsonProofStep); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStep____x40_REPL_JSON___hyg_529____closed__12); +l_REPL_instFromJsonProofStep___closed__1 = _init_l_REPL_instFromJsonProofStep___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonProofStep___closed__1); +l_REPL_instFromJsonProofStep = _init_l_REPL_instFromJsonProofStep(); +lean_mark_persistent(l_REPL_instFromJsonProofStep); +l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__1); +l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2 = _init_l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonPos____x40_REPL_JSON___hyg_648____closed__2); +l_REPL_instToJsonPos___closed__1 = _init_l_REPL_instToJsonPos___closed__1(); +lean_mark_persistent(l_REPL_instToJsonPos___closed__1); +l_REPL_instToJsonPos = _init_l_REPL_instToJsonPos(); +lean_mark_persistent(l_REPL_instToJsonPos); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPos____x40_REPL_JSON___hyg_694____closed__12); +l_REPL_instFromJsonPos___closed__1 = _init_l_REPL_instFromJsonPos___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonPos___closed__1); +l_REPL_instFromJsonPos = _init_l_REPL_instFromJsonPos(); +lean_mark_persistent(l_REPL_instFromJsonPos); +l_REPL_Severity_noConfusion___rarg___closed__1 = _init_l_REPL_Severity_noConfusion___rarg___closed__1(); +lean_mark_persistent(l_REPL_Severity_noConfusion___rarg___closed__1); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__1); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__2 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__2); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__3 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__3); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__4 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__4); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__5 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__5); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__6 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__6); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__7 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__7); +l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__8 = _init_l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonSeverity____x40_REPL_JSON___hyg_798____closed__8); +l_REPL_instToJsonSeverity___closed__1 = _init_l_REPL_instToJsonSeverity___closed__1(); +lean_mark_persistent(l_REPL_instToJsonSeverity___closed__1); +l_REPL_instToJsonSeverity = _init_l_REPL_instToJsonSeverity(); +lean_mark_persistent(l_REPL_instToJsonSeverity); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__1); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__1___closed__2); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__1); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__2); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__2___closed__3); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__3___closed__1); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____lambda__4___closed__1); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSeverity____x40_REPL_JSON___hyg_837____closed__3); +l_REPL_instFromJsonSeverity___closed__1 = _init_l_REPL_instFromJsonSeverity___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonSeverity___closed__1); +l_REPL_instFromJsonSeverity = _init_l_REPL_instFromJsonSeverity(); +lean_mark_persistent(l_REPL_instFromJsonSeverity); +l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__1); +l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2 = _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__2); +l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3 = _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__3); +l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4 = _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__4); +l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__5 = _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__5); +l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__6 = _init_l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonMessage____x40_REPL_JSON___hyg_1023____closed__6); +l_REPL_instToJsonMessage___closed__1 = _init_l_REPL_instToJsonMessage___closed__1(); +lean_mark_persistent(l_REPL_instToJsonMessage___closed__1); +l_REPL_instToJsonMessage = _init_l_REPL_instToJsonMessage(); +lean_mark_persistent(l_REPL_instToJsonMessage); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__12); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__13 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__13(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__13); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__14 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__14(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__14); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__15 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__15(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__15); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__16 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__16(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__16); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__17 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__17(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__17); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__18 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__18(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__18); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__19 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__19(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__19); +l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__20 = _init_l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__20(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonMessage____x40_REPL_JSON___hyg_1097____closed__20); +l_REPL_instFromJsonMessage___closed__1 = _init_l_REPL_instFromJsonMessage___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonMessage___closed__1); +l_REPL_instFromJsonMessage = _init_l_REPL_instFromJsonMessage(); +lean_mark_persistent(l_REPL_instFromJsonMessage); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__12); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__13 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__13(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__13); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__14 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__14(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__14); +l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__15 = _init_l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__15(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonSorry____x40_REPL_JSON___hyg_1379____closed__15); +l_REPL_instFromJsonSorry___closed__1 = _init_l_REPL_instFromJsonSorry___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonSorry___closed__1); +l_REPL_instFromJsonSorry = _init_l_REPL_instFromJsonSorry(); +lean_mark_persistent(l_REPL_instFromJsonSorry); +l_REPL_instToJsonSorry___closed__1 = _init_l_REPL_instToJsonSorry___closed__1(); +lean_mark_persistent(l_REPL_instToJsonSorry___closed__1); +l_REPL_instToJsonSorry___closed__2 = _init_l_REPL_instToJsonSorry___closed__2(); +lean_mark_persistent(l_REPL_instToJsonSorry___closed__2); +l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__1); +l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__2 = _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__2); +l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__3 = _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__3); +l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__4 = _init_l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonTactic____x40_REPL_JSON___hyg_1714____closed__4); +l_REPL_instToJsonTactic___closed__1 = _init_l_REPL_instToJsonTactic___closed__1(); +lean_mark_persistent(l_REPL_instToJsonTactic___closed__1); +l_REPL_instToJsonTactic = _init_l_REPL_instToJsonTactic(); +lean_mark_persistent(l_REPL_instToJsonTactic); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__12); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__13 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__13(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__13); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__14 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__14(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__14); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__15 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__15(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__15); +l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__16 = _init_l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__16(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonTactic____x40_REPL_JSON___hyg_1802____closed__16); +l_REPL_instFromJsonTactic___closed__1 = _init_l_REPL_instFromJsonTactic___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonTactic___closed__1); +l_REPL_instFromJsonTactic = _init_l_REPL_instFromJsonTactic(); +lean_mark_persistent(l_REPL_instFromJsonTactic); +l_REPL_CommandResponse_messages___default = _init_l_REPL_CommandResponse_messages___default(); +lean_mark_persistent(l_REPL_CommandResponse_messages___default); +l_REPL_CommandResponse_sorries___default = _init_l_REPL_CommandResponse_sorries___default(); +lean_mark_persistent(l_REPL_CommandResponse_sorries___default); +l_REPL_CommandResponse_tactics___default = _init_l_REPL_CommandResponse_tactics___default(); +lean_mark_persistent(l_REPL_CommandResponse_tactics___default); +l_REPL_CommandResponse_infotree___default = _init_l_REPL_CommandResponse_infotree___default(); +lean_mark_persistent(l_REPL_CommandResponse_infotree___default); +l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__1); +l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____spec__1___closed__2); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__12); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__13 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__13(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__13); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__14 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__14(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__14); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__15 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__15(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__15); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__16 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__16(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__16); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__17); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__18 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__18(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__18); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__19 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__19(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__19); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__20 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__20(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__20); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__21 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__21(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__21); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__22 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__22(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__22); +l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__23 = _init_l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__23(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonCommandResponse____x40_REPL_JSON___hyg_2104____closed__23); +l_REPL_instFromJsonCommandResponse___closed__1 = _init_l_REPL_instFromJsonCommandResponse___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonCommandResponse___closed__1); +l_REPL_instFromJsonCommandResponse = _init_l_REPL_instFromJsonCommandResponse(); +lean_mark_persistent(l_REPL_instFromJsonCommandResponse); +l_REPL_ProofStepResponse_messages___default = _init_l_REPL_ProofStepResponse_messages___default(); +lean_mark_persistent(l_REPL_ProofStepResponse_messages___default); +l_REPL_ProofStepResponse_sorries___default = _init_l_REPL_ProofStepResponse_sorries___default(); +lean_mark_persistent(l_REPL_ProofStepResponse_sorries___default); +l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonProofStepResponse____x40_REPL_JSON___hyg_2495____closed__1); +l_REPL_instToJsonProofStepResponse___closed__1 = _init_l_REPL_instToJsonProofStepResponse___closed__1(); +lean_mark_persistent(l_REPL_instToJsonProofStepResponse___closed__1); +l_REPL_instToJsonProofStepResponse = _init_l_REPL_instToJsonProofStepResponse(); +lean_mark_persistent(l_REPL_instToJsonProofStepResponse); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__10); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__11 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__11(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__11); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__12 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__12(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__12); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__13 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__13(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__13); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__14 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__14(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__14); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__15 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__15(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__15); +l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__16 = _init_l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__16(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonProofStepResponse____x40_REPL_JSON___hyg_2583____closed__16); +l_REPL_instFromJsonProofStepResponse___closed__1 = _init_l_REPL_instFromJsonProofStepResponse___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonProofStepResponse___closed__1); +l_REPL_instFromJsonProofStepResponse = _init_l_REPL_instFromJsonProofStepResponse(); +lean_mark_persistent(l_REPL_instFromJsonProofStepResponse); +l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonError____x40_REPL_JSON___hyg_2860____closed__1); +l_REPL_instToJsonError___closed__1 = _init_l_REPL_instToJsonError___closed__1(); +lean_mark_persistent(l_REPL_instToJsonError___closed__1); +l_REPL_instToJsonError = _init_l_REPL_instToJsonError(); +lean_mark_persistent(l_REPL_instToJsonError); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonError____x40_REPL_JSON___hyg_2892____closed__8); +l_REPL_instFromJsonError___closed__1 = _init_l_REPL_instFromJsonError___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonError___closed__1); +l_REPL_instFromJsonError = _init_l_REPL_instFromJsonError(); +lean_mark_persistent(l_REPL_instFromJsonError); +l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonPickleEnvironment____x40_REPL_JSON___hyg_2972____closed__1); +l_REPL_instToJsonPickleEnvironment___closed__1 = _init_l_REPL_instToJsonPickleEnvironment___closed__1(); +lean_mark_persistent(l_REPL_instToJsonPickleEnvironment___closed__1); +l_REPL_instToJsonPickleEnvironment = _init_l_REPL_instToJsonPickleEnvironment(); +lean_mark_persistent(l_REPL_instToJsonPickleEnvironment); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleEnvironment____x40_REPL_JSON___hyg_3018____closed__10); +l_REPL_instFromJsonPickleEnvironment___closed__1 = _init_l_REPL_instFromJsonPickleEnvironment___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonPickleEnvironment___closed__1); +l_REPL_instFromJsonPickleEnvironment = _init_l_REPL_instFromJsonPickleEnvironment(); +lean_mark_persistent(l_REPL_instFromJsonPickleEnvironment); +l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3129____closed__1); +l_REPL_instToJsonUnpickleEnvironment___closed__1 = _init_l_REPL_instToJsonUnpickleEnvironment___closed__1(); +lean_mark_persistent(l_REPL_instToJsonUnpickleEnvironment___closed__1); +l_REPL_instToJsonUnpickleEnvironment = _init_l_REPL_instToJsonUnpickleEnvironment(); +lean_mark_persistent(l_REPL_instToJsonUnpickleEnvironment); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleEnvironment____x40_REPL_JSON___hyg_3161____closed__8); +l_REPL_instFromJsonUnpickleEnvironment___closed__1 = _init_l_REPL_instFromJsonUnpickleEnvironment___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonUnpickleEnvironment___closed__1); +l_REPL_instFromJsonUnpickleEnvironment = _init_l_REPL_instFromJsonUnpickleEnvironment(); +lean_mark_persistent(l_REPL_instFromJsonUnpickleEnvironment); +l_REPL_instToJsonPickleProofState___closed__1 = _init_l_REPL_instToJsonPickleProofState___closed__1(); +lean_mark_persistent(l_REPL_instToJsonPickleProofState___closed__1); +l_REPL_instToJsonPickleProofState = _init_l_REPL_instToJsonPickleProofState(); +lean_mark_persistent(l_REPL_instToJsonPickleProofState); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonPickleProofState____x40_REPL_JSON___hyg_3287____closed__8); +l_REPL_instFromJsonPickleProofState___closed__1 = _init_l_REPL_instFromJsonPickleProofState___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonPickleProofState___closed__1); +l_REPL_instFromJsonPickleProofState = _init_l_REPL_instFromJsonPickleProofState(); +lean_mark_persistent(l_REPL_instFromJsonPickleProofState); +l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1 = _init_l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__1); +l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__2 = _init_l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_toJsonUnpickleProofState____x40_REPL_JSON___hyg_3407____closed__2); +l_REPL_instToJsonUnpickleProofState___closed__1 = _init_l_REPL_instToJsonUnpickleProofState___closed__1(); +lean_mark_persistent(l_REPL_instToJsonUnpickleProofState___closed__1); +l_REPL_instToJsonUnpickleProofState = _init_l_REPL_instToJsonUnpickleProofState(); +lean_mark_persistent(l_REPL_instToJsonUnpickleProofState); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__1 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__1(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__1); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__2 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__2(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__2); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__3 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__3(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__3); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__4 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__4(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__4); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__5 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__5(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__5); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__6 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__6(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__6); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__7 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__7(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__7); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__8 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__8(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__8); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__9 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__9(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__9); +l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__10 = _init_l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__10(); +lean_mark_persistent(l___private_REPL_JSON_0__REPL_fromJsonUnpickleProofState____x40_REPL_JSON___hyg_3453____closed__10); +l_REPL_instFromJsonUnpickleProofState___closed__1 = _init_l_REPL_instFromJsonUnpickleProofState___closed__1(); +lean_mark_persistent(l_REPL_instFromJsonUnpickleProofState___closed__1); +l_REPL_instFromJsonUnpickleProofState = _init_l_REPL_instFromJsonUnpickleProofState(); +lean_mark_persistent(l_REPL_instFromJsonUnpickleProofState); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif