// Lean compiler output
// Module: Lean.Elab.Tactic.SimpTrace
// Imports: Lean.Elab.ElabRules Lean.Elab.Tactic.Simp Lean.Meta.Tactic.TryThis
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__2;
lean_object* l_Lean_Meta_getSimpTheorems___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__6;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
lean_object* l_Lean_Meta_dsimpGoal(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___closed__1;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__5___boxed(lean_object**);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1(lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__6;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__7;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1(lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
lean_object* l_Lean_Elab_Tactic_expandLocation(lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute;
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__1;
lean_object* l_Lean_Syntax_getArgs(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__4;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___closed__1;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__2;
lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___closed__1;
lean_object* l_Lean_Meta_Tactic_TryThis_addSuggestion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_Simp_DischargeWrapper_with___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__1;
lean_object* l_Lean_Elab_Tactic_getFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__1;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__3;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__2;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__2;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MVarId_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__1;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__4;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__2;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__6;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__2;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4;
lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_withSimpDiagnostics(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__1;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__6;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__3;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__7;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__2;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__1;
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1(lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__7;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__2;
lean_object* l_Lean_Elab_Tactic_simpLocation(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__4;
lean_object* l_Lean_Elab_Tactic_mkSimpContext___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__2;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__5;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_append___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__2;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__1;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__7;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mkArray3___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpCallStx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__1;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__5;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__5;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_object* l_Lean_Elab_Tactic_mkSimpContext(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__4;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isNone(lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__1;
lean_object* l_Array_mkArray1___rarg(lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__1;
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__1;
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__2;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__5;
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_unsetTrailing(lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__3;
lean_object* l_Lean_Meta_simpAll(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__1;
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1(lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__3;
lean_object* l_Lean_Elab_Tactic_mkSimpOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___closed__2;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpCallStx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__8;
lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1;
static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__5;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1(lean_object*);
static lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__6;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpCallStx(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = l_Lean_Syntax_unsetTrailing(x_1);
x_9 = l_Lean_Elab_Tactic_mkSimpOnly(x_8, x_2, x_3, x_4, x_5, x_6, x_7);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
return x_9;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_9, 0);
x_12 = lean_ctor_get(x_9, 1);
lean_inc(x_12);
lean_inc(x_11);
lean_dec(x_9);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpCallStx___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Elab_Tactic_mkSimpCallStx(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2);
return x_8;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__2() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_2 = 1;
x_3 = lean_alloc_ctor(1, 1, 1);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_14; lean_object* x_15; 
x_14 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__2;
x_15 = l_Lean_Elab_Tactic_simpLocation(x_2, x_3, x_4, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_16 = lean_ctor_get(x_1, 0);
x_17 = l_Lean_Elab_Tactic_expandLocation(x_16);
x_18 = l_Lean_Elab_Tactic_simpLocation(x_2, x_3, x_4, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
return x_18;
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_getSimpTheorems___boxed), 3, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Try this: ", 10, 10);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; 
x_13 = 0;
x_14 = 0;
x_15 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1;
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
x_16 = l_Lean_Elab_Tactic_mkSimpContext(x_3, x_13, x_14, x_13, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_16, 1);
lean_inc(x_18);
lean_dec(x_16);
x_19 = lean_ctor_get(x_17, 0);
lean_inc(x_19);
x_20 = lean_ctor_get(x_17, 1);
lean_inc(x_20);
x_21 = lean_ctor_get(x_17, 2);
lean_inc(x_21);
lean_dec(x_17);
x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___boxed), 13, 3);
lean_closure_set(x_22, 0, x_1);
lean_closure_set(x_22, 1, x_19);
lean_closure_set(x_22, 2, x_20);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
x_23 = l_Lean_Elab_Tactic_Simp_DischargeWrapper_with___rarg(x_21, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18);
lean_dec(x_21);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
x_25 = lean_ctor_get(x_23, 1);
lean_inc(x_25);
lean_dec(x_23);
x_26 = lean_ctor_get(x_24, 0);
lean_inc(x_26);
lean_inc(x_10);
lean_inc(x_8);
x_27 = l_Lean_Elab_Tactic_mkSimpCallStx(x_3, x_26, x_8, x_9, x_10, x_11, x_25);
lean_dec(x_26);
x_28 = !lean_is_exclusive(x_27);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_29 = lean_ctor_get(x_27, 0);
x_30 = lean_ctor_get(x_27, 1);
x_31 = lean_ctor_get(x_10, 5);
lean_inc(x_31);
x_32 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3;
lean_ctor_set(x_27, 1, x_29);
lean_ctor_set(x_27, 0, x_32);
x_33 = lean_box(0);
x_34 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_34, 0, x_27);
lean_ctor_set(x_34, 1, x_33);
lean_ctor_set(x_34, 2, x_33);
lean_ctor_set(x_34, 3, x_33);
lean_ctor_set(x_34, 4, x_33);
lean_ctor_set(x_34, 5, x_33);
x_35 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_35, 0, x_31);
x_36 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4;
x_37 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_2, x_34, x_35, x_36, x_33, x_8, x_9, x_10, x_11, x_30);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_35);
if (lean_obj_tag(x_37) == 0)
{
uint8_t x_38; 
x_38 = !lean_is_exclusive(x_37);
if (x_38 == 0)
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_37, 0);
lean_dec(x_39);
x_40 = lean_ctor_get(x_24, 1);
lean_inc(x_40);
lean_dec(x_24);
lean_ctor_set(x_37, 0, x_40);
return x_37;
}
else
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_41 = lean_ctor_get(x_37, 1);
lean_inc(x_41);
lean_dec(x_37);
x_42 = lean_ctor_get(x_24, 1);
lean_inc(x_42);
lean_dec(x_24);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_41);
return x_43;
}
}
else
{
uint8_t x_44; 
lean_dec(x_24);
x_44 = !lean_is_exclusive(x_37);
if (x_44 == 0)
{
return x_37;
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_37, 0);
x_46 = lean_ctor_get(x_37, 1);
lean_inc(x_46);
lean_inc(x_45);
lean_dec(x_37);
x_47 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
return x_47;
}
}
}
else
{
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_48 = lean_ctor_get(x_27, 0);
x_49 = lean_ctor_get(x_27, 1);
lean_inc(x_49);
lean_inc(x_48);
lean_dec(x_27);
x_50 = lean_ctor_get(x_10, 5);
lean_inc(x_50);
x_51 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3;
x_52 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_48);
x_53 = lean_box(0);
x_54 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_54, 0, x_52);
lean_ctor_set(x_54, 1, x_53);
lean_ctor_set(x_54, 2, x_53);
lean_ctor_set(x_54, 3, x_53);
lean_ctor_set(x_54, 4, x_53);
lean_ctor_set(x_54, 5, x_53);
x_55 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_55, 0, x_50);
x_56 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4;
x_57 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_2, x_54, x_55, x_56, x_53, x_8, x_9, x_10, x_11, x_49);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_55);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_58 = lean_ctor_get(x_57, 1);
lean_inc(x_58);
if (lean_is_exclusive(x_57)) {
 lean_ctor_release(x_57, 0);
 lean_ctor_release(x_57, 1);
 x_59 = x_57;
} else {
 lean_dec_ref(x_57);
 x_59 = lean_box(0);
}
x_60 = lean_ctor_get(x_24, 1);
lean_inc(x_60);
lean_dec(x_24);
if (lean_is_scalar(x_59)) {
 x_61 = lean_alloc_ctor(0, 2, 0);
} else {
 x_61 = x_59;
}
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_58);
return x_61;
}
else
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; 
lean_dec(x_24);
x_62 = lean_ctor_get(x_57, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_57, 1);
lean_inc(x_63);
if (lean_is_exclusive(x_57)) {
 lean_ctor_release(x_57, 0);
 lean_ctor_release(x_57, 1);
 x_64 = x_57;
} else {
 lean_dec_ref(x_57);
 x_64 = lean_box(0);
}
if (lean_is_scalar(x_64)) {
 x_65 = lean_alloc_ctor(1, 2, 0);
} else {
 x_65 = x_64;
}
lean_ctor_set(x_65, 0, x_62);
lean_ctor_set(x_65, 1, x_63);
return x_65;
}
}
}
else
{
uint8_t x_66; 
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_3);
x_66 = !lean_is_exclusive(x_23);
if (x_66 == 0)
{
return x_23;
}
else
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; 
x_67 = lean_ctor_get(x_23, 0);
x_68 = lean_ctor_get(x_23, 1);
lean_inc(x_68);
lean_inc(x_67);
lean_dec(x_23);
x_69 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_69, 0, x_67);
lean_ctor_set(x_69, 1, x_68);
return x_69;
}
}
}
else
{
uint8_t x_70; 
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_70 = !lean_is_exclusive(x_16);
if (x_70 == 0)
{
return x_16;
}
else
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_71 = lean_ctor_get(x_16, 0);
x_72 = lean_ctor_get(x_16, 1);
lean_inc(x_72);
lean_inc(x_71);
lean_dec(x_16);
x_73 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
return x_73;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simp", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__6;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_2 = l_Array_append___rarg(x_1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("only", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_14, 5);
lean_inc(x_17);
x_18 = 0;
x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18);
lean_dec(x_17);
x_20 = lean_st_ref_get(x_15, x_16);
x_21 = !lean_is_exclusive(x_20);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_22 = lean_ctor_get(x_20, 1);
x_23 = lean_ctor_get(x_20, 0);
lean_dec(x_23);
x_24 = 1;
x_25 = l_Lean_SourceInfo_fromRef(x_1, x_24);
x_26 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4;
lean_ctor_set_tag(x_20, 2);
lean_ctor_set(x_20, 1, x_26);
lean_ctor_set(x_20, 0, x_25);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_82; 
x_82 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_27 = x_82;
goto block_81;
}
else
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; 
x_83 = lean_ctor_get(x_7, 0);
lean_inc(x_83);
lean_dec(x_7);
x_84 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_85 = lean_array_push(x_84, x_83);
x_27 = x_85;
goto block_81;
}
block_81:
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_28 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_29 = l_Array_append___rarg(x_28, x_27);
lean_dec(x_27);
x_30 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_19);
x_31 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_31, 0, x_19);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_31, 2, x_29);
if (lean_obj_tag(x_6) == 0)
{
x_32 = x_28;
goto block_78;
}
else
{
lean_object* x_79; lean_object* x_80; 
x_79 = lean_ctor_get(x_6, 0);
lean_inc(x_79);
lean_dec(x_6);
x_80 = lean_array_push(x_28, x_79);
x_32 = x_80;
goto block_78;
}
block_78:
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = l_Array_append___rarg(x_28, x_32);
lean_dec(x_32);
lean_inc(x_19);
x_34 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_34, 0, x_19);
lean_ctor_set(x_34, 1, x_30);
lean_ctor_set(x_34, 2, x_33);
if (lean_obj_tag(x_5) == 0)
{
x_35 = x_28;
goto block_72;
}
else
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; 
x_73 = lean_ctor_get(x_5, 0);
x_74 = l_Lean_SourceInfo_fromRef(x_73, x_24);
x_75 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_76 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_76, 0, x_74);
lean_ctor_set(x_76, 1, x_75);
x_77 = l_Array_mkArray1___rarg(x_76);
x_35 = x_77;
goto block_72;
}
block_72:
{
lean_object* x_36; lean_object* x_37; 
x_36 = l_Array_append___rarg(x_28, x_35);
lean_dec(x_35);
lean_inc(x_19);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_19);
lean_ctor_set(x_37, 1, x_30);
lean_ctor_set(x_37, 2, x_36);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_38; lean_object* x_39; 
x_38 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_39 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_39, 0, x_19);
lean_ctor_set(x_39, 1, x_30);
lean_ctor_set(x_39, 2, x_38);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_40 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
lean_inc(x_39);
x_41 = l_Lean_Syntax_node6(x_19, x_40, x_20, x_31, x_34, x_37, x_39, x_39);
x_42 = lean_apply_10(x_4, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_42;
}
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; lean_object* x_49; 
x_43 = lean_ctor_get(x_3, 0);
lean_inc(x_43);
lean_dec(x_3);
x_44 = lean_array_push(x_28, x_43);
x_45 = l_Array_append___rarg(x_28, x_44);
lean_dec(x_44);
lean_inc(x_19);
x_46 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_46, 0, x_19);
lean_ctor_set(x_46, 1, x_30);
lean_ctor_set(x_46, 2, x_45);
x_47 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
x_48 = l_Lean_Syntax_node6(x_19, x_47, x_20, x_31, x_34, x_37, x_39, x_46);
x_49 = lean_apply_10(x_4, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_49;
}
}
else
{
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; 
x_50 = lean_ctor_get(x_2, 0);
x_51 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_19);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_19);
lean_ctor_set(x_52, 1, x_51);
x_53 = l_Array_append___rarg(x_28, x_50);
lean_inc(x_19);
x_54 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_54, 0, x_19);
lean_ctor_set(x_54, 1, x_30);
lean_ctor_set(x_54, 2, x_53);
x_55 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_19);
x_56 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_56, 0, x_19);
lean_ctor_set(x_56, 1, x_55);
x_57 = l_Array_mkArray3___rarg(x_52, x_54, x_56);
x_58 = l_Array_append___rarg(x_28, x_57);
lean_dec(x_57);
lean_inc(x_19);
x_59 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_59, 0, x_19);
lean_ctor_set(x_59, 1, x_30);
lean_ctor_set(x_59, 2, x_58);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_60 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_61 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_61, 0, x_19);
lean_ctor_set(x_61, 1, x_30);
lean_ctor_set(x_61, 2, x_60);
x_62 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
x_63 = l_Lean_Syntax_node6(x_19, x_62, x_20, x_31, x_34, x_37, x_59, x_61);
x_64 = lean_apply_10(x_4, x_63, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_64;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_65 = lean_ctor_get(x_3, 0);
lean_inc(x_65);
lean_dec(x_3);
x_66 = lean_array_push(x_28, x_65);
x_67 = l_Array_append___rarg(x_28, x_66);
lean_dec(x_66);
lean_inc(x_19);
x_68 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_68, 0, x_19);
lean_ctor_set(x_68, 1, x_30);
lean_ctor_set(x_68, 2, x_67);
x_69 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
x_70 = l_Lean_Syntax_node6(x_19, x_69, x_20, x_31, x_34, x_37, x_59, x_68);
x_71 = lean_apply_10(x_4, x_70, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_71;
}
}
}
}
}
}
else
{
lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_86 = lean_ctor_get(x_20, 1);
lean_inc(x_86);
lean_dec(x_20);
x_87 = 1;
x_88 = l_Lean_SourceInfo_fromRef(x_1, x_87);
x_89 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4;
x_90 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_90, 0, x_88);
lean_ctor_set(x_90, 1, x_89);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_146; 
x_146 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_91 = x_146;
goto block_145;
}
else
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; 
x_147 = lean_ctor_get(x_7, 0);
lean_inc(x_147);
lean_dec(x_7);
x_148 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_149 = lean_array_push(x_148, x_147);
x_91 = x_149;
goto block_145;
}
block_145:
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_92 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_93 = l_Array_append___rarg(x_92, x_91);
lean_dec(x_91);
x_94 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_19);
x_95 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_95, 0, x_19);
lean_ctor_set(x_95, 1, x_94);
lean_ctor_set(x_95, 2, x_93);
if (lean_obj_tag(x_6) == 0)
{
x_96 = x_92;
goto block_142;
}
else
{
lean_object* x_143; lean_object* x_144; 
x_143 = lean_ctor_get(x_6, 0);
lean_inc(x_143);
lean_dec(x_6);
x_144 = lean_array_push(x_92, x_143);
x_96 = x_144;
goto block_142;
}
block_142:
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; 
x_97 = l_Array_append___rarg(x_92, x_96);
lean_dec(x_96);
lean_inc(x_19);
x_98 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_98, 0, x_19);
lean_ctor_set(x_98, 1, x_94);
lean_ctor_set(x_98, 2, x_97);
if (lean_obj_tag(x_5) == 0)
{
x_99 = x_92;
goto block_136;
}
else
{
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 
x_137 = lean_ctor_get(x_5, 0);
x_138 = l_Lean_SourceInfo_fromRef(x_137, x_87);
x_139 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_140 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_140, 0, x_138);
lean_ctor_set(x_140, 1, x_139);
x_141 = l_Array_mkArray1___rarg(x_140);
x_99 = x_141;
goto block_136;
}
block_136:
{
lean_object* x_100; lean_object* x_101; 
x_100 = l_Array_append___rarg(x_92, x_99);
lean_dec(x_99);
lean_inc(x_19);
x_101 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_101, 0, x_19);
lean_ctor_set(x_101, 1, x_94);
lean_ctor_set(x_101, 2, x_100);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_102; lean_object* x_103; 
x_102 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_103 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_103, 0, x_19);
lean_ctor_set(x_103, 1, x_94);
lean_ctor_set(x_103, 2, x_102);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; 
x_104 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
lean_inc(x_103);
x_105 = l_Lean_Syntax_node6(x_19, x_104, x_90, x_95, x_98, x_101, x_103, x_103);
x_106 = lean_apply_10(x_4, x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_106;
}
else
{
lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
x_107 = lean_ctor_get(x_3, 0);
lean_inc(x_107);
lean_dec(x_3);
x_108 = lean_array_push(x_92, x_107);
x_109 = l_Array_append___rarg(x_92, x_108);
lean_dec(x_108);
lean_inc(x_19);
x_110 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_110, 0, x_19);
lean_ctor_set(x_110, 1, x_94);
lean_ctor_set(x_110, 2, x_109);
x_111 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
x_112 = l_Lean_Syntax_node6(x_19, x_111, x_90, x_95, x_98, x_101, x_103, x_110);
x_113 = lean_apply_10(x_4, x_112, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_113;
}
}
else
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; 
x_114 = lean_ctor_get(x_2, 0);
x_115 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_19);
x_116 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_116, 0, x_19);
lean_ctor_set(x_116, 1, x_115);
x_117 = l_Array_append___rarg(x_92, x_114);
lean_inc(x_19);
x_118 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_118, 0, x_19);
lean_ctor_set(x_118, 1, x_94);
lean_ctor_set(x_118, 2, x_117);
x_119 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_19);
x_120 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_120, 0, x_19);
lean_ctor_set(x_120, 1, x_119);
x_121 = l_Array_mkArray3___rarg(x_116, x_118, x_120);
x_122 = l_Array_append___rarg(x_92, x_121);
lean_dec(x_121);
lean_inc(x_19);
x_123 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_123, 0, x_19);
lean_ctor_set(x_123, 1, x_94);
lean_ctor_set(x_123, 2, x_122);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 
x_124 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_125 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_125, 0, x_19);
lean_ctor_set(x_125, 1, x_94);
lean_ctor_set(x_125, 2, x_124);
x_126 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
x_127 = l_Lean_Syntax_node6(x_19, x_126, x_90, x_95, x_98, x_101, x_123, x_125);
x_128 = lean_apply_10(x_4, x_127, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_128;
}
else
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; 
x_129 = lean_ctor_get(x_3, 0);
lean_inc(x_129);
lean_dec(x_3);
x_130 = lean_array_push(x_92, x_129);
x_131 = l_Array_append___rarg(x_92, x_130);
lean_dec(x_130);
lean_inc(x_19);
x_132 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_132, 0, x_19);
lean_ctor_set(x_132, 1, x_94);
lean_ctor_set(x_132, 2, x_131);
x_133 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5;
x_134 = l_Lean_Syntax_node6(x_19, x_133, x_90, x_95, x_98, x_101, x_123, x_132);
x_135 = lean_apply_10(x_4, x_134, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_135;
}
}
}
}
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpAutoUnfold", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simp!", 5, 5);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_14, 5);
lean_inc(x_17);
x_18 = 0;
x_19 = l_Lean_SourceInfo_fromRef(x_17, x_18);
lean_dec(x_17);
x_20 = lean_st_ref_get(x_15, x_16);
x_21 = !lean_is_exclusive(x_20);
if (x_21 == 0)
{
lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_22 = lean_ctor_get(x_20, 1);
x_23 = lean_ctor_get(x_20, 0);
lean_dec(x_23);
x_24 = 1;
x_25 = l_Lean_SourceInfo_fromRef(x_1, x_24);
x_26 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__3;
lean_ctor_set_tag(x_20, 2);
lean_ctor_set(x_20, 1, x_26);
lean_ctor_set(x_20, 0, x_25);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_82; 
x_82 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_27 = x_82;
goto block_81;
}
else
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; 
x_83 = lean_ctor_get(x_7, 0);
lean_inc(x_83);
lean_dec(x_7);
x_84 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_85 = lean_array_push(x_84, x_83);
x_27 = x_85;
goto block_81;
}
block_81:
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_28 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_29 = l_Array_append___rarg(x_28, x_27);
lean_dec(x_27);
x_30 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_19);
x_31 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_31, 0, x_19);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_31, 2, x_29);
if (lean_obj_tag(x_6) == 0)
{
x_32 = x_28;
goto block_78;
}
else
{
lean_object* x_79; lean_object* x_80; 
x_79 = lean_ctor_get(x_6, 0);
lean_inc(x_79);
lean_dec(x_6);
x_80 = lean_array_push(x_28, x_79);
x_32 = x_80;
goto block_78;
}
block_78:
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = l_Array_append___rarg(x_28, x_32);
lean_dec(x_32);
lean_inc(x_19);
x_34 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_34, 0, x_19);
lean_ctor_set(x_34, 1, x_30);
lean_ctor_set(x_34, 2, x_33);
if (lean_obj_tag(x_5) == 0)
{
x_35 = x_28;
goto block_72;
}
else
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; 
x_73 = lean_ctor_get(x_5, 0);
x_74 = l_Lean_SourceInfo_fromRef(x_73, x_24);
x_75 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_76 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_76, 0, x_74);
lean_ctor_set(x_76, 1, x_75);
x_77 = l_Array_mkArray1___rarg(x_76);
x_35 = x_77;
goto block_72;
}
block_72:
{
lean_object* x_36; lean_object* x_37; 
x_36 = l_Array_append___rarg(x_28, x_35);
lean_dec(x_35);
lean_inc(x_19);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_19);
lean_ctor_set(x_37, 1, x_30);
lean_ctor_set(x_37, 2, x_36);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_38; lean_object* x_39; 
x_38 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_39 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_39, 0, x_19);
lean_ctor_set(x_39, 1, x_30);
lean_ctor_set(x_39, 2, x_38);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_40 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
lean_inc(x_39);
x_41 = l_Lean_Syntax_node6(x_19, x_40, x_20, x_31, x_34, x_37, x_39, x_39);
x_42 = lean_apply_10(x_4, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_42;
}
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; lean_object* x_49; 
x_43 = lean_ctor_get(x_3, 0);
lean_inc(x_43);
lean_dec(x_3);
x_44 = lean_array_push(x_28, x_43);
x_45 = l_Array_append___rarg(x_28, x_44);
lean_dec(x_44);
lean_inc(x_19);
x_46 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_46, 0, x_19);
lean_ctor_set(x_46, 1, x_30);
lean_ctor_set(x_46, 2, x_45);
x_47 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
x_48 = l_Lean_Syntax_node6(x_19, x_47, x_20, x_31, x_34, x_37, x_39, x_46);
x_49 = lean_apply_10(x_4, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_49;
}
}
else
{
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; 
x_50 = lean_ctor_get(x_2, 0);
x_51 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_19);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_19);
lean_ctor_set(x_52, 1, x_51);
x_53 = l_Array_append___rarg(x_28, x_50);
lean_inc(x_19);
x_54 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_54, 0, x_19);
lean_ctor_set(x_54, 1, x_30);
lean_ctor_set(x_54, 2, x_53);
x_55 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_19);
x_56 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_56, 0, x_19);
lean_ctor_set(x_56, 1, x_55);
x_57 = l_Array_mkArray3___rarg(x_52, x_54, x_56);
x_58 = l_Array_append___rarg(x_28, x_57);
lean_dec(x_57);
lean_inc(x_19);
x_59 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_59, 0, x_19);
lean_ctor_set(x_59, 1, x_30);
lean_ctor_set(x_59, 2, x_58);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_60 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_61 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_61, 0, x_19);
lean_ctor_set(x_61, 1, x_30);
lean_ctor_set(x_61, 2, x_60);
x_62 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
x_63 = l_Lean_Syntax_node6(x_19, x_62, x_20, x_31, x_34, x_37, x_59, x_61);
x_64 = lean_apply_10(x_4, x_63, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_64;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_65 = lean_ctor_get(x_3, 0);
lean_inc(x_65);
lean_dec(x_3);
x_66 = lean_array_push(x_28, x_65);
x_67 = l_Array_append___rarg(x_28, x_66);
lean_dec(x_66);
lean_inc(x_19);
x_68 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_68, 0, x_19);
lean_ctor_set(x_68, 1, x_30);
lean_ctor_set(x_68, 2, x_67);
x_69 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
x_70 = l_Lean_Syntax_node6(x_19, x_69, x_20, x_31, x_34, x_37, x_59, x_68);
x_71 = lean_apply_10(x_4, x_70, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22);
return x_71;
}
}
}
}
}
}
else
{
lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_86 = lean_ctor_get(x_20, 1);
lean_inc(x_86);
lean_dec(x_20);
x_87 = 1;
x_88 = l_Lean_SourceInfo_fromRef(x_1, x_87);
x_89 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__3;
x_90 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_90, 0, x_88);
lean_ctor_set(x_90, 1, x_89);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_146; 
x_146 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_91 = x_146;
goto block_145;
}
else
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; 
x_147 = lean_ctor_get(x_7, 0);
lean_inc(x_147);
lean_dec(x_7);
x_148 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_149 = lean_array_push(x_148, x_147);
x_91 = x_149;
goto block_145;
}
block_145:
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_92 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_93 = l_Array_append___rarg(x_92, x_91);
lean_dec(x_91);
x_94 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_19);
x_95 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_95, 0, x_19);
lean_ctor_set(x_95, 1, x_94);
lean_ctor_set(x_95, 2, x_93);
if (lean_obj_tag(x_6) == 0)
{
x_96 = x_92;
goto block_142;
}
else
{
lean_object* x_143; lean_object* x_144; 
x_143 = lean_ctor_get(x_6, 0);
lean_inc(x_143);
lean_dec(x_6);
x_144 = lean_array_push(x_92, x_143);
x_96 = x_144;
goto block_142;
}
block_142:
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; 
x_97 = l_Array_append___rarg(x_92, x_96);
lean_dec(x_96);
lean_inc(x_19);
x_98 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_98, 0, x_19);
lean_ctor_set(x_98, 1, x_94);
lean_ctor_set(x_98, 2, x_97);
if (lean_obj_tag(x_5) == 0)
{
x_99 = x_92;
goto block_136;
}
else
{
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 
x_137 = lean_ctor_get(x_5, 0);
x_138 = l_Lean_SourceInfo_fromRef(x_137, x_87);
x_139 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_140 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_140, 0, x_138);
lean_ctor_set(x_140, 1, x_139);
x_141 = l_Array_mkArray1___rarg(x_140);
x_99 = x_141;
goto block_136;
}
block_136:
{
lean_object* x_100; lean_object* x_101; 
x_100 = l_Array_append___rarg(x_92, x_99);
lean_dec(x_99);
lean_inc(x_19);
x_101 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_101, 0, x_19);
lean_ctor_set(x_101, 1, x_94);
lean_ctor_set(x_101, 2, x_100);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_102; lean_object* x_103; 
x_102 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_103 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_103, 0, x_19);
lean_ctor_set(x_103, 1, x_94);
lean_ctor_set(x_103, 2, x_102);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; 
x_104 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
lean_inc(x_103);
x_105 = l_Lean_Syntax_node6(x_19, x_104, x_90, x_95, x_98, x_101, x_103, x_103);
x_106 = lean_apply_10(x_4, x_105, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_106;
}
else
{
lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
x_107 = lean_ctor_get(x_3, 0);
lean_inc(x_107);
lean_dec(x_3);
x_108 = lean_array_push(x_92, x_107);
x_109 = l_Array_append___rarg(x_92, x_108);
lean_dec(x_108);
lean_inc(x_19);
x_110 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_110, 0, x_19);
lean_ctor_set(x_110, 1, x_94);
lean_ctor_set(x_110, 2, x_109);
x_111 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
x_112 = l_Lean_Syntax_node6(x_19, x_111, x_90, x_95, x_98, x_101, x_103, x_110);
x_113 = lean_apply_10(x_4, x_112, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_113;
}
}
else
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; 
x_114 = lean_ctor_get(x_2, 0);
x_115 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_19);
x_116 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_116, 0, x_19);
lean_ctor_set(x_116, 1, x_115);
x_117 = l_Array_append___rarg(x_92, x_114);
lean_inc(x_19);
x_118 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_118, 0, x_19);
lean_ctor_set(x_118, 1, x_94);
lean_ctor_set(x_118, 2, x_117);
x_119 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_19);
x_120 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_120, 0, x_19);
lean_ctor_set(x_120, 1, x_119);
x_121 = l_Array_mkArray3___rarg(x_116, x_118, x_120);
x_122 = l_Array_append___rarg(x_92, x_121);
lean_dec(x_121);
lean_inc(x_19);
x_123 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_123, 0, x_19);
lean_ctor_set(x_123, 1, x_94);
lean_ctor_set(x_123, 2, x_122);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 
x_124 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_19);
x_125 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_125, 0, x_19);
lean_ctor_set(x_125, 1, x_94);
lean_ctor_set(x_125, 2, x_124);
x_126 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
x_127 = l_Lean_Syntax_node6(x_19, x_126, x_90, x_95, x_98, x_101, x_123, x_125);
x_128 = lean_apply_10(x_4, x_127, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_128;
}
else
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; 
x_129 = lean_ctor_get(x_3, 0);
lean_inc(x_129);
lean_dec(x_3);
x_130 = lean_array_push(x_92, x_129);
x_131 = l_Array_append___rarg(x_92, x_130);
lean_dec(x_130);
lean_inc(x_19);
x_132 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_132, 0, x_19);
lean_ctor_set(x_132, 1, x_94);
lean_ctor_set(x_132, 2, x_131);
x_133 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2;
x_134 = l_Lean_Syntax_node6(x_19, x_133, x_90, x_95, x_98, x_101, x_123, x_132);
x_135 = lean_apply_10(x_4, x_134, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_86);
return x_135;
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) {
_start:
{
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_18 = lean_unsigned_to_nat(4u);
x_19 = l_Lean_Syntax_getArg(x_1, x_18);
x_20 = l_Lean_Syntax_getOptional_x3f(x_19);
lean_dec(x_19);
x_21 = l_Lean_Syntax_getOptional_x3f(x_2);
x_22 = l_Lean_Syntax_getOptional_x3f(x_3);
if (lean_obj_tag(x_20) == 0)
{
lean_object* x_44; 
x_44 = lean_box(0);
x_23 = x_44;
goto block_43;
}
else
{
uint8_t x_45; 
x_45 = !lean_is_exclusive(x_20);
if (x_45 == 0)
{
x_23 = x_20;
goto block_43;
}
else
{
lean_object* x_46; lean_object* x_47; 
x_46 = lean_ctor_get(x_20, 0);
lean_inc(x_46);
lean_dec(x_20);
x_47 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_47, 0, x_46);
x_23 = x_47;
goto block_43;
}
}
block_43:
{
lean_object* x_24; lean_object* x_25; 
lean_inc(x_4);
lean_inc(x_23);
x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___boxed), 12, 2);
lean_closure_set(x_24, 0, x_23);
lean_closure_set(x_24, 1, x_4);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_39; 
x_39 = lean_box(0);
x_25 = x_39;
goto block_38;
}
else
{
uint8_t x_40; 
x_40 = !lean_is_exclusive(x_21);
if (x_40 == 0)
{
x_25 = x_21;
goto block_38;
}
else
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_21, 0);
lean_inc(x_41);
lean_dec(x_21);
x_42 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_42, 0, x_41);
x_25 = x_42;
goto block_38;
}
}
block_38:
{
lean_object* x_26; 
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_34; 
x_34 = lean_box(0);
x_26 = x_34;
goto block_33;
}
else
{
uint8_t x_35; 
x_35 = !lean_is_exclusive(x_22);
if (x_35 == 0)
{
x_26 = x_22;
goto block_33;
}
else
{
lean_object* x_36; lean_object* x_37; 
x_36 = lean_ctor_get(x_22, 0);
lean_inc(x_36);
lean_dec(x_22);
x_37 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_37, 0, x_36);
x_26 = x_37;
goto block_33;
}
}
block_33:
{
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_27 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___boxed), 16, 7);
lean_closure_set(x_27, 0, x_4);
lean_closure_set(x_27, 1, x_8);
lean_closure_set(x_27, 2, x_23);
lean_closure_set(x_27, 3, x_24);
lean_closure_set(x_27, 4, x_6);
lean_closure_set(x_27, 5, x_25);
lean_closure_set(x_27, 6, x_26);
x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withSimpDiagnostics), 10, 1);
lean_closure_set(x_28, 0, x_27);
x_29 = l_Lean_Elab_Tactic_withMainContext___rarg(x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17);
return x_29;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___boxed), 16, 7);
lean_closure_set(x_30, 0, x_4);
lean_closure_set(x_30, 1, x_8);
lean_closure_set(x_30, 2, x_23);
lean_closure_set(x_30, 3, x_24);
lean_closure_set(x_30, 4, x_6);
lean_closure_set(x_30, 5, x_25);
lean_closure_set(x_30, 6, x_26);
x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_withSimpDiagnostics), 10, 1);
lean_closure_set(x_31, 0, x_30);
x_32 = l_Lean_Elab_Tactic_withMainContext___rarg(x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17);
return x_32;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpArgs", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_unsigned_to_nat(3u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Syntax_isNone(x_18);
if (x_19 == 0)
{
lean_object* x_20; uint8_t x_21; 
x_20 = lean_unsigned_to_nat(1u);
lean_inc(x_18);
x_21 = l_Lean_Syntax_matchesNull(x_18, x_20);
if (x_21 == 0)
{
lean_object* x_22; 
lean_dec(x_18);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_4);
x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_16);
return x_22;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; 
x_23 = lean_unsigned_to_nat(0u);
x_24 = l_Lean_Syntax_getArg(x_18, x_23);
lean_dec(x_18);
x_25 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__2;
lean_inc(x_24);
x_26 = l_Lean_Syntax_isOfKind(x_24, x_25);
if (x_26 == 0)
{
lean_object* x_27; 
lean_dec(x_24);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_4);
x_27 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_16);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_28 = l_Lean_Syntax_getArg(x_24, x_20);
lean_dec(x_24);
x_29 = l_Lean_Syntax_getArgs(x_28);
lean_dec(x_28);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_31 = lean_box(0);
x_32 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__5(x_1, x_2, x_3, x_4, x_5, x_7, x_31, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_32;
}
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
lean_dec(x_18);
x_33 = lean_box(0);
x_34 = lean_box(0);
x_35 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__5(x_1, x_2, x_3, x_4, x_5, x_7, x_34, x_33, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_35;
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpTraceArgsRest", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_14 = lean_unsigned_to_nat(2u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__2;
lean_inc(x_15);
x_17 = l_Lean_Syntax_isOfKind(x_15, x_16);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_13);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_19 = lean_unsigned_to_nat(0u);
x_20 = l_Lean_Syntax_getArg(x_15, x_19);
x_21 = lean_unsigned_to_nat(1u);
x_22 = l_Lean_Syntax_getArg(x_15, x_21);
x_23 = l_Lean_Syntax_getArg(x_15, x_14);
x_24 = l_Lean_Syntax_isNone(x_23);
if (x_24 == 0)
{
uint8_t x_25; 
lean_inc(x_23);
x_25 = l_Lean_Syntax_matchesNull(x_23, x_21);
if (x_25 == 0)
{
lean_object* x_26; 
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_13);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_27 = l_Lean_Syntax_getArg(x_23, x_19);
lean_dec(x_23);
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_27);
x_29 = lean_box(0);
x_30 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__6(x_15, x_22, x_20, x_2, x_4, x_29, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_20);
lean_dec(x_22);
lean_dec(x_15);
return x_30;
}
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; 
lean_dec(x_23);
x_31 = lean_box(0);
x_32 = lean_box(0);
x_33 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__6(x_15, x_22, x_20, x_2, x_4, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_20);
lean_dec(x_22);
lean_dec(x_15);
return x_33;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpTrace", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpTrace___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpTrace___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11; uint8_t x_12; 
x_11 = l_Lean_Elab_Tactic_evalSimpTrace___closed__2;
lean_inc(x_1);
x_12 = l_Lean_Syntax_isOfKind(x_1, x_11);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = lean_unsigned_to_nat(1u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
x_18 = l_Lean_Syntax_isNone(x_17);
if (x_18 == 0)
{
uint8_t x_19; 
lean_inc(x_17);
x_19 = l_Lean_Syntax_matchesNull(x_17, x_16);
if (x_19 == 0)
{
lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_21 = l_Lean_Syntax_getArg(x_17, x_14);
lean_dec(x_17);
x_22 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_22, 0, x_21);
x_23 = lean_box(0);
x_24 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__7(x_1, x_15, x_23, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_22);
lean_dec(x_1);
return x_24;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_dec(x_17);
x_25 = lean_box(0);
x_26 = lean_box(0);
x_27 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__7(x_1, x_15, x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_1);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_1);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_2);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; 
x_17 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; 
x_17 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__5___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
_start:
{
lean_object* x_18; 
x_18 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_18;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; 
x_17 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_14;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Elab", 4, 4);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("evalSimpTrace", 13, 13);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_Tactic_tacticElabAttribute;
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpTrace), 10, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__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; 
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___closed__2;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__3;
x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__5;
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
return x_6;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(25u);
x_2 = lean_unsigned_to_nat(28u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(40u);
x_2 = lean_unsigned_to_nat(31u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__1;
x_2 = lean_unsigned_to_nat(28u);
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__2;
x_4 = lean_unsigned_to_nat(31u);
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(25u);
x_2 = lean_unsigned_to_nat(32u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(25u);
x_2 = lean_unsigned_to_nat(45u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__4;
x_2 = lean_unsigned_to_nat(32u);
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__5;
x_4 = lean_unsigned_to_nat(45u);
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__3;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__6;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__3;
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__7;
x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_14 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_inc(x_9);
x_15 = l_Lean_Elab_Tactic_mkSimpCallStx(x_2, x_14, x_9, x_10, x_11, x_12, x_13);
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_17 = lean_ctor_get(x_15, 0);
x_18 = lean_ctor_get(x_15, 1);
x_19 = lean_ctor_get(x_11, 5);
lean_inc(x_19);
x_20 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3;
lean_ctor_set(x_15, 1, x_17);
lean_ctor_set(x_15, 0, x_20);
x_21 = lean_box(0);
x_22 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_22, 0, x_15);
lean_ctor_set(x_22, 1, x_21);
lean_ctor_set(x_22, 2, x_21);
lean_ctor_set(x_22, 3, x_21);
lean_ctor_set(x_22, 4, x_21);
lean_ctor_set(x_22, 5, x_21);
x_23 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_23, 0, x_19);
x_24 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4;
x_25 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_3, x_22, x_23, x_24, x_21, x_9, x_10, x_11, x_12, x_18);
lean_dec(x_9);
lean_dec(x_23);
if (lean_obj_tag(x_25) == 0)
{
uint8_t x_26; 
x_26 = !lean_is_exclusive(x_25);
if (x_26 == 0)
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_25, 0);
lean_dec(x_27);
x_28 = lean_ctor_get(x_1, 1);
lean_inc(x_28);
lean_ctor_set(x_25, 0, x_28);
return x_25;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_25, 1);
lean_inc(x_29);
lean_dec(x_25);
x_30 = lean_ctor_get(x_1, 1);
lean_inc(x_30);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_29);
return x_31;
}
}
else
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_25);
if (x_32 == 0)
{
return x_25;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_25, 0);
x_34 = lean_ctor_get(x_25, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_25);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
return x_35;
}
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 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; 
x_36 = lean_ctor_get(x_15, 0);
x_37 = lean_ctor_get(x_15, 1);
lean_inc(x_37);
lean_inc(x_36);
lean_dec(x_15);
x_38 = lean_ctor_get(x_11, 5);
lean_inc(x_38);
x_39 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3;
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_36);
x_41 = lean_box(0);
x_42 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_41);
lean_ctor_set(x_42, 2, x_41);
lean_ctor_set(x_42, 3, x_41);
lean_ctor_set(x_42, 4, x_41);
lean_ctor_set(x_42, 5, x_41);
x_43 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_43, 0, x_38);
x_44 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4;
x_45 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_3, x_42, x_43, x_44, x_41, x_9, x_10, x_11, x_12, x_37);
lean_dec(x_9);
lean_dec(x_43);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_46 = lean_ctor_get(x_45, 1);
lean_inc(x_46);
if (lean_is_exclusive(x_45)) {
 lean_ctor_release(x_45, 0);
 lean_ctor_release(x_45, 1);
 x_47 = x_45;
} else {
 lean_dec_ref(x_45);
 x_47 = lean_box(0);
}
x_48 = lean_ctor_get(x_1, 1);
lean_inc(x_48);
if (lean_is_scalar(x_47)) {
 x_49 = lean_alloc_ctor(0, 2, 0);
} else {
 x_49 = x_47;
}
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_46);
return x_49;
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_50 = lean_ctor_get(x_45, 0);
lean_inc(x_50);
x_51 = lean_ctor_get(x_45, 1);
lean_inc(x_51);
if (lean_is_exclusive(x_45)) {
 lean_ctor_release(x_45, 0);
 lean_ctor_release(x_45, 1);
 x_52 = x_45;
} else {
 lean_dec_ref(x_45);
 x_52 = lean_box(0);
}
if (lean_is_scalar(x_52)) {
 x_53 = lean_alloc_ctor(1, 2, 0);
} else {
 x_53 = x_52;
}
lean_ctor_set(x_53, 0, x_50);
lean_ctor_set(x_53, 1, x_51);
return x_53;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__2;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(32u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__4;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__6() {
_start:
{
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 5;
x_2 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__5;
x_3 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__4;
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_4);
lean_ctor_set(x_5, 3, x_4);
lean_ctor_set_usize(x_5, 4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__2;
x_2 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__6;
x_3 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_1);
lean_ctor_set(x_3, 2, x_1);
lean_ctor_set(x_3, 3, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__3;
x_2 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__7;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; 
x_12 = 1;
x_13 = 1;
x_14 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1;
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
lean_inc(x_2);
x_15 = l_Lean_Elab_Tactic_mkSimpContext(x_2, x_12, x_13, x_12, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = lean_ctor_get(x_16, 0);
lean_inc(x_18);
lean_dec(x_16);
x_19 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
lean_dec(x_19);
x_22 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_23 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__8;
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
x_24 = l_Lean_Meta_simpAll(x_20, x_18, x_22, x_23, x_7, x_8, x_9, x_10, x_21);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
x_26 = lean_ctor_get(x_25, 0);
lean_inc(x_26);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_27 = lean_ctor_get(x_24, 1);
lean_inc(x_27);
lean_dec(x_24);
x_28 = lean_ctor_get(x_25, 1);
lean_inc(x_28);
lean_dec(x_25);
x_29 = lean_box(0);
x_30 = l_Lean_Elab_Tactic_replaceMainGoal(x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
x_32 = lean_ctor_get(x_30, 1);
lean_inc(x_32);
lean_dec(x_30);
x_33 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1(x_28, x_2, x_1, x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_31);
lean_dec(x_28);
return x_33;
}
else
{
uint8_t x_34; 
lean_dec(x_28);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_34 = !lean_is_exclusive(x_30);
if (x_34 == 0)
{
return x_30;
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_35 = lean_ctor_get(x_30, 0);
x_36 = lean_ctor_get(x_30, 1);
lean_inc(x_36);
lean_inc(x_35);
lean_dec(x_30);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set(x_37, 1, x_36);
return x_37;
}
}
}
else
{
lean_object* x_38; uint8_t x_39; 
x_38 = lean_ctor_get(x_24, 1);
lean_inc(x_38);
lean_dec(x_24);
x_39 = !lean_is_exclusive(x_25);
if (x_39 == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 
x_40 = lean_ctor_get(x_25, 1);
x_41 = lean_ctor_get(x_25, 0);
lean_dec(x_41);
x_42 = lean_ctor_get(x_26, 0);
lean_inc(x_42);
lean_dec(x_26);
x_43 = lean_box(0);
lean_ctor_set_tag(x_25, 1);
lean_ctor_set(x_25, 1, x_43);
lean_ctor_set(x_25, 0, x_42);
x_44 = l_Lean_Elab_Tactic_replaceMainGoal(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38);
if (lean_obj_tag(x_44) == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_44, 0);
lean_inc(x_45);
x_46 = lean_ctor_get(x_44, 1);
lean_inc(x_46);
lean_dec(x_44);
x_47 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1(x_40, x_2, x_1, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_46);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_45);
lean_dec(x_40);
return x_47;
}
else
{
uint8_t x_48; 
lean_dec(x_40);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_48 = !lean_is_exclusive(x_44);
if (x_48 == 0)
{
return x_44;
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_49 = lean_ctor_get(x_44, 0);
x_50 = lean_ctor_get(x_44, 1);
lean_inc(x_50);
lean_inc(x_49);
lean_dec(x_44);
x_51 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
return x_51;
}
}
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 
x_52 = lean_ctor_get(x_25, 1);
lean_inc(x_52);
lean_dec(x_25);
x_53 = lean_ctor_get(x_26, 0);
lean_inc(x_53);
lean_dec(x_26);
x_54 = lean_box(0);
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 = l_Lean_Elab_Tactic_replaceMainGoal(x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38);
if (lean_obj_tag(x_56) == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_57 = lean_ctor_get(x_56, 0);
lean_inc(x_57);
x_58 = lean_ctor_get(x_56, 1);
lean_inc(x_58);
lean_dec(x_56);
x_59 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1(x_52, x_2, x_1, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_57);
lean_dec(x_52);
return x_59;
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_52);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_60 = lean_ctor_get(x_56, 0);
lean_inc(x_60);
x_61 = lean_ctor_get(x_56, 1);
lean_inc(x_61);
if (lean_is_exclusive(x_56)) {
 lean_ctor_release(x_56, 0);
 lean_ctor_release(x_56, 1);
 x_62 = x_56;
} else {
 lean_dec_ref(x_56);
 x_62 = lean_box(0);
}
if (lean_is_scalar(x_62)) {
 x_63 = lean_alloc_ctor(1, 2, 0);
} else {
 x_63 = x_62;
}
lean_ctor_set(x_63, 0, x_60);
lean_ctor_set(x_63, 1, x_61);
return x_63;
}
}
}
}
else
{
uint8_t x_64; 
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_64 = !lean_is_exclusive(x_24);
if (x_64 == 0)
{
return x_24;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; 
x_65 = lean_ctor_get(x_24, 0);
x_66 = lean_ctor_get(x_24, 1);
lean_inc(x_66);
lean_inc(x_65);
lean_dec(x_24);
x_67 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_67, 0, x_65);
lean_ctor_set(x_67, 1, x_66);
return x_67;
}
}
}
else
{
uint8_t x_68; 
lean_dec(x_18);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_68 = !lean_is_exclusive(x_19);
if (x_68 == 0)
{
return x_19;
}
else
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_69 = lean_ctor_get(x_19, 0);
x_70 = lean_ctor_get(x_19, 1);
lean_inc(x_70);
lean_inc(x_69);
lean_dec(x_19);
x_71 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_71, 0, x_69);
lean_ctor_set(x_71, 1, x_70);
return x_71;
}
}
}
else
{
uint8_t x_72; 
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_72 = !lean_is_exclusive(x_15);
if (x_72 == 0)
{
return x_15;
}
else
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_73 = lean_ctor_get(x_15, 0);
x_74 = lean_ctor_get(x_15, 1);
lean_inc(x_74);
lean_inc(x_73);
lean_dec(x_15);
x_75 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_75, 0, x_73);
lean_ctor_set(x_75, 1, x_74);
return x_75;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpAll", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simp_all", 8, 8);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_16 = lean_ctor_get(x_13, 5);
lean_inc(x_16);
x_17 = 0;
x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17);
lean_dec(x_16);
x_19 = lean_st_ref_get(x_14, x_15);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_21 = lean_ctor_get(x_19, 1);
x_22 = lean_ctor_get(x_19, 0);
lean_dec(x_22);
x_23 = 1;
x_24 = l_Lean_SourceInfo_fromRef(x_1, x_23);
x_25 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__3;
lean_ctor_set_tag(x_19, 2);
lean_ctor_set(x_19, 1, x_25);
lean_ctor_set(x_19, 0, x_24);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_81; 
x_81 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_26 = x_81;
goto block_80;
}
else
{
lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_82 = lean_ctor_get(x_6, 0);
lean_inc(x_82);
lean_dec(x_6);
x_83 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_84 = lean_array_push(x_83, x_82);
x_26 = x_84;
goto block_80;
}
block_80:
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_27 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_28 = l_Array_append___rarg(x_27, x_26);
lean_dec(x_26);
x_29 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_18);
x_30 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_30, 0, x_18);
lean_ctor_set(x_30, 1, x_29);
lean_ctor_set(x_30, 2, x_28);
if (lean_obj_tag(x_5) == 0)
{
x_31 = x_27;
goto block_77;
}
else
{
lean_object* x_78; lean_object* x_79; 
x_78 = lean_ctor_get(x_5, 0);
lean_inc(x_78);
lean_dec(x_5);
x_79 = lean_array_push(x_27, x_78);
x_31 = x_79;
goto block_77;
}
block_77:
{
lean_object* x_32; lean_object* x_33; 
x_32 = l_Array_append___rarg(x_27, x_31);
lean_dec(x_31);
lean_inc(x_18);
x_33 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_33, 0, x_18);
lean_ctor_set(x_33, 1, x_29);
lean_ctor_set(x_33, 2, x_32);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_34; lean_object* x_35; 
x_34 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_35 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_35, 0, x_18);
lean_ctor_set(x_35, 1, x_29);
lean_ctor_set(x_35, 2, x_34);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_36 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
lean_inc(x_35);
x_37 = l_Lean_Syntax_node5(x_18, x_36, x_19, x_30, x_33, x_35, x_35);
x_38 = lean_apply_10(x_4, x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_38;
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_39 = lean_ctor_get(x_3, 0);
x_40 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_41 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_41, 0, x_18);
lean_ctor_set(x_41, 1, x_40);
x_42 = l_Array_append___rarg(x_27, x_39);
lean_inc(x_18);
x_43 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_43, 0, x_18);
lean_ctor_set(x_43, 1, x_29);
lean_ctor_set(x_43, 2, x_42);
x_44 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_45 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_45, 0, x_18);
lean_ctor_set(x_45, 1, x_44);
x_46 = l_Array_mkArray3___rarg(x_41, x_43, x_45);
x_47 = l_Array_append___rarg(x_27, x_46);
lean_dec(x_46);
lean_inc(x_18);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_18);
lean_ctor_set(x_48, 1, x_29);
lean_ctor_set(x_48, 2, x_47);
x_49 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
x_50 = l_Lean_Syntax_node5(x_18, x_49, x_19, x_30, x_33, x_35, x_48);
x_51 = lean_apply_10(x_4, x_50, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_51;
}
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_52 = lean_ctor_get(x_2, 0);
x_53 = l_Lean_SourceInfo_fromRef(x_52, x_23);
x_54 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_55 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_55, 0, x_53);
lean_ctor_set(x_55, 1, x_54);
x_56 = l_Array_mkArray1___rarg(x_55);
x_57 = l_Array_append___rarg(x_27, x_56);
lean_dec(x_56);
lean_inc(x_18);
x_58 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_58, 0, x_18);
lean_ctor_set(x_58, 1, x_29);
lean_ctor_set(x_58, 2, x_57);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_59 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_60 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_60, 0, x_18);
lean_ctor_set(x_60, 1, x_29);
lean_ctor_set(x_60, 2, x_59);
x_61 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
x_62 = l_Lean_Syntax_node5(x_18, x_61, x_19, x_30, x_33, x_58, x_60);
x_63 = lean_apply_10(x_4, x_62, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_63;
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; 
x_64 = lean_ctor_get(x_3, 0);
x_65 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_66 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_66, 0, x_18);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Array_append___rarg(x_27, x_64);
lean_inc(x_18);
x_68 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_68, 0, x_18);
lean_ctor_set(x_68, 1, x_29);
lean_ctor_set(x_68, 2, x_67);
x_69 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_70 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_70, 0, x_18);
lean_ctor_set(x_70, 1, x_69);
x_71 = l_Array_mkArray3___rarg(x_66, x_68, x_70);
x_72 = l_Array_append___rarg(x_27, x_71);
lean_dec(x_71);
lean_inc(x_18);
x_73 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_73, 0, x_18);
lean_ctor_set(x_73, 1, x_29);
lean_ctor_set(x_73, 2, x_72);
x_74 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
x_75 = l_Lean_Syntax_node5(x_18, x_74, x_19, x_30, x_33, x_58, x_73);
x_76 = lean_apply_10(x_4, x_75, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_76;
}
}
}
}
}
else
{
lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 
x_85 = lean_ctor_get(x_19, 1);
lean_inc(x_85);
lean_dec(x_19);
x_86 = 1;
x_87 = l_Lean_SourceInfo_fromRef(x_1, x_86);
x_88 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__3;
x_89 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_89, 0, x_87);
lean_ctor_set(x_89, 1, x_88);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_145; 
x_145 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_90 = x_145;
goto block_144;
}
else
{
lean_object* x_146; lean_object* x_147; lean_object* x_148; 
x_146 = lean_ctor_get(x_6, 0);
lean_inc(x_146);
lean_dec(x_6);
x_147 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_148 = lean_array_push(x_147, x_146);
x_90 = x_148;
goto block_144;
}
block_144:
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; 
x_91 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_92 = l_Array_append___rarg(x_91, x_90);
lean_dec(x_90);
x_93 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_18);
x_94 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_94, 0, x_18);
lean_ctor_set(x_94, 1, x_93);
lean_ctor_set(x_94, 2, x_92);
if (lean_obj_tag(x_5) == 0)
{
x_95 = x_91;
goto block_141;
}
else
{
lean_object* x_142; lean_object* x_143; 
x_142 = lean_ctor_get(x_5, 0);
lean_inc(x_142);
lean_dec(x_5);
x_143 = lean_array_push(x_91, x_142);
x_95 = x_143;
goto block_141;
}
block_141:
{
lean_object* x_96; lean_object* x_97; 
x_96 = l_Array_append___rarg(x_91, x_95);
lean_dec(x_95);
lean_inc(x_18);
x_97 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_97, 0, x_18);
lean_ctor_set(x_97, 1, x_93);
lean_ctor_set(x_97, 2, x_96);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_98; lean_object* x_99; 
x_98 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_99 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_99, 0, x_18);
lean_ctor_set(x_99, 1, x_93);
lean_ctor_set(x_99, 2, x_98);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; 
x_100 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
lean_inc(x_99);
x_101 = l_Lean_Syntax_node5(x_18, x_100, x_89, x_94, x_97, x_99, x_99);
x_102 = lean_apply_10(x_4, x_101, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_102;
}
else
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; 
x_103 = lean_ctor_get(x_3, 0);
x_104 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_105 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_105, 0, x_18);
lean_ctor_set(x_105, 1, x_104);
x_106 = l_Array_append___rarg(x_91, x_103);
lean_inc(x_18);
x_107 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_107, 0, x_18);
lean_ctor_set(x_107, 1, x_93);
lean_ctor_set(x_107, 2, x_106);
x_108 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_18);
lean_ctor_set(x_109, 1, x_108);
x_110 = l_Array_mkArray3___rarg(x_105, x_107, x_109);
x_111 = l_Array_append___rarg(x_91, x_110);
lean_dec(x_110);
lean_inc(x_18);
x_112 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_112, 0, x_18);
lean_ctor_set(x_112, 1, x_93);
lean_ctor_set(x_112, 2, x_111);
x_113 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
x_114 = l_Lean_Syntax_node5(x_18, x_113, x_89, x_94, x_97, x_99, x_112);
x_115 = lean_apply_10(x_4, x_114, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_115;
}
}
else
{
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; 
x_116 = lean_ctor_get(x_2, 0);
x_117 = l_Lean_SourceInfo_fromRef(x_116, x_86);
x_118 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_119 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_119, 0, x_117);
lean_ctor_set(x_119, 1, x_118);
x_120 = l_Array_mkArray1___rarg(x_119);
x_121 = l_Array_append___rarg(x_91, x_120);
lean_dec(x_120);
lean_inc(x_18);
x_122 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_122, 0, x_18);
lean_ctor_set(x_122, 1, x_93);
lean_ctor_set(x_122, 2, x_121);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 
x_123 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_124 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_124, 0, x_18);
lean_ctor_set(x_124, 1, x_93);
lean_ctor_set(x_124, 2, x_123);
x_125 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
x_126 = l_Lean_Syntax_node5(x_18, x_125, x_89, x_94, x_97, x_122, x_124);
x_127 = lean_apply_10(x_4, x_126, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_127;
}
else
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; 
x_128 = lean_ctor_get(x_3, 0);
x_129 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_130 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_130, 0, x_18);
lean_ctor_set(x_130, 1, x_129);
x_131 = l_Array_append___rarg(x_91, x_128);
lean_inc(x_18);
x_132 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_132, 0, x_18);
lean_ctor_set(x_132, 1, x_93);
lean_ctor_set(x_132, 2, x_131);
x_133 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_134 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_134, 0, x_18);
lean_ctor_set(x_134, 1, x_133);
x_135 = l_Array_mkArray3___rarg(x_130, x_132, x_134);
x_136 = l_Array_append___rarg(x_91, x_135);
lean_dec(x_135);
lean_inc(x_18);
x_137 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_137, 0, x_18);
lean_ctor_set(x_137, 1, x_93);
lean_ctor_set(x_137, 2, x_136);
x_138 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2;
x_139 = l_Lean_Syntax_node5(x_18, x_138, x_89, x_94, x_97, x_122, x_137);
x_140 = lean_apply_10(x_4, x_139, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_140;
}
}
}
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpAllAutoUnfold", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simp_all!", 9, 9);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_16 = lean_ctor_get(x_13, 5);
lean_inc(x_16);
x_17 = 0;
x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17);
lean_dec(x_16);
x_19 = lean_st_ref_get(x_14, x_15);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_21 = lean_ctor_get(x_19, 1);
x_22 = lean_ctor_get(x_19, 0);
lean_dec(x_22);
x_23 = 1;
x_24 = l_Lean_SourceInfo_fromRef(x_1, x_23);
x_25 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__3;
lean_ctor_set_tag(x_19, 2);
lean_ctor_set(x_19, 1, x_25);
lean_ctor_set(x_19, 0, x_24);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_81; 
x_81 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_26 = x_81;
goto block_80;
}
else
{
lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_82 = lean_ctor_get(x_6, 0);
lean_inc(x_82);
lean_dec(x_6);
x_83 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_84 = lean_array_push(x_83, x_82);
x_26 = x_84;
goto block_80;
}
block_80:
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_27 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_28 = l_Array_append___rarg(x_27, x_26);
lean_dec(x_26);
x_29 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_18);
x_30 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_30, 0, x_18);
lean_ctor_set(x_30, 1, x_29);
lean_ctor_set(x_30, 2, x_28);
if (lean_obj_tag(x_5) == 0)
{
x_31 = x_27;
goto block_77;
}
else
{
lean_object* x_78; lean_object* x_79; 
x_78 = lean_ctor_get(x_5, 0);
lean_inc(x_78);
lean_dec(x_5);
x_79 = lean_array_push(x_27, x_78);
x_31 = x_79;
goto block_77;
}
block_77:
{
lean_object* x_32; lean_object* x_33; 
x_32 = l_Array_append___rarg(x_27, x_31);
lean_dec(x_31);
lean_inc(x_18);
x_33 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_33, 0, x_18);
lean_ctor_set(x_33, 1, x_29);
lean_ctor_set(x_33, 2, x_32);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_34; lean_object* x_35; 
x_34 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_35 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_35, 0, x_18);
lean_ctor_set(x_35, 1, x_29);
lean_ctor_set(x_35, 2, x_34);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_36 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
lean_inc(x_35);
x_37 = l_Lean_Syntax_node5(x_18, x_36, x_19, x_30, x_33, x_35, x_35);
x_38 = lean_apply_10(x_4, x_37, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_38;
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_39 = lean_ctor_get(x_3, 0);
x_40 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_41 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_41, 0, x_18);
lean_ctor_set(x_41, 1, x_40);
x_42 = l_Array_append___rarg(x_27, x_39);
lean_inc(x_18);
x_43 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_43, 0, x_18);
lean_ctor_set(x_43, 1, x_29);
lean_ctor_set(x_43, 2, x_42);
x_44 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_45 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_45, 0, x_18);
lean_ctor_set(x_45, 1, x_44);
x_46 = l_Array_mkArray3___rarg(x_41, x_43, x_45);
x_47 = l_Array_append___rarg(x_27, x_46);
lean_dec(x_46);
lean_inc(x_18);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_18);
lean_ctor_set(x_48, 1, x_29);
lean_ctor_set(x_48, 2, x_47);
x_49 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
x_50 = l_Lean_Syntax_node5(x_18, x_49, x_19, x_30, x_33, x_35, x_48);
x_51 = lean_apply_10(x_4, x_50, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_51;
}
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_52 = lean_ctor_get(x_2, 0);
x_53 = l_Lean_SourceInfo_fromRef(x_52, x_23);
x_54 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_55 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_55, 0, x_53);
lean_ctor_set(x_55, 1, x_54);
x_56 = l_Array_mkArray1___rarg(x_55);
x_57 = l_Array_append___rarg(x_27, x_56);
lean_dec(x_56);
lean_inc(x_18);
x_58 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_58, 0, x_18);
lean_ctor_set(x_58, 1, x_29);
lean_ctor_set(x_58, 2, x_57);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_59 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_60 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_60, 0, x_18);
lean_ctor_set(x_60, 1, x_29);
lean_ctor_set(x_60, 2, x_59);
x_61 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
x_62 = l_Lean_Syntax_node5(x_18, x_61, x_19, x_30, x_33, x_58, x_60);
x_63 = lean_apply_10(x_4, x_62, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_63;
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; 
x_64 = lean_ctor_get(x_3, 0);
x_65 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_66 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_66, 0, x_18);
lean_ctor_set(x_66, 1, x_65);
x_67 = l_Array_append___rarg(x_27, x_64);
lean_inc(x_18);
x_68 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_68, 0, x_18);
lean_ctor_set(x_68, 1, x_29);
lean_ctor_set(x_68, 2, x_67);
x_69 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_70 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_70, 0, x_18);
lean_ctor_set(x_70, 1, x_69);
x_71 = l_Array_mkArray3___rarg(x_66, x_68, x_70);
x_72 = l_Array_append___rarg(x_27, x_71);
lean_dec(x_71);
lean_inc(x_18);
x_73 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_73, 0, x_18);
lean_ctor_set(x_73, 1, x_29);
lean_ctor_set(x_73, 2, x_72);
x_74 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
x_75 = l_Lean_Syntax_node5(x_18, x_74, x_19, x_30, x_33, x_58, x_73);
x_76 = lean_apply_10(x_4, x_75, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_76;
}
}
}
}
}
else
{
lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 
x_85 = lean_ctor_get(x_19, 1);
lean_inc(x_85);
lean_dec(x_19);
x_86 = 1;
x_87 = l_Lean_SourceInfo_fromRef(x_1, x_86);
x_88 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__3;
x_89 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_89, 0, x_87);
lean_ctor_set(x_89, 1, x_88);
if (lean_obj_tag(x_6) == 0)
{
lean_object* x_145; 
x_145 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_90 = x_145;
goto block_144;
}
else
{
lean_object* x_146; lean_object* x_147; lean_object* x_148; 
x_146 = lean_ctor_get(x_6, 0);
lean_inc(x_146);
lean_dec(x_6);
x_147 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_148 = lean_array_push(x_147, x_146);
x_90 = x_148;
goto block_144;
}
block_144:
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; 
x_91 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
x_92 = l_Array_append___rarg(x_91, x_90);
lean_dec(x_90);
x_93 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
lean_inc(x_18);
x_94 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_94, 0, x_18);
lean_ctor_set(x_94, 1, x_93);
lean_ctor_set(x_94, 2, x_92);
if (lean_obj_tag(x_5) == 0)
{
x_95 = x_91;
goto block_141;
}
else
{
lean_object* x_142; lean_object* x_143; 
x_142 = lean_ctor_get(x_5, 0);
lean_inc(x_142);
lean_dec(x_5);
x_143 = lean_array_push(x_91, x_142);
x_95 = x_143;
goto block_141;
}
block_141:
{
lean_object* x_96; lean_object* x_97; 
x_96 = l_Array_append___rarg(x_91, x_95);
lean_dec(x_95);
lean_inc(x_18);
x_97 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_97, 0, x_18);
lean_ctor_set(x_97, 1, x_93);
lean_ctor_set(x_97, 2, x_96);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_98; lean_object* x_99; 
x_98 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_99 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_99, 0, x_18);
lean_ctor_set(x_99, 1, x_93);
lean_ctor_set(x_99, 2, x_98);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; 
x_100 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
lean_inc(x_99);
x_101 = l_Lean_Syntax_node5(x_18, x_100, x_89, x_94, x_97, x_99, x_99);
x_102 = lean_apply_10(x_4, x_101, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_102;
}
else
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; 
x_103 = lean_ctor_get(x_3, 0);
x_104 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_105 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_105, 0, x_18);
lean_ctor_set(x_105, 1, x_104);
x_106 = l_Array_append___rarg(x_91, x_103);
lean_inc(x_18);
x_107 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_107, 0, x_18);
lean_ctor_set(x_107, 1, x_93);
lean_ctor_set(x_107, 2, x_106);
x_108 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_18);
lean_ctor_set(x_109, 1, x_108);
x_110 = l_Array_mkArray3___rarg(x_105, x_107, x_109);
x_111 = l_Array_append___rarg(x_91, x_110);
lean_dec(x_110);
lean_inc(x_18);
x_112 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_112, 0, x_18);
lean_ctor_set(x_112, 1, x_93);
lean_ctor_set(x_112, 2, x_111);
x_113 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
x_114 = l_Lean_Syntax_node5(x_18, x_113, x_89, x_94, x_97, x_99, x_112);
x_115 = lean_apply_10(x_4, x_114, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_115;
}
}
else
{
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; 
x_116 = lean_ctor_get(x_2, 0);
x_117 = l_Lean_SourceInfo_fromRef(x_116, x_86);
x_118 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_119 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_119, 0, x_117);
lean_ctor_set(x_119, 1, x_118);
x_120 = l_Array_mkArray1___rarg(x_119);
x_121 = l_Array_append___rarg(x_91, x_120);
lean_dec(x_120);
lean_inc(x_18);
x_122 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_122, 0, x_18);
lean_ctor_set(x_122, 1, x_93);
lean_ctor_set(x_122, 2, x_121);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 
x_123 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_124 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_124, 0, x_18);
lean_ctor_set(x_124, 1, x_93);
lean_ctor_set(x_124, 2, x_123);
x_125 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
x_126 = l_Lean_Syntax_node5(x_18, x_125, x_89, x_94, x_97, x_122, x_124);
x_127 = lean_apply_10(x_4, x_126, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_127;
}
else
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; 
x_128 = lean_ctor_get(x_3, 0);
x_129 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_130 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_130, 0, x_18);
lean_ctor_set(x_130, 1, x_129);
x_131 = l_Array_append___rarg(x_91, x_128);
lean_inc(x_18);
x_132 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_132, 0, x_18);
lean_ctor_set(x_132, 1, x_93);
lean_ctor_set(x_132, 2, x_131);
x_133 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_134 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_134, 0, x_18);
lean_ctor_set(x_134, 1, x_133);
x_135 = l_Array_mkArray3___rarg(x_130, x_132, x_134);
x_136 = l_Array_append___rarg(x_91, x_135);
lean_dec(x_135);
lean_inc(x_18);
x_137 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_137, 0, x_18);
lean_ctor_set(x_137, 1, x_93);
lean_ctor_set(x_137, 2, x_136);
x_138 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2;
x_139 = l_Lean_Syntax_node5(x_18, x_138, x_89, x_94, x_97, x_122, x_137);
x_140 = lean_apply_10(x_4, x_139, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_85);
return x_140;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_17 = l_Lean_Syntax_getOptional_x3f(x_1);
x_18 = l_Lean_Syntax_getOptional_x3f(x_2);
lean_inc(x_3);
x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___boxed), 11, 1);
lean_closure_set(x_19, 0, x_3);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_32; 
x_32 = lean_box(0);
x_20 = x_32;
goto block_31;
}
else
{
uint8_t x_33; 
x_33 = !lean_is_exclusive(x_17);
if (x_33 == 0)
{
x_20 = x_17;
goto block_31;
}
else
{
lean_object* x_34; lean_object* x_35; 
x_34 = lean_ctor_get(x_17, 0);
lean_inc(x_34);
lean_dec(x_17);
x_35 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_20 = x_35;
goto block_31;
}
}
block_31:
{
lean_object* x_21; 
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_27; 
x_27 = lean_box(0);
x_21 = x_27;
goto block_26;
}
else
{
uint8_t x_28; 
x_28 = !lean_is_exclusive(x_18);
if (x_28 == 0)
{
x_21 = x_18;
goto block_26;
}
else
{
lean_object* x_29; lean_object* x_30; 
x_29 = lean_ctor_get(x_18, 0);
lean_inc(x_29);
lean_dec(x_18);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_21 = x_30;
goto block_26;
}
}
block_26:
{
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_22; lean_object* x_23; 
x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___boxed), 15, 6);
lean_closure_set(x_22, 0, x_3);
lean_closure_set(x_22, 1, x_5);
lean_closure_set(x_22, 2, x_7);
lean_closure_set(x_22, 3, x_19);
lean_closure_set(x_22, 4, x_20);
lean_closure_set(x_22, 5, x_21);
x_23 = l_Lean_Elab_Tactic_withSimpDiagnostics(x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_23;
}
else
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___boxed), 15, 6);
lean_closure_set(x_24, 0, x_3);
lean_closure_set(x_24, 1, x_5);
lean_closure_set(x_24, 2, x_7);
lean_closure_set(x_24, 3, x_19);
lean_closure_set(x_24, 4, x_20);
lean_closure_set(x_24, 5, x_21);
x_25 = l_Lean_Elab_Tactic_withSimpDiagnostics(x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_25;
}
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dsimpArgs", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_17 = lean_unsigned_to_nat(3u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Syntax_isNone(x_18);
if (x_19 == 0)
{
lean_object* x_20; uint8_t x_21; 
x_20 = lean_unsigned_to_nat(1u);
lean_inc(x_18);
x_21 = l_Lean_Syntax_matchesNull(x_18, x_20);
if (x_21 == 0)
{
lean_object* x_22; 
lean_dec(x_18);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_4);
x_22 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_16);
return x_22;
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; 
x_23 = lean_unsigned_to_nat(0u);
x_24 = l_Lean_Syntax_getArg(x_18, x_23);
lean_dec(x_18);
x_25 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__2;
lean_inc(x_24);
x_26 = l_Lean_Syntax_isOfKind(x_24, x_25);
if (x_26 == 0)
{
lean_object* x_27; 
lean_dec(x_24);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_4);
x_27 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_16);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_28 = l_Lean_Syntax_getArg(x_24, x_20);
lean_dec(x_24);
x_29 = l_Lean_Syntax_getArgs(x_28);
lean_dec(x_28);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_31 = lean_box(0);
x_32 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__5(x_2, x_3, x_4, x_5, x_7, x_31, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_32;
}
}
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
lean_dec(x_18);
x_33 = lean_box(0);
x_34 = lean_box(0);
x_35 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__5(x_2, x_3, x_4, x_5, x_7, x_34, x_33, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_35;
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpAllTraceArgsRest", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_14 = lean_unsigned_to_nat(2u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__2;
lean_inc(x_15);
x_17 = l_Lean_Syntax_isOfKind(x_15, x_16);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_13);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_19 = lean_unsigned_to_nat(0u);
x_20 = l_Lean_Syntax_getArg(x_15, x_19);
x_21 = lean_unsigned_to_nat(1u);
x_22 = l_Lean_Syntax_getArg(x_15, x_21);
x_23 = l_Lean_Syntax_getArg(x_15, x_14);
x_24 = l_Lean_Syntax_isNone(x_23);
if (x_24 == 0)
{
uint8_t x_25; 
lean_inc(x_23);
x_25 = l_Lean_Syntax_matchesNull(x_23, x_21);
if (x_25 == 0)
{
lean_object* x_26; 
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_13);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_27 = l_Lean_Syntax_getArg(x_23, x_19);
lean_dec(x_23);
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_27);
x_29 = lean_box(0);
x_30 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6(x_15, x_22, x_20, x_2, x_4, x_29, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_20);
lean_dec(x_22);
lean_dec(x_15);
return x_30;
}
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; 
lean_dec(x_23);
x_31 = lean_box(0);
x_32 = lean_box(0);
x_33 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6(x_15, x_22, x_20, x_2, x_4, x_32, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_20);
lean_dec(x_22);
lean_dec(x_15);
return x_33;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("simpAllTrace", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalSimpAllTrace___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalSimpAllTrace___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11; uint8_t x_12; 
x_11 = l_Lean_Elab_Tactic_evalSimpAllTrace___closed__2;
lean_inc(x_1);
x_12 = l_Lean_Syntax_isOfKind(x_1, x_11);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = lean_unsigned_to_nat(1u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
x_18 = l_Lean_Syntax_isNone(x_17);
if (x_18 == 0)
{
uint8_t x_19; 
lean_inc(x_17);
x_19 = l_Lean_Syntax_matchesNull(x_17, x_16);
if (x_19 == 0)
{
lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_21 = l_Lean_Syntax_getArg(x_17, x_14);
lean_dec(x_17);
x_22 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_22, 0, x_21);
x_23 = lean_box(0);
x_24 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7(x_1, x_15, x_23, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_22);
lean_dec(x_1);
return x_24;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_dec(x_17);
x_25 = lean_box(0);
x_26 = lean_box(0);
x_27 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7(x_1, x_15, x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_1);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; 
x_16 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; 
x_16 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; 
x_17 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; 
x_17 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_14;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("evalSimpAllTrace", 16, 16);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAllTrace), 10, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__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; 
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4;
x_3 = l_Lean_Elab_Tactic_evalSimpAllTrace___closed__2;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__2;
x_5 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__3;
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
return x_6;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(42u);
x_2 = lean_unsigned_to_nat(31u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(58u);
x_2 = lean_unsigned_to_nat(31u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__1;
x_2 = lean_unsigned_to_nat(31u);
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__2;
x_4 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
lean_ctor_set(x_4, 3, x_2);
return x_4;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(42u);
x_2 = lean_unsigned_to_nat(35u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(42u);
x_2 = lean_unsigned_to_nat(51u);
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___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__4;
x_2 = lean_unsigned_to_nat(35u);
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__5;
x_4 = lean_unsigned_to_nat(51u);
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__3;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__6;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__2;
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__7;
x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_1);
lean_ctor_set(x_12, 1, x_11);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Elab_Tactic_getMainGoal(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__8;
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
x_18 = l_Lean_Meta_dsimpGoal(x_15, x_1, x_2, x_4, x_3, x_17, x_9, x_10, x_11, x_12, x_16);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; 
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
if (lean_obj_tag(x_20) == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_21 = lean_ctor_get(x_18, 1);
lean_inc(x_21);
lean_dec(x_18);
x_22 = lean_ctor_get(x_19, 1);
lean_inc(x_22);
lean_dec(x_19);
x_23 = lean_box(0);
x_24 = l_Lean_Elab_Tactic_replaceMainGoal(x_23, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
if (lean_obj_tag(x_24) == 0)
{
uint8_t x_25; 
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
lean_object* x_26; 
x_26 = lean_ctor_get(x_24, 0);
lean_dec(x_26);
lean_ctor_set(x_24, 0, x_22);
return x_24;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_24, 1);
lean_inc(x_27);
lean_dec(x_24);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_22);
lean_ctor_set(x_28, 1, x_27);
return x_28;
}
}
else
{
uint8_t x_29; 
lean_dec(x_22);
x_29 = !lean_is_exclusive(x_24);
if (x_29 == 0)
{
return x_24;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_30 = lean_ctor_get(x_24, 0);
x_31 = lean_ctor_get(x_24, 1);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_24);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
return x_32;
}
}
}
else
{
lean_object* x_33; uint8_t x_34; 
x_33 = lean_ctor_get(x_18, 1);
lean_inc(x_33);
lean_dec(x_18);
x_34 = !lean_is_exclusive(x_19);
if (x_34 == 0)
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_35 = lean_ctor_get(x_19, 1);
x_36 = lean_ctor_get(x_19, 0);
lean_dec(x_36);
x_37 = lean_ctor_get(x_20, 0);
lean_inc(x_37);
lean_dec(x_20);
x_38 = lean_box(0);
lean_ctor_set_tag(x_19, 1);
lean_ctor_set(x_19, 1, x_38);
lean_ctor_set(x_19, 0, x_37);
x_39 = l_Lean_Elab_Tactic_replaceMainGoal(x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_33);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
if (lean_obj_tag(x_39) == 0)
{
uint8_t x_40; 
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
lean_object* x_41; 
x_41 = lean_ctor_get(x_39, 0);
lean_dec(x_41);
lean_ctor_set(x_39, 0, x_35);
return x_39;
}
else
{
lean_object* x_42; lean_object* x_43; 
x_42 = lean_ctor_get(x_39, 1);
lean_inc(x_42);
lean_dec(x_39);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_35);
lean_ctor_set(x_43, 1, x_42);
return x_43;
}
}
else
{
uint8_t x_44; 
lean_dec(x_35);
x_44 = !lean_is_exclusive(x_39);
if (x_44 == 0)
{
return x_39;
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_39, 0);
x_46 = lean_ctor_get(x_39, 1);
lean_inc(x_46);
lean_inc(x_45);
lean_dec(x_39);
x_47 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
return x_47;
}
}
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_48 = lean_ctor_get(x_19, 1);
lean_inc(x_48);
lean_dec(x_19);
x_49 = lean_ctor_get(x_20, 0);
lean_inc(x_49);
lean_dec(x_20);
x_50 = lean_box(0);
x_51 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
x_52 = l_Lean_Elab_Tactic_replaceMainGoal(x_51, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_33);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
if (lean_obj_tag(x_52) == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_53 = lean_ctor_get(x_52, 1);
lean_inc(x_53);
if (lean_is_exclusive(x_52)) {
 lean_ctor_release(x_52, 0);
 lean_ctor_release(x_52, 1);
 x_54 = x_52;
} else {
 lean_dec_ref(x_52);
 x_54 = lean_box(0);
}
if (lean_is_scalar(x_54)) {
 x_55 = lean_alloc_ctor(0, 2, 0);
} else {
 x_55 = x_54;
}
lean_ctor_set(x_55, 0, x_48);
lean_ctor_set(x_55, 1, x_53);
return x_55;
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
lean_dec(x_48);
x_56 = lean_ctor_get(x_52, 0);
lean_inc(x_56);
x_57 = lean_ctor_get(x_52, 1);
lean_inc(x_57);
if (lean_is_exclusive(x_52)) {
 lean_ctor_release(x_52, 0);
 lean_ctor_release(x_52, 1);
 x_58 = x_52;
} else {
 lean_dec_ref(x_52);
 x_58 = lean_box(0);
}
if (lean_is_scalar(x_58)) {
 x_59 = lean_alloc_ctor(1, 2, 0);
} else {
 x_59 = x_58;
}
lean_ctor_set(x_59, 0, x_56);
lean_ctor_set(x_59, 1, x_57);
return x_59;
}
}
}
}
else
{
uint8_t x_60; 
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
x_60 = !lean_is_exclusive(x_18);
if (x_60 == 0)
{
return x_18;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_61 = lean_ctor_get(x_18, 0);
x_62 = lean_ctor_get(x_18, 1);
lean_inc(x_62);
lean_inc(x_61);
lean_dec(x_18);
x_63 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
return x_63;
}
}
}
else
{
uint8_t x_64; 
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_64 = !lean_is_exclusive(x_14);
if (x_64 == 0)
{
return x_14;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; 
x_65 = lean_ctor_get(x_14, 0);
x_66 = lean_ctor_get(x_14, 1);
lean_inc(x_66);
lean_inc(x_65);
lean_dec(x_14);
x_67 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_67, 0, x_65);
lean_ctor_set(x_67, 1, x_66);
return x_67;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_Elab_Tactic_dsimpLocation_x27_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; lean_object* x_15; 
x_14 = lean_unbox(x_4);
lean_dec(x_4);
x_15 = l_Lean_Elab_Tactic_dsimpLocation_x27_go(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_12) == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
x_14 = lean_ctor_get(x_12, 1);
lean_inc(x_14);
lean_dec(x_12);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
x_15 = l_Lean_MVarId_getNondepPropHyps(x_13, x_7, x_8, x_9, x_10, x_14);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; 
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec(x_15);
x_18 = 1;
x_19 = l_Lean_Elab_Tactic_dsimpLocation_x27_go(x_1, x_2, x_16, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17);
return x_19;
}
else
{
uint8_t x_20; 
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
x_20 = !lean_is_exclusive(x_15);
if (x_20 == 0)
{
return x_15;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_15, 0);
x_22 = lean_ctor_get(x_15, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_15);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
return x_23;
}
}
}
else
{
uint8_t x_24; 
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
x_24 = !lean_is_exclusive(x_12);
if (x_24 == 0)
{
return x_12;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_25 = lean_ctor_get(x_12, 0);
x_26 = lean_ctor_get(x_12, 1);
lean_inc(x_26);
lean_inc(x_25);
lean_dec(x_12);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set(x_27, 1, x_26);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
x_14 = l_Lean_Elab_Tactic_getFVarIds(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = l_Lean_Elab_Tactic_dsimpLocation_x27_go(x_2, x_3, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
return x_17;
}
else
{
uint8_t x_18; 
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
x_18 = !lean_is_exclusive(x_14);
if (x_18 == 0)
{
return x_14;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_14, 0);
x_20 = lean_ctor_get(x_14, 1);
lean_inc(x_20);
lean_inc(x_19);
lean_dec(x_14);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
return x_21;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__1___boxed), 11, 2);
lean_closure_set(x_13, 0, x_1);
lean_closure_set(x_13, 1, x_2);
x_14 = l_Lean_Elab_Tactic_withMainContext___rarg(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_14;
}
else
{
lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
x_16 = lean_ctor_get_uint8(x_3, sizeof(void*)*1);
lean_dec(x_3);
x_17 = lean_box(x_16);
x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__2___boxed), 13, 4);
lean_closure_set(x_18, 0, x_15);
lean_closure_set(x_18, 1, x_1);
lean_closure_set(x_18, 2, x_2);
lean_closure_set(x_18, 3, x_17);
x_19 = l_Lean_Elab_Tactic_withMainContext___rarg(x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_19;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
uint8_t x_14; lean_object* x_15; 
x_14 = lean_unbox(x_4);
lean_dec(x_4);
x_15 = l_Lean_Elab_Tactic_dsimpLocation_x27___lambda__2(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_13; uint8_t 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_13 = 0;
x_14 = 2;
x_15 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1;
x_16 = lean_box(x_13);
x_17 = lean_box(x_14);
x_18 = lean_box(x_13);
lean_inc(x_3);
x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_mkSimpContext___boxed), 14, 5);
lean_closure_set(x_19, 0, x_3);
lean_closure_set(x_19, 1, x_16);
lean_closure_set(x_19, 2, x_17);
lean_closure_set(x_19, 3, x_18);
lean_closure_set(x_19, 4, x_15);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
x_20 = l_Lean_Elab_Tactic_withMainContext___rarg(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_20) == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_20, 1);
lean_inc(x_22);
lean_dec(x_20);
x_23 = lean_ctor_get(x_21, 0);
lean_inc(x_23);
x_24 = lean_ctor_get(x_21, 1);
lean_inc(x_24);
lean_dec(x_21);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_74; 
x_74 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__2;
x_25 = x_74;
goto block_73;
}
else
{
lean_object* x_75; lean_object* x_76; 
x_75 = lean_ctor_get(x_2, 0);
x_76 = l_Lean_Elab_Tactic_expandLocation(x_75);
x_25 = x_76;
goto block_73;
}
block_73:
{
lean_object* x_26; 
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
x_26 = l_Lean_Elab_Tactic_dsimpLocation_x27(x_23, x_24, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
x_28 = lean_ctor_get(x_26, 1);
lean_inc(x_28);
lean_dec(x_26);
x_29 = lean_ctor_get(x_27, 0);
lean_inc(x_29);
lean_inc(x_10);
lean_inc(x_8);
x_30 = l_Lean_Elab_Tactic_mkSimpCallStx(x_3, x_29, x_8, x_9, x_10, x_11, x_28);
lean_dec(x_29);
x_31 = !lean_is_exclusive(x_30);
if (x_31 == 0)
{
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; 
x_32 = lean_ctor_get(x_30, 0);
x_33 = lean_ctor_get(x_30, 1);
x_34 = lean_ctor_get(x_10, 5);
lean_inc(x_34);
x_35 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3;
lean_ctor_set(x_30, 1, x_32);
lean_ctor_set(x_30, 0, x_35);
x_36 = lean_box(0);
x_37 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_37, 0, x_30);
lean_ctor_set(x_37, 1, x_36);
lean_ctor_set(x_37, 2, x_36);
lean_ctor_set(x_37, 3, x_36);
lean_ctor_set(x_37, 4, x_36);
lean_ctor_set(x_37, 5, x_36);
x_38 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_38, 0, x_34);
x_39 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4;
x_40 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_1, x_37, x_38, x_39, x_36, x_8, x_9, x_10, x_11, x_33);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_38);
if (lean_obj_tag(x_40) == 0)
{
uint8_t x_41; 
x_41 = !lean_is_exclusive(x_40);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; 
x_42 = lean_ctor_get(x_40, 0);
lean_dec(x_42);
x_43 = lean_ctor_get(x_27, 1);
lean_inc(x_43);
lean_dec(x_27);
lean_ctor_set(x_40, 0, x_43);
return x_40;
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_44 = lean_ctor_get(x_40, 1);
lean_inc(x_44);
lean_dec(x_40);
x_45 = lean_ctor_get(x_27, 1);
lean_inc(x_45);
lean_dec(x_27);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_44);
return x_46;
}
}
else
{
uint8_t x_47; 
lean_dec(x_27);
x_47 = !lean_is_exclusive(x_40);
if (x_47 == 0)
{
return x_40;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_48 = lean_ctor_get(x_40, 0);
x_49 = lean_ctor_get(x_40, 1);
lean_inc(x_49);
lean_inc(x_48);
lean_dec(x_40);
x_50 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_50, 0, x_48);
lean_ctor_set(x_50, 1, x_49);
return x_50;
}
}
}
else
{
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_51 = lean_ctor_get(x_30, 0);
x_52 = lean_ctor_get(x_30, 1);
lean_inc(x_52);
lean_inc(x_51);
lean_dec(x_30);
x_53 = lean_ctor_get(x_10, 5);
lean_inc(x_53);
x_54 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3;
x_55 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_51);
x_56 = lean_box(0);
x_57 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_56);
lean_ctor_set(x_57, 2, x_56);
lean_ctor_set(x_57, 3, x_56);
lean_ctor_set(x_57, 4, x_56);
lean_ctor_set(x_57, 5, x_56);
x_58 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_58, 0, x_53);
x_59 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4;
x_60 = l_Lean_Meta_Tactic_TryThis_addSuggestion(x_1, x_57, x_58, x_59, x_56, x_8, x_9, x_10, x_11, x_52);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_58);
if (lean_obj_tag(x_60) == 0)
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_61 = lean_ctor_get(x_60, 1);
lean_inc(x_61);
if (lean_is_exclusive(x_60)) {
 lean_ctor_release(x_60, 0);
 lean_ctor_release(x_60, 1);
 x_62 = x_60;
} else {
 lean_dec_ref(x_60);
 x_62 = lean_box(0);
}
x_63 = lean_ctor_get(x_27, 1);
lean_inc(x_63);
lean_dec(x_27);
if (lean_is_scalar(x_62)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_62;
}
lean_ctor_set(x_64, 0, x_63);
lean_ctor_set(x_64, 1, x_61);
return x_64;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
lean_dec(x_27);
x_65 = lean_ctor_get(x_60, 0);
lean_inc(x_65);
x_66 = lean_ctor_get(x_60, 1);
lean_inc(x_66);
if (lean_is_exclusive(x_60)) {
 lean_ctor_release(x_60, 0);
 lean_ctor_release(x_60, 1);
 x_67 = x_60;
} else {
 lean_dec_ref(x_60);
 x_67 = lean_box(0);
}
if (lean_is_scalar(x_67)) {
 x_68 = lean_alloc_ctor(1, 2, 0);
} else {
 x_68 = x_67;
}
lean_ctor_set(x_68, 0, x_65);
lean_ctor_set(x_68, 1, x_66);
return x_68;
}
}
}
else
{
uint8_t x_69; 
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_3);
x_69 = !lean_is_exclusive(x_26);
if (x_69 == 0)
{
return x_26;
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; 
x_70 = lean_ctor_get(x_26, 0);
x_71 = lean_ctor_get(x_26, 1);
lean_inc(x_71);
lean_inc(x_70);
lean_dec(x_26);
x_72 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_72, 0, x_70);
lean_ctor_set(x_72, 1, x_71);
return x_72;
}
}
}
}
else
{
uint8_t x_77; 
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_77 = !lean_is_exclusive(x_20);
if (x_77 == 0)
{
return x_20;
}
else
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; 
x_78 = lean_ctor_get(x_20, 0);
x_79 = lean_ctor_get(x_20, 1);
lean_inc(x_79);
lean_inc(x_78);
lean_dec(x_20);
x_80 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_80, 0, x_78);
lean_ctor_set(x_80, 1, x_79);
return x_80;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dsimp", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_16 = lean_ctor_get(x_13, 5);
lean_inc(x_16);
x_17 = 0;
x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17);
lean_dec(x_16);
x_19 = lean_st_ref_get(x_14, x_15);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_21 = lean_ctor_get(x_19, 1);
x_22 = lean_ctor_get(x_19, 0);
lean_dec(x_22);
x_23 = 1;
x_24 = l_Lean_SourceInfo_fromRef(x_1, x_23);
x_25 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1;
lean_ctor_set_tag(x_19, 2);
lean_ctor_set(x_19, 1, x_25);
lean_ctor_set(x_19, 0, x_24);
x_26 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
x_27 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
lean_inc(x_18);
x_28 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_28, 0, x_18);
lean_ctor_set(x_28, 1, x_26);
lean_ctor_set(x_28, 2, x_27);
if (lean_obj_tag(x_6) == 0)
{
x_29 = x_27;
goto block_75;
}
else
{
lean_object* x_76; lean_object* x_77; 
x_76 = lean_ctor_get(x_6, 0);
lean_inc(x_76);
lean_dec(x_6);
x_77 = lean_array_push(x_27, x_76);
x_29 = x_77;
goto block_75;
}
block_75:
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_30 = l_Array_append___rarg(x_27, x_29);
lean_dec(x_29);
lean_inc(x_18);
x_31 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_31, 0, x_18);
lean_ctor_set(x_31, 1, x_26);
lean_ctor_set(x_31, 2, x_30);
if (lean_obj_tag(x_5) == 0)
{
x_32 = x_27;
goto block_69;
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_70 = lean_ctor_get(x_5, 0);
x_71 = l_Lean_SourceInfo_fromRef(x_70, x_23);
x_72 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_73 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
x_74 = l_Array_mkArray1___rarg(x_73);
x_32 = x_74;
goto block_69;
}
block_69:
{
lean_object* x_33; lean_object* x_34; 
x_33 = l_Array_append___rarg(x_27, x_32);
lean_dec(x_32);
lean_inc(x_18);
x_34 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_34, 0, x_18);
lean_ctor_set(x_34, 1, x_26);
lean_ctor_set(x_34, 2, x_33);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_35; lean_object* x_36; 
x_35 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_36 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_36, 0, x_18);
lean_ctor_set(x_36, 1, x_26);
lean_ctor_set(x_36, 2, x_35);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_37 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
lean_inc(x_36);
x_38 = l_Lean_Syntax_node6(x_18, x_37, x_19, x_31, x_28, x_34, x_36, x_36);
x_39 = lean_apply_10(x_4, x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_39;
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_40 = lean_ctor_get(x_3, 0);
lean_inc(x_40);
lean_dec(x_3);
x_41 = lean_array_push(x_27, x_40);
x_42 = l_Array_append___rarg(x_27, x_41);
lean_dec(x_41);
lean_inc(x_18);
x_43 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_43, 0, x_18);
lean_ctor_set(x_43, 1, x_26);
lean_ctor_set(x_43, 2, x_42);
x_44 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
x_45 = l_Lean_Syntax_node6(x_18, x_44, x_19, x_31, x_28, x_34, x_36, x_43);
x_46 = lean_apply_10(x_4, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
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 = lean_ctor_get(x_2, 0);
x_48 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_49 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_49, 0, x_18);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Array_append___rarg(x_27, x_47);
lean_inc(x_18);
x_51 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_51, 0, x_18);
lean_ctor_set(x_51, 1, x_26);
lean_ctor_set(x_51, 2, x_50);
x_52 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_53 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_53, 0, x_18);
lean_ctor_set(x_53, 1, x_52);
x_54 = l_Array_mkArray3___rarg(x_49, x_51, x_53);
x_55 = l_Array_append___rarg(x_27, x_54);
lean_dec(x_54);
lean_inc(x_18);
x_56 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_56, 0, x_18);
lean_ctor_set(x_56, 1, x_26);
lean_ctor_set(x_56, 2, x_55);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_57 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_58 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_58, 0, x_18);
lean_ctor_set(x_58, 1, x_26);
lean_ctor_set(x_58, 2, x_57);
x_59 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
x_60 = l_Lean_Syntax_node6(x_18, x_59, x_19, x_31, x_28, x_34, x_56, x_58);
x_61 = lean_apply_10(x_4, x_60, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_61;
}
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; 
x_62 = lean_ctor_get(x_3, 0);
lean_inc(x_62);
lean_dec(x_3);
x_63 = lean_array_push(x_27, x_62);
x_64 = l_Array_append___rarg(x_27, x_63);
lean_dec(x_63);
lean_inc(x_18);
x_65 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_65, 0, x_18);
lean_ctor_set(x_65, 1, x_26);
lean_ctor_set(x_65, 2, x_64);
x_66 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
x_67 = l_Lean_Syntax_node6(x_18, x_66, x_19, x_31, x_28, x_34, x_56, x_65);
x_68 = lean_apply_10(x_4, x_67, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_68;
}
}
}
}
}
else
{
lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
x_78 = lean_ctor_get(x_19, 1);
lean_inc(x_78);
lean_dec(x_19);
x_79 = 1;
x_80 = l_Lean_SourceInfo_fromRef(x_1, x_79);
x_81 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1;
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_80);
lean_ctor_set(x_82, 1, x_81);
x_83 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
x_84 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
lean_inc(x_18);
x_85 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_85, 0, x_18);
lean_ctor_set(x_85, 1, x_83);
lean_ctor_set(x_85, 2, x_84);
if (lean_obj_tag(x_6) == 0)
{
x_86 = x_84;
goto block_132;
}
else
{
lean_object* x_133; lean_object* x_134; 
x_133 = lean_ctor_get(x_6, 0);
lean_inc(x_133);
lean_dec(x_6);
x_134 = lean_array_push(x_84, x_133);
x_86 = x_134;
goto block_132;
}
block_132:
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; 
x_87 = l_Array_append___rarg(x_84, x_86);
lean_dec(x_86);
lean_inc(x_18);
x_88 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_88, 0, x_18);
lean_ctor_set(x_88, 1, x_83);
lean_ctor_set(x_88, 2, x_87);
if (lean_obj_tag(x_5) == 0)
{
x_89 = x_84;
goto block_126;
}
else
{
lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; 
x_127 = lean_ctor_get(x_5, 0);
x_128 = l_Lean_SourceInfo_fromRef(x_127, x_79);
x_129 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_130 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_130, 0, x_128);
lean_ctor_set(x_130, 1, x_129);
x_131 = l_Array_mkArray1___rarg(x_130);
x_89 = x_131;
goto block_126;
}
block_126:
{
lean_object* x_90; lean_object* x_91; 
x_90 = l_Array_append___rarg(x_84, x_89);
lean_dec(x_89);
lean_inc(x_18);
x_91 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_91, 0, x_18);
lean_ctor_set(x_91, 1, x_83);
lean_ctor_set(x_91, 2, x_90);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_92; lean_object* x_93; 
x_92 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_93 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_93, 0, x_18);
lean_ctor_set(x_93, 1, x_83);
lean_ctor_set(x_93, 2, x_92);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_94 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
lean_inc(x_93);
x_95 = l_Lean_Syntax_node6(x_18, x_94, x_82, x_88, x_85, x_91, x_93, x_93);
x_96 = lean_apply_10(x_4, x_95, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_96;
}
else
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; 
x_97 = lean_ctor_get(x_3, 0);
lean_inc(x_97);
lean_dec(x_3);
x_98 = lean_array_push(x_84, x_97);
x_99 = l_Array_append___rarg(x_84, x_98);
lean_dec(x_98);
lean_inc(x_18);
x_100 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_100, 0, x_18);
lean_ctor_set(x_100, 1, x_83);
lean_ctor_set(x_100, 2, x_99);
x_101 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
x_102 = l_Lean_Syntax_node6(x_18, x_101, x_82, x_88, x_85, x_91, x_93, x_100);
x_103 = lean_apply_10(x_4, x_102, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_103;
}
}
else
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
x_104 = lean_ctor_get(x_2, 0);
x_105 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_106 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_106, 0, x_18);
lean_ctor_set(x_106, 1, x_105);
x_107 = l_Array_append___rarg(x_84, x_104);
lean_inc(x_18);
x_108 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_108, 0, x_18);
lean_ctor_set(x_108, 1, x_83);
lean_ctor_set(x_108, 2, x_107);
x_109 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_110 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_110, 0, x_18);
lean_ctor_set(x_110, 1, x_109);
x_111 = l_Array_mkArray3___rarg(x_106, x_108, x_110);
x_112 = l_Array_append___rarg(x_84, x_111);
lean_dec(x_111);
lean_inc(x_18);
x_113 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_113, 0, x_18);
lean_ctor_set(x_113, 1, x_83);
lean_ctor_set(x_113, 2, x_112);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; 
x_114 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_115 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_115, 0, x_18);
lean_ctor_set(x_115, 1, x_83);
lean_ctor_set(x_115, 2, x_114);
x_116 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
x_117 = l_Lean_Syntax_node6(x_18, x_116, x_82, x_88, x_85, x_91, x_113, x_115);
x_118 = lean_apply_10(x_4, x_117, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_118;
}
else
{
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; 
x_119 = lean_ctor_get(x_3, 0);
lean_inc(x_119);
lean_dec(x_3);
x_120 = lean_array_push(x_84, x_119);
x_121 = l_Array_append___rarg(x_84, x_120);
lean_dec(x_120);
lean_inc(x_18);
x_122 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_122, 0, x_18);
lean_ctor_set(x_122, 1, x_83);
lean_ctor_set(x_122, 2, x_121);
x_123 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2;
x_124 = l_Lean_Syntax_node6(x_18, x_123, x_82, x_88, x_85, x_91, x_113, x_122);
x_125 = lean_apply_10(x_4, x_124, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_125;
}
}
}
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dsimpAutoUnfold", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dsimp!", 6, 6);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; 
x_16 = lean_ctor_get(x_13, 5);
lean_inc(x_16);
x_17 = 0;
x_18 = l_Lean_SourceInfo_fromRef(x_16, x_17);
lean_dec(x_16);
x_19 = lean_st_ref_get(x_14, x_15);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_21 = lean_ctor_get(x_19, 1);
x_22 = lean_ctor_get(x_19, 0);
lean_dec(x_22);
x_23 = 1;
x_24 = l_Lean_SourceInfo_fromRef(x_1, x_23);
x_25 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__3;
lean_ctor_set_tag(x_19, 2);
lean_ctor_set(x_19, 1, x_25);
lean_ctor_set(x_19, 0, x_24);
x_26 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
x_27 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
lean_inc(x_18);
x_28 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_28, 0, x_18);
lean_ctor_set(x_28, 1, x_26);
lean_ctor_set(x_28, 2, x_27);
if (lean_obj_tag(x_6) == 0)
{
x_29 = x_27;
goto block_75;
}
else
{
lean_object* x_76; lean_object* x_77; 
x_76 = lean_ctor_get(x_6, 0);
lean_inc(x_76);
lean_dec(x_6);
x_77 = lean_array_push(x_27, x_76);
x_29 = x_77;
goto block_75;
}
block_75:
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_30 = l_Array_append___rarg(x_27, x_29);
lean_dec(x_29);
lean_inc(x_18);
x_31 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_31, 0, x_18);
lean_ctor_set(x_31, 1, x_26);
lean_ctor_set(x_31, 2, x_30);
if (lean_obj_tag(x_5) == 0)
{
x_32 = x_27;
goto block_69;
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_70 = lean_ctor_get(x_5, 0);
x_71 = l_Lean_SourceInfo_fromRef(x_70, x_23);
x_72 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_73 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_73, 0, x_71);
lean_ctor_set(x_73, 1, x_72);
x_74 = l_Array_mkArray1___rarg(x_73);
x_32 = x_74;
goto block_69;
}
block_69:
{
lean_object* x_33; lean_object* x_34; 
x_33 = l_Array_append___rarg(x_27, x_32);
lean_dec(x_32);
lean_inc(x_18);
x_34 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_34, 0, x_18);
lean_ctor_set(x_34, 1, x_26);
lean_ctor_set(x_34, 2, x_33);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_35; lean_object* x_36; 
x_35 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_36 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_36, 0, x_18);
lean_ctor_set(x_36, 1, x_26);
lean_ctor_set(x_36, 2, x_35);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_37 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
lean_inc(x_36);
x_38 = l_Lean_Syntax_node6(x_18, x_37, x_19, x_31, x_28, x_34, x_36, x_36);
x_39 = lean_apply_10(x_4, x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_39;
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_40 = lean_ctor_get(x_3, 0);
lean_inc(x_40);
lean_dec(x_3);
x_41 = lean_array_push(x_27, x_40);
x_42 = l_Array_append___rarg(x_27, x_41);
lean_dec(x_41);
lean_inc(x_18);
x_43 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_43, 0, x_18);
lean_ctor_set(x_43, 1, x_26);
lean_ctor_set(x_43, 2, x_42);
x_44 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
x_45 = l_Lean_Syntax_node6(x_18, x_44, x_19, x_31, x_28, x_34, x_36, x_43);
x_46 = lean_apply_10(x_4, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
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 = lean_ctor_get(x_2, 0);
x_48 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_49 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_49, 0, x_18);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Array_append___rarg(x_27, x_47);
lean_inc(x_18);
x_51 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_51, 0, x_18);
lean_ctor_set(x_51, 1, x_26);
lean_ctor_set(x_51, 2, x_50);
x_52 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_53 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_53, 0, x_18);
lean_ctor_set(x_53, 1, x_52);
x_54 = l_Array_mkArray3___rarg(x_49, x_51, x_53);
x_55 = l_Array_append___rarg(x_27, x_54);
lean_dec(x_54);
lean_inc(x_18);
x_56 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_56, 0, x_18);
lean_ctor_set(x_56, 1, x_26);
lean_ctor_set(x_56, 2, x_55);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_57 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_58 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_58, 0, x_18);
lean_ctor_set(x_58, 1, x_26);
lean_ctor_set(x_58, 2, x_57);
x_59 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
x_60 = l_Lean_Syntax_node6(x_18, x_59, x_19, x_31, x_28, x_34, x_56, x_58);
x_61 = lean_apply_10(x_4, x_60, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_61;
}
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; 
x_62 = lean_ctor_get(x_3, 0);
lean_inc(x_62);
lean_dec(x_3);
x_63 = lean_array_push(x_27, x_62);
x_64 = l_Array_append___rarg(x_27, x_63);
lean_dec(x_63);
lean_inc(x_18);
x_65 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_65, 0, x_18);
lean_ctor_set(x_65, 1, x_26);
lean_ctor_set(x_65, 2, x_64);
x_66 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
x_67 = l_Lean_Syntax_node6(x_18, x_66, x_19, x_31, x_28, x_34, x_56, x_65);
x_68 = lean_apply_10(x_4, x_67, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21);
return x_68;
}
}
}
}
}
else
{
lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
x_78 = lean_ctor_get(x_19, 1);
lean_inc(x_78);
lean_dec(x_19);
x_79 = 1;
x_80 = l_Lean_SourceInfo_fromRef(x_1, x_79);
x_81 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__3;
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_80);
lean_ctor_set(x_82, 1, x_81);
x_83 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7;
x_84 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1;
lean_inc(x_18);
x_85 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_85, 0, x_18);
lean_ctor_set(x_85, 1, x_83);
lean_ctor_set(x_85, 2, x_84);
if (lean_obj_tag(x_6) == 0)
{
x_86 = x_84;
goto block_132;
}
else
{
lean_object* x_133; lean_object* x_134; 
x_133 = lean_ctor_get(x_6, 0);
lean_inc(x_133);
lean_dec(x_6);
x_134 = lean_array_push(x_84, x_133);
x_86 = x_134;
goto block_132;
}
block_132:
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; 
x_87 = l_Array_append___rarg(x_84, x_86);
lean_dec(x_86);
lean_inc(x_18);
x_88 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_88, 0, x_18);
lean_ctor_set(x_88, 1, x_83);
lean_ctor_set(x_88, 2, x_87);
if (lean_obj_tag(x_5) == 0)
{
x_89 = x_84;
goto block_126;
}
else
{
lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; 
x_127 = lean_ctor_get(x_5, 0);
x_128 = l_Lean_SourceInfo_fromRef(x_127, x_79);
x_129 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11;
x_130 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_130, 0, x_128);
lean_ctor_set(x_130, 1, x_129);
x_131 = l_Array_mkArray1___rarg(x_130);
x_89 = x_131;
goto block_126;
}
block_126:
{
lean_object* x_90; lean_object* x_91; 
x_90 = l_Array_append___rarg(x_84, x_89);
lean_dec(x_89);
lean_inc(x_18);
x_91 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_91, 0, x_18);
lean_ctor_set(x_91, 1, x_83);
lean_ctor_set(x_91, 2, x_90);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_92; lean_object* x_93; 
x_92 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_93 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_93, 0, x_18);
lean_ctor_set(x_93, 1, x_83);
lean_ctor_set(x_93, 2, x_92);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_94 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
lean_inc(x_93);
x_95 = l_Lean_Syntax_node6(x_18, x_94, x_82, x_88, x_85, x_91, x_93, x_93);
x_96 = lean_apply_10(x_4, x_95, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_96;
}
else
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; 
x_97 = lean_ctor_get(x_3, 0);
lean_inc(x_97);
lean_dec(x_3);
x_98 = lean_array_push(x_84, x_97);
x_99 = l_Array_append___rarg(x_84, x_98);
lean_dec(x_98);
lean_inc(x_18);
x_100 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_100, 0, x_18);
lean_ctor_set(x_100, 1, x_83);
lean_ctor_set(x_100, 2, x_99);
x_101 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
x_102 = l_Lean_Syntax_node6(x_18, x_101, x_82, x_88, x_85, x_91, x_93, x_100);
x_103 = lean_apply_10(x_4, x_102, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_103;
}
}
else
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; 
x_104 = lean_ctor_get(x_2, 0);
x_105 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9;
lean_inc(x_18);
x_106 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_106, 0, x_18);
lean_ctor_set(x_106, 1, x_105);
x_107 = l_Array_append___rarg(x_84, x_104);
lean_inc(x_18);
x_108 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_108, 0, x_18);
lean_ctor_set(x_108, 1, x_83);
lean_ctor_set(x_108, 2, x_107);
x_109 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10;
lean_inc(x_18);
x_110 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_110, 0, x_18);
lean_ctor_set(x_110, 1, x_109);
x_111 = l_Array_mkArray3___rarg(x_106, x_108, x_110);
x_112 = l_Array_append___rarg(x_84, x_111);
lean_dec(x_111);
lean_inc(x_18);
x_113 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_113, 0, x_18);
lean_ctor_set(x_113, 1, x_83);
lean_ctor_set(x_113, 2, x_112);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; 
x_114 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8;
lean_inc(x_18);
x_115 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_115, 0, x_18);
lean_ctor_set(x_115, 1, x_83);
lean_ctor_set(x_115, 2, x_114);
x_116 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
x_117 = l_Lean_Syntax_node6(x_18, x_116, x_82, x_88, x_85, x_91, x_113, x_115);
x_118 = lean_apply_10(x_4, x_117, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_118;
}
else
{
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; 
x_119 = lean_ctor_get(x_3, 0);
lean_inc(x_119);
lean_dec(x_3);
x_120 = lean_array_push(x_84, x_119);
x_121 = l_Array_append___rarg(x_84, x_120);
lean_dec(x_120);
lean_inc(x_18);
x_122 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_122, 0, x_18);
lean_ctor_set(x_122, 1, x_83);
lean_ctor_set(x_122, 2, x_121);
x_123 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2;
x_124 = l_Lean_Syntax_node6(x_18, x_123, x_82, x_88, x_85, x_91, x_113, x_122);
x_125 = lean_apply_10(x_4, x_124, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_78);
return x_125;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_17 = lean_unsigned_to_nat(3u);
x_18 = l_Lean_Syntax_getArg(x_1, x_17);
x_19 = l_Lean_Syntax_getOptional_x3f(x_18);
lean_dec(x_18);
x_20 = l_Lean_Syntax_getOptional_x3f(x_2);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_34; 
x_34 = lean_box(0);
x_21 = x_34;
goto block_33;
}
else
{
uint8_t x_35; 
x_35 = !lean_is_exclusive(x_19);
if (x_35 == 0)
{
x_21 = x_19;
goto block_33;
}
else
{
lean_object* x_36; lean_object* x_37; 
x_36 = lean_ctor_get(x_19, 0);
lean_inc(x_36);
lean_dec(x_19);
x_37 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_37, 0, x_36);
x_21 = x_37;
goto block_33;
}
}
block_33:
{
lean_object* x_22; lean_object* x_23; 
lean_inc(x_21);
lean_inc(x_3);
x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__1___boxed), 12, 2);
lean_closure_set(x_22, 0, x_3);
lean_closure_set(x_22, 1, x_21);
if (lean_obj_tag(x_20) == 0)
{
lean_object* x_29; 
x_29 = lean_box(0);
x_23 = x_29;
goto block_28;
}
else
{
uint8_t x_30; 
x_30 = !lean_is_exclusive(x_20);
if (x_30 == 0)
{
x_23 = x_20;
goto block_28;
}
else
{
lean_object* x_31; lean_object* x_32; 
x_31 = lean_ctor_get(x_20, 0);
lean_inc(x_31);
lean_dec(x_20);
x_32 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_31);
x_23 = x_32;
goto block_28;
}
}
block_28:
{
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___boxed), 15, 6);
lean_closure_set(x_24, 0, x_3);
lean_closure_set(x_24, 1, x_7);
lean_closure_set(x_24, 2, x_21);
lean_closure_set(x_24, 3, x_22);
lean_closure_set(x_24, 4, x_5);
lean_closure_set(x_24, 5, x_23);
x_25 = l_Lean_Elab_Tactic_withSimpDiagnostics(x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_25;
}
else
{
lean_object* x_26; lean_object* x_27; 
x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___boxed), 15, 6);
lean_closure_set(x_26, 0, x_3);
lean_closure_set(x_26, 1, x_7);
lean_closure_set(x_26, 2, x_21);
lean_closure_set(x_26, 3, x_22);
lean_closure_set(x_26, 4, x_5);
lean_closure_set(x_26, 5, x_23);
x_27 = l_Lean_Elab_Tactic_withSimpDiagnostics(x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
return x_27;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = lean_unsigned_to_nat(2u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
x_18 = l_Lean_Syntax_isNone(x_17);
if (x_18 == 0)
{
lean_object* x_19; uint8_t x_20; 
x_19 = lean_unsigned_to_nat(1u);
lean_inc(x_17);
x_20 = l_Lean_Syntax_matchesNull(x_17, x_19);
if (x_20 == 0)
{
lean_object* x_21; 
lean_dec(x_17);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_3);
x_21 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_15);
return x_21;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_22 = lean_unsigned_to_nat(0u);
x_23 = l_Lean_Syntax_getArg(x_17, x_22);
lean_dec(x_17);
x_24 = l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__2;
lean_inc(x_23);
x_25 = l_Lean_Syntax_isOfKind(x_23, x_24);
if (x_25 == 0)
{
lean_object* x_26; 
lean_dec(x_23);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_3);
x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_15);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_27 = l_Lean_Syntax_getArg(x_23, x_19);
lean_dec(x_23);
x_28 = l_Lean_Syntax_getArgs(x_27);
lean_dec(x_27);
x_29 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_29, 0, x_28);
x_30 = lean_box(0);
x_31 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__4(x_1, x_2, x_3, x_4, x_6, x_30, x_29, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
return x_31;
}
}
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_17);
x_32 = lean_box(0);
x_33 = lean_box(0);
x_34 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__4(x_1, x_2, x_3, x_4, x_6, x_33, x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
return x_34;
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dsimpTraceArgsRest", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_14 = lean_unsigned_to_nat(2u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__2;
lean_inc(x_15);
x_17 = l_Lean_Syntax_isOfKind(x_15, x_16);
if (x_17 == 0)
{
lean_object* x_18; 
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_13);
return x_18;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_19 = lean_unsigned_to_nat(0u);
x_20 = l_Lean_Syntax_getArg(x_15, x_19);
x_21 = lean_unsigned_to_nat(1u);
x_22 = l_Lean_Syntax_getArg(x_15, x_21);
x_23 = l_Lean_Syntax_isNone(x_22);
if (x_23 == 0)
{
uint8_t x_24; 
lean_inc(x_22);
x_24 = l_Lean_Syntax_matchesNull(x_22, x_21);
if (x_24 == 0)
{
lean_object* x_25; 
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_15);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_2);
x_25 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_13);
return x_25;
}
else
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_26 = l_Lean_Syntax_getArg(x_22, x_19);
lean_dec(x_22);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_26);
x_28 = lean_box(0);
x_29 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__5(x_15, x_20, x_2, x_4, x_28, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_20);
lean_dec(x_15);
return x_29;
}
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; 
lean_dec(x_22);
x_30 = lean_box(0);
x_31 = lean_box(0);
x_32 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__5(x_15, x_20, x_2, x_4, x_31, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_20);
lean_dec(x_15);
return x_32;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dsimpTrace", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_evalDSimpTrace___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l_Lean_Elab_Tactic_evalDSimpTrace___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11; uint8_t x_12; 
x_11 = l_Lean_Elab_Tactic_evalDSimpTrace___closed__2;
lean_inc(x_1);
x_12 = l_Lean_Syntax_isOfKind(x_1, x_11);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
x_16 = lean_unsigned_to_nat(1u);
x_17 = l_Lean_Syntax_getArg(x_1, x_16);
x_18 = l_Lean_Syntax_isNone(x_17);
if (x_18 == 0)
{
uint8_t x_19; 
lean_inc(x_17);
x_19 = l_Lean_Syntax_matchesNull(x_17, x_16);
if (x_19 == 0)
{
lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_20 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(x_10);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_21 = l_Lean_Syntax_getArg(x_17, x_14);
lean_dec(x_17);
x_22 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_22, 0, x_21);
x_23 = lean_box(0);
x_24 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6(x_1, x_15, x_23, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_22);
lean_dec(x_1);
return x_24;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_dec(x_17);
x_25 = lean_box(0);
x_26 = lean_box(0);
x_27 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6(x_1, x_15, x_26, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_1);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
lean_dec(x_2);
lean_dec(x_1);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; 
x_16 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; 
x_16 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_5);
lean_dec(x_2);
lean_dec(x_1);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; 
x_17 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; 
x_16 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
return x_14;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("evalDSimpTrace", 14, 14);
return x_1;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1;
x_3 = l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__1;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalDSimpTrace), 10, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__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; 
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4;
x_3 = l_Lean_Elab_Tactic_evalDSimpTrace___closed__2;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__2;
x_5 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__3;
x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1);
return x_6;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(82u);
x_2 = lean_unsigned_to_nat(29u);
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___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(95u);
x_2 = lean_unsigned_to_nat(31u);
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___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__1;
x_2 = lean_unsigned_to_nat(29u);
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__2;
x_4 = lean_unsigned_to_nat(31u);
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(82u);
x_2 = lean_unsigned_to_nat(33u);
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___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(82u);
x_2 = lean_unsigned_to_nat(47u);
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___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__4;
x_2 = lean_unsigned_to_nat(33u);
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__5;
x_4 = lean_unsigned_to_nat(47u);
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__3;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__6;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__2;
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__7;
x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1);
return x_4;
}
}
lean_object* initialize_Lean_Elab_ElabRules(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Elab_Tactic_Simp(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Meta_Tactic_TryThis(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_SimpTrace(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Elab_ElabRules(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Elab_Tactic_Simp(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_Tactic_TryThis(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__1);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__1___closed__2);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__1);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__2);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__3);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__2___closed__4);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__1);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__2);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__3);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__4);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__5);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__6 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__6();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__6);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__7);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__8);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__9);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__10);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__3___closed__11);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__1);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__2);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__3 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__4___closed__3);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__1);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__6___closed__2);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__1);
l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___lambda__7___closed__2);
l_Lean_Elab_Tactic_evalSimpTrace___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpTrace___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___closed__1);
l_Lean_Elab_Tactic_evalSimpTrace___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpTrace___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpTrace___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__3);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__4);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1___closed__5);
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__3);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__4);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__5);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__6();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__6);
l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__7();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1___closed__7);
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalSimpTrace_declRange__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__1);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__2);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__3 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__3);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__4 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__4);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__5 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__5);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__6 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__6();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__6);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__7 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__7();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__7);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__8 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__8();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__2___closed__8);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__1);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__2);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__3 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__3___closed__3);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__1);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__2);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__3 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__4___closed__3);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__1);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__6___closed__2);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__1);
l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___lambda__7___closed__2);
l_Lean_Elab_Tactic_evalSimpAllTrace___closed__1 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___closed__1);
l_Lean_Elab_Tactic_evalSimpAllTrace___closed__2 = _init_l_Lean_Elab_Tactic_evalSimpAllTrace___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalSimpAllTrace___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__3);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__4);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__5);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__6();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__6);
l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__7();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1___closed__7);
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalSimpAllTrace_declRange__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__1);
l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__2___closed__2);
l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__1);
l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__2);
l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__3 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__3___closed__3);
l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__1 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__1);
l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__2 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___lambda__6___closed__2);
l_Lean_Elab_Tactic_evalDSimpTrace___closed__1 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___closed__1);
l_Lean_Elab_Tactic_evalDSimpTrace___closed__2 = _init_l_Lean_Elab_Tactic_evalDSimpTrace___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_evalDSimpTrace___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1___closed__3);
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__3);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__4();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__4);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__5();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__5);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__6();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__6);
l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__7();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1___closed__7);
if (builtin) {res = l___regBuiltin_Lean_Elab_Tactic_evalDSimpTrace_declRange__1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
