From 7b425889090541a1e6066ba7371dff75cc28ea8a Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 23 Apr 2021 18:04:15 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Prelude.lean | 17 +- stage0/src/Lean/Elab/Util.lean | 14 +- stage0/stdlib/Init/Prelude.c | 117 +- stage0/stdlib/Lean/Elab/Attributes.c | 187 +- stage0/stdlib/Lean/Elab/Binders.c | 896 +- stage0/stdlib/Lean/Elab/BuiltinNotation.c | 1086 +- stage0/stdlib/Lean/Elab/Command.c | 2495 ++-- stage0/stdlib/Lean/Elab/DefView.c | 606 +- stage0/stdlib/Lean/Elab/Do.c | 14948 ++++++++++---------- stage0/stdlib/Lean/Elab/LetRec.c | 580 +- stage0/stdlib/Lean/Elab/Match.c | 787 +- stage0/stdlib/Lean/Elab/MutualDef.c | 560 +- stage0/stdlib/Lean/Elab/Structure.c | 271 +- stage0/stdlib/Lean/Elab/Syntax.c | 6312 ++++----- stage0/stdlib/Lean/Elab/Tactic/Basic.c | 404 +- stage0/stdlib/Lean/Elab/Tactic/Match.c | 271 +- stage0/stdlib/Lean/Elab/Term.c | 1988 ++- stage0/stdlib/Lean/Elab/Util.c | 376 +- 18 files changed, 15862 insertions(+), 16053 deletions(-) diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index b348496ba5..b42dcb0e84 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -2114,24 +2114,9 @@ unsafe def getMethodsImp : MacroM Methods := @[implementedBy getMethodsImp] constant getMethods : MacroM Methods -structure MethodsOld where - expandMacro? : Syntax → MacroM (Option Syntax) - deriving Inhabited - -unsafe def mkMethodsOldImp (descr : MethodsOld) : MethodsRef := - unsafeCast descr - -@[implementedBy mkMethodsOldImp] -constant mkMethodsOld (descr : MethodsOld) : MethodsRef - -unsafe def getMethodsOldImp : MacroM MethodsOld := - bind read fun ctx => pure (unsafeCast (ctx.methodsOld)) - -@[implementedBy getMethodsOldImp] constant getMethodsOld : MacroM MethodsOld - /-- `expandMacro? stx` return `some stxNew` if `stx` is a macro, and `stxNew` is its expansion. -/ def expandMacro? (stx : Syntax) : MacroM (Option Syntax) := do - (← getMethodsOld).expandMacro? stx + (← getMethods).expandMacro? stx /-- Return `true` if the environment contains a declaration with name `declName` -/ def hasDecl (declName : Name) : MacroM Bool := do diff --git a/stage0/src/Lean/Elab/Util.lean b/stage0/src/Lean/Elab/Util.lean index aaf2f584ca..0ca8fe0c37 100644 --- a/stage0/src/Lean/Elab/Util.lean +++ b/stage0/src/Lean/Elab/Util.lean @@ -157,17 +157,19 @@ private def expandMacro? (env : Environment) (stx : Syntax) : MacroM (Option Syn @[inline] def liftMacroM {α} {m : Type → Type} [Monad m] [MonadMacroAdapter m] [MonadEnv m] [MonadRecDepth m] [MonadError m] [MonadResolveName m] (x : MacroM α) : m α := do let env ← getEnv let currNamespace ← getCurrNamespace - match x { methodsOld := Macro.mkMethodsOld { expandMacro? := expandMacro? env } + let methods := Macro.mkMethods { + expandMacro? := expandMacro? env + hasDecl := fun declName => return env.contains declName + getCurrNamespace := return currNamespace + } + match x { methodsOld := methods ref := ← getRef currMacroScope := ← MonadMacroAdapter.getCurrMacroScope mainModule := env.mainModule currRecDepth := ← MonadRecDepth.getRecDepth maxRecDepth := ← MonadRecDepth.getMaxRecDepth - methods := Macro.mkMethods { - expandMacro? := expandMacro? env - hasDecl := fun declName => return env.contains declName - getCurrNamespace := return currNamespace - } } + methods := methods + } { macroScope := (← MonadMacroAdapter.getNextMacroScope), extra := arbitrary } with | EStateM.Result.error Macro.Exception.unsupportedSyntax _ => throwUnsupportedSyntax | EStateM.Result.error (Macro.Exception.error ref msg) _ => throwErrorAt ref msg diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index 9649f101e9..ced0ac86ba 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -199,7 +199,6 @@ lean_object* l_Lean_Syntax_getTailPos_x3f_loop_match__1(lean_object*); lean_object* l_Applicative_seqRight___default___rarg___closed__1; lean_object* l_instDecidableEqFin_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Macro_instMonadQuotationMacroM; -lean_object* l_Lean_Macro_getMethodsOld___rarg(lean_object*); lean_object* l_Lean_Syntax_getNumArgs___boxed(lean_object*); lean_object* l_cond_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_readThe___rarg___boxed(lean_object*); @@ -209,7 +208,6 @@ lean_object* l_Applicative_seqRight___default(lean_object*); lean_object* l_EStateM_adaptExcept(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instDecidableEqBool_match__1(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Macro_getMethodsOld___boxed(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_cond___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_List_hasDecEq_match__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -486,7 +484,6 @@ uint16_t lean_uint16_of_nat_mk(lean_object*); lean_object* l___private_Init_Prelude_0__Lean_assembleParts_match__1(lean_object*); lean_object* l_Lean_Syntax_setKind_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__Lean_assembleParts(lean_object*, lean_object*); -lean_object* l_Lean_Macro_instInhabitedMethodsOld___rarg(lean_object*); lean_object* l_EStateM_instOrElseEStateM(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_instDecidableEqFin___rarg(lean_object*, lean_object*); uint8_t l_Fin_decLt___rarg(lean_object*, lean_object*); @@ -654,14 +651,12 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_instHMul___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_mul___boxed(lean_object*, lean_object*); lean_object* l_Lean_Macro_throwUnsupported___rarg(lean_object*); -lean_object* l_Lean_Macro_mkMethodsOld(lean_object*); lean_object* l_instInhabitedExcept___rarg(lean_object*); lean_object* l_instInhabitedArrow__1(lean_object*, lean_object*); lean_object* l_EStateM_pure(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_instMonadQuotationMacroM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); uint32_t l_Char_utf8Size(uint32_t); lean_object* l_EStateM_run_x27(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Macro_getMethodsOld(lean_object*); lean_object* l_getThe___rarg___boxed(lean_object*); lean_object* l_Array_setD(lean_object*); lean_object* l_instDecidableAnd(lean_object*, lean_object*); @@ -670,7 +665,6 @@ uint32_t l_Char_utf8Size___closed__4; lean_object* l_Lean_MonadQuotation_addMacroScope___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_hasDecEq_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_getMethodsImp(lean_object*, lean_object*); -lean_object* l_Lean_Macro_getMethodsOldImp(lean_object*, lean_object*); lean_object* l_Lean_Name_hasMacroScopes___closed__1; lean_object* l_Lean_instMonadQuotation___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -756,12 +750,10 @@ lean_object* l_MonadExcept_orelse(lean_object*, lean_object*); lean_object* l_Fin_decLt___boxed(lean_object*); lean_object* l_Lean_instMonadRef___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_get(lean_object*, lean_object*); -lean_object* l_Lean_Macro_mkMethodsOld___boxed(lean_object*); lean_object* l_instDecidableEqFin___boxed(lean_object*); lean_object* l_Lean_Syntax_getHeadInfo_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_withRef(lean_object*); -lean_object* l_Lean_Macro_instInhabitedMethodsOld(lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_List_concat(lean_object*); lean_object* l_Array_appendCore_loop_match__1(lean_object*); @@ -807,7 +799,6 @@ lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__3; lean_object* l_EStateM_bind(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_UInt32_val___boxed(lean_object*); lean_object* l_dite___rarg(uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Macro_mkMethodsOldImp(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* lean_system_platform_nbits(lean_object*); lean_object* l_instMonadState___rarg___lambda__1(lean_object*, lean_object*, lean_object*); @@ -835,7 +826,6 @@ lean_object* l_instHAndThen(lean_object*); uint8_t l_instDecidableLt(uint32_t, uint32_t); lean_object* l_instOfNatNat___boxed(lean_object*); lean_object* l_Lean_MonadQuotation_addMacroScope(lean_object*); -lean_object* l_Lean_Macro_instInhabitedMethodsOld___boxed(lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); lean_object* l_instInhabitedSort; lean_object* l_Array_empty(lean_object*); @@ -12138,115 +12128,22 @@ lean_dec(x_1); return x_2; } } -lean_object* l_Lean_Macro_instInhabitedMethodsOld___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = lean_box(0); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Macro_instInhabitedMethodsOld(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Macro_instInhabitedMethodsOld___rarg), 1, 0); -return x_3; -} -} -lean_object* l_Lean_Macro_instInhabitedMethodsOld___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Macro_instInhabitedMethodsOld(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -lean_object* l_Lean_Macro_mkMethodsOldImp(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = x_1; -return x_2; -} -} -lean_object* l_Lean_Macro_mkMethodsOld(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_box(0); -return x_2; -} -} -lean_object* l_Lean_Macro_mkMethodsOld___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Macro_mkMethodsOld(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Macro_getMethodsOldImp(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -lean_dec(x_1); -x_4 = x_3; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -return x_5; -} -} -lean_object* l_Lean_Macro_getMethodsOld___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Macro_instInhabitedMethods___closed__1; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -lean_object* l_Lean_Macro_getMethodsOld(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Macro_getMethodsOld___rarg), 1, 0); -return x_2; -} -} -lean_object* l_Lean_Macro_getMethodsOld___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Macro_getMethodsOld(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Lean_Macro_expandMacro_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_inc(x_2); -x_4 = l_Lean_Macro_getMethodsOldImp(x_2, x_3); +x_4 = l_Lean_Macro_getMethodsImp(x_2, x_3); x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); -x_7 = lean_apply_3(x_5, x_1, x_2, x_6); -return x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_apply_3(x_7, x_1, x_2, x_6); +return x_8; } } lean_object* l_Lean_Macro_hasDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3) { diff --git a/stage0/stdlib/Lean/Elab/Attributes.c b/stage0/stdlib/Lean/Elab/Attributes.c index 68b1707d42..d772c338bb 100644 --- a/stage0/stdlib/Lean/Elab/Attributes.c +++ b/stage0/stdlib/Lean/Elab/Attributes.c @@ -561,90 +561,76 @@ return x_2; lean_object* l_Lean_Elab_elabAttr___rarg___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: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_inc(x_1); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_13, 0, x_1); -lean_inc(x_13); -x_14 = x_13; -lean_inc(x_1); -x_15 = lean_environment_main_module(x_1); -x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_16, 0, x_2); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_17, 0, x_1); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_17); -x_19 = x_18; -x_20 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_15); -lean_ctor_set(x_20, 2, x_3); -lean_ctor_set(x_20, 3, x_4); -lean_ctor_set(x_20, 4, x_5); -lean_ctor_set(x_20, 5, x_6); -lean_ctor_set(x_20, 6, x_19); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_12); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_expandMacros(x_7, x_20, x_22); -if (lean_obj_tag(x_23) == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_environment_main_module(x_1); +lean_inc(x_2); +x_14 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_14, 2, x_3); +lean_ctor_set(x_14, 3, x_4); +lean_ctor_set(x_14, 4, x_5); +lean_ctor_set(x_14, 5, x_6); +lean_ctor_set(x_14, 6, x_2); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_expandMacros(x_7, x_14, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +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_dec(x_11); -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_8, 2); -lean_inc(x_26); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_8, 2); +lean_inc(x_20); lean_dec(x_8); -x_27 = lean_ctor_get(x_25, 0); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); +lean_closure_set(x_23, 0, x_9); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_22, x_23); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_10); +lean_dec(x_8); +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec(x_17); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_28 = lean_apply_1(x_26, x_27); -x_29 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); -lean_closure_set(x_29, 0, x_9); -lean_closure_set(x_29, 1, x_24); -x_30 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_28, x_29); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = l_Lean_throwErrorAt___rarg(x_9, x_11, x_26, x_29); return x_30; } else { -lean_object* x_31; -lean_dec(x_10); -lean_dec(x_8); -x_31 = lean_ctor_get(x_23, 0); -lean_inc(x_31); -lean_dec(x_23); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_throwErrorAt___rarg(x_9, x_11, x_32, x_35); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; +lean_object* x_31; lean_object* x_32; lean_dec(x_9); -x_37 = lean_ctor_get(x_11, 0); -lean_inc(x_37); +x_31 = lean_ctor_get(x_11, 0); +lean_inc(x_31); lean_dec(x_11); -x_38 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_37); -return x_38; +x_32 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_31); +return x_32; } } } @@ -741,24 +727,37 @@ return x_12; lean_object* l_Lean_Elab_elabAttr___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_inc(x_1); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_10, 0, x_8); +lean_inc(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_10); +lean_ctor_set(x_12, 2, x_11); +x_13 = x_12; +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); lean_inc(x_7); -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__5), 9, 8); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_8); -lean_closure_set(x_11, 4, x_5); -lean_closure_set(x_11, 5, x_6); -lean_closure_set(x_11, 6, x_7); -lean_closure_set(x_11, 7, x_1); -x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__5), 9, 8); +lean_closure_set(x_16, 0, x_3); +lean_closure_set(x_16, 1, x_4); +lean_closure_set(x_16, 2, x_1); +lean_closure_set(x_16, 3, x_13); +lean_closure_set(x_16, 4, x_5); +lean_closure_set(x_16, 5, x_6); +lean_closure_set(x_16, 6, x_7); +lean_closure_set(x_16, 7, x_2); +x_17 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_15, x_16); +return x_17; } } lean_object* l_Lean_Elab_elabAttr___rarg___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) { @@ -770,10 +769,10 @@ lean_inc(x_9); lean_dec(x_1); lean_inc(x_7); x_10 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___rarg___lambda__6), 8, 7); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_3); -lean_closure_set(x_10, 2, x_4); -lean_closure_set(x_10, 3, x_8); +lean_closure_set(x_10, 0, x_8); +lean_closure_set(x_10, 1, x_2); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_4); lean_closure_set(x_10, 4, x_5); lean_closure_set(x_10, 5, x_6); lean_closure_set(x_10, 6, x_7); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 65f3ab268a..c157e9b694 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -20900,7 +20900,7 @@ return x_19; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; x_20 = lean_st_ref_get(x_8, x_9); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); @@ -20912,216 +20912,215 @@ lean_inc(x_23); lean_dec(x_21); x_24 = lean_ctor_get(x_7, 4); lean_inc(x_24); -x_25 = lean_ctor_get(x_7, 3); -lean_inc(x_25); -x_26 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_22); -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_7, 1); -lean_inc(x_29); -x_30 = lean_ctor_get(x_7, 2); +lean_inc(x_23); +x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_25, 0, x_23); +x_26 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_26, 0, x_24); +lean_inc(x_23); +x_27 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_27, 0, x_23); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_27); +x_29 = x_28; +x_30 = lean_ctor_get(x_7, 3); lean_inc(x_30); -x_31 = lean_st_ref_get(x_8, x_28); +x_31 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_22); x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); -x_34 = lean_ctor_get(x_32, 1); +x_34 = lean_ctor_get(x_7, 1); lean_inc(x_34); -lean_dec(x_32); -lean_inc(x_23); -x_35 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_35, 0, x_23); +x_35 = lean_ctor_get(x_7, 2); lean_inc(x_35); -x_36 = x_35; -lean_inc(x_23); -x_37 = lean_environment_main_module(x_23); -x_38 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_38, 0, x_24); -x_39 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_39, 0, x_23); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_35); -lean_ctor_set(x_40, 1, x_38); -lean_ctor_set(x_40, 2, x_39); -x_41 = x_40; -x_42 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_42, 0, x_36); -lean_ctor_set(x_42, 1, x_37); -lean_ctor_set(x_42, 2, x_27); -lean_ctor_set(x_42, 3, x_29); -lean_ctor_set(x_42, 4, x_30); -lean_ctor_set(x_42, 5, x_25); -lean_ctor_set(x_42, 6, x_41); -x_43 = lean_box(0); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_34); -lean_ctor_set(x_44, 1, x_43); -x_45 = 0; -x_46 = l_Lean_Elab_Term_expandMatchAltsIntoMatch(x_1, x_14, x_45, x_42, x_44); -x_47 = lean_ctor_get(x_46, 0); +x_36 = lean_st_ref_get(x_8, x_33); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_environment_main_module(x_23); +lean_inc(x_29); +x_41 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_41, 0, x_29); +lean_ctor_set(x_41, 1, x_40); +lean_ctor_set(x_41, 2, x_32); +lean_ctor_set(x_41, 3, x_34); +lean_ctor_set(x_41, 4, x_35); +lean_ctor_set(x_41, 5, x_30); +lean_ctor_set(x_41, 6, x_29); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_39); +lean_ctor_set(x_43, 1, x_42); +x_44 = 0; +x_45 = l_Lean_Elab_Term_expandMatchAltsIntoMatch(x_1, x_14, x_44, x_41, x_43); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); +lean_dec(x_45); +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_st_ref_take(x_8, x_33); -x_51 = lean_ctor_get(x_50, 0); +lean_dec(x_47); +x_49 = lean_st_ref_take(x_8, x_38); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = !lean_is_exclusive(x_51); -if (x_53 == 0) +lean_dec(x_49); +x_52 = !lean_is_exclusive(x_50); +if (x_52 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = lean_ctor_get(x_51, 1); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_53 = lean_ctor_get(x_50, 1); +lean_dec(x_53); +lean_ctor_set(x_50, 1, x_48); +x_54 = lean_st_ref_set(x_8, x_50, x_51); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); lean_dec(x_54); -lean_ctor_set(x_51, 1, x_49); -x_55 = lean_st_ref_set(x_8, x_51, x_52); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -lean_inc(x_47); +lean_inc(x_46); lean_inc(x_1); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_57, 0, x_1); -lean_closure_set(x_57, 1, x_47); -lean_closure_set(x_57, 2, x_2); -x_58 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_47, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_56); -return x_58; +x_56 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); +lean_closure_set(x_56, 0, x_1); +lean_closure_set(x_56, 1, x_46); +lean_closure_set(x_56, 2, x_2); +x_57 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_46, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_55); +return x_57; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_59 = lean_ctor_get(x_51, 0); -x_60 = lean_ctor_get(x_51, 2); -x_61 = lean_ctor_get(x_51, 3); -lean_inc(x_61); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_58 = lean_ctor_get(x_50, 0); +x_59 = lean_ctor_get(x_50, 2); +x_60 = lean_ctor_get(x_50, 3); lean_inc(x_60); lean_inc(x_59); -lean_dec(x_51); -x_62 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_49); -lean_ctor_set(x_62, 2, x_60); -lean_ctor_set(x_62, 3, x_61); -x_63 = lean_st_ref_set(x_8, x_62, x_52); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -lean_inc(x_47); +lean_inc(x_58); +lean_dec(x_50); +x_61 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_48); +lean_ctor_set(x_61, 2, x_59); +lean_ctor_set(x_61, 3, x_60); +x_62 = lean_st_ref_set(x_8, x_61, x_51); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +lean_inc(x_46); lean_inc(x_1); -x_65 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_65, 0, x_1); -lean_closure_set(x_65, 1, x_47); -lean_closure_set(x_65, 2, x_2); -x_66 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_47, x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_64); -return x_66; +x_64 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); +lean_closure_set(x_64, 0, x_1); +lean_closure_set(x_64, 1, x_46); +lean_closure_set(x_64, 2, x_2); +x_65 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_46, x_64, x_3, x_4, x_5, x_6, x_7, x_8, x_63); +return x_65; } } } else { -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; uint8_t x_76; +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; uint8_t x_75; lean_dec(x_1); -x_67 = lean_unsigned_to_nat(0u); -x_68 = l_Lean_Syntax_getArg(x_14, x_67); -x_69 = lean_unsigned_to_nat(2u); -x_70 = l_Lean_Syntax_getArg(x_14, x_69); +x_66 = lean_unsigned_to_nat(0u); +x_67 = l_Lean_Syntax_getArg(x_14, x_66); +x_68 = lean_unsigned_to_nat(2u); +x_69 = l_Lean_Syntax_getArg(x_14, x_68); lean_dec(x_14); -x_71 = l_Lean_Syntax_getArgs(x_68); -lean_dec(x_68); +x_70 = l_Lean_Syntax_getArgs(x_67); +lean_dec(x_67); lean_inc(x_3); -x_72 = l_Lean_Elab_Term_expandFunBinders(x_71, x_70, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_71); -x_73 = lean_ctor_get(x_72, 0); +x_71 = l_Lean_Elab_Term_expandFunBinders(x_70, x_69, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -x_76 = lean_unbox(x_75); -lean_dec(x_75); -if (x_76 == 0) +x_75 = lean_unbox(x_74); +lean_dec(x_74); +if (x_75 == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_77 = lean_ctor_get(x_72, 1); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_76 = lean_ctor_get(x_71, 1); +lean_inc(x_76); +lean_dec(x_71); +x_77 = lean_ctor_get(x_72, 0); lean_inc(x_77); lean_dec(x_72); x_78 = lean_ctor_get(x_73, 0); lean_inc(x_78); lean_dec(x_73); -x_79 = lean_ctor_get(x_74, 0); -lean_inc(x_79); -lean_dec(x_74); -x_80 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFun_loop___lambda__1), 10, 1); -lean_closure_set(x_80, 0, x_79); -x_81 = l_Lean_Elab_Term_elabFunBinders___rarg(x_78, x_2, x_80, x_3, x_4, x_5, x_6, x_7, x_8, x_77); -lean_dec(x_78); -return x_81; +x_79 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabFun_loop___lambda__1), 10, 1); +lean_closure_set(x_79, 0, x_78); +x_80 = l_Lean_Elab_Term_elabFunBinders___rarg(x_77, x_2, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_76); +lean_dec(x_77); +return x_80; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_82 = lean_ctor_get(x_72, 1); +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_81 = lean_ctor_get(x_71, 1); +lean_inc(x_81); +lean_dec(x_71); +x_82 = lean_ctor_get(x_72, 0); lean_inc(x_82); lean_dec(x_72); x_83 = lean_ctor_get(x_73, 0); lean_inc(x_83); lean_dec(x_73); -x_84 = lean_ctor_get(x_74, 0); -lean_inc(x_84); -lean_dec(x_74); -x_85 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_82); -x_86 = lean_ctor_get(x_85, 0); +x_84 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_7, x_8, x_81); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_87); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_89); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_92 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_86); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_86); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Array_empty___closed__1; -x_95 = lean_array_push(x_94, x_93); -x_96 = l_Array_appendCore___rarg(x_94, x_83); -lean_dec(x_83); -x_97 = l_Lean_nullKind___closed__2; -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = lean_array_push(x_94, x_98); -x_100 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_86); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_99, x_101); -x_103 = lean_array_push(x_102, x_84); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_15); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_array_push(x_95, x_104); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_10); -lean_ctor_set(x_106, 1, x_105); -x_1 = x_106; -x_9 = x_91; +lean_dec(x_84); +x_87 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_86); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); +lean_dec(x_87); +x_89 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_88); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_91 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_85); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_85); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Array_empty___closed__1; +x_94 = lean_array_push(x_93, x_92); +x_95 = l_Array_appendCore___rarg(x_93, x_82); +lean_dec(x_82); +x_96 = l_Lean_nullKind___closed__2; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = lean_array_push(x_93, x_97); +x_99 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_85); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_array_push(x_98, x_100); +x_102 = lean_array_push(x_101, x_83); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_15); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_array_push(x_94, x_103); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_10); +lean_ctor_set(x_105, 1, x_104); +x_1 = x_105; +x_9 = x_90; goto _start; } } @@ -22721,7 +22720,7 @@ return x_33; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; x_34 = lean_st_ref_get(x_10, x_11); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); @@ -22733,354 +22732,353 @@ lean_inc(x_37); lean_dec(x_35); x_38 = lean_ctor_get(x_9, 4); lean_inc(x_38); -x_39 = lean_ctor_get(x_9, 3); -lean_inc(x_39); -x_40 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_36); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_9, 1); -lean_inc(x_43); -x_44 = lean_ctor_get(x_9, 2); +lean_inc(x_37); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_39, 0, x_37); +x_40 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_40, 0, x_38); +lean_inc(x_37); +x_41 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_41, 0, x_37); +x_42 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_40); +lean_ctor_set(x_42, 2, x_41); +x_43 = x_42; +x_44 = lean_ctor_get(x_9, 3); lean_inc(x_44); -x_45 = lean_st_ref_get(x_10, x_42); +x_45 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_36); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 1); +x_48 = lean_ctor_get(x_9, 1); lean_inc(x_48); -lean_dec(x_46); -lean_inc(x_37); -x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_49, 0, x_37); +x_49 = lean_ctor_get(x_9, 2); lean_inc(x_49); -x_50 = x_49; -lean_inc(x_37); -x_51 = lean_environment_main_module(x_37); -x_52 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_52, 0, x_38); -x_53 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_53, 0, x_37); -x_54 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_52); -lean_ctor_set(x_54, 2, x_53); -x_55 = x_54; -x_56 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_56, 0, x_50); -lean_ctor_set(x_56, 1, x_51); -lean_ctor_set(x_56, 2, x_41); -lean_ctor_set(x_56, 3, x_43); -lean_ctor_set(x_56, 4, x_44); -lean_ctor_set(x_56, 5, x_39); -lean_ctor_set(x_56, 6, x_55); -x_57 = lean_box(0); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_48); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_expandLetEqnsDecl(x_23, x_56, x_58); +x_50 = lean_st_ref_get(x_10, x_47); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_environment_main_module(x_37); +lean_inc(x_43); +x_55 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_55, 0, x_43); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_46); +lean_ctor_set(x_55, 3, x_48); +lean_ctor_set(x_55, 4, x_49); +lean_ctor_set(x_55, 5, x_44); +lean_ctor_set(x_55, 6, x_43); +x_56 = lean_box(0); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Term_expandLetEqnsDecl(x_23, x_55, x_57); lean_dec(x_23); -x_60 = lean_ctor_get(x_59, 0); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); +lean_dec(x_58); +x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_st_ref_take(x_10, x_47); -x_64 = lean_ctor_get(x_63, 0); +lean_dec(x_60); +x_62 = lean_st_ref_take(x_10, x_52); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) +lean_dec(x_62); +x_65 = !lean_is_exclusive(x_63); +if (x_65 == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_64, 1); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_63, 1); +lean_dec(x_66); +lean_ctor_set(x_63, 1, x_61); +x_67 = lean_st_ref_set(x_10, x_63, x_64); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); lean_dec(x_67); -lean_ctor_set(x_64, 1, x_62); -x_68 = lean_st_ref_set(x_10, x_64, x_65); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_14 = x_60; -x_15 = x_69; +x_14 = x_59; +x_15 = x_68; goto block_21; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = lean_ctor_get(x_64, 0); -x_71 = lean_ctor_get(x_64, 2); -x_72 = lean_ctor_get(x_64, 3); -lean_inc(x_72); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_63, 0); +x_70 = lean_ctor_get(x_63, 2); +x_71 = lean_ctor_get(x_63, 3); lean_inc(x_71); lean_inc(x_70); -lean_dec(x_64); -x_73 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_62); -lean_ctor_set(x_73, 2, x_71); -lean_ctor_set(x_73, 3, x_72); -x_74 = lean_st_ref_set(x_10, x_73, x_65); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_14 = x_60; -x_15 = x_75; +lean_inc(x_69); +lean_dec(x_63); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_61); +lean_ctor_set(x_72, 2, x_70); +lean_ctor_set(x_72, 3, x_71); +x_73 = lean_st_ref_set(x_10, x_72, x_64); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_14 = x_59; +x_15 = x_74; goto block_21; } } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* 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; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_dec(x_26); lean_dec(x_13); -x_76 = l_Lean_Syntax_getArg(x_23, x_22); -x_77 = lean_unsigned_to_nat(2u); -x_78 = l_Lean_Syntax_getArg(x_23, x_77); -x_79 = l_Lean_Elab_Term_expandOptType(x_1, x_78); -lean_dec(x_78); -x_80 = lean_unsigned_to_nat(4u); -x_81 = l_Lean_Syntax_getArg(x_23, x_80); +x_75 = l_Lean_Syntax_getArg(x_23, x_22); +x_76 = lean_unsigned_to_nat(2u); +x_77 = l_Lean_Syntax_getArg(x_23, x_76); +x_78 = l_Lean_Elab_Term_expandOptType(x_1, x_77); +lean_dec(x_77); +x_79 = lean_unsigned_to_nat(4u); +x_80 = l_Lean_Syntax_getArg(x_23, x_79); lean_dec(x_23); -x_82 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11); -x_83 = lean_ctor_get(x_82, 0); +x_81 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_quoteAutoTactic___spec__1___rarg(x_9, x_10, x_11); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_84); -x_86 = lean_ctor_get(x_85, 0); +lean_dec(x_81); +x_84 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_83); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_87); -x_89 = lean_ctor_get(x_88, 0); +lean_dec(x_84); +x_87 = l_Lean_Elab_Term_getMainModule___rarg(x_10, x_86); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; -lean_inc(x_83); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_83); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Array_empty___closed__1; -x_94 = lean_array_push(x_93, x_92); -x_95 = l_Lean_Meta_mkArrow___closed__2; -x_96 = l_Lean_addMacroScope(x_89, x_95, x_86); -x_97 = lean_box(0); -x_98 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; -lean_inc(x_83); -x_99 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_99, 0, x_83); -lean_ctor_set(x_99, 1, x_98); -lean_ctor_set(x_99, 2, x_96); -lean_ctor_set(x_99, 3, x_97); -lean_inc(x_99); -x_100 = lean_array_push(x_93, x_99); -x_101 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_102 = lean_array_push(x_100, x_101); -x_103 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; -lean_inc(x_83); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_83); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_array_push(x_93, x_104); -x_106 = lean_array_push(x_105, x_79); -x_107 = l_Lean_expandExplicitBindersAux_loop___closed__4; -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_106); -x_109 = lean_array_push(x_93, x_108); -x_110 = l_Lean_nullKind___closed__2; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = lean_array_push(x_102, x_111); -x_113 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_83); -x_114 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_114, 0, x_83); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_112, x_114); -x_116 = lean_array_push(x_115, x_81); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_27); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_push(x_93, x_117); -x_119 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = lean_array_push(x_94, x_120); -x_122 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; -lean_inc(x_83); -x_123 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_123, 0, x_83); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_array_push(x_93, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_110); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_121, x_125); -x_127 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; -lean_inc(x_83); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_83); -lean_ctor_set(x_128, 1, x_127); -x_129 = lean_array_push(x_93, x_128); -x_130 = lean_array_push(x_129, x_101); -x_131 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_132 = lean_array_push(x_131, x_99); -x_133 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_132); -x_135 = lean_array_push(x_93, x_134); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_110); -lean_ctor_set(x_136, 1, x_135); -x_137 = lean_array_push(x_130, x_136); -x_138 = lean_array_push(x_137, x_101); -x_139 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; -lean_inc(x_83); -x_140 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_140, 0, x_83); -lean_ctor_set(x_140, 1, x_139); -x_141 = lean_array_push(x_138, x_140); -x_142 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_83); -x_143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_143, 0, x_83); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_93, x_143); -x_145 = lean_array_push(x_93, x_76); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_110); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_array_push(x_144, x_146); -x_148 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -x_149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_149, 0, x_83); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_147, x_149); -x_151 = lean_array_push(x_150, x_25); -x_152 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -x_154 = lean_array_push(x_93, x_153); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_110); -lean_ctor_set(x_155, 1, x_154); -x_156 = lean_array_push(x_93, x_155); -x_157 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -x_159 = lean_array_push(x_141, x_158); -x_160 = l_myMacro____x40_Init_Notation___hyg_13978____closed__2; -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_159); -x_162 = lean_array_push(x_126, x_161); -x_163 = l_myMacro____x40_Init_Notation___hyg_15449____closed__2; -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_162); +lean_dec(x_87); +x_90 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_82); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_82); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Array_empty___closed__1; +x_93 = lean_array_push(x_92, x_91); +x_94 = l_Lean_Meta_mkArrow___closed__2; +x_95 = l_Lean_addMacroScope(x_88, x_94, x_85); +x_96 = lean_box(0); +x_97 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__2; +lean_inc(x_82); +x_98 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_98, 0, x_82); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_95); +lean_ctor_set(x_98, 3, x_96); +lean_inc(x_98); +x_99 = lean_array_push(x_92, x_98); +x_100 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_101 = lean_array_push(x_99, x_100); +x_102 = l_myMacro____x40_Init_Notation___hyg_14904____closed__9; +lean_inc(x_82); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_82); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_array_push(x_92, x_103); +x_105 = lean_array_push(x_104, x_78); +x_106 = l_Lean_expandExplicitBindersAux_loop___closed__4; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_105); +x_108 = lean_array_push(x_92, x_107); +x_109 = l_Lean_nullKind___closed__2; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_array_push(x_101, x_110); +x_112 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_82); +x_113 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_113, 0, x_82); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_array_push(x_111, x_113); +x_115 = lean_array_push(x_114, x_80); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_27); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_92, x_116); +x_118 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_array_push(x_93, x_119); +x_121 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; +lean_inc(x_82); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_82); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_92, x_122); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_109); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_120, x_124); +x_126 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; +lean_inc(x_82); +x_127 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_127, 0, x_82); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_92, x_127); +x_129 = lean_array_push(x_128, x_100); +x_130 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_131 = lean_array_push(x_130, x_98); +x_132 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = lean_array_push(x_92, x_133); +x_135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_135, 0, x_109); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_array_push(x_129, x_135); +x_137 = lean_array_push(x_136, x_100); +x_138 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +lean_inc(x_82); +x_139 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_139, 0, x_82); +lean_ctor_set(x_139, 1, x_138); +x_140 = lean_array_push(x_137, x_139); +x_141 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_82); +x_142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_142, 0, x_82); +lean_ctor_set(x_142, 1, x_141); +x_143 = lean_array_push(x_92, x_142); +x_144 = lean_array_push(x_92, x_75); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_109); +lean_ctor_set(x_145, 1, x_144); +x_146 = lean_array_push(x_143, x_145); +x_147 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_148 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_148, 0, x_82); +lean_ctor_set(x_148, 1, x_147); +x_149 = lean_array_push(x_146, x_148); +x_150 = lean_array_push(x_149, x_25); +x_151 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_150); +x_153 = lean_array_push(x_92, x_152); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_109); +lean_ctor_set(x_154, 1, x_153); +x_155 = lean_array_push(x_92, x_154); +x_156 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = lean_array_push(x_140, x_157); +x_159 = l_myMacro____x40_Init_Notation___hyg_13978____closed__2; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = lean_array_push(x_125, x_160); +x_162 = l_myMacro____x40_Init_Notation___hyg_15449____closed__2; +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_161); if (x_3 == 0) { if (x_4 == 0) { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_164); -x_165 = l_Lean_instInhabitedSyntax; -x_166 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; -x_167 = lean_panic_fn(x_165, x_166); -lean_inc(x_167); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_163); +x_164 = l_Lean_instInhabitedSyntax; +x_165 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; +x_166 = lean_panic_fn(x_164, x_165); +lean_inc(x_166); lean_inc(x_1); -x_168 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_168, 0, x_1); -lean_closure_set(x_168, 1, x_167); -lean_closure_set(x_168, 2, x_2); -x_169 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_167, x_168, x_5, x_6, x_7, x_8, x_9, x_10, x_90); -return x_169; +x_167 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); +lean_closure_set(x_167, 0, x_1); +lean_closure_set(x_167, 1, x_166); +lean_closure_set(x_167, 2, x_2); +x_168 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_166, x_167, x_5, x_6, x_7, x_8, x_9, x_10, x_89); +return x_168; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_170 = l_Lean_Parser_Term_let__fun___elambda__1___closed__2; -x_171 = l_Lean_Syntax_setKind(x_164, x_170); -lean_inc(x_171); +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_169 = l_Lean_Parser_Term_let__fun___elambda__1___closed__2; +x_170 = l_Lean_Syntax_setKind(x_163, x_169); +lean_inc(x_170); lean_inc(x_1); -x_172 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_172, 0, x_1); -lean_closure_set(x_172, 1, x_171); -lean_closure_set(x_172, 2, x_2); -x_173 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_171, x_172, x_5, x_6, x_7, x_8, x_9, x_10, x_90); -return x_173; +x_171 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); +lean_closure_set(x_171, 0, x_1); +lean_closure_set(x_171, 1, x_170); +lean_closure_set(x_171, 2, x_2); +x_172 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_170, x_171, x_5, x_6, x_7, x_8, x_9, x_10, x_89); +return x_172; } } else { if (x_4 == 0) { -lean_object* x_174; lean_object* x_175; -lean_inc(x_164); +lean_object* x_173; lean_object* x_174; +lean_inc(x_163); lean_inc(x_1); -x_174 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_174, 0, x_1); -lean_closure_set(x_174, 1, x_164); -lean_closure_set(x_174, 2, x_2); -x_175 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_164, x_174, x_5, x_6, x_7, x_8, x_9, x_10, x_90); -return x_175; +x_173 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); +lean_closure_set(x_173, 0, x_1); +lean_closure_set(x_173, 1, x_163); +lean_closure_set(x_173, 2, x_2); +x_174 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_163, x_173, x_5, x_6, x_7, x_8, x_9, x_10, x_89); +return x_174; } else { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_176 = l_Lean_Parser_Term_let__delayed___elambda__1___closed__2; -x_177 = l_Lean_Syntax_setKind(x_164, x_176); -lean_inc(x_177); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = l_Lean_Parser_Term_let__delayed___elambda__1___closed__2; +x_176 = l_Lean_Syntax_setKind(x_163, x_175); +lean_inc(x_176); lean_inc(x_1); -x_178 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); -lean_closure_set(x_178, 0, x_1); -lean_closure_set(x_178, 1, x_177); -lean_closure_set(x_178, 2, x_2); -x_179 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_177, x_178, x_5, x_6, x_7, x_8, x_9, x_10, x_90); -return x_179; +x_177 = lean_alloc_closure((void*)(l_Lean_Elab_Term_adaptExpander___lambda__1), 10, 3); +lean_closure_set(x_177, 0, x_1); +lean_closure_set(x_177, 1, x_176); +lean_closure_set(x_177, 2, x_2); +x_178 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_176, x_177, x_5, x_6, x_7, x_8, x_9, x_10, x_89); +return x_178; } } } } else { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_dec(x_26); lean_dec(x_13); lean_dec(x_1); -x_180 = l_Lean_Elab_Term_mkLetIdDeclView(x_23); +x_179 = l_Lean_Elab_Term_mkLetIdDeclView(x_23); lean_dec(x_23); -x_181 = lean_ctor_get(x_180, 0); +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); +x_182 = lean_ctor_get(x_179, 2); lean_inc(x_182); -x_183 = lean_ctor_get(x_180, 2); +x_183 = lean_ctor_get(x_179, 3); lean_inc(x_183); -x_184 = lean_ctor_get(x_180, 3); -lean_inc(x_184); -lean_dec(x_180); -x_185 = l_Lean_Elab_Term_elabLetDeclAux(x_181, x_182, x_183, x_184, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_185; +lean_dec(x_179); +x_184 = l_Lean_Elab_Term_elabLetDeclAux(x_180, x_181, x_182, x_183, x_25, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_184; } block_21: { diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index a6516efc70..428992abc2 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -8941,7 +8941,7 @@ return x_7; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_object* x_10; lean_object* x_11; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_18 = lean_st_ref_get(x_8, x_9); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); @@ -8953,185 +8953,184 @@ lean_inc(x_21); lean_dec(x_19); x_22 = lean_ctor_get(x_7, 4); lean_inc(x_22); -x_23 = lean_ctor_get(x_7, 3); -lean_inc(x_23); -x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_20); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_7, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_7, 2); +lean_inc(x_21); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_23, 0, x_21); +x_24 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_24, 0, x_22); +lean_inc(x_21); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_25, 0, x_21); +x_26 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_25); +x_27 = x_26; +x_28 = lean_ctor_get(x_7, 3); lean_inc(x_28); -x_29 = lean_st_ref_get(x_8, x_26); +x_29 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_20); x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = lean_ctor_get(x_30, 1); +x_32 = lean_ctor_get(x_7, 1); lean_inc(x_32); -lean_dec(x_30); -lean_inc(x_21); -x_33 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_33, 0, x_21); +x_33 = lean_ctor_get(x_7, 2); lean_inc(x_33); -x_34 = x_33; -lean_inc(x_21); -x_35 = lean_environment_main_module(x_21); -x_36 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_36, 0, x_22); -x_37 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_37, 0, x_21); -x_38 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_38, 0, x_33); -lean_ctor_set(x_38, 1, x_36); -lean_ctor_set(x_38, 2, x_37); -x_39 = x_38; -x_40 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_40, 0, x_34); -lean_ctor_set(x_40, 1, x_35); -lean_ctor_set(x_40, 2, x_25); -lean_ctor_set(x_40, 3, x_27); -lean_ctor_set(x_40, 4, x_28); -lean_ctor_set(x_40, 5, x_23); -lean_ctor_set(x_40, 6, x_39); -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_32); -lean_ctor_set(x_42, 1, x_41); +x_34 = lean_st_ref_get(x_8, x_31); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_environment_main_module(x_21); +lean_inc(x_27); +x_39 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_39, 0, x_27); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_30); +lean_ctor_set(x_39, 3, x_32); +lean_ctor_set(x_39, 4, x_33); +lean_ctor_set(x_39, 5, x_28); +lean_ctor_set(x_39, 6, x_27); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_40); lean_inc(x_1); -x_43 = l_Lean_Elab_Term_expandCDot_x3f(x_1, x_40, x_42); -if (lean_obj_tag(x_43) == 0) +x_42 = l_Lean_Elab_Term_expandCDot_x3f(x_1, x_39, x_41); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_44 = lean_ctor_get(x_43, 0); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +lean_dec(x_42); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_st_ref_take(x_8, x_31); -x_48 = lean_ctor_get(x_47, 0); +lean_dec(x_44); +x_46 = lean_st_ref_take(x_8, x_36); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = !lean_is_exclusive(x_48); -if (x_50 == 0) +lean_dec(x_46); +x_49 = !lean_is_exclusive(x_47); +if (x_49 == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_48, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_47, 1); +lean_dec(x_50); +lean_ctor_set(x_47, 1, x_45); +x_51 = lean_st_ref_set(x_8, x_47, x_48); +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); lean_dec(x_51); -lean_ctor_set(x_48, 1, x_46); -x_52 = lean_st_ref_set(x_8, x_48, x_49); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -lean_dec(x_52); -x_10 = x_44; -x_11 = x_53; +x_10 = x_43; +x_11 = x_52; goto block_17; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_54 = lean_ctor_get(x_48, 0); -x_55 = lean_ctor_get(x_48, 2); -x_56 = lean_ctor_get(x_48, 3); -lean_inc(x_56); +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_53 = lean_ctor_get(x_47, 0); +x_54 = lean_ctor_get(x_47, 2); +x_55 = lean_ctor_get(x_47, 3); lean_inc(x_55); lean_inc(x_54); -lean_dec(x_48); -x_57 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_57, 0, x_54); -lean_ctor_set(x_57, 1, x_46); -lean_ctor_set(x_57, 2, x_55); -lean_ctor_set(x_57, 3, x_56); -x_58 = lean_st_ref_set(x_8, x_57, x_49); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_10 = x_44; -x_11 = x_59; +lean_inc(x_53); +lean_dec(x_47); +x_56 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_45); +lean_ctor_set(x_56, 2, x_54); +lean_ctor_set(x_56, 3, x_55); +x_57 = lean_st_ref_set(x_8, x_56, x_48); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_10 = x_43; +x_11 = x_58; goto block_17; } } else { -lean_object* x_60; +lean_object* x_59; lean_dec(x_2); lean_dec(x_1); -x_60 = lean_ctor_get(x_43, 0); -lean_inc(x_60); -lean_dec(x_43); -if (lean_obj_tag(x_60) == 0) +x_59 = lean_ctor_get(x_42, 0); +lean_inc(x_59); +lean_dec(x_42); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_61 = lean_ctor_get(x_60, 0); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_59); +x_62 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_63, 0, x_62); -x_64 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = l_Lean_throwErrorAt___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1(x_61, x_64, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +x_64 = l_Lean_throwErrorAt___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1(x_60, x_63, x_3, x_4, x_5, x_6, x_7, x_8, x_36); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_61); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) +lean_dec(x_60); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) { -return x_65; +return x_64; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_65, 0); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_64, 0); +x_67 = lean_ctor_get(x_64, 1); lean_inc(x_67); -lean_dec(x_65); -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; +lean_inc(x_66); +lean_dec(x_64); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } else { -lean_object* x_70; uint8_t x_71; +lean_object* x_69; uint8_t x_70; 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_70 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__3___rarg(x_31); -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +x_69 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__3___rarg(x_36); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) { -return x_70; +return x_69; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_70, 0); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_69, 0); +x_72 = lean_ctor_get(x_69, 1); lean_inc(x_72); -lean_dec(x_70); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; +lean_inc(x_71); +lean_dec(x_69); +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; } } } @@ -9369,188 +9368,187 @@ goto _start; lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_58; lean_object* x_59; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_121 = lean_st_ref_get(x_7, x_8); -x_122 = lean_ctor_get(x_121, 0); +lean_object* x_9; lean_object* x_10; lean_object* x_58; lean_object* x_59; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_120 = lean_st_ref_get(x_7, x_8); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); +lean_dec(x_120); +x_123 = lean_ctor_get(x_121, 0); lean_inc(x_123); lean_dec(x_121); -x_124 = lean_ctor_get(x_122, 0); +x_124 = lean_ctor_get(x_6, 4); lean_inc(x_124); -lean_dec(x_122); -x_125 = lean_ctor_get(x_6, 4); -lean_inc(x_125); -x_126 = lean_ctor_get(x_6, 3); -lean_inc(x_126); -x_127 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_123); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec(x_127); -x_130 = lean_ctor_get(x_6, 1); +lean_inc(x_123); +x_125 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_125, 0, x_123); +x_126 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_126, 0, x_124); +lean_inc(x_123); +x_127 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_127, 0, x_123); +x_128 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_126); +lean_ctor_set(x_128, 2, x_127); +x_129 = x_128; +x_130 = lean_ctor_get(x_6, 3); lean_inc(x_130); -x_131 = lean_ctor_get(x_6, 2); -lean_inc(x_131); -x_132 = lean_st_ref_get(x_7, x_129); -x_133 = lean_ctor_get(x_132, 0); +x_131 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_122); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); +lean_dec(x_131); +x_134 = lean_ctor_get(x_6, 1); lean_inc(x_134); -lean_dec(x_132); -x_135 = lean_ctor_get(x_133, 1); +x_135 = lean_ctor_get(x_6, 2); lean_inc(x_135); -lean_dec(x_133); -lean_inc(x_124); -x_136 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_136, 0, x_124); -lean_inc(x_136); -x_137 = x_136; -lean_inc(x_124); -x_138 = lean_environment_main_module(x_124); -x_139 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_139, 0, x_125); -x_140 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_140, 0, x_124); -x_141 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_141, 0, x_136); -lean_ctor_set(x_141, 1, x_139); -lean_ctor_set(x_141, 2, x_140); -x_142 = x_141; -x_143 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_143, 0, x_137); -lean_ctor_set(x_143, 1, x_138); -lean_ctor_set(x_143, 2, x_128); -lean_ctor_set(x_143, 3, x_130); -lean_ctor_set(x_143, 4, x_131); -lean_ctor_set(x_143, 5, x_126); -lean_ctor_set(x_143, 6, x_142); -x_144 = lean_box(0); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_135); -lean_ctor_set(x_145, 1, x_144); -x_146 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f_expandCDotArg_x3f(x_1, x_143, x_145); -if (lean_obj_tag(x_146) == 0) +x_136 = lean_st_ref_get(x_7, x_133); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); +x_140 = lean_environment_main_module(x_123); +lean_inc(x_129); +x_141 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_141, 0, x_129); +lean_ctor_set(x_141, 1, x_140); +lean_ctor_set(x_141, 2, x_132); +lean_ctor_set(x_141, 3, x_134); +lean_ctor_set(x_141, 4, x_135); +lean_ctor_set(x_141, 5, x_130); +lean_ctor_set(x_141, 6, x_129); +x_142 = lean_box(0); +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_139); +lean_ctor_set(x_143, 1, x_142); +x_144 = l_Lean_Elab_Term_elabCDotFunctionAlias_x3f_expandCDotArg_x3f(x_1, x_141, x_143); +if (lean_obj_tag(x_144) == 0) { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +lean_dec(x_144); x_147 = lean_ctor_get(x_146, 0); lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); lean_dec(x_146); +x_148 = lean_st_ref_take(x_7, x_138); x_149 = lean_ctor_get(x_148, 0); lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); lean_dec(x_148); -x_150 = lean_st_ref_take(x_7, x_134); -x_151 = lean_ctor_get(x_150, 0); -lean_inc(x_151); -x_152 = lean_ctor_get(x_150, 1); -lean_inc(x_152); -lean_dec(x_150); -x_153 = !lean_is_exclusive(x_151); -if (x_153 == 0) +x_151 = !lean_is_exclusive(x_149); +if (x_151 == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_151, 1); -lean_dec(x_154); -lean_ctor_set(x_151, 1, x_149); -x_155 = lean_st_ref_set(x_7, x_151, x_152); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -lean_dec(x_155); -x_58 = x_147; -x_59 = x_156; -goto block_120; +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_149, 1); +lean_dec(x_152); +lean_ctor_set(x_149, 1, x_147); +x_153 = lean_st_ref_set(x_7, x_149, x_150); +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +x_58 = x_145; +x_59 = x_154; +goto block_119; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_157 = lean_ctor_get(x_151, 0); -x_158 = lean_ctor_get(x_151, 2); -x_159 = lean_ctor_get(x_151, 3); -lean_inc(x_159); -lean_inc(x_158); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_155 = lean_ctor_get(x_149, 0); +x_156 = lean_ctor_get(x_149, 2); +x_157 = lean_ctor_get(x_149, 3); lean_inc(x_157); -lean_dec(x_151); -x_160 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_149); -lean_ctor_set(x_160, 2, x_158); -lean_ctor_set(x_160, 3, x_159); -x_161 = lean_st_ref_set(x_7, x_160, x_152); -x_162 = lean_ctor_get(x_161, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_149); +x_158 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_147); +lean_ctor_set(x_158, 2, x_156); +lean_ctor_set(x_158, 3, x_157); +x_159 = lean_st_ref_set(x_7, x_158, x_150); +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +lean_dec(x_159); +x_58 = x_145; +x_59 = x_160; +goto block_119; +} +} +else +{ +lean_object* x_161; +x_161 = lean_ctor_get(x_144, 0); +lean_inc(x_161); +lean_dec(x_144); +if (lean_obj_tag(x_161) == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; +x_162 = lean_ctor_get(x_161, 0); lean_inc(x_162); -lean_dec(x_161); -x_58 = x_147; -x_59 = x_162; -goto block_120; -} -} -else -{ -lean_object* x_163; -x_163 = lean_ctor_get(x_146, 0); +x_163 = lean_ctor_get(x_161, 1); lean_inc(x_163); -lean_dec(x_146); -if (lean_obj_tag(x_163) == 0) -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); -lean_inc(x_165); -lean_dec(x_163); -x_166 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_166, 0, x_165); -x_167 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_167, 0, x_166); -x_168 = l_Lean_throwErrorAt___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1(x_164, x_167, x_2, x_3, x_4, x_5, x_6, x_7, x_134); +lean_dec(x_161); +x_164 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_164, 0, x_163); +x_165 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_165, 0, x_164); +x_166 = l_Lean_throwErrorAt___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1(x_162, x_165, x_2, x_3, x_4, x_5, x_6, x_7, x_138); lean_dec(x_4); -lean_dec(x_164); -x_169 = !lean_is_exclusive(x_168); -if (x_169 == 0) +lean_dec(x_162); +x_167 = !lean_is_exclusive(x_166); +if (x_167 == 0) { -return x_168; +return x_166; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_168, 0); -x_171 = lean_ctor_get(x_168, 1); -lean_inc(x_171); -lean_inc(x_170); -lean_dec(x_168); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_170); -lean_ctor_set(x_172, 1, x_171); -return x_172; +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_166, 0); +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +lean_inc(x_168); +lean_dec(x_166); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +return x_170; } } else { -lean_object* x_173; uint8_t x_174; +lean_object* x_171; uint8_t x_172; lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_173 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__3___rarg(x_134); -x_174 = !lean_is_exclusive(x_173); -if (x_174 == 0) +x_171 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__3___rarg(x_138); +x_172 = !lean_is_exclusive(x_171); +if (x_172 == 0) { -return x_173; +return x_171; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_173, 0); -x_176 = lean_ctor_get(x_173, 1); -lean_inc(x_176); -lean_inc(x_175); -lean_dec(x_173); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -return x_177; +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_171, 0); +x_174 = lean_ctor_get(x_171, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_171); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; } } } @@ -9755,7 +9753,7 @@ return x_56; } } } -block_120: +block_119: { if (lean_obj_tag(x_58) == 0) { @@ -9771,7 +9769,7 @@ 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; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; x_62 = lean_ctor_get(x_58, 0); lean_inc(x_62); lean_dec(x_58); @@ -9786,176 +9784,175 @@ lean_inc(x_66); lean_dec(x_64); x_67 = lean_ctor_get(x_6, 4); lean_inc(x_67); -x_68 = lean_ctor_get(x_6, 3); -lean_inc(x_68); -x_69 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_65); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = lean_ctor_get(x_6, 1); -lean_inc(x_72); -x_73 = lean_ctor_get(x_6, 2); +lean_inc(x_66); +x_68 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_68, 0, x_66); +x_69 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_69, 0, x_67); +lean_inc(x_66); +x_70 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_70, 0, x_66); +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +lean_ctor_set(x_71, 2, x_70); +x_72 = x_71; +x_73 = lean_ctor_get(x_6, 3); lean_inc(x_73); -x_74 = lean_st_ref_get(x_7, x_71); +x_74 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_65); x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); lean_dec(x_74); -x_77 = lean_ctor_get(x_75, 1); +x_77 = lean_ctor_get(x_6, 1); lean_inc(x_77); -lean_dec(x_75); -lean_inc(x_66); -x_78 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_78, 0, x_66); +x_78 = lean_ctor_get(x_6, 2); lean_inc(x_78); -x_79 = x_78; -lean_inc(x_66); -x_80 = lean_environment_main_module(x_66); -x_81 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_81, 0, x_67); -x_82 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_82, 0, x_66); -x_83 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_83, 0, x_78); -lean_ctor_set(x_83, 1, x_81); -lean_ctor_set(x_83, 2, x_82); -x_84 = x_83; -x_85 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_85, 0, x_79); -lean_ctor_set(x_85, 1, x_80); -lean_ctor_set(x_85, 2, x_70); -lean_ctor_set(x_85, 3, x_72); -lean_ctor_set(x_85, 4, x_73); -lean_ctor_set(x_85, 5, x_68); -lean_ctor_set(x_85, 6, x_84); -x_86 = lean_box(0); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_77); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_expandMacros(x_62, x_85, x_87); -if (lean_obj_tag(x_88) == 0) +x_79 = lean_st_ref_get(x_7, x_76); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = lean_environment_main_module(x_66); +lean_inc(x_72); +x_84 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_84, 0, x_72); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_75); +lean_ctor_set(x_84, 3, x_77); +lean_ctor_set(x_84, 4, x_78); +lean_ctor_set(x_84, 5, x_73); +lean_ctor_set(x_84, 6, x_72); +x_85 = lean_box(0); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_82); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_expandMacros(x_62, x_84, x_86); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_89 = lean_ctor_get(x_88, 0); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); +lean_dec(x_87); +x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -lean_dec(x_90); -x_92 = lean_st_ref_take(x_7, x_76); -x_93 = lean_ctor_get(x_92, 0); +lean_dec(x_89); +x_91 = lean_st_ref_take(x_7, x_81); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = !lean_is_exclusive(x_93); -if (x_95 == 0) +lean_dec(x_91); +x_94 = !lean_is_exclusive(x_92); +if (x_94 == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_93, 1); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_92, 1); +lean_dec(x_95); +lean_ctor_set(x_92, 1, x_90); +x_96 = lean_st_ref_set(x_7, x_92, x_93); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); lean_dec(x_96); -lean_ctor_set(x_93, 1, x_91); -x_97 = lean_st_ref_set(x_7, x_93, x_94); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_9 = x_89; -x_10 = x_98; +x_9 = x_88; +x_10 = x_97; goto block_57; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_99 = lean_ctor_get(x_93, 0); -x_100 = lean_ctor_get(x_93, 2); -x_101 = lean_ctor_get(x_93, 3); -lean_inc(x_101); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_98 = lean_ctor_get(x_92, 0); +x_99 = lean_ctor_get(x_92, 2); +x_100 = lean_ctor_get(x_92, 3); lean_inc(x_100); lean_inc(x_99); -lean_dec(x_93); -x_102 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_91); -lean_ctor_set(x_102, 2, x_100); -lean_ctor_set(x_102, 3, x_101); -x_103 = lean_st_ref_set(x_7, x_102, x_94); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_9 = x_89; -x_10 = x_104; +lean_inc(x_98); +lean_dec(x_92); +x_101 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_90); +lean_ctor_set(x_101, 2, x_99); +lean_ctor_set(x_101, 3, x_100); +x_102 = lean_st_ref_set(x_7, x_101, x_93); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +lean_dec(x_102); +x_9 = x_88; +x_10 = x_103; goto block_57; } } else { -lean_object* x_105; -x_105 = lean_ctor_get(x_88, 0); +lean_object* x_104; +x_104 = lean_ctor_get(x_87, 0); +lean_inc(x_104); +lean_dec(x_87); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); -lean_dec(x_88); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_106 = lean_ctor_get(x_105, 0); +x_106 = lean_ctor_get(x_104, 1); lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_104); +x_107 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_108 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_108, 0, x_107); -x_109 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_109, 0, x_108); -x_110 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_106, x_109, x_2, x_3, x_4, x_5, x_6, x_7, x_76); +x_109 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_105, x_108, x_2, x_3, x_4, x_5, x_6, x_7, x_81); lean_dec(x_4); -lean_dec(x_106); -x_111 = !lean_is_exclusive(x_110); -if (x_111 == 0) +lean_dec(x_105); +x_110 = !lean_is_exclusive(x_109); +if (x_110 == 0) { -return x_110; +return x_109; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_110, 0); -x_113 = lean_ctor_get(x_110, 1); -lean_inc(x_113); +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_109, 0); +x_112 = lean_ctor_get(x_109, 1); lean_inc(x_112); -lean_dec(x_110); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +lean_inc(x_111); +lean_dec(x_109); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; } } else { -lean_object* x_115; uint8_t x_116; +lean_object* x_114; uint8_t x_115; lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_115 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_76); -x_116 = !lean_is_exclusive(x_115); -if (x_116 == 0) +x_114 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_81); +x_115 = !lean_is_exclusive(x_114); +if (x_115 == 0) { -return x_115; +return x_114; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_115, 0); -x_118 = lean_ctor_get(x_115, 1); -lean_inc(x_118); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_114, 0); +x_117 = lean_ctor_get(x_114, 1); lean_inc(x_117); -lean_dec(x_115); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; +lean_inc(x_116); +lean_dec(x_114); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; } } } @@ -10189,7 +10186,7 @@ return x_36; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; x_37 = l_Lean_Syntax_getArg(x_30, x_14); lean_dec(x_30); x_38 = l_Lean_Syntax_getArgs(x_37); @@ -10211,201 +10208,200 @@ lean_inc(x_46); lean_dec(x_44); x_47 = lean_ctor_get(x_7, 4); lean_inc(x_47); -x_48 = lean_ctor_get(x_7, 3); -lean_inc(x_48); -x_49 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_45); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_7, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_7, 2); +lean_inc(x_46); +x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_48, 0, x_46); +x_49 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_49, 0, x_47); +lean_inc(x_46); +x_50 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_50, 0, x_46); +x_51 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +x_52 = x_51; +x_53 = lean_ctor_get(x_7, 3); lean_inc(x_53); -x_54 = lean_st_ref_get(x_8, x_51); +x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_45); x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); x_56 = lean_ctor_get(x_54, 1); lean_inc(x_56); lean_dec(x_54); -x_57 = lean_ctor_get(x_55, 1); +x_57 = lean_ctor_get(x_7, 1); lean_inc(x_57); -lean_dec(x_55); -lean_inc(x_46); -x_58 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_58, 0, x_46); +x_58 = lean_ctor_get(x_7, 2); lean_inc(x_58); -x_59 = x_58; -lean_inc(x_46); -x_60 = lean_environment_main_module(x_46); -x_61 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_61, 0, x_47); -x_62 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_62, 0, x_46); -x_63 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_63, 0, x_58); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_62); -x_64 = x_63; -x_65 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_60); -lean_ctor_set(x_65, 2, x_50); -lean_ctor_set(x_65, 3, x_52); -lean_ctor_set(x_65, 4, x_53); -lean_ctor_set(x_65, 5, x_48); -lean_ctor_set(x_65, 6, x_64); -x_66 = lean_box(0); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_57); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_Term_mkPairs(x_42, x_65, x_67); +x_59 = lean_st_ref_get(x_8, x_56); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_environment_main_module(x_46); +lean_inc(x_52); +x_64 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_64, 0, x_52); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_55); +lean_ctor_set(x_64, 3, x_57); +lean_ctor_set(x_64, 4, x_58); +lean_ctor_set(x_64, 5, x_53); +lean_ctor_set(x_64, 6, x_52); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_62); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Elab_Term_mkPairs(x_42, x_64, x_66); lean_dec(x_42); -x_69 = lean_ctor_get(x_68, 0); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_dec(x_67); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_take(x_8, x_56); -x_73 = lean_ctor_get(x_72, 0); +lean_dec(x_69); +x_71 = lean_st_ref_take(x_8, x_61); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = !lean_is_exclusive(x_73); -if (x_75 == 0) +lean_dec(x_71); +x_74 = !lean_is_exclusive(x_72); +if (x_74 == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_76 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_75 = lean_ctor_get(x_72, 1); +lean_dec(x_75); +lean_ctor_set(x_72, 1, x_70); +x_76 = lean_st_ref_set(x_8, x_72, x_73); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); lean_dec(x_76); -lean_ctor_set(x_73, 1, x_71); -x_77 = lean_st_ref_set(x_8, x_73, x_74); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -lean_inc(x_69); +lean_inc(x_68); lean_inc(x_1); -x_79 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabParen___lambda__1), 10, 3); -lean_closure_set(x_79, 0, x_1); -lean_closure_set(x_79, 1, x_69); -lean_closure_set(x_79, 2, x_2); -x_80 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_69, x_79, x_3, x_4, x_5, x_6, x_7, x_8, x_78); -return x_80; +x_78 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabParen___lambda__1), 10, 3); +lean_closure_set(x_78, 0, x_1); +lean_closure_set(x_78, 1, x_68); +lean_closure_set(x_78, 2, x_2); +x_79 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_68, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_77); +return x_79; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_81 = lean_ctor_get(x_73, 0); -x_82 = lean_ctor_get(x_73, 2); -x_83 = lean_ctor_get(x_73, 3); -lean_inc(x_83); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_80 = lean_ctor_get(x_72, 0); +x_81 = lean_ctor_get(x_72, 2); +x_82 = lean_ctor_get(x_72, 3); lean_inc(x_82); lean_inc(x_81); -lean_dec(x_73); -x_84 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_84, 0, x_81); -lean_ctor_set(x_84, 1, x_71); -lean_ctor_set(x_84, 2, x_82); -lean_ctor_set(x_84, 3, x_83); -x_85 = lean_st_ref_set(x_8, x_84, x_74); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -lean_inc(x_69); +lean_inc(x_80); +lean_dec(x_72); +x_83 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_70); +lean_ctor_set(x_83, 2, x_81); +lean_ctor_set(x_83, 3, x_82); +x_84 = lean_st_ref_set(x_8, x_83, x_73); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +lean_inc(x_68); lean_inc(x_1); -x_87 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabParen___lambda__1), 10, 3); -lean_closure_set(x_87, 0, x_1); -lean_closure_set(x_87, 1, x_69); -lean_closure_set(x_87, 2, x_2); -x_88 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_69, x_87, x_3, x_4, x_5, x_6, x_7, x_8, x_86); -return x_88; +x_86 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabParen___lambda__1), 10, 3); +lean_closure_set(x_86, 0, x_1); +lean_closure_set(x_86, 1, x_68); +lean_closure_set(x_86, 2, x_2); +x_87 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_1, x_68, x_86, x_3, x_4, x_5, x_6, x_7, x_8, x_85); +return x_87; } } } else { -lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; +lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_dec(x_2); lean_dec(x_1); -x_89 = l_Lean_Syntax_getArg(x_30, x_14); +x_88 = l_Lean_Syntax_getArg(x_30, x_14); lean_dec(x_30); -x_90 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); -lean_closure_set(x_90, 0, x_89); -x_91 = 1; +x_89 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabType), 8, 1); +lean_closure_set(x_89, 0, x_88); +x_90 = 1; 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_92 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_90, x_91, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_92) == 0) +x_91 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_89, x_90, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_93 = lean_ctor_get(x_92, 0); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_95, 0, x_93); +lean_dec(x_91); +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_92); 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_95); -x_96 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(x_23, x_95, x_3, x_4, x_5, x_6, x_7, x_8, x_94); -if (lean_obj_tag(x_96) == 0) +lean_inc(x_94); +x_95 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(x_23, x_94, x_3, x_4, x_5, x_6, x_7, x_8, x_93); +if (lean_obj_tag(x_95) == 0) { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_97 = lean_ctor_get(x_96, 0); +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_box(0); -x_100 = l_Lean_Elab_Term_ensureHasType(x_95, x_97, x_99, x_3, x_4, x_5, x_6, x_7, x_8, x_98); -return x_100; +lean_dec(x_95); +x_98 = lean_box(0); +x_99 = l_Lean_Elab_Term_ensureHasType(x_94, x_96, x_98, x_3, x_4, x_5, x_6, x_7, x_8, x_97); +return x_99; } else { -uint8_t x_101; -lean_dec(x_95); +uint8_t x_100; +lean_dec(x_94); 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_101 = !lean_is_exclusive(x_96); -if (x_101 == 0) +x_100 = !lean_is_exclusive(x_95); +if (x_100 == 0) { -return x_96; +return x_95; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_96, 0); -x_103 = lean_ctor_get(x_96, 1); -lean_inc(x_103); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_95, 0); +x_102 = lean_ctor_get(x_95, 1); lean_inc(x_102); -lean_dec(x_96); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +lean_inc(x_101); +lean_dec(x_95); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } } else { -uint8_t x_105; +uint8_t x_104; lean_dec(x_23); lean_dec(x_8); lean_dec(x_7); @@ -10413,23 +10409,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_105 = !lean_is_exclusive(x_92); -if (x_105 == 0) +x_104 = !lean_is_exclusive(x_91); +if (x_104 == 0) { -return x_92; +return x_91; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_92, 0); -x_107 = lean_ctor_get(x_92, 1); -lean_inc(x_107); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_91, 0); +x_106 = lean_ctor_get(x_91, 1); lean_inc(x_106); -lean_dec(x_92); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +lean_inc(x_105); +lean_dec(x_91); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; } } } @@ -10438,7 +10434,7 @@ return x_108; } else { -lean_object* x_109; lean_object* x_110; +lean_object* x_108; lean_object* x_109; lean_dec(x_15); lean_dec(x_8); lean_dec(x_7); @@ -10448,11 +10444,11 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_109 = l_Lean_instToExprUnit___lambda__1___closed__3; -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_9); -return x_110; +x_108 = l_Lean_instToExprUnit___lambda__1___closed__3; +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_9); +return x_109; } } } diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 8ecb84ee0c..53330f50b0 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -9431,7 +9431,7 @@ lean_dec(x_17); x_20 = !lean_is_exclusive(x_18); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_129; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_128; x_21 = lean_ctor_get(x_18, 3); x_22 = lean_nat_add(x_21, x_7); lean_ctor_set(x_18, 3, x_22); @@ -9451,70 +9451,70 @@ lean_ctor_set(x_4, 2, x_8); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_129 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_24); -if (lean_obj_tag(x_129) == 0) +x_128 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_24); +if (lean_obj_tag(x_128) == 0) { if (lean_obj_tag(x_2) == 1) { -uint8_t x_130; -x_130 = !lean_is_exclusive(x_129); -if (x_130 == 0) +uint8_t x_129; +x_129 = !lean_is_exclusive(x_128); +if (x_129 == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_131 = lean_ctor_get(x_129, 1); -x_132 = lean_ctor_get(x_129, 0); -lean_dec(x_132); -x_133 = lean_ctor_get(x_2, 0); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_130 = lean_ctor_get(x_128, 1); +x_131 = lean_ctor_get(x_128, 0); +lean_dec(x_131); +x_132 = lean_ctor_get(x_2, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_2, 1); lean_inc(x_133); -x_134 = lean_ctor_get(x_2, 1); -lean_inc(x_134); -x_135 = l_Lean_nullKind; -x_136 = lean_name_eq(x_133, x_135); -lean_dec(x_133); -if (x_136 == 0) +x_134 = l_Lean_nullKind; +x_135 = lean_name_eq(x_132, x_134); +lean_dec(x_132); +if (x_135 == 0) { -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -lean_dec(x_134); -lean_free_object(x_129); -x_137 = lean_st_ref_get(x_5, x_131); -x_138 = lean_ctor_get(x_137, 0); +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +lean_dec(x_133); +lean_free_object(x_128); +x_136 = lean_st_ref_get(x_5, x_130); +x_137 = lean_ctor_get(x_136, 0); +lean_inc(x_137); +x_138 = lean_ctor_get(x_136, 1); lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); +lean_dec(x_136); +x_139 = lean_ctor_get(x_137, 2); lean_inc(x_139); lean_dec(x_137); -x_140 = lean_ctor_get(x_138, 2); -lean_inc(x_140); -lean_dec(x_138); -x_141 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_140); +x_140 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_139); +lean_dec(x_139); +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); lean_dec(x_140); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); +x_142 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; +x_143 = l_Lean_checkTraceOption(x_141, x_142); lean_dec(x_141); -x_143 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; -x_144 = l_Lean_checkTraceOption(x_142, x_143); -lean_dec(x_142); -if (x_144 == 0) +if (x_143 == 0) { -x_25 = x_139; -goto block_128; +x_25 = x_138; +goto block_127; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_inc(x_2); -x_145 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_145, 0, x_2); -x_146 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_143, x_145, x_4, x_5, x_139); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); -lean_dec(x_146); -x_25 = x_147; -goto block_128; +x_144 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_144, 0, x_2); +x_145 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_142, x_144, x_4, x_5, x_138); +x_146 = lean_ctor_get(x_145, 1); +lean_inc(x_146); +lean_dec(x_145); +x_25 = x_146; +goto block_127; } } else { -lean_object* x_148; lean_object* x_149; uint8_t x_150; +lean_object* x_147; lean_object* x_148; uint8_t x_149; lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); @@ -9523,107 +9523,107 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_2); -x_148 = lean_array_get_size(x_134); -x_149 = lean_unsigned_to_nat(0u); -x_150 = lean_nat_dec_lt(x_149, x_148); -if (x_150 == 0) +x_147 = lean_array_get_size(x_133); +x_148 = lean_unsigned_to_nat(0u); +x_149 = lean_nat_dec_lt(x_148, x_147); +if (x_149 == 0) { -lean_object* x_151; -lean_dec(x_148); -lean_dec(x_134); +lean_object* x_150; +lean_dec(x_147); +lean_dec(x_133); lean_dec(x_4); lean_dec(x_5); -x_151 = lean_box(0); -lean_ctor_set(x_129, 0, x_151); -return x_129; +x_150 = lean_box(0); +lean_ctor_set(x_128, 0, x_150); +return x_128; } else { -uint8_t x_152; -x_152 = lean_nat_dec_le(x_148, x_148); -if (x_152 == 0) +uint8_t x_151; +x_151 = lean_nat_dec_le(x_147, x_147); +if (x_151 == 0) { -lean_object* x_153; -lean_dec(x_148); -lean_dec(x_134); +lean_object* x_152; +lean_dec(x_147); +lean_dec(x_133); lean_dec(x_4); lean_dec(x_5); -x_153 = lean_box(0); -lean_ctor_set(x_129, 0, x_153); -return x_129; +x_152 = lean_box(0); +lean_ctor_set(x_128, 0, x_152); +return x_128; } else { -size_t x_154; size_t x_155; lean_object* x_156; lean_object* x_157; -lean_free_object(x_129); -x_154 = 0; -x_155 = lean_usize_of_nat(x_148); -lean_dec(x_148); -x_156 = lean_box(0); -x_157 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_134, x_154, x_155, x_156, x_4, x_5, x_131); +size_t x_153; size_t x_154; lean_object* x_155; lean_object* x_156; +lean_free_object(x_128); +x_153 = 0; +x_154 = lean_usize_of_nat(x_147); +lean_dec(x_147); +x_155 = lean_box(0); +x_156 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_133, x_153, x_154, x_155, x_4, x_5, x_130); lean_dec(x_4); -lean_dec(x_134); -return x_157; +lean_dec(x_133); +return x_156; } } } } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; -x_158 = lean_ctor_get(x_129, 1); +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_157 = lean_ctor_get(x_128, 1); +lean_inc(x_157); +lean_dec(x_128); +x_158 = lean_ctor_get(x_2, 0); lean_inc(x_158); -lean_dec(x_129); -x_159 = lean_ctor_get(x_2, 0); +x_159 = lean_ctor_get(x_2, 1); lean_inc(x_159); -x_160 = lean_ctor_get(x_2, 1); -lean_inc(x_160); -x_161 = l_Lean_nullKind; -x_162 = lean_name_eq(x_159, x_161); -lean_dec(x_159); -if (x_162 == 0) +x_160 = l_Lean_nullKind; +x_161 = lean_name_eq(x_158, x_160); +lean_dec(x_158); +if (x_161 == 0) { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -lean_dec(x_160); -x_163 = lean_st_ref_get(x_5, x_158); -x_164 = lean_ctor_get(x_163, 0); +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +lean_dec(x_159); +x_162 = lean_st_ref_get(x_5, x_157); +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); +lean_dec(x_162); +x_165 = lean_ctor_get(x_163, 2); lean_inc(x_165); lean_dec(x_163); -x_166 = lean_ctor_get(x_164, 2); -lean_inc(x_166); -lean_dec(x_164); -x_167 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_166); +x_166 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_165); +lean_dec(x_165); +x_167 = lean_ctor_get(x_166, 1); +lean_inc(x_167); lean_dec(x_166); -x_168 = lean_ctor_get(x_167, 1); -lean_inc(x_168); +x_168 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; +x_169 = l_Lean_checkTraceOption(x_167, x_168); lean_dec(x_167); -x_169 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; -x_170 = l_Lean_checkTraceOption(x_168, x_169); -lean_dec(x_168); -if (x_170 == 0) +if (x_169 == 0) { -x_25 = x_165; -goto block_128; +x_25 = x_164; +goto block_127; } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_inc(x_2); -x_171 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_171, 0, x_2); -x_172 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_169, x_171, x_4, x_5, x_165); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_25 = x_173; -goto block_128; +x_170 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_170, 0, x_2); +x_171 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_168, x_170, x_4, x_5, x_164); +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +lean_dec(x_171); +x_25 = x_172; +goto block_127; } } else { -lean_object* x_174; lean_object* x_175; uint8_t x_176; +lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); @@ -9632,50 +9632,50 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_2); -x_174 = lean_array_get_size(x_160); -x_175 = lean_unsigned_to_nat(0u); -x_176 = lean_nat_dec_lt(x_175, x_174); -if (x_176 == 0) +x_173 = lean_array_get_size(x_159); +x_174 = lean_unsigned_to_nat(0u); +x_175 = lean_nat_dec_lt(x_174, x_173); +if (x_175 == 0) { -lean_object* x_177; lean_object* x_178; -lean_dec(x_174); -lean_dec(x_160); +lean_object* x_176; lean_object* x_177; +lean_dec(x_173); +lean_dec(x_159); lean_dec(x_4); lean_dec(x_5); -x_177 = lean_box(0); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_158); -return x_178; +x_176 = lean_box(0); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_157); +return x_177; } else { -uint8_t x_179; -x_179 = lean_nat_dec_le(x_174, x_174); -if (x_179 == 0) +uint8_t x_178; +x_178 = lean_nat_dec_le(x_173, x_173); +if (x_178 == 0) { -lean_object* x_180; lean_object* x_181; -lean_dec(x_174); -lean_dec(x_160); +lean_object* x_179; lean_object* x_180; +lean_dec(x_173); +lean_dec(x_159); lean_dec(x_4); lean_dec(x_5); -x_180 = lean_box(0); -x_181 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_158); -return x_181; +x_179 = lean_box(0); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_157); +return x_180; } else { -size_t x_182; size_t x_183; lean_object* x_184; lean_object* x_185; -x_182 = 0; -x_183 = lean_usize_of_nat(x_174); -lean_dec(x_174); -x_184 = lean_box(0); -x_185 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_160, x_182, x_183, x_184, x_4, x_5, x_158); +size_t x_181; size_t x_182; lean_object* x_183; lean_object* x_184; +x_181 = 0; +x_182 = lean_usize_of_nat(x_173); +lean_dec(x_173); +x_183 = lean_box(0); +x_184 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_159, x_181, x_182, x_183, x_4, x_5, x_157); lean_dec(x_4); -lean_dec(x_160); -return x_185; +lean_dec(x_159); +return x_184; } } } @@ -9683,7 +9683,7 @@ return x_185; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); @@ -9692,18 +9692,18 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_2); -x_186 = lean_ctor_get(x_129, 1); -lean_inc(x_186); -lean_dec(x_129); -x_187 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -x_188 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_187, x_4, x_5, x_186); +x_185 = lean_ctor_get(x_128, 1); +lean_inc(x_185); +lean_dec(x_128); +x_186 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; +x_187 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_186, x_4, x_5, x_185); lean_dec(x_5); -return x_188; +return x_187; } } else { -uint8_t x_189; +uint8_t x_188; lean_dec(x_4); lean_dec(x_21); lean_dec(x_14); @@ -9714,28 +9714,28 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_189 = !lean_is_exclusive(x_129); -if (x_189 == 0) +x_188 = !lean_is_exclusive(x_128); +if (x_188 == 0) { -return x_129; +return x_128; } else { -lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_190 = lean_ctor_get(x_129, 0); -x_191 = lean_ctor_get(x_129, 1); -lean_inc(x_191); +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_128, 0); +x_190 = lean_ctor_get(x_128, 1); lean_inc(x_190); -lean_dec(x_129); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -return x_192; +lean_inc(x_189); +lean_dec(x_128); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; } } -block_128: +block_127: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_53; lean_object* x_54; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_53; lean_object* x_54; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; x_26 = lean_st_ref_get(x_5, x_25); x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); @@ -9769,181 +9769,180 @@ lean_dec(x_66); x_69 = lean_ctor_get(x_67, 2); lean_inc(x_69); lean_dec(x_67); -x_70 = l_Lean_Elab_Command_getRef(x_4, x_5, x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc(x_72); -lean_dec(x_70); -x_73 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_72); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_st_ref_get(x_5, x_75); -x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_65); +x_70 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_70, 0, x_65); +x_71 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_71, 0, x_69); +lean_inc(x_65); +x_72 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_72, 0, x_65); +x_73 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_73, 0, x_70); +lean_ctor_set(x_73, 1, x_71); +lean_ctor_set(x_73, 2, x_72); +x_74 = x_73; +x_75 = l_Lean_Elab_Command_getRef(x_4, x_5, x_68); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_ctor_get(x_77, 4); +lean_dec(x_75); +x_78 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_77); +x_79 = lean_ctor_get(x_78, 0); lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_st_ref_get(x_5, x_78); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_st_ref_get(x_5, x_80); +x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_ctor_get(x_81, 3); +x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); lean_dec(x_81); -lean_inc(x_65); -x_84 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_84, 0, x_65); +x_84 = lean_ctor_get(x_82, 4); lean_inc(x_84); -x_85 = x_84; -lean_inc(x_65); -x_86 = lean_environment_main_module(x_65); -x_87 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_87, 0, x_69); -x_88 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_88, 0, x_65); -x_89 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_89, 0, x_84); -lean_ctor_set(x_89, 1, x_87); -lean_ctor_set(x_89, 2, x_88); -x_90 = x_89; +lean_dec(x_82); +x_85 = lean_st_ref_get(x_5, x_83); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_86, 3); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_environment_main_module(x_65); lean_inc(x_8); -x_91 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_91, 0, x_85); -lean_ctor_set(x_91, 1, x_86); -lean_ctor_set(x_91, 2, x_74); -lean_ctor_set(x_91, 3, x_8); -lean_ctor_set(x_91, 4, x_79); -lean_ctor_set(x_91, 5, x_71); -lean_ctor_set(x_91, 6, x_90); -x_92 = lean_box(0); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_83); -lean_ctor_set(x_93, 1, x_92); +lean_inc(x_74); +x_90 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_90, 0, x_74); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set(x_90, 2, x_79); +lean_ctor_set(x_90, 3, x_8); +lean_ctor_set(x_90, 4, x_84); +lean_ctor_set(x_90, 5, x_76); +lean_ctor_set(x_90, 6, x_74); +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_88); +lean_ctor_set(x_92, 1, x_91); lean_inc(x_2); -x_94 = l_Lean_Elab_getMacros(x_30, x_2, x_91, x_93); -if (lean_obj_tag(x_94) == 0) +x_93 = l_Lean_Elab_getMacros(x_30, x_2, x_90, x_92); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; lean_dec(x_29); -x_95 = lean_ctor_get(x_94, 0); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); +lean_dec(x_93); +x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_st_ref_take(x_5, x_82); -x_99 = lean_ctor_get(x_98, 0); +lean_dec(x_95); +x_97 = lean_st_ref_take(x_5, x_87); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = !lean_is_exclusive(x_99); -if (x_101 == 0) +lean_dec(x_97); +x_100 = !lean_is_exclusive(x_98); +if (x_100 == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_102 = lean_ctor_get(x_99, 3); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_101 = lean_ctor_get(x_98, 3); +lean_dec(x_101); +lean_ctor_set(x_98, 3, x_96); +x_102 = lean_st_ref_set(x_5, x_98, x_99); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); lean_dec(x_102); -lean_ctor_set(x_99, 3, x_97); -x_103 = lean_st_ref_set(x_5, x_99, x_100); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_95); -x_31 = x_105; -x_32 = x_104; +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_94); +x_31 = x_104; +x_32 = x_103; goto block_52; } else { -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; lean_object* x_116; -x_106 = lean_ctor_get(x_99, 0); -x_107 = lean_ctor_get(x_99, 1); -x_108 = lean_ctor_get(x_99, 2); -x_109 = lean_ctor_get(x_99, 4); -x_110 = lean_ctor_get(x_99, 5); -x_111 = lean_ctor_get(x_99, 6); -x_112 = lean_ctor_get(x_99, 7); -lean_inc(x_112); +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_105 = lean_ctor_get(x_98, 0); +x_106 = lean_ctor_get(x_98, 1); +x_107 = lean_ctor_get(x_98, 2); +x_108 = lean_ctor_get(x_98, 4); +x_109 = lean_ctor_get(x_98, 5); +x_110 = lean_ctor_get(x_98, 6); +x_111 = lean_ctor_get(x_98, 7); lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); lean_inc(x_108); lean_inc(x_107); lean_inc(x_106); -lean_dec(x_99); -x_113 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_113, 0, x_106); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_108); -lean_ctor_set(x_113, 3, x_97); -lean_ctor_set(x_113, 4, x_109); -lean_ctor_set(x_113, 5, x_110); -lean_ctor_set(x_113, 6, x_111); -lean_ctor_set(x_113, 7, x_112); -x_114 = lean_st_ref_set(x_5, x_113, x_100); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_116 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_116, 0, x_95); -x_31 = x_116; -x_32 = x_115; +lean_inc(x_105); +lean_dec(x_98); +x_112 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_112, 0, x_105); +lean_ctor_set(x_112, 1, x_106); +lean_ctor_set(x_112, 2, x_107); +lean_ctor_set(x_112, 3, x_96); +lean_ctor_set(x_112, 4, x_108); +lean_ctor_set(x_112, 5, x_109); +lean_ctor_set(x_112, 6, x_110); +lean_ctor_set(x_112, 7, x_111); +x_113 = lean_st_ref_set(x_5, x_112, x_99); +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +lean_dec(x_113); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_94); +x_31 = x_115; +x_32 = x_114; goto block_52; } } else { -lean_object* x_117; -x_117 = lean_ctor_get(x_94, 0); -lean_inc(x_117); -lean_dec(x_94); -if (lean_obj_tag(x_117) == 0) +lean_object* x_116; +x_116 = lean_ctor_get(x_93, 0); +lean_inc(x_116); +lean_dec(x_93); +if (lean_obj_tag(x_116) == 0) { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_118 = lean_ctor_get(x_117, 0); +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_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_116); +x_119 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_119, 0, x_118); +x_120 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_120, 0, x_119); -x_121 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_121, 0, x_120); lean_inc(x_4); -x_122 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_118, x_121, x_4, x_5, x_82); -lean_dec(x_118); -x_123 = lean_ctor_get(x_122, 0); +x_121 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_117, x_120, x_4, x_5, x_87); +lean_dec(x_117); +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_53 = x_123; -x_54 = x_124; +lean_dec(x_121); +x_53 = x_122; +x_54 = x_123; goto block_61; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_82); -x_126 = lean_ctor_get(x_125, 0); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_87); +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_53 = x_126; -x_54 = x_127; +lean_dec(x_124); +x_53 = x_125; +x_54 = x_126; goto block_61; } } @@ -10106,16 +10105,15 @@ goto block_52; } else { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_305; -x_193 = lean_ctor_get(x_18, 0); -x_194 = lean_ctor_get(x_18, 1); -x_195 = lean_ctor_get(x_18, 2); -x_196 = lean_ctor_get(x_18, 3); -x_197 = lean_ctor_get(x_18, 4); -x_198 = lean_ctor_get(x_18, 5); -x_199 = lean_ctor_get(x_18, 6); -x_200 = lean_ctor_get(x_18, 7); -lean_inc(x_200); +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_303; +x_192 = lean_ctor_get(x_18, 0); +x_193 = lean_ctor_get(x_18, 1); +x_194 = lean_ctor_get(x_18, 2); +x_195 = lean_ctor_get(x_18, 3); +x_196 = lean_ctor_get(x_18, 4); +x_197 = lean_ctor_get(x_18, 5); +x_198 = lean_ctor_get(x_18, 6); +x_199 = lean_ctor_get(x_18, 7); lean_inc(x_199); lean_inc(x_198); lean_inc(x_197); @@ -10123,190 +10121,191 @@ lean_inc(x_196); lean_inc(x_195); lean_inc(x_194); lean_inc(x_193); +lean_inc(x_192); lean_dec(x_18); -x_201 = lean_nat_add(x_196, x_7); -x_202 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_202, 0, x_193); -lean_ctor_set(x_202, 1, x_194); -lean_ctor_set(x_202, 2, x_195); -lean_ctor_set(x_202, 3, x_201); -lean_ctor_set(x_202, 4, x_197); -lean_ctor_set(x_202, 5, x_198); -lean_ctor_set(x_202, 6, x_199); -lean_ctor_set(x_202, 7, x_200); -x_203 = lean_st_ref_set(x_5, x_202, x_19); -x_204 = lean_ctor_get(x_203, 1); -lean_inc(x_204); -lean_dec(x_203); +x_200 = lean_nat_add(x_195, x_7); +x_201 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_201, 0, x_192); +lean_ctor_set(x_201, 1, x_193); +lean_ctor_set(x_201, 2, x_194); +lean_ctor_set(x_201, 3, x_200); +lean_ctor_set(x_201, 4, x_196); +lean_ctor_set(x_201, 5, x_197); +lean_ctor_set(x_201, 6, x_198); +lean_ctor_set(x_201, 7, x_199); +x_202 = lean_st_ref_set(x_5, x_201, x_19); +x_203 = lean_ctor_get(x_202, 1); +lean_inc(x_203); +lean_dec(x_202); lean_inc(x_14); -lean_inc(x_196); +lean_inc(x_195); lean_inc(x_13); lean_inc(x_12); lean_inc(x_8); lean_inc(x_11); lean_inc(x_10); -lean_ctor_set(x_4, 5, x_196); +lean_ctor_set(x_4, 5, x_195); lean_ctor_set(x_4, 2, x_8); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_305 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_204); -if (lean_obj_tag(x_305) == 0) +x_303 = l_Lean_Elab_Command_runLinters(x_2, x_4, x_5, x_203); +if (lean_obj_tag(x_303) == 0) { if (lean_obj_tag(x_2) == 1) { -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_306 = lean_ctor_get(x_305, 1); +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; +x_304 = lean_ctor_get(x_303, 1); +lean_inc(x_304); +if (lean_is_exclusive(x_303)) { + lean_ctor_release(x_303, 0); + lean_ctor_release(x_303, 1); + x_305 = x_303; +} else { + lean_dec_ref(x_303); + x_305 = lean_box(0); +} +x_306 = lean_ctor_get(x_2, 0); lean_inc(x_306); -if (lean_is_exclusive(x_305)) { - lean_ctor_release(x_305, 0); - lean_ctor_release(x_305, 1); - x_307 = x_305; -} else { - lean_dec_ref(x_305); - x_307 = lean_box(0); -} -x_308 = lean_ctor_get(x_2, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_2, 1); -lean_inc(x_309); -x_310 = l_Lean_nullKind; -x_311 = lean_name_eq(x_308, x_310); -lean_dec(x_308); -if (x_311 == 0) +x_307 = lean_ctor_get(x_2, 1); +lean_inc(x_307); +x_308 = l_Lean_nullKind; +x_309 = lean_name_eq(x_306, x_308); +lean_dec(x_306); +if (x_309 == 0) { -lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; -lean_dec(x_309); +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; lean_dec(x_307); -x_312 = lean_st_ref_get(x_5, x_306); -x_313 = lean_ctor_get(x_312, 0); -lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = lean_ctor_get(x_313, 2); -lean_inc(x_315); -lean_dec(x_313); -x_316 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_315); -lean_dec(x_315); -x_317 = lean_ctor_get(x_316, 1); -lean_inc(x_317); -lean_dec(x_316); -x_318 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; -x_319 = l_Lean_checkTraceOption(x_317, x_318); -lean_dec(x_317); -if (x_319 == 0) -{ -x_205 = x_314; -goto block_304; -} -else -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; -lean_inc(x_2); -x_320 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_320, 0, x_2); -x_321 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_318, x_320, x_4, x_5, x_314); -x_322 = lean_ctor_get(x_321, 1); -lean_inc(x_322); -lean_dec(x_321); -x_205 = x_322; -goto block_304; -} -} -else -{ -lean_object* x_323; lean_object* x_324; uint8_t x_325; -lean_dec(x_196); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_323 = lean_array_get_size(x_309); -x_324 = lean_unsigned_to_nat(0u); -x_325 = lean_nat_dec_lt(x_324, x_323); -if (x_325 == 0) -{ -lean_object* x_326; lean_object* x_327; -lean_dec(x_323); -lean_dec(x_309); -lean_dec(x_4); -lean_dec(x_5); -x_326 = lean_box(0); -if (lean_is_scalar(x_307)) { - x_327 = lean_alloc_ctor(0, 2, 0); -} else { - x_327 = x_307; -} -lean_ctor_set(x_327, 0, x_326); -lean_ctor_set(x_327, 1, x_306); -return x_327; -} -else -{ -uint8_t x_328; -x_328 = lean_nat_dec_le(x_323, x_323); -if (x_328 == 0) -{ -lean_object* x_329; lean_object* x_330; -lean_dec(x_323); -lean_dec(x_309); -lean_dec(x_4); -lean_dec(x_5); -x_329 = lean_box(0); -if (lean_is_scalar(x_307)) { - x_330 = lean_alloc_ctor(0, 2, 0); -} else { - x_330 = x_307; -} -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_306); -return x_330; -} -else -{ -size_t x_331; size_t x_332; lean_object* x_333; lean_object* x_334; -lean_dec(x_307); -x_331 = 0; -x_332 = lean_usize_of_nat(x_323); -lean_dec(x_323); -x_333 = lean_box(0); -x_334 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_309, x_331, x_332, x_333, x_4, x_5, x_306); -lean_dec(x_4); -lean_dec(x_309); -return x_334; -} -} -} -} -else -{ -lean_object* x_335; lean_object* x_336; lean_object* x_337; -lean_dec(x_196); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_2); -x_335 = lean_ctor_get(x_305, 1); -lean_inc(x_335); lean_dec(x_305); -x_336 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -x_337 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_336, x_4, x_5, x_335); -lean_dec(x_5); -return x_337; +x_310 = lean_st_ref_get(x_5, x_304); +x_311 = lean_ctor_get(x_310, 0); +lean_inc(x_311); +x_312 = lean_ctor_get(x_310, 1); +lean_inc(x_312); +lean_dec(x_310); +x_313 = lean_ctor_get(x_311, 2); +lean_inc(x_313); +lean_dec(x_311); +x_314 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_313); +lean_dec(x_313); +x_315 = lean_ctor_get(x_314, 1); +lean_inc(x_315); +lean_dec(x_314); +x_316 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; +x_317 = l_Lean_checkTraceOption(x_315, x_316); +lean_dec(x_315); +if (x_317 == 0) +{ +x_204 = x_312; +goto block_302; +} +else +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; +lean_inc(x_2); +x_318 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_318, 0, x_2); +x_319 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_316, x_318, x_4, x_5, x_312); +x_320 = lean_ctor_get(x_319, 1); +lean_inc(x_320); +lean_dec(x_319); +x_204 = x_320; +goto block_302; } } else { -lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; +lean_object* x_321; lean_object* x_322; uint8_t x_323; +lean_dec(x_195); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_321 = lean_array_get_size(x_307); +x_322 = lean_unsigned_to_nat(0u); +x_323 = lean_nat_dec_lt(x_322, x_321); +if (x_323 == 0) +{ +lean_object* x_324; lean_object* x_325; +lean_dec(x_321); +lean_dec(x_307); lean_dec(x_4); -lean_dec(x_196); +lean_dec(x_5); +x_324 = lean_box(0); +if (lean_is_scalar(x_305)) { + x_325 = lean_alloc_ctor(0, 2, 0); +} else { + x_325 = x_305; +} +lean_ctor_set(x_325, 0, x_324); +lean_ctor_set(x_325, 1, x_304); +return x_325; +} +else +{ +uint8_t x_326; +x_326 = lean_nat_dec_le(x_321, x_321); +if (x_326 == 0) +{ +lean_object* x_327; lean_object* x_328; +lean_dec(x_321); +lean_dec(x_307); +lean_dec(x_4); +lean_dec(x_5); +x_327 = lean_box(0); +if (lean_is_scalar(x_305)) { + x_328 = lean_alloc_ctor(0, 2, 0); +} else { + x_328 = x_305; +} +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_304); +return x_328; +} +else +{ +size_t x_329; size_t x_330; lean_object* x_331; lean_object* x_332; +lean_dec(x_305); +x_329 = 0; +x_330 = lean_usize_of_nat(x_321); +lean_dec(x_321); +x_331 = lean_box(0); +x_332 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_307, x_329, x_330, x_331, x_4, x_5, x_304); +lean_dec(x_4); +lean_dec(x_307); +return x_332; +} +} +} +} +else +{ +lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_dec(x_195); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +x_333 = lean_ctor_get(x_303, 1); +lean_inc(x_333); +lean_dec(x_303); +x_334 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; +x_335 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_334, x_4, x_5, x_333); +lean_dec(x_5); +return x_335; +} +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +lean_dec(x_4); +lean_dec(x_195); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -10315,329 +10314,328 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -x_338 = lean_ctor_get(x_305, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_305, 1); -lean_inc(x_339); -if (lean_is_exclusive(x_305)) { - lean_ctor_release(x_305, 0); - lean_ctor_release(x_305, 1); - x_340 = x_305; +x_336 = lean_ctor_get(x_303, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_303, 1); +lean_inc(x_337); +if (lean_is_exclusive(x_303)) { + lean_ctor_release(x_303, 0); + lean_ctor_release(x_303, 1); + x_338 = x_303; } else { - lean_dec_ref(x_305); - x_340 = lean_box(0); + lean_dec_ref(x_303); + x_338 = lean_box(0); } -if (lean_is_scalar(x_340)) { - x_341 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_338)) { + x_339 = lean_alloc_ctor(1, 2, 0); } else { - x_341 = x_340; + x_339 = x_338; } -lean_ctor_set(x_341, 0, x_338); -lean_ctor_set(x_341, 1, x_339); -return x_341; +lean_ctor_set(x_339, 0, x_336); +lean_ctor_set(x_339, 1, x_337); +return x_339; } -block_304: +block_302: { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_233; lean_object* x_234; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_206 = lean_st_ref_get(x_5, x_205); -x_207 = lean_ctor_get(x_206, 0); +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_232; lean_object* x_233; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_205 = lean_st_ref_get(x_5, x_204); +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_205, 1); lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_209 = x_206; +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_208 = x_205; } else { - lean_dec_ref(x_206); - x_209 = lean_box(0); + lean_dec_ref(x_205); + x_208 = lean_box(0); } -x_210 = lean_ctor_get(x_207, 0); -lean_inc(x_210); -x_242 = lean_st_ref_get(x_5, x_208); -x_243 = lean_ctor_get(x_242, 0); +x_209 = lean_ctor_get(x_206, 0); +lean_inc(x_209); +x_241 = lean_st_ref_get(x_5, x_207); +x_242 = lean_ctor_get(x_241, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_241, 1); lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); +lean_dec(x_241); +x_244 = lean_ctor_get(x_242, 0); lean_inc(x_244); lean_dec(x_242); -x_245 = lean_ctor_get(x_243, 0); -lean_inc(x_245); -lean_dec(x_243); -x_246 = l_Lean_Elab_Command_getScope___rarg(x_5, x_244); -x_247 = lean_ctor_get(x_246, 0); +x_245 = l_Lean_Elab_Command_getScope___rarg(x_5, x_243); +x_246 = lean_ctor_get(x_245, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_245, 1); lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); +lean_dec(x_245); +x_248 = lean_ctor_get(x_246, 2); lean_inc(x_248); lean_dec(x_246); -x_249 = lean_ctor_get(x_247, 2); -lean_inc(x_249); -lean_dec(x_247); -x_250 = l_Lean_Elab_Command_getRef(x_4, x_5, x_248); -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_252); -x_254 = lean_ctor_get(x_253, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_253, 1); +lean_inc(x_244); +x_249 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_249, 0, x_244); +x_250 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_250, 0, x_248); +lean_inc(x_244); +x_251 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_251, 0, x_244); +x_252 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_252, 0, x_249); +lean_ctor_set(x_252, 1, x_250); +lean_ctor_set(x_252, 2, x_251); +x_253 = x_252; +x_254 = l_Lean_Elab_Command_getRef(x_4, x_5, x_247); +x_255 = lean_ctor_get(x_254, 0); lean_inc(x_255); -lean_dec(x_253); -x_256 = lean_st_ref_get(x_5, x_255); -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_256, 1); +x_256 = lean_ctor_get(x_254, 1); +lean_inc(x_256); +lean_dec(x_254); +x_257 = l_Lean_Elab_Command_getCurrMacroScope(x_4, x_5, x_256); +x_258 = lean_ctor_get(x_257, 0); lean_inc(x_258); -lean_dec(x_256); -x_259 = lean_ctor_get(x_257, 4); +x_259 = lean_ctor_get(x_257, 1); lean_inc(x_259); lean_dec(x_257); -x_260 = lean_st_ref_get(x_5, x_258); +x_260 = lean_st_ref_get(x_5, x_259); x_261 = lean_ctor_get(x_260, 0); lean_inc(x_261); x_262 = lean_ctor_get(x_260, 1); lean_inc(x_262); lean_dec(x_260); -x_263 = lean_ctor_get(x_261, 3); +x_263 = lean_ctor_get(x_261, 4); lean_inc(x_263); lean_dec(x_261); -lean_inc(x_245); -x_264 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_264, 0, x_245); -lean_inc(x_264); -x_265 = x_264; -lean_inc(x_245); -x_266 = lean_environment_main_module(x_245); -x_267 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_267, 0, x_249); -x_268 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_268, 0, x_245); -x_269 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_269, 0, x_264); -lean_ctor_set(x_269, 1, x_267); -lean_ctor_set(x_269, 2, x_268); -x_270 = x_269; +x_264 = lean_st_ref_get(x_5, x_262); +x_265 = lean_ctor_get(x_264, 0); +lean_inc(x_265); +x_266 = lean_ctor_get(x_264, 1); +lean_inc(x_266); +lean_dec(x_264); +x_267 = lean_ctor_get(x_265, 3); +lean_inc(x_267); +lean_dec(x_265); +x_268 = lean_environment_main_module(x_244); lean_inc(x_8); -x_271 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_271, 0, x_265); -lean_ctor_set(x_271, 1, x_266); -lean_ctor_set(x_271, 2, x_254); -lean_ctor_set(x_271, 3, x_8); -lean_ctor_set(x_271, 4, x_259); -lean_ctor_set(x_271, 5, x_251); -lean_ctor_set(x_271, 6, x_270); -x_272 = lean_box(0); -x_273 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_273, 0, x_263); -lean_ctor_set(x_273, 1, x_272); +lean_inc(x_253); +x_269 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_269, 0, x_253); +lean_ctor_set(x_269, 1, x_268); +lean_ctor_set(x_269, 2, x_258); +lean_ctor_set(x_269, 3, x_8); +lean_ctor_set(x_269, 4, x_263); +lean_ctor_set(x_269, 5, x_255); +lean_ctor_set(x_269, 6, x_253); +x_270 = lean_box(0); +x_271 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_271, 0, x_267); +lean_ctor_set(x_271, 1, x_270); lean_inc(x_2); -x_274 = l_Lean_Elab_getMacros(x_210, x_2, x_271, x_273); -if (lean_obj_tag(x_274) == 0) +x_272 = l_Lean_Elab_getMacros(x_209, x_2, x_269, x_271); +if (lean_obj_tag(x_272) == 0) { -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec(x_209); +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; +lean_dec(x_208); +x_273 = lean_ctor_get(x_272, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_272, 1); +lean_inc(x_274); +lean_dec(x_272); x_275 = lean_ctor_get(x_274, 0); lean_inc(x_275); -x_276 = lean_ctor_get(x_274, 1); -lean_inc(x_276); lean_dec(x_274); +x_276 = lean_st_ref_take(x_5, x_266); x_277 = lean_ctor_get(x_276, 0); lean_inc(x_277); +x_278 = lean_ctor_get(x_276, 1); +lean_inc(x_278); lean_dec(x_276); -x_278 = lean_st_ref_take(x_5, x_262); -x_279 = lean_ctor_get(x_278, 0); +x_279 = lean_ctor_get(x_277, 0); lean_inc(x_279); -x_280 = lean_ctor_get(x_278, 1); +x_280 = lean_ctor_get(x_277, 1); lean_inc(x_280); -lean_dec(x_278); -x_281 = lean_ctor_get(x_279, 0); +x_281 = lean_ctor_get(x_277, 2); lean_inc(x_281); -x_282 = lean_ctor_get(x_279, 1); +x_282 = lean_ctor_get(x_277, 4); lean_inc(x_282); -x_283 = lean_ctor_get(x_279, 2); +x_283 = lean_ctor_get(x_277, 5); lean_inc(x_283); -x_284 = lean_ctor_get(x_279, 4); +x_284 = lean_ctor_get(x_277, 6); lean_inc(x_284); -x_285 = lean_ctor_get(x_279, 5); +x_285 = lean_ctor_get(x_277, 7); lean_inc(x_285); -x_286 = lean_ctor_get(x_279, 6); -lean_inc(x_286); -x_287 = lean_ctor_get(x_279, 7); -lean_inc(x_287); -if (lean_is_exclusive(x_279)) { - lean_ctor_release(x_279, 0); - lean_ctor_release(x_279, 1); - lean_ctor_release(x_279, 2); - lean_ctor_release(x_279, 3); - lean_ctor_release(x_279, 4); - lean_ctor_release(x_279, 5); - lean_ctor_release(x_279, 6); - lean_ctor_release(x_279, 7); - x_288 = x_279; +if (lean_is_exclusive(x_277)) { + lean_ctor_release(x_277, 0); + lean_ctor_release(x_277, 1); + lean_ctor_release(x_277, 2); + lean_ctor_release(x_277, 3); + lean_ctor_release(x_277, 4); + lean_ctor_release(x_277, 5); + lean_ctor_release(x_277, 6); + lean_ctor_release(x_277, 7); + x_286 = x_277; } else { - lean_dec_ref(x_279); - x_288 = lean_box(0); + lean_dec_ref(x_277); + x_286 = lean_box(0); } -if (lean_is_scalar(x_288)) { - x_289 = lean_alloc_ctor(0, 8, 0); +if (lean_is_scalar(x_286)) { + x_287 = lean_alloc_ctor(0, 8, 0); } else { - x_289 = x_288; + x_287 = x_286; } -lean_ctor_set(x_289, 0, x_281); -lean_ctor_set(x_289, 1, x_282); -lean_ctor_set(x_289, 2, x_283); -lean_ctor_set(x_289, 3, x_277); -lean_ctor_set(x_289, 4, x_284); -lean_ctor_set(x_289, 5, x_285); -lean_ctor_set(x_289, 6, x_286); -lean_ctor_set(x_289, 7, x_287); -x_290 = lean_st_ref_set(x_5, x_289, x_280); -x_291 = lean_ctor_get(x_290, 1); +lean_ctor_set(x_287, 0, x_279); +lean_ctor_set(x_287, 1, x_280); +lean_ctor_set(x_287, 2, x_281); +lean_ctor_set(x_287, 3, x_275); +lean_ctor_set(x_287, 4, x_282); +lean_ctor_set(x_287, 5, x_283); +lean_ctor_set(x_287, 6, x_284); +lean_ctor_set(x_287, 7, x_285); +x_288 = lean_st_ref_set(x_5, x_287, x_278); +x_289 = lean_ctor_get(x_288, 1); +lean_inc(x_289); +lean_dec(x_288); +x_290 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_290, 0, x_273); +x_210 = x_290; +x_211 = x_289; +goto block_231; +} +else +{ +lean_object* x_291; +x_291 = lean_ctor_get(x_272, 0); lean_inc(x_291); -lean_dec(x_290); -x_292 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_292, 0, x_275); -x_211 = x_292; -x_212 = x_291; -goto block_232; -} -else +lean_dec(x_272); +if (lean_obj_tag(x_291) == 0) { -lean_object* x_293; -x_293 = lean_ctor_get(x_274, 0); +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_291, 1); lean_inc(x_293); -lean_dec(x_274); -if (lean_obj_tag(x_293) == 0) -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); -lean_inc(x_295); -lean_dec(x_293); -x_296 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_296, 0, x_295); -x_297 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_297, 0, x_296); +lean_dec(x_291); +x_294 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_294, 0, x_293); +x_295 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_295, 0, x_294); lean_inc(x_4); -x_298 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_294, x_297, x_4, x_5, x_262); -lean_dec(x_294); -x_299 = lean_ctor_get(x_298, 0); -lean_inc(x_299); -x_300 = lean_ctor_get(x_298, 1); +x_296 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_292, x_295, x_4, x_5, x_266); +lean_dec(x_292); +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_296, 1); +lean_inc(x_298); +lean_dec(x_296); +x_232 = x_297; +x_233 = x_298; +goto block_240; +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_299 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_266); +x_300 = lean_ctor_get(x_299, 0); lean_inc(x_300); -lean_dec(x_298); -x_233 = x_299; -x_234 = x_300; -goto block_241; -} -else -{ -lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_301 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_262); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_233 = x_302; -x_234 = x_303; -goto block_241; +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +lean_dec(x_299); +x_232 = x_300; +x_233 = x_301; +goto block_240; } } -block_232: +block_231: { -if (lean_obj_tag(x_211) == 0) +if (lean_obj_tag(x_210) == 0) { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_dec(x_196); +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +lean_dec(x_195); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); -x_213 = l_Lean_Elab_Command_commandElabAttribute; -x_214 = lean_ctor_get(x_213, 2); -lean_inc(x_214); -x_215 = l_Lean_ScopedEnvExtension_getState___at_Lean_Elab_Command_elabCommand___spec__6(x_214, x_210); -lean_dec(x_210); +x_212 = l_Lean_Elab_Command_commandElabAttribute; +x_213 = lean_ctor_get(x_212, 2); +lean_inc(x_213); +x_214 = l_Lean_ScopedEnvExtension_getState___at_Lean_Elab_Command_elabCommand___spec__6(x_213, x_209); +lean_dec(x_209); +lean_dec(x_213); +x_215 = lean_ctor_get(x_214, 1); +lean_inc(x_215); lean_dec(x_214); -x_216 = lean_ctor_get(x_215, 1); -lean_inc(x_216); -lean_dec(x_215); lean_inc(x_2); -x_217 = l_Lean_Syntax_getKind(x_2); -x_218 = l_Lean_SMap_find_x3f___at_Lean_Elab_Command_elabCommand___spec__7(x_216, x_217); -if (lean_obj_tag(x_218) == 0) +x_216 = l_Lean_Syntax_getKind(x_2); +x_217 = l_Lean_SMap_find_x3f___at_Lean_Elab_Command_elabCommand___spec__7(x_215, x_216); +if (lean_obj_tag(x_217) == 0) { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; -lean_dec(x_207); +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +lean_dec(x_206); lean_dec(x_2); -x_219 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_219, 0, x_217); -x_220 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; -x_221 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_219); -x_222 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4; -x_223 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_223, 0, x_221); -lean_ctor_set(x_223, 1, x_222); -x_224 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_223, x_4, x_5, x_212); +x_218 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_218, 0, x_216); +x_219 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; +x_220 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_218); +x_221 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4; +x_222 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +x_223 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_222, x_4, x_5, x_211); lean_dec(x_5); -return x_224; +return x_223; } else { -lean_object* x_225; lean_object* x_226; +lean_object* x_224; lean_object* x_225; +lean_dec(x_216); +x_224 = lean_ctor_get(x_217, 0); +lean_inc(x_224); lean_dec(x_217); -x_225 = lean_ctor_get(x_218, 0); -lean_inc(x_225); -lean_dec(x_218); -x_226 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_207, x_2, x_225, x_4, x_5, x_212); -return x_226; +x_225 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_206, x_2, x_224, x_4, x_5, x_211); +return x_225; } } else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -lean_dec(x_210); -lean_dec(x_207); +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +lean_dec(x_209); +lean_dec(x_206); lean_dec(x_4); -x_227 = lean_ctor_get(x_211, 0); -lean_inc(x_227); -lean_dec(x_211); -lean_inc(x_227); -x_228 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_228, 0, x_2); -lean_ctor_set(x_228, 1, x_227); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_13); -x_230 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_230, 0, x_10); -lean_ctor_set(x_230, 1, x_11); -lean_ctor_set(x_230, 2, x_8); -lean_ctor_set(x_230, 3, x_12); -lean_ctor_set(x_230, 4, x_229); -lean_ctor_set(x_230, 5, x_196); -lean_ctor_set(x_230, 6, x_14); -x_231 = l_Lean_Elab_Command_elabCommand(x_227, x_230, x_5, x_212); -lean_dec(x_230); -return x_231; +x_226 = lean_ctor_get(x_210, 0); +lean_inc(x_226); +lean_dec(x_210); +lean_inc(x_226); +x_227 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_227, 0, x_2); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_227); +lean_ctor_set(x_228, 1, x_13); +x_229 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_229, 0, x_10); +lean_ctor_set(x_229, 1, x_11); +lean_ctor_set(x_229, 2, x_8); +lean_ctor_set(x_229, 3, x_12); +lean_ctor_set(x_229, 4, x_228); +lean_ctor_set(x_229, 5, x_195); +lean_ctor_set(x_229, 6, x_14); +x_230 = l_Lean_Elab_Command_elabCommand(x_226, x_229, x_5, x_211); +lean_dec(x_229); +return x_230; } } -block_241: +block_240: { -if (lean_obj_tag(x_233) == 0) +if (lean_obj_tag(x_232) == 0) { -lean_object* x_235; -lean_dec(x_210); -lean_dec(x_207); +lean_object* x_234; +lean_dec(x_209); +lean_dec(x_206); lean_dec(x_4); -lean_dec(x_196); +lean_dec(x_195); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -10646,58 +10644,58 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_5); lean_dec(x_2); -if (lean_is_scalar(x_209)) { - x_235 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_208)) { + x_234 = lean_alloc_ctor(1, 2, 0); } else { - x_235 = x_209; - lean_ctor_set_tag(x_235, 1); + x_234 = x_208; + lean_ctor_set_tag(x_234, 1); } -lean_ctor_set(x_235, 0, x_233); -lean_ctor_set(x_235, 1, x_234); -return x_235; +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +return x_234; } else { -lean_object* x_236; lean_object* x_237; uint8_t x_238; -x_236 = lean_ctor_get(x_233, 0); -lean_inc(x_236); -x_237 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_238 = lean_nat_dec_eq(x_237, x_236); -lean_dec(x_236); -if (x_238 == 0) +lean_object* x_235; lean_object* x_236; uint8_t x_237; +x_235 = lean_ctor_get(x_232, 0); +lean_inc(x_235); +x_236 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_237 = lean_nat_dec_eq(x_236, x_235); +lean_dec(x_235); +if (x_237 == 0) +{ +lean_object* x_238; +lean_dec(x_209); +lean_dec(x_206); +lean_dec(x_4); +lean_dec(x_195); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +if (lean_is_scalar(x_208)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_208; + lean_ctor_set_tag(x_238, 1); +} +lean_ctor_set(x_238, 0, x_232); +lean_ctor_set(x_238, 1, x_233); +return x_238; +} +else { lean_object* x_239; -lean_dec(x_210); -lean_dec(x_207); -lean_dec(x_4); -lean_dec(x_196); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -if (lean_is_scalar(x_209)) { - x_239 = lean_alloc_ctor(1, 2, 0); -} else { - x_239 = x_209; - lean_ctor_set_tag(x_239, 1); -} -lean_ctor_set(x_239, 0, x_233); -lean_ctor_set(x_239, 1, x_234); -return x_239; -} -else -{ -lean_object* x_240; -lean_dec(x_233); -lean_dec(x_209); -x_240 = lean_box(0); -x_211 = x_240; -x_212 = x_234; -goto block_232; +lean_dec(x_232); +lean_dec(x_208); +x_239 = lean_box(0); +x_210 = x_239; +x_211 = x_233; +goto block_231; } } } @@ -10706,638 +10704,637 @@ goto block_232; } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_464; -x_342 = lean_ctor_get(x_4, 0); -x_343 = lean_ctor_get(x_4, 1); -x_344 = lean_ctor_get(x_4, 3); -x_345 = lean_ctor_get(x_4, 4); -x_346 = lean_ctor_get(x_4, 6); -lean_inc(x_346); -lean_inc(x_345); +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_461; +x_340 = lean_ctor_get(x_4, 0); +x_341 = lean_ctor_get(x_4, 1); +x_342 = lean_ctor_get(x_4, 3); +x_343 = lean_ctor_get(x_4, 4); +x_344 = lean_ctor_get(x_4, 6); lean_inc(x_344); lean_inc(x_343); lean_inc(x_342); +lean_inc(x_341); +lean_inc(x_340); lean_dec(x_4); -x_347 = lean_st_ref_take(x_5, x_6); -x_348 = lean_ctor_get(x_347, 0); +x_345 = lean_st_ref_take(x_5, x_6); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); +lean_inc(x_347); +lean_dec(x_345); +x_348 = lean_ctor_get(x_346, 0); lean_inc(x_348); -x_349 = lean_ctor_get(x_347, 1); +x_349 = lean_ctor_get(x_346, 1); lean_inc(x_349); -lean_dec(x_347); -x_350 = lean_ctor_get(x_348, 0); +x_350 = lean_ctor_get(x_346, 2); lean_inc(x_350); -x_351 = lean_ctor_get(x_348, 1); +x_351 = lean_ctor_get(x_346, 3); lean_inc(x_351); -x_352 = lean_ctor_get(x_348, 2); +x_352 = lean_ctor_get(x_346, 4); lean_inc(x_352); -x_353 = lean_ctor_get(x_348, 3); +x_353 = lean_ctor_get(x_346, 5); lean_inc(x_353); -x_354 = lean_ctor_get(x_348, 4); +x_354 = lean_ctor_get(x_346, 6); lean_inc(x_354); -x_355 = lean_ctor_get(x_348, 5); +x_355 = lean_ctor_get(x_346, 7); lean_inc(x_355); -x_356 = lean_ctor_get(x_348, 6); -lean_inc(x_356); -x_357 = lean_ctor_get(x_348, 7); -lean_inc(x_357); -if (lean_is_exclusive(x_348)) { - lean_ctor_release(x_348, 0); - lean_ctor_release(x_348, 1); - lean_ctor_release(x_348, 2); - lean_ctor_release(x_348, 3); - lean_ctor_release(x_348, 4); - lean_ctor_release(x_348, 5); - lean_ctor_release(x_348, 6); - lean_ctor_release(x_348, 7); - x_358 = x_348; +if (lean_is_exclusive(x_346)) { + lean_ctor_release(x_346, 0); + lean_ctor_release(x_346, 1); + lean_ctor_release(x_346, 2); + lean_ctor_release(x_346, 3); + lean_ctor_release(x_346, 4); + lean_ctor_release(x_346, 5); + lean_ctor_release(x_346, 6); + lean_ctor_release(x_346, 7); + x_356 = x_346; } else { - lean_dec_ref(x_348); - x_358 = lean_box(0); + lean_dec_ref(x_346); + x_356 = lean_box(0); } -x_359 = lean_nat_add(x_353, x_7); -if (lean_is_scalar(x_358)) { - x_360 = lean_alloc_ctor(0, 8, 0); +x_357 = lean_nat_add(x_351, x_7); +if (lean_is_scalar(x_356)) { + x_358 = lean_alloc_ctor(0, 8, 0); } else { - x_360 = x_358; + x_358 = x_356; } -lean_ctor_set(x_360, 0, x_350); -lean_ctor_set(x_360, 1, x_351); -lean_ctor_set(x_360, 2, x_352); -lean_ctor_set(x_360, 3, x_359); -lean_ctor_set(x_360, 4, x_354); -lean_ctor_set(x_360, 5, x_355); -lean_ctor_set(x_360, 6, x_356); -lean_ctor_set(x_360, 7, x_357); -x_361 = lean_st_ref_set(x_5, x_360, x_349); -x_362 = lean_ctor_get(x_361, 1); -lean_inc(x_362); -lean_dec(x_361); -lean_inc(x_346); -lean_inc(x_353); -lean_inc(x_345); +lean_ctor_set(x_358, 0, x_348); +lean_ctor_set(x_358, 1, x_349); +lean_ctor_set(x_358, 2, x_350); +lean_ctor_set(x_358, 3, x_357); +lean_ctor_set(x_358, 4, x_352); +lean_ctor_set(x_358, 5, x_353); +lean_ctor_set(x_358, 6, x_354); +lean_ctor_set(x_358, 7, x_355); +x_359 = lean_st_ref_set(x_5, x_358, x_347); +x_360 = lean_ctor_get(x_359, 1); +lean_inc(x_360); +lean_dec(x_359); lean_inc(x_344); -lean_inc(x_8); +lean_inc(x_351); lean_inc(x_343); lean_inc(x_342); -x_363 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_363, 0, x_342); -lean_ctor_set(x_363, 1, x_343); -lean_ctor_set(x_363, 2, x_8); -lean_ctor_set(x_363, 3, x_344); -lean_ctor_set(x_363, 4, x_345); -lean_ctor_set(x_363, 5, x_353); -lean_ctor_set(x_363, 6, x_346); +lean_inc(x_8); +lean_inc(x_341); +lean_inc(x_340); +x_361 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_361, 0, x_340); +lean_ctor_set(x_361, 1, x_341); +lean_ctor_set(x_361, 2, x_8); +lean_ctor_set(x_361, 3, x_342); +lean_ctor_set(x_361, 4, x_343); +lean_ctor_set(x_361, 5, x_351); +lean_ctor_set(x_361, 6, x_344); lean_inc(x_5); -lean_inc(x_363); +lean_inc(x_361); lean_inc(x_2); -x_464 = l_Lean_Elab_Command_runLinters(x_2, x_363, x_5, x_362); -if (lean_obj_tag(x_464) == 0) +x_461 = l_Lean_Elab_Command_runLinters(x_2, x_361, x_5, x_360); +if (lean_obj_tag(x_461) == 0) { if (lean_obj_tag(x_2) == 1) { -lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; -x_465 = lean_ctor_get(x_464, 1); -lean_inc(x_465); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - x_466 = x_464; +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; uint8_t x_467; +x_462 = lean_ctor_get(x_461, 1); +lean_inc(x_462); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_463 = x_461; } else { - lean_dec_ref(x_464); - x_466 = lean_box(0); + lean_dec_ref(x_461); + x_463 = lean_box(0); } -x_467 = lean_ctor_get(x_2, 0); -lean_inc(x_467); -x_468 = lean_ctor_get(x_2, 1); -lean_inc(x_468); -x_469 = l_Lean_nullKind; -x_470 = lean_name_eq(x_467, x_469); -lean_dec(x_467); -if (x_470 == 0) +x_464 = lean_ctor_get(x_2, 0); +lean_inc(x_464); +x_465 = lean_ctor_get(x_2, 1); +lean_inc(x_465); +x_466 = l_Lean_nullKind; +x_467 = lean_name_eq(x_464, x_466); +lean_dec(x_464); +if (x_467 == 0) { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; uint8_t x_478; +lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; uint8_t x_475; +lean_dec(x_465); +lean_dec(x_463); +x_468 = lean_st_ref_get(x_5, x_462); +x_469 = lean_ctor_get(x_468, 0); +lean_inc(x_469); +x_470 = lean_ctor_get(x_468, 1); +lean_inc(x_470); lean_dec(x_468); -lean_dec(x_466); -x_471 = lean_st_ref_get(x_5, x_465); -x_472 = lean_ctor_get(x_471, 0); -lean_inc(x_472); -x_473 = lean_ctor_get(x_471, 1); -lean_inc(x_473); +x_471 = lean_ctor_get(x_469, 2); +lean_inc(x_471); +lean_dec(x_469); +x_472 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_471); lean_dec(x_471); -x_474 = lean_ctor_get(x_472, 2); -lean_inc(x_474); +x_473 = lean_ctor_get(x_472, 1); +lean_inc(x_473); lean_dec(x_472); -x_475 = l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(x_474); -lean_dec(x_474); -x_476 = lean_ctor_get(x_475, 1); -lean_inc(x_476); -lean_dec(x_475); -x_477 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; -x_478 = l_Lean_checkTraceOption(x_476, x_477); -lean_dec(x_476); -if (x_478 == 0) +x_474 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_1444____closed__1; +x_475 = l_Lean_checkTraceOption(x_473, x_474); +lean_dec(x_473); +if (x_475 == 0) { -x_364 = x_473; -goto block_463; +x_362 = x_470; +goto block_460; } else { -lean_object* x_479; lean_object* x_480; lean_object* x_481; +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_inc(x_2); -x_479 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_479, 0, x_2); -x_480 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_477, x_479, x_363, x_5, x_473); -x_481 = lean_ctor_get(x_480, 1); -lean_inc(x_481); -lean_dec(x_480); -x_364 = x_481; -goto block_463; +x_476 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_476, 0, x_2); +x_477 = l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__16(x_474, x_476, x_361, x_5, x_470); +x_478 = lean_ctor_get(x_477, 1); +lean_inc(x_478); +lean_dec(x_477); +x_362 = x_478; +goto block_460; } } else { -lean_object* x_482; lean_object* x_483; uint8_t x_484; -lean_dec(x_353); -lean_dec(x_346); -lean_dec(x_345); +lean_object* x_479; lean_object* x_480; uint8_t x_481; +lean_dec(x_351); lean_dec(x_344); lean_dec(x_343); lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_340); lean_dec(x_8); lean_dec(x_2); -x_482 = lean_array_get_size(x_468); -x_483 = lean_unsigned_to_nat(0u); -x_484 = lean_nat_dec_lt(x_483, x_482); +x_479 = lean_array_get_size(x_465); +x_480 = lean_unsigned_to_nat(0u); +x_481 = lean_nat_dec_lt(x_480, x_479); +if (x_481 == 0) +{ +lean_object* x_482; lean_object* x_483; +lean_dec(x_479); +lean_dec(x_465); +lean_dec(x_361); +lean_dec(x_5); +x_482 = lean_box(0); +if (lean_is_scalar(x_463)) { + x_483 = lean_alloc_ctor(0, 2, 0); +} else { + x_483 = x_463; +} +lean_ctor_set(x_483, 0, x_482); +lean_ctor_set(x_483, 1, x_462); +return x_483; +} +else +{ +uint8_t x_484; +x_484 = lean_nat_dec_le(x_479, x_479); if (x_484 == 0) { lean_object* x_485; lean_object* x_486; -lean_dec(x_482); -lean_dec(x_468); -lean_dec(x_363); +lean_dec(x_479); +lean_dec(x_465); +lean_dec(x_361); lean_dec(x_5); x_485 = lean_box(0); -if (lean_is_scalar(x_466)) { +if (lean_is_scalar(x_463)) { x_486 = lean_alloc_ctor(0, 2, 0); } else { - x_486 = x_466; + x_486 = x_463; } lean_ctor_set(x_486, 0, x_485); -lean_ctor_set(x_486, 1, x_465); +lean_ctor_set(x_486, 1, x_462); return x_486; } else { -uint8_t x_487; -x_487 = lean_nat_dec_le(x_482, x_482); -if (x_487 == 0) -{ -lean_object* x_488; lean_object* x_489; -lean_dec(x_482); -lean_dec(x_468); -lean_dec(x_363); -lean_dec(x_5); -x_488 = lean_box(0); -if (lean_is_scalar(x_466)) { - x_489 = lean_alloc_ctor(0, 2, 0); -} else { - x_489 = x_466; +size_t x_487; size_t x_488; lean_object* x_489; lean_object* x_490; +lean_dec(x_463); +x_487 = 0; +x_488 = lean_usize_of_nat(x_479); +lean_dec(x_479); +x_489 = lean_box(0); +x_490 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_465, x_487, x_488, x_489, x_361, x_5, x_462); +lean_dec(x_361); +lean_dec(x_465); +return x_490; +} +} } -lean_ctor_set(x_489, 0, x_488); -lean_ctor_set(x_489, 1, x_465); -return x_489; } else { -size_t x_490; size_t x_491; lean_object* x_492; lean_object* x_493; -lean_dec(x_466); -x_490 = 0; -x_491 = lean_usize_of_nat(x_482); -lean_dec(x_482); -x_492 = lean_box(0); -x_493 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__17(x_468, x_490, x_491, x_492, x_363, x_5, x_465); -lean_dec(x_363); -lean_dec(x_468); +lean_object* x_491; lean_object* x_492; lean_object* x_493; +lean_dec(x_351); +lean_dec(x_344); +lean_dec(x_343); +lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_340); +lean_dec(x_8); +lean_dec(x_2); +x_491 = lean_ctor_get(x_461, 1); +lean_inc(x_491); +lean_dec(x_461); +x_492 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; +x_493 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_492, x_361, x_5, x_491); +lean_dec(x_5); return x_493; } } -} -} else { -lean_object* x_494; lean_object* x_495; lean_object* x_496; -lean_dec(x_353); -lean_dec(x_346); -lean_dec(x_345); +lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; +lean_dec(x_361); +lean_dec(x_351); lean_dec(x_344); lean_dec(x_343); lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_340); lean_dec(x_8); +lean_dec(x_5); lean_dec(x_2); -x_494 = lean_ctor_get(x_464, 1); +x_494 = lean_ctor_get(x_461, 0); lean_inc(x_494); -lean_dec(x_464); -x_495 = l_Lean_Elab_Tactic_evalTacticAux___lambda__1___closed__2; -x_496 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_495, x_363, x_5, x_494); -lean_dec(x_5); -return x_496; -} -} -else -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -lean_dec(x_363); -lean_dec(x_353); -lean_dec(x_346); -lean_dec(x_345); -lean_dec(x_344); -lean_dec(x_343); -lean_dec(x_342); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -x_497 = lean_ctor_get(x_464, 0); -lean_inc(x_497); -x_498 = lean_ctor_get(x_464, 1); -lean_inc(x_498); -if (lean_is_exclusive(x_464)) { - lean_ctor_release(x_464, 0); - lean_ctor_release(x_464, 1); - x_499 = x_464; +x_495 = lean_ctor_get(x_461, 1); +lean_inc(x_495); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_496 = x_461; } else { - lean_dec_ref(x_464); - x_499 = lean_box(0); + lean_dec_ref(x_461); + x_496 = lean_box(0); } -if (lean_is_scalar(x_499)) { - x_500 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_496)) { + x_497 = lean_alloc_ctor(1, 2, 0); } else { - x_500 = x_499; + x_497 = x_496; } -lean_ctor_set(x_500, 0, x_497); -lean_ctor_set(x_500, 1, x_498); -return x_500; +lean_ctor_set(x_497, 0, x_494); +lean_ctor_set(x_497, 1, x_495); +return x_497; } -block_463: +block_460: { -lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_392; lean_object* x_393; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_365 = lean_st_ref_get(x_5, x_364); -x_366 = lean_ctor_get(x_365, 0); -lean_inc(x_366); -x_367 = lean_ctor_get(x_365, 1); +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_390; lean_object* x_391; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; +x_363 = lean_st_ref_get(x_5, x_362); +x_364 = lean_ctor_get(x_363, 0); +lean_inc(x_364); +x_365 = lean_ctor_get(x_363, 1); +lean_inc(x_365); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + x_366 = x_363; +} else { + lean_dec_ref(x_363); + x_366 = lean_box(0); +} +x_367 = lean_ctor_get(x_364, 0); lean_inc(x_367); -if (lean_is_exclusive(x_365)) { - lean_ctor_release(x_365, 0); - lean_ctor_release(x_365, 1); - x_368 = x_365; -} else { - lean_dec_ref(x_365); - x_368 = lean_box(0); -} -x_369 = lean_ctor_get(x_366, 0); -lean_inc(x_369); -x_401 = lean_st_ref_get(x_5, x_367); -x_402 = lean_ctor_get(x_401, 0); +x_399 = lean_st_ref_get(x_5, x_365); +x_400 = lean_ctor_get(x_399, 0); +lean_inc(x_400); +x_401 = lean_ctor_get(x_399, 1); +lean_inc(x_401); +lean_dec(x_399); +x_402 = lean_ctor_get(x_400, 0); lean_inc(x_402); -x_403 = lean_ctor_get(x_401, 1); -lean_inc(x_403); -lean_dec(x_401); -x_404 = lean_ctor_get(x_402, 0); +lean_dec(x_400); +x_403 = l_Lean_Elab_Command_getScope___rarg(x_5, x_401); +x_404 = lean_ctor_get(x_403, 0); lean_inc(x_404); -lean_dec(x_402); -x_405 = l_Lean_Elab_Command_getScope___rarg(x_5, x_403); -x_406 = lean_ctor_get(x_405, 0); +x_405 = lean_ctor_get(x_403, 1); +lean_inc(x_405); +lean_dec(x_403); +x_406 = lean_ctor_get(x_404, 2); lean_inc(x_406); -x_407 = lean_ctor_get(x_405, 1); -lean_inc(x_407); -lean_dec(x_405); -x_408 = lean_ctor_get(x_406, 2); -lean_inc(x_408); -lean_dec(x_406); -x_409 = l_Lean_Elab_Command_getRef(x_363, x_5, x_407); -x_410 = lean_ctor_get(x_409, 0); -lean_inc(x_410); -x_411 = lean_ctor_get(x_409, 1); -lean_inc(x_411); -lean_dec(x_409); -x_412 = l_Lean_Elab_Command_getCurrMacroScope(x_363, x_5, x_411); +lean_dec(x_404); +lean_inc(x_402); +x_407 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_407, 0, x_402); +x_408 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_408, 0, x_406); +lean_inc(x_402); +x_409 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_409, 0, x_402); +x_410 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_410, 0, x_407); +lean_ctor_set(x_410, 1, x_408); +lean_ctor_set(x_410, 2, x_409); +x_411 = x_410; +x_412 = l_Lean_Elab_Command_getRef(x_361, x_5, x_405); x_413 = lean_ctor_get(x_412, 0); lean_inc(x_413); x_414 = lean_ctor_get(x_412, 1); lean_inc(x_414); lean_dec(x_412); -x_415 = lean_st_ref_get(x_5, x_414); +x_415 = l_Lean_Elab_Command_getCurrMacroScope(x_361, x_5, x_414); x_416 = lean_ctor_get(x_415, 0); lean_inc(x_416); x_417 = lean_ctor_get(x_415, 1); lean_inc(x_417); lean_dec(x_415); -x_418 = lean_ctor_get(x_416, 4); -lean_inc(x_418); -lean_dec(x_416); -x_419 = lean_st_ref_get(x_5, x_417); -x_420 = lean_ctor_get(x_419, 0); +x_418 = lean_st_ref_get(x_5, x_417); +x_419 = lean_ctor_get(x_418, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_418, 1); lean_inc(x_420); -x_421 = lean_ctor_get(x_419, 1); +lean_dec(x_418); +x_421 = lean_ctor_get(x_419, 4); lean_inc(x_421); lean_dec(x_419); -x_422 = lean_ctor_get(x_420, 3); -lean_inc(x_422); -lean_dec(x_420); -lean_inc(x_404); -x_423 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_423, 0, x_404); +x_422 = lean_st_ref_get(x_5, x_420); +x_423 = lean_ctor_get(x_422, 0); lean_inc(x_423); -x_424 = x_423; -lean_inc(x_404); -x_425 = lean_environment_main_module(x_404); -x_426 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_426, 0, x_408); -x_427 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_427, 0, x_404); -x_428 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_428, 0, x_423); -lean_ctor_set(x_428, 1, x_426); -lean_ctor_set(x_428, 2, x_427); -x_429 = x_428; +x_424 = lean_ctor_get(x_422, 1); +lean_inc(x_424); +lean_dec(x_422); +x_425 = lean_ctor_get(x_423, 3); +lean_inc(x_425); +lean_dec(x_423); +x_426 = lean_environment_main_module(x_402); lean_inc(x_8); -x_430 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_430, 0, x_424); -lean_ctor_set(x_430, 1, x_425); -lean_ctor_set(x_430, 2, x_413); -lean_ctor_set(x_430, 3, x_8); -lean_ctor_set(x_430, 4, x_418); -lean_ctor_set(x_430, 5, x_410); -lean_ctor_set(x_430, 6, x_429); -x_431 = lean_box(0); -x_432 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_432, 0, x_422); -lean_ctor_set(x_432, 1, x_431); +lean_inc(x_411); +x_427 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_427, 0, x_411); +lean_ctor_set(x_427, 1, x_426); +lean_ctor_set(x_427, 2, x_416); +lean_ctor_set(x_427, 3, x_8); +lean_ctor_set(x_427, 4, x_421); +lean_ctor_set(x_427, 5, x_413); +lean_ctor_set(x_427, 6, x_411); +x_428 = lean_box(0); +x_429 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_429, 0, x_425); +lean_ctor_set(x_429, 1, x_428); lean_inc(x_2); -x_433 = l_Lean_Elab_getMacros(x_369, x_2, x_430, x_432); -if (lean_obj_tag(x_433) == 0) +x_430 = l_Lean_Elab_getMacros(x_367, x_2, x_427, x_429); +if (lean_obj_tag(x_430) == 0) { -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; -lean_dec(x_368); -x_434 = lean_ctor_get(x_433, 0); -lean_inc(x_434); -x_435 = lean_ctor_get(x_433, 1); +lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +lean_dec(x_366); +x_431 = lean_ctor_get(x_430, 0); +lean_inc(x_431); +x_432 = lean_ctor_get(x_430, 1); +lean_inc(x_432); +lean_dec(x_430); +x_433 = lean_ctor_get(x_432, 0); +lean_inc(x_433); +lean_dec(x_432); +x_434 = lean_st_ref_take(x_5, x_424); +x_435 = lean_ctor_get(x_434, 0); lean_inc(x_435); -lean_dec(x_433); -x_436 = lean_ctor_get(x_435, 0); +x_436 = lean_ctor_get(x_434, 1); lean_inc(x_436); -lean_dec(x_435); -x_437 = lean_st_ref_take(x_5, x_421); -x_438 = lean_ctor_get(x_437, 0); +lean_dec(x_434); +x_437 = lean_ctor_get(x_435, 0); +lean_inc(x_437); +x_438 = lean_ctor_get(x_435, 1); lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 1); +x_439 = lean_ctor_get(x_435, 2); lean_inc(x_439); -lean_dec(x_437); -x_440 = lean_ctor_get(x_438, 0); +x_440 = lean_ctor_get(x_435, 4); lean_inc(x_440); -x_441 = lean_ctor_get(x_438, 1); +x_441 = lean_ctor_get(x_435, 5); lean_inc(x_441); -x_442 = lean_ctor_get(x_438, 2); +x_442 = lean_ctor_get(x_435, 6); lean_inc(x_442); -x_443 = lean_ctor_get(x_438, 4); +x_443 = lean_ctor_get(x_435, 7); lean_inc(x_443); -x_444 = lean_ctor_get(x_438, 5); -lean_inc(x_444); -x_445 = lean_ctor_get(x_438, 6); -lean_inc(x_445); -x_446 = lean_ctor_get(x_438, 7); -lean_inc(x_446); -if (lean_is_exclusive(x_438)) { - lean_ctor_release(x_438, 0); - lean_ctor_release(x_438, 1); - lean_ctor_release(x_438, 2); - lean_ctor_release(x_438, 3); - lean_ctor_release(x_438, 4); - lean_ctor_release(x_438, 5); - lean_ctor_release(x_438, 6); - lean_ctor_release(x_438, 7); - x_447 = x_438; +if (lean_is_exclusive(x_435)) { + lean_ctor_release(x_435, 0); + lean_ctor_release(x_435, 1); + lean_ctor_release(x_435, 2); + lean_ctor_release(x_435, 3); + lean_ctor_release(x_435, 4); + lean_ctor_release(x_435, 5); + lean_ctor_release(x_435, 6); + lean_ctor_release(x_435, 7); + x_444 = x_435; } else { - lean_dec_ref(x_438); - x_447 = lean_box(0); + lean_dec_ref(x_435); + x_444 = lean_box(0); } -if (lean_is_scalar(x_447)) { - x_448 = lean_alloc_ctor(0, 8, 0); +if (lean_is_scalar(x_444)) { + x_445 = lean_alloc_ctor(0, 8, 0); } else { - x_448 = x_447; + x_445 = x_444; } -lean_ctor_set(x_448, 0, x_440); -lean_ctor_set(x_448, 1, x_441); -lean_ctor_set(x_448, 2, x_442); -lean_ctor_set(x_448, 3, x_436); -lean_ctor_set(x_448, 4, x_443); -lean_ctor_set(x_448, 5, x_444); -lean_ctor_set(x_448, 6, x_445); -lean_ctor_set(x_448, 7, x_446); -x_449 = lean_st_ref_set(x_5, x_448, x_439); -x_450 = lean_ctor_get(x_449, 1); -lean_inc(x_450); -lean_dec(x_449); -x_451 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_451, 0, x_434); -x_370 = x_451; -x_371 = x_450; -goto block_391; +lean_ctor_set(x_445, 0, x_437); +lean_ctor_set(x_445, 1, x_438); +lean_ctor_set(x_445, 2, x_439); +lean_ctor_set(x_445, 3, x_433); +lean_ctor_set(x_445, 4, x_440); +lean_ctor_set(x_445, 5, x_441); +lean_ctor_set(x_445, 6, x_442); +lean_ctor_set(x_445, 7, x_443); +x_446 = lean_st_ref_set(x_5, x_445, x_436); +x_447 = lean_ctor_get(x_446, 1); +lean_inc(x_447); +lean_dec(x_446); +x_448 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_448, 0, x_431); +x_368 = x_448; +x_369 = x_447; +goto block_389; } else { -lean_object* x_452; -x_452 = lean_ctor_get(x_433, 0); -lean_inc(x_452); -lean_dec(x_433); -if (lean_obj_tag(x_452) == 0) +lean_object* x_449; +x_449 = lean_ctor_get(x_430, 0); +lean_inc(x_449); +lean_dec(x_430); +if (lean_obj_tag(x_449) == 0) { -lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -lean_dec(x_452); -x_455 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_455, 0, x_454); -x_456 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_456, 0, x_455); -lean_inc(x_363); -x_457 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_453, x_456, x_363, x_5, x_421); -lean_dec(x_453); +lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; +x_450 = lean_ctor_get(x_449, 0); +lean_inc(x_450); +x_451 = lean_ctor_get(x_449, 1); +lean_inc(x_451); +lean_dec(x_449); +x_452 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_452, 0, x_451); +x_453 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_453, 0, x_452); +lean_inc(x_361); +x_454 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_450, x_453, x_361, x_5, x_424); +lean_dec(x_450); +x_455 = lean_ctor_get(x_454, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_454, 1); +lean_inc(x_456); +lean_dec(x_454); +x_390 = x_455; +x_391 = x_456; +goto block_398; +} +else +{ +lean_object* x_457; lean_object* x_458; lean_object* x_459; +x_457 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_424); x_458 = lean_ctor_get(x_457, 0); lean_inc(x_458); x_459 = lean_ctor_get(x_457, 1); lean_inc(x_459); lean_dec(x_457); -x_392 = x_458; -x_393 = x_459; -goto block_400; -} -else -{ -lean_object* x_460; lean_object* x_461; lean_object* x_462; -x_460 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_421); -x_461 = lean_ctor_get(x_460, 0); -lean_inc(x_461); -x_462 = lean_ctor_get(x_460, 1); -lean_inc(x_462); -lean_dec(x_460); -x_392 = x_461; -x_393 = x_462; -goto block_400; +x_390 = x_458; +x_391 = x_459; +goto block_398; } } -block_391: +block_389: { -if (lean_obj_tag(x_370) == 0) +if (lean_obj_tag(x_368) == 0) { -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; -lean_dec(x_353); -lean_dec(x_346); -lean_dec(x_345); +lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; +lean_dec(x_351); lean_dec(x_344); lean_dec(x_343); lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_340); lean_dec(x_8); -x_372 = l_Lean_Elab_Command_commandElabAttribute; -x_373 = lean_ctor_get(x_372, 2); +x_370 = l_Lean_Elab_Command_commandElabAttribute; +x_371 = lean_ctor_get(x_370, 2); +lean_inc(x_371); +x_372 = l_Lean_ScopedEnvExtension_getState___at_Lean_Elab_Command_elabCommand___spec__6(x_371, x_367); +lean_dec(x_367); +lean_dec(x_371); +x_373 = lean_ctor_get(x_372, 1); lean_inc(x_373); -x_374 = l_Lean_ScopedEnvExtension_getState___at_Lean_Elab_Command_elabCommand___spec__6(x_373, x_369); -lean_dec(x_369); -lean_dec(x_373); -x_375 = lean_ctor_get(x_374, 1); -lean_inc(x_375); -lean_dec(x_374); +lean_dec(x_372); lean_inc(x_2); -x_376 = l_Lean_Syntax_getKind(x_2); -x_377 = l_Lean_SMap_find_x3f___at_Lean_Elab_Command_elabCommand___spec__7(x_375, x_376); -if (lean_obj_tag(x_377) == 0) +x_374 = l_Lean_Syntax_getKind(x_2); +x_375 = l_Lean_SMap_find_x3f___at_Lean_Elab_Command_elabCommand___spec__7(x_373, x_374); +if (lean_obj_tag(x_375) == 0) { -lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; -lean_dec(x_366); +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +lean_dec(x_364); lean_dec(x_2); -x_378 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_378, 0, x_376); -x_379 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; +x_376 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_376, 0, x_374); +x_377 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__2; +x_378 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_378, 0, x_377); +lean_ctor_set(x_378, 1, x_376); +x_379 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4; x_380 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4; -x_382 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_382, 0, x_380); -lean_ctor_set(x_382, 1, x_381); -x_383 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_382, x_363, x_5, x_371); +lean_ctor_set(x_380, 0, x_378); +lean_ctor_set(x_380, 1, x_379); +x_381 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_380, x_361, x_5, x_369); lean_dec(x_5); +return x_381; +} +else +{ +lean_object* x_382; lean_object* x_383; +lean_dec(x_374); +x_382 = lean_ctor_get(x_375, 0); +lean_inc(x_382); +lean_dec(x_375); +x_383 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_364, x_2, x_382, x_361, x_5, x_369); return x_383; } +} else { -lean_object* x_384; lean_object* x_385; -lean_dec(x_376); -x_384 = lean_ctor_get(x_377, 0); +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; +lean_dec(x_367); +lean_dec(x_364); +lean_dec(x_361); +x_384 = lean_ctor_get(x_368, 0); lean_inc(x_384); -lean_dec(x_377); -x_385 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(x_366, x_2, x_384, x_363, x_5, x_371); -return x_385; -} -} -else -{ -lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; -lean_dec(x_369); -lean_dec(x_366); -lean_dec(x_363); -x_386 = lean_ctor_get(x_370, 0); -lean_inc(x_386); -lean_dec(x_370); -lean_inc(x_386); -x_387 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_387, 0, x_2); -lean_ctor_set(x_387, 1, x_386); -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_345); -x_389 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_389, 0, x_342); -lean_ctor_set(x_389, 1, x_343); -lean_ctor_set(x_389, 2, x_8); -lean_ctor_set(x_389, 3, x_344); -lean_ctor_set(x_389, 4, x_388); -lean_ctor_set(x_389, 5, x_353); -lean_ctor_set(x_389, 6, x_346); -x_390 = l_Lean_Elab_Command_elabCommand(x_386, x_389, x_5, x_371); -lean_dec(x_389); -return x_390; -} -} -block_400: -{ -if (lean_obj_tag(x_392) == 0) -{ -lean_object* x_394; -lean_dec(x_369); -lean_dec(x_366); -lean_dec(x_363); -lean_dec(x_353); -lean_dec(x_346); -lean_dec(x_345); -lean_dec(x_344); -lean_dec(x_343); -lean_dec(x_342); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -if (lean_is_scalar(x_368)) { - x_394 = lean_alloc_ctor(1, 2, 0); -} else { - x_394 = x_368; - lean_ctor_set_tag(x_394, 1); -} -lean_ctor_set(x_394, 0, x_392); -lean_ctor_set(x_394, 1, x_393); -return x_394; -} -else -{ -lean_object* x_395; lean_object* x_396; uint8_t x_397; -x_395 = lean_ctor_get(x_392, 0); -lean_inc(x_395); -x_396 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_397 = lean_nat_dec_eq(x_396, x_395); -lean_dec(x_395); -if (x_397 == 0) -{ -lean_object* x_398; -lean_dec(x_369); -lean_dec(x_366); -lean_dec(x_363); -lean_dec(x_353); -lean_dec(x_346); -lean_dec(x_345); -lean_dec(x_344); -lean_dec(x_343); -lean_dec(x_342); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_2); -if (lean_is_scalar(x_368)) { - x_398 = lean_alloc_ctor(1, 2, 0); -} else { - x_398 = x_368; - lean_ctor_set_tag(x_398, 1); -} -lean_ctor_set(x_398, 0, x_392); -lean_ctor_set(x_398, 1, x_393); -return x_398; -} -else -{ -lean_object* x_399; -lean_dec(x_392); lean_dec(x_368); -x_399 = lean_box(0); -x_370 = x_399; -x_371 = x_393; -goto block_391; +lean_inc(x_384); +x_385 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_385, 0, x_2); +lean_ctor_set(x_385, 1, x_384); +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_343); +x_387 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_387, 0, x_340); +lean_ctor_set(x_387, 1, x_341); +lean_ctor_set(x_387, 2, x_8); +lean_ctor_set(x_387, 3, x_342); +lean_ctor_set(x_387, 4, x_386); +lean_ctor_set(x_387, 5, x_351); +lean_ctor_set(x_387, 6, x_344); +x_388 = l_Lean_Elab_Command_elabCommand(x_384, x_387, x_5, x_369); +lean_dec(x_387); +return x_388; +} +} +block_398: +{ +if (lean_obj_tag(x_390) == 0) +{ +lean_object* x_392; +lean_dec(x_367); +lean_dec(x_364); +lean_dec(x_361); +lean_dec(x_351); +lean_dec(x_344); +lean_dec(x_343); +lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_340); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +if (lean_is_scalar(x_366)) { + x_392 = lean_alloc_ctor(1, 2, 0); +} else { + x_392 = x_366; + lean_ctor_set_tag(x_392, 1); +} +lean_ctor_set(x_392, 0, x_390); +lean_ctor_set(x_392, 1, x_391); +return x_392; +} +else +{ +lean_object* x_393; lean_object* x_394; uint8_t x_395; +x_393 = lean_ctor_get(x_390, 0); +lean_inc(x_393); +x_394 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_395 = lean_nat_dec_eq(x_394, x_393); +lean_dec(x_393); +if (x_395 == 0) +{ +lean_object* x_396; +lean_dec(x_367); +lean_dec(x_364); +lean_dec(x_361); +lean_dec(x_351); +lean_dec(x_344); +lean_dec(x_343); +lean_dec(x_342); +lean_dec(x_341); +lean_dec(x_340); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_2); +if (lean_is_scalar(x_366)) { + x_396 = lean_alloc_ctor(1, 2, 0); +} else { + x_396 = x_366; + lean_ctor_set_tag(x_396, 1); +} +lean_ctor_set(x_396, 0, x_390); +lean_ctor_set(x_396, 1, x_391); +return x_396; +} +else +{ +lean_object* x_397; +lean_dec(x_390); +lean_dec(x_366); +x_397 = lean_box(0); +x_368 = x_397; +x_369 = x_391; +goto block_389; } } } diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 3c3a29428c..2efe607fa3 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -4296,7 +4296,7 @@ return x_25; lean_object* l_Lean_Elab_Command_MkInstanceName_main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_object* x_5; lean_object* x_6; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; x_24 = lean_st_ref_get(x_3, x_4); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); @@ -4315,196 +4315,195 @@ lean_dec(x_28); x_31 = lean_ctor_get(x_29, 2); lean_inc(x_31); lean_dec(x_29); -x_32 = l_Lean_Elab_Command_getRef(x_2, x_3, x_30); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_34); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_2, 2); +lean_inc(x_27); +x_32 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_32, 0, x_27); +x_33 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_33, 0, x_31); +lean_inc(x_27); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_34, 0, x_27); +x_35 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_33); +lean_ctor_set(x_35, 2, x_34); +x_36 = x_35; +x_37 = l_Lean_Elab_Command_getRef(x_2, x_3, x_30); +x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -x_39 = lean_st_ref_get(x_3, x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_39); +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_40, 4); +x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = lean_st_ref_get(x_3, x_41); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +x_43 = lean_ctor_get(x_2, 2); +lean_inc(x_43); +x_44 = lean_st_ref_get(x_3, x_42); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_44, 3); +x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); lean_dec(x_44); -lean_inc(x_27); -x_47 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_47, 0, x_27); +x_47 = lean_ctor_get(x_45, 4); lean_inc(x_47); -x_48 = x_47; -lean_inc(x_27); -x_49 = lean_environment_main_module(x_27); -x_50 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_50, 0, x_31); -x_51 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_51, 0, x_27); -x_52 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_52, 0, x_47); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_52, 2, x_51); -x_53 = x_52; -x_54 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_54, 0, x_48); -lean_ctor_set(x_54, 1, x_49); -lean_ctor_set(x_54, 2, x_36); -lean_ctor_set(x_54, 3, x_38); -lean_ctor_set(x_54, 4, x_42); -lean_ctor_set(x_54, 5, x_33); -lean_ctor_set(x_54, 6, x_53); -x_55 = lean_box(0); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_46); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_expandMacros(x_1, x_54, x_56); -if (lean_obj_tag(x_57) == 0) +lean_dec(x_45); +x_48 = lean_st_ref_get(x_3, x_46); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_ctor_get(x_49, 3); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_environment_main_module(x_27); +lean_inc(x_36); +x_53 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_53, 0, x_36); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_41); +lean_ctor_set(x_53, 3, x_43); +lean_ctor_set(x_53, 4, x_47); +lean_ctor_set(x_53, 5, x_38); +lean_ctor_set(x_53, 6, x_36); +x_54 = lean_box(0); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_expandMacros(x_1, x_53, x_55); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_58 = lean_ctor_get(x_57, 0); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); +lean_dec(x_56); +x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -lean_dec(x_59); -x_61 = lean_st_ref_take(x_3, x_45); -x_62 = lean_ctor_get(x_61, 0); +lean_dec(x_58); +x_60 = lean_st_ref_take(x_3, x_50); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = !lean_is_exclusive(x_62); -if (x_64 == 0) +lean_dec(x_60); +x_63 = !lean_is_exclusive(x_61); +if (x_63 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_62, 3); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_61, 3); +lean_dec(x_64); +lean_ctor_set(x_61, 3, x_59); +x_65 = lean_st_ref_set(x_3, x_61, x_62); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); lean_dec(x_65); -lean_ctor_set(x_62, 3, x_60); -x_66 = lean_st_ref_set(x_3, x_62, x_63); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -lean_dec(x_66); -x_5 = x_58; -x_6 = x_67; +x_5 = x_57; +x_6 = x_66; goto block_23; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_68 = lean_ctor_get(x_62, 0); -x_69 = lean_ctor_get(x_62, 1); -x_70 = lean_ctor_get(x_62, 2); -x_71 = lean_ctor_get(x_62, 4); -x_72 = lean_ctor_get(x_62, 5); -x_73 = lean_ctor_get(x_62, 6); -x_74 = lean_ctor_get(x_62, 7); -lean_inc(x_74); +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_67 = lean_ctor_get(x_61, 0); +x_68 = lean_ctor_get(x_61, 1); +x_69 = lean_ctor_get(x_61, 2); +x_70 = lean_ctor_get(x_61, 4); +x_71 = lean_ctor_get(x_61, 5); +x_72 = lean_ctor_get(x_61, 6); +x_73 = lean_ctor_get(x_61, 7); lean_inc(x_73); lean_inc(x_72); lean_inc(x_71); lean_inc(x_70); lean_inc(x_69); lean_inc(x_68); -lean_dec(x_62); -x_75 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_75, 0, x_68); -lean_ctor_set(x_75, 1, x_69); -lean_ctor_set(x_75, 2, x_70); -lean_ctor_set(x_75, 3, x_60); -lean_ctor_set(x_75, 4, x_71); -lean_ctor_set(x_75, 5, x_72); -lean_ctor_set(x_75, 6, x_73); -lean_ctor_set(x_75, 7, x_74); -x_76 = lean_st_ref_set(x_3, x_75, x_63); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_5 = x_58; -x_6 = x_77; +lean_inc(x_67); +lean_dec(x_61); +x_74 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_74, 0, x_67); +lean_ctor_set(x_74, 1, x_68); +lean_ctor_set(x_74, 2, x_69); +lean_ctor_set(x_74, 3, x_59); +lean_ctor_set(x_74, 4, x_70); +lean_ctor_set(x_74, 5, x_71); +lean_ctor_set(x_74, 6, x_72); +lean_ctor_set(x_74, 7, x_73); +x_75 = lean_st_ref_set(x_3, x_74, x_62); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_5 = x_57; +x_6 = x_76; goto block_23; } } else { -lean_object* x_78; -x_78 = lean_ctor_get(x_57, 0); +lean_object* x_77; +x_77 = lean_ctor_get(x_56, 0); +lean_inc(x_77); +lean_dec(x_56); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); -lean_dec(x_57); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_79 = lean_ctor_get(x_78, 0); +x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_77); +x_80 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_80, 0, x_79); +x_81 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_81, 0, x_80); -x_82 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_82, 0, x_81); -x_83 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_79, x_82, x_2, x_3, x_45); -lean_dec(x_79); -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) +x_82 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_78, x_81, x_2, x_3, x_50); +lean_dec(x_78); +x_83 = !lean_is_exclusive(x_82); +if (x_83 == 0) { -return x_83; +return x_82; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_83, 0); -x_86 = lean_ctor_get(x_83, 1); -lean_inc(x_86); +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_82, 0); +x_85 = lean_ctor_get(x_82, 1); lean_inc(x_85); -lean_dec(x_83); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); +lean_inc(x_84); +lean_dec(x_82); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} +} +else +{ +lean_object* x_87; uint8_t x_88; +lean_dec(x_2); +x_87 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_50); +x_88 = !lean_is_exclusive(x_87); +if (x_88 == 0) +{ return x_87; } -} else { -lean_object* x_88; uint8_t x_89; -lean_dec(x_2); -x_88 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_45); -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) -{ -return x_88; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_88, 0); -x_91 = lean_ctor_get(x_88, 1); -lean_inc(x_91); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_87, 0); +x_90 = lean_ctor_get(x_87, 1); lean_inc(x_90); -lean_dec(x_88); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_91); -return x_92; +lean_inc(x_89); +lean_dec(x_87); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; } } } @@ -5035,7 +5034,7 @@ x_8 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___s lean_dec(x_7); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); @@ -5061,202 +5060,201 @@ lean_dec(x_70); x_73 = lean_ctor_get(x_71, 2); lean_inc(x_73); lean_dec(x_71); -x_74 = l_Lean_Elab_Command_getRef(x_3, x_4, x_72); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_76); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_ctor_get(x_3, 2); +lean_inc(x_69); +x_74 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_74, 0, x_69); +x_75 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_75, 0, x_73); +lean_inc(x_69); +x_76 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_76, 0, x_69); +x_77 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_76); +x_78 = x_77; +x_79 = l_Lean_Elab_Command_getRef(x_3, x_4, x_72); +x_80 = lean_ctor_get(x_79, 0); lean_inc(x_80); -x_81 = lean_st_ref_get(x_4, x_79); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +x_82 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_81); +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_82, 4); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); lean_dec(x_82); -x_85 = lean_st_ref_get(x_4, x_83); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); +x_85 = lean_ctor_get(x_3, 2); +lean_inc(x_85); +x_86 = lean_st_ref_get(x_4, x_84); +x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_ctor_get(x_86, 3); +x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); lean_dec(x_86); -lean_inc(x_69); -x_89 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_89, 0, x_69); +x_89 = lean_ctor_get(x_87, 4); lean_inc(x_89); -x_90 = x_89; -lean_inc(x_69); -x_91 = lean_environment_main_module(x_69); -x_92 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_92, 0, x_73); -x_93 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_93, 0, x_69); -x_94 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_94, 0, x_89); -lean_ctor_set(x_94, 1, x_92); -lean_ctor_set(x_94, 2, x_93); -x_95 = x_94; -x_96 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_96, 0, x_90); -lean_ctor_set(x_96, 1, x_91); -lean_ctor_set(x_96, 2, x_78); -lean_ctor_set(x_96, 3, x_80); -lean_ctor_set(x_96, 4, x_84); -lean_ctor_set(x_96, 5, x_75); -lean_ctor_set(x_96, 6, x_95); -x_97 = lean_box(0); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_88); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_expandOptNamedPrio(x_65, x_96, x_98); +lean_dec(x_87); +x_90 = lean_st_ref_get(x_4, x_88); +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); +lean_dec(x_90); +x_93 = lean_ctor_get(x_91, 3); +lean_inc(x_93); +lean_dec(x_91); +x_94 = lean_environment_main_module(x_69); +lean_inc(x_78); +x_95 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_95, 0, x_78); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_95, 2, x_83); +lean_ctor_set(x_95, 3, x_85); +lean_ctor_set(x_95, 4, x_89); +lean_ctor_set(x_95, 5, x_80); +lean_ctor_set(x_95, 6, x_78); +x_96 = lean_box(0); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_93); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_Elab_expandOptNamedPrio(x_65, x_95, x_97); lean_dec(x_65); -if (lean_obj_tag(x_99) == 0) +if (lean_obj_tag(x_98) == 0) { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_100 = lean_ctor_get(x_99, 0); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); lean_inc(x_100); -x_101 = lean_ctor_get(x_99, 1); +lean_dec(x_98); +x_101 = lean_ctor_get(x_100, 0); lean_inc(x_101); -lean_dec(x_99); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_st_ref_take(x_4, x_87); -x_104 = lean_ctor_get(x_103, 0); +lean_dec(x_100); +x_102 = lean_st_ref_take(x_4, x_92); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_106 = !lean_is_exclusive(x_104); -if (x_106 == 0) +lean_dec(x_102); +x_105 = !lean_is_exclusive(x_103); +if (x_105 == 0) { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_104, 3); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_103, 3); +lean_dec(x_106); +lean_ctor_set(x_103, 3, x_101); +x_107 = lean_st_ref_set(x_4, x_103, x_104); +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); lean_dec(x_107); -lean_ctor_set(x_104, 3, x_102); -x_108 = lean_st_ref_set(x_4, x_104, x_105); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_11 = x_100; -x_12 = x_109; +x_11 = x_99; +x_12 = x_108; goto block_63; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_110 = lean_ctor_get(x_104, 0); -x_111 = lean_ctor_get(x_104, 1); -x_112 = lean_ctor_get(x_104, 2); -x_113 = lean_ctor_get(x_104, 4); -x_114 = lean_ctor_get(x_104, 5); -x_115 = lean_ctor_get(x_104, 6); -x_116 = lean_ctor_get(x_104, 7); -lean_inc(x_116); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_109 = lean_ctor_get(x_103, 0); +x_110 = lean_ctor_get(x_103, 1); +x_111 = lean_ctor_get(x_103, 2); +x_112 = lean_ctor_get(x_103, 4); +x_113 = lean_ctor_get(x_103, 5); +x_114 = lean_ctor_get(x_103, 6); +x_115 = lean_ctor_get(x_103, 7); lean_inc(x_115); lean_inc(x_114); lean_inc(x_113); lean_inc(x_112); lean_inc(x_111); lean_inc(x_110); -lean_dec(x_104); -x_117 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_117, 0, x_110); -lean_ctor_set(x_117, 1, x_111); -lean_ctor_set(x_117, 2, x_112); -lean_ctor_set(x_117, 3, x_102); -lean_ctor_set(x_117, 4, x_113); -lean_ctor_set(x_117, 5, x_114); -lean_ctor_set(x_117, 6, x_115); -lean_ctor_set(x_117, 7, x_116); -x_118 = lean_st_ref_set(x_4, x_117, x_105); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -lean_dec(x_118); -x_11 = x_100; -x_12 = x_119; +lean_inc(x_109); +lean_dec(x_103); +x_116 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_116, 0, x_109); +lean_ctor_set(x_116, 1, x_110); +lean_ctor_set(x_116, 2, x_111); +lean_ctor_set(x_116, 3, x_101); +lean_ctor_set(x_116, 4, x_112); +lean_ctor_set(x_116, 5, x_113); +lean_ctor_set(x_116, 6, x_114); +lean_ctor_set(x_116, 7, x_115); +x_117 = lean_st_ref_set(x_4, x_116, x_104); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); +lean_dec(x_117); +x_11 = x_99; +x_12 = x_118; goto block_63; } } else { -lean_object* x_120; +lean_object* x_119; lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_120 = lean_ctor_get(x_99, 0); +x_119 = lean_ctor_get(x_98, 0); +lean_inc(x_119); +lean_dec(x_98); +if (lean_obj_tag(x_119) == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; +x_120 = lean_ctor_get(x_119, 0); lean_inc(x_120); -lean_dec(x_99); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_121 = lean_ctor_get(x_120, 0); +x_121 = lean_ctor_get(x_119, 1); lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -x_123 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_119); +x_122 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_122, 0, x_121); +x_123 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_123, 0, x_122); -x_124 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_124, 0, x_123); -x_125 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_121, x_124, x_3, x_4, x_87); +x_124 = l_Lean_throwErrorAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__2(x_120, x_123, x_3, x_4, x_92); lean_dec(x_4); -lean_dec(x_121); -x_126 = !lean_is_exclusive(x_125); -if (x_126 == 0) +lean_dec(x_120); +x_125 = !lean_is_exclusive(x_124); +if (x_125 == 0) { -return x_125; +return x_124; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_ctor_get(x_125, 0); -x_128 = lean_ctor_get(x_125, 1); -lean_inc(x_128); +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_124, 0); +x_127 = lean_ctor_get(x_124, 1); lean_inc(x_127); -lean_dec(x_125); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_127); -lean_ctor_set(x_129, 1, x_128); -return x_129; +lean_inc(x_126); +lean_dec(x_124); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; } } else { -lean_object* x_130; uint8_t x_131; +lean_object* x_129; uint8_t x_130; lean_dec(x_4); lean_dec(x_3); -x_130 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(x_87); -x_131 = !lean_is_exclusive(x_130); -if (x_131 == 0) +x_129 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__4___rarg(x_92); +x_130 = !lean_is_exclusive(x_129); +if (x_130 == 0) { -return x_130; +return x_129; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_130, 0); -x_133 = lean_ctor_get(x_130, 1); -lean_inc(x_133); +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_129, 0); +x_132 = lean_ctor_get(x_129, 1); lean_inc(x_132); -lean_dec(x_130); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; +lean_inc(x_131); +lean_dec(x_129); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +return x_133; } } } @@ -5390,28 +5388,28 @@ return x_62; } else { -uint8_t x_135; +uint8_t x_134; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_135 = !lean_is_exclusive(x_8); -if (x_135 == 0) +x_134 = !lean_is_exclusive(x_8); +if (x_134 == 0) { return x_8; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_8, 0); -x_137 = lean_ctor_get(x_8, 1); -lean_inc(x_137); +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_8, 0); +x_136 = lean_ctor_get(x_8, 1); lean_inc(x_136); +lean_inc(x_135); lean_dec(x_8); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; } } } diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index ca529e701c..f1a4620c2a 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -8261,7 +8261,7 @@ return x_8; lean_object* l_Lean_Elab_Term_Do_mkJmp(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; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_13 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_nameSetToArray(x_2); x_14 = lean_array_get_size(x_13); x_15 = lean_usize_of_nat(x_14); @@ -8300,176 +8300,175 @@ lean_inc(x_46); lean_dec(x_44); x_47 = lean_ctor_get(x_10, 4); lean_inc(x_47); -x_48 = lean_ctor_get(x_10, 3); -lean_inc(x_48); -x_49 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_45); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_10, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_10, 2); +lean_inc(x_46); +x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_48, 0, x_46); +x_49 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_49, 0, x_47); +lean_inc(x_46); +x_50 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_50, 0, x_46); +x_51 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +x_52 = x_51; +x_53 = lean_ctor_get(x_10, 3); lean_inc(x_53); -x_54 = lean_st_ref_get(x_11, x_51); +x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_45); x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); x_56 = lean_ctor_get(x_54, 1); lean_inc(x_56); lean_dec(x_54); -x_57 = lean_ctor_get(x_55, 1); +x_57 = lean_ctor_get(x_10, 1); lean_inc(x_57); -lean_dec(x_55); -lean_inc(x_46); -x_58 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_58, 0, x_46); +x_58 = lean_ctor_get(x_10, 2); lean_inc(x_58); -x_59 = x_58; -lean_inc(x_46); -x_60 = lean_environment_main_module(x_46); -x_61 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_61, 0, x_47); -x_62 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_62, 0, x_46); -x_63 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_63, 0, x_58); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_62); -x_64 = x_63; -x_65 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_60); -lean_ctor_set(x_65, 2, x_50); -lean_ctor_set(x_65, 3, x_52); -lean_ctor_set(x_65, 4, x_53); -lean_ctor_set(x_65, 5, x_48); -lean_ctor_set(x_65, 6, x_64); -x_66 = lean_box(0); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_57); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_apply_3(x_4, x_42, x_65, x_67); -if (lean_obj_tag(x_68) == 0) +x_59 = lean_st_ref_get(x_11, x_56); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_environment_main_module(x_46); +lean_inc(x_52); +x_64 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_64, 0, x_52); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_55); +lean_ctor_set(x_64, 3, x_57); +lean_ctor_set(x_64, 4, x_58); +lean_ctor_set(x_64, 5, x_53); +lean_ctor_set(x_64, 6, x_52); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_62); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_apply_3(x_4, x_42, x_64, x_66); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_69 = lean_ctor_get(x_68, 0); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_dec(x_67); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_take(x_11, x_56); -x_73 = lean_ctor_get(x_72, 0); +lean_dec(x_69); +x_71 = lean_st_ref_take(x_11, x_61); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = !lean_is_exclusive(x_73); -if (x_75 == 0) +lean_dec(x_71); +x_74 = !lean_is_exclusive(x_72); +if (x_74 == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_72, 1); +lean_dec(x_75); +lean_ctor_set(x_72, 1, x_70); +x_76 = lean_st_ref_set(x_11, x_72, x_73); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); lean_dec(x_76); -lean_ctor_set(x_73, 1, x_71); -x_77 = lean_st_ref_set(x_11, x_73, x_74); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_31 = x_69; -x_32 = x_78; +x_31 = x_68; +x_32 = x_77; goto block_41; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_79 = lean_ctor_get(x_73, 0); -x_80 = lean_ctor_get(x_73, 2); -x_81 = lean_ctor_get(x_73, 3); -lean_inc(x_81); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_78 = lean_ctor_get(x_72, 0); +x_79 = lean_ctor_get(x_72, 2); +x_80 = lean_ctor_get(x_72, 3); lean_inc(x_80); lean_inc(x_79); -lean_dec(x_73); -x_82 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_82, 0, x_79); -lean_ctor_set(x_82, 1, x_71); -lean_ctor_set(x_82, 2, x_80); -lean_ctor_set(x_82, 3, x_81); -x_83 = lean_st_ref_set(x_11, x_82, x_74); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_31 = x_69; -x_32 = x_84; +lean_inc(x_78); +lean_dec(x_72); +x_81 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_70); +lean_ctor_set(x_81, 2, x_79); +lean_ctor_set(x_81, 3, x_80); +x_82 = lean_st_ref_set(x_11, x_81, x_73); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_31 = x_68; +x_32 = x_83; goto block_41; } } else { -lean_object* x_85; +lean_object* x_84; lean_dec(x_30); lean_dec(x_20); lean_dec(x_1); -x_85 = lean_ctor_get(x_68, 0); +x_84 = lean_ctor_get(x_67, 0); +lean_inc(x_84); +lean_dec(x_67); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); -lean_dec(x_68); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_86 = lean_ctor_get(x_85, 0); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_84); +x_87 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_88 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_88, 0, x_87); -x_89 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__2(x_86, x_89, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_56); -lean_dec(x_86); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) +x_89 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_mkJmp___spec__2(x_85, x_88, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_61); +lean_dec(x_85); +x_90 = !lean_is_exclusive(x_89); +if (x_90 == 0) { -return x_90; +return x_89; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); +x_92 = lean_ctor_get(x_89, 1); lean_inc(x_92); -lean_dec(x_90); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); +lean_inc(x_91); +lean_dec(x_89); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +else +{ +lean_object* x_94; uint8_t x_95; +lean_dec(x_10); +x_94 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__4___rarg(x_61); +x_95 = !lean_is_exclusive(x_94); +if (x_95 == 0) +{ return x_94; } -} else { -lean_object* x_95; uint8_t x_96; -lean_dec(x_10); -x_95 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_mkJmp___spec__4___rarg(x_56); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) -{ -return x_95; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_95, 0); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_94, 0); +x_97 = lean_ctor_get(x_94, 1); lean_inc(x_97); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_inc(x_96); +lean_dec(x_94); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } @@ -16014,7 +16013,7 @@ return x_7; lean_object* l_Lean_Elab_Term_Do_concat___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: { -lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; x_13 = lean_array_get_size(x_1); x_14 = lean_usize_of_nat(x_13); lean_dec(x_13); @@ -16054,219 +16053,218 @@ lean_inc(x_32); lean_dec(x_30); x_33 = lean_ctor_get(x_10, 4); lean_inc(x_33); -x_34 = lean_ctor_get(x_10, 3); -lean_inc(x_34); -x_35 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_31); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_10, 1); -lean_inc(x_38); -x_39 = lean_ctor_get(x_10, 2); +lean_inc(x_32); +x_34 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_34, 0, x_32); +x_35 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_35, 0, x_33); +lean_inc(x_32); +x_36 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_36, 0, x_32); +x_37 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_36); +x_38 = x_37; +x_39 = lean_ctor_get(x_10, 3); lean_inc(x_39); -x_40 = lean_st_ref_get(x_11, x_37); +x_40 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_31); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 1); +x_43 = lean_ctor_get(x_10, 1); lean_inc(x_43); -lean_dec(x_41); -lean_inc(x_32); -x_44 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_44, 0, x_32); +x_44 = lean_ctor_get(x_10, 2); lean_inc(x_44); -x_45 = x_44; -lean_inc(x_32); -x_46 = lean_environment_main_module(x_32); -x_47 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_47, 0, x_33); -x_48 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_48, 0, x_32); -x_49 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_49, 0, x_44); -lean_ctor_set(x_49, 1, x_47); -lean_ctor_set(x_49, 2, x_48); -x_50 = x_49; -x_51 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_51, 1, x_46); -lean_ctor_set(x_51, 2, x_36); -lean_ctor_set(x_51, 3, x_38); -lean_ctor_set(x_51, 4, x_39); -lean_ctor_set(x_51, 5, x_34); -lean_ctor_set(x_51, 6, x_50); -x_52 = lean_box(0); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_43); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_27, x_1, x_28, x_51, x_53); -if (lean_obj_tag(x_54) == 0) +x_45 = lean_st_ref_get(x_11, x_42); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_environment_main_module(x_32); +lean_inc(x_38); +x_50 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_41); +lean_ctor_set(x_50, 3, x_43); +lean_ctor_set(x_50, 4, x_44); +lean_ctor_set(x_50, 5, x_39); +lean_ctor_set(x_50, 6, x_38); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_48); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_Elab_Term_Do_convertTerminalActionIntoJmp_loop(x_27, x_1, x_28, x_50, x_52); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_dec(x_10); lean_dec(x_6); -x_55 = lean_ctor_get(x_54, 0); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); +lean_dec(x_53); +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_st_ref_take(x_11, x_42); -x_59 = lean_ctor_get(x_58, 0); +lean_dec(x_55); +x_57 = lean_st_ref_take(x_11, x_47); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = !lean_is_exclusive(x_59); -if (x_61 == 0) +lean_dec(x_57); +x_60 = !lean_is_exclusive(x_58); +if (x_60 == 0) { -lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_62 = lean_ctor_get(x_59, 1); -lean_dec(x_62); -lean_ctor_set(x_59, 1, x_57); -x_63 = lean_st_ref_set(x_11, x_59, x_60); -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) +lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_61 = lean_ctor_get(x_58, 1); +lean_dec(x_61); +lean_ctor_set(x_58, 1, x_56); +x_62 = lean_st_ref_set(x_11, x_58, x_59); +x_63 = !lean_is_exclusive(x_62); +if (x_63 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_63, 0); -lean_dec(x_65); -x_66 = l_Lean_Elab_Term_Do_attachJP(x_25, x_55); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_62, 0); +lean_dec(x_64); +x_65 = l_Lean_Elab_Term_Do_attachJP(x_25, x_54); lean_dec(x_25); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_4); -lean_ctor_set(x_63, 0, x_67); -return x_63; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_4); +lean_ctor_set(x_62, 0, x_66); +return x_62; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_63, 1); -lean_inc(x_68); -lean_dec(x_63); -x_69 = l_Lean_Elab_Term_Do_attachJP(x_25, x_55); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +lean_dec(x_62); +x_68 = l_Lean_Elab_Term_Do_attachJP(x_25, x_54); lean_dec(x_25); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_4); x_70 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_4); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_68); -return x_71; +lean_ctor_set(x_70, 1, x_67); +return x_70; } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_72 = lean_ctor_get(x_59, 0); -x_73 = lean_ctor_get(x_59, 2); -x_74 = lean_ctor_get(x_59, 3); -lean_inc(x_74); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_71 = lean_ctor_get(x_58, 0); +x_72 = lean_ctor_get(x_58, 2); +x_73 = lean_ctor_get(x_58, 3); lean_inc(x_73); lean_inc(x_72); -lean_dec(x_59); -x_75 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_57); -lean_ctor_set(x_75, 2, x_73); -lean_ctor_set(x_75, 3, x_74); -x_76 = lean_st_ref_set(x_11, x_75, x_60); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_76)) { - lean_ctor_release(x_76, 0); - lean_ctor_release(x_76, 1); - x_78 = x_76; +lean_inc(x_71); +lean_dec(x_58); +x_74 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_74, 1, x_56); +lean_ctor_set(x_74, 2, x_72); +lean_ctor_set(x_74, 3, x_73); +x_75 = lean_st_ref_set(x_11, x_74, x_59); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_77 = x_75; } else { - lean_dec_ref(x_76); - x_78 = lean_box(0); + lean_dec_ref(x_75); + x_77 = lean_box(0); } -x_79 = l_Lean_Elab_Term_Do_attachJP(x_25, x_55); +x_78 = l_Lean_Elab_Term_Do_attachJP(x_25, x_54); lean_dec(x_25); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_4); -if (lean_is_scalar(x_78)) { - x_81 = lean_alloc_ctor(0, 2, 0); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_4); +if (lean_is_scalar(x_77)) { + x_80 = lean_alloc_ctor(0, 2, 0); } else { - x_81 = x_78; + x_80 = x_77; } -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_77); -return x_81; +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_76); +return x_80; } } else { -lean_object* x_82; +lean_object* x_81; lean_dec(x_25); lean_dec(x_4); -x_82 = lean_ctor_get(x_54, 0); +x_81 = lean_ctor_get(x_53, 0); +lean_inc(x_81); +lean_dec(x_53); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); -lean_dec(x_54); -if (lean_obj_tag(x_82) == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_83 = lean_ctor_get(x_82, 0); +x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_81); +x_84 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_84, 0, x_83); +x_85 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_85, 0, x_84); -x_86 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_86, 0, x_85); -x_87 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__1(x_83, x_86, x_6, x_7, x_8, x_9, x_10, x_11, x_42); -lean_dec(x_83); -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) +x_86 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_concat___spec__1(x_82, x_85, x_6, x_7, x_8, x_9, x_10, x_11, x_47); +lean_dec(x_82); +x_87 = !lean_is_exclusive(x_86); +if (x_87 == 0) { -return x_87; +return x_86; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_87, 0); -x_90 = lean_ctor_get(x_87, 1); -lean_inc(x_90); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_86, 0); +x_89 = lean_ctor_get(x_86, 1); lean_inc(x_89); -lean_dec(x_87); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; +lean_inc(x_88); +lean_dec(x_86); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } else { -lean_object* x_92; uint8_t x_93; +lean_object* x_91; uint8_t x_92; lean_dec(x_10); lean_dec(x_6); -x_92 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___rarg(x_42); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) +x_91 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___spec__3___rarg(x_47); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) { -return x_92; +return x_91; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); -x_95 = lean_ctor_get(x_92, 1); -lean_inc(x_95); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_91, 1); lean_inc(x_94); -lean_dec(x_92); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +lean_inc(x_93); +lean_dec(x_91); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } } @@ -46098,21 +46096,21 @@ x_14 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasRetur x_15 = lean_st_ref_get(x_8, x_9); if (x_14 == 0) { -uint8_t x_82; -x_82 = 1; -x_16 = x_82; -goto block_81; +uint8_t x_81; +x_81 = 1; +x_16 = x_81; +goto block_80; } else { -uint8_t x_83; -x_83 = 2; -x_16 = x_83; -goto block_81; +uint8_t x_82; +x_82 = 2; +x_16 = x_82; +goto block_80; } -block_81: +block_80: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); x_18 = lean_ctor_get(x_15, 1); @@ -46123,214 +46121,213 @@ lean_inc(x_19); lean_dec(x_17); x_20 = lean_ctor_get(x_7, 4); lean_inc(x_20); -x_21 = lean_ctor_get(x_7, 3); -lean_inc(x_21); -x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_7, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_7, 2); +lean_inc(x_19); +x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_21, 0, x_19); +x_22 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_22, 0, x_20); +lean_inc(x_19); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_23, 0, x_19); +x_24 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_24, 0, x_21); +lean_ctor_set(x_24, 1, x_22); +lean_ctor_set(x_24, 2, x_23); +x_25 = x_24; +x_26 = lean_ctor_get(x_7, 3); lean_inc(x_26); -x_27 = lean_st_ref_get(x_8, x_24); +x_27 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_18); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 1); +x_30 = lean_ctor_get(x_7, 1); lean_inc(x_30); -lean_dec(x_28); -lean_inc(x_19); -x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_31, 0, x_19); +x_31 = lean_ctor_get(x_7, 2); lean_inc(x_31); -x_32 = x_31; -lean_inc(x_19); -x_33 = lean_environment_main_module(x_19); -x_34 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_34, 0, x_20); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_35, 0, x_19); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_31); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_36, 2, x_35); -x_37 = x_36; -x_38 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_38, 0, x_32); -lean_ctor_set(x_38, 1, x_33); -lean_ctor_set(x_38, 2, x_23); -lean_ctor_set(x_38, 3, x_25); -lean_ctor_set(x_38, 4, x_26); -lean_ctor_set(x_38, 5, x_21); -lean_ctor_set(x_38, 6, x_37); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_30); -lean_ctor_set(x_40, 1, x_39); +x_32 = lean_st_ref_get(x_8, x_29); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_environment_main_module(x_19); +lean_inc(x_25); +x_37 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_37, 0, x_25); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_28); +lean_ctor_set(x_37, 3, x_30); +lean_ctor_set(x_37, 4, x_31); +lean_ctor_set(x_37, 5, x_26); +lean_ctor_set(x_37, 6, x_25); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_38); lean_inc(x_11); -x_41 = l_Lean_Elab_Term_Do_ToTerm_run(x_12, x_13, x_11, x_16, x_38, x_40); -if (lean_obj_tag(x_41) == 0) +x_40 = l_Lean_Elab_Term_Do_ToTerm_run(x_12, x_13, x_11, x_16, x_37, x_39); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_dec(x_7); lean_dec(x_2); -x_42 = lean_ctor_get(x_41, 0); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +lean_dec(x_40); +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -lean_dec(x_43); -x_45 = lean_st_ref_take(x_8, x_29); -x_46 = lean_ctor_get(x_45, 0); +lean_dec(x_42); +x_44 = lean_st_ref_take(x_8, x_34); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = !lean_is_exclusive(x_46); -if (x_48 == 0) +lean_dec(x_44); +x_47 = !lean_is_exclusive(x_45); +if (x_47 == 0) { -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = lean_ctor_get(x_46, 1); +lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_48 = lean_ctor_get(x_45, 1); +lean_dec(x_48); +lean_ctor_set(x_45, 1, x_43); +x_49 = lean_st_ref_set(x_8, x_45, x_46); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_11); +lean_ctor_set(x_52, 1, x_41); +lean_ctor_set(x_49, 0, x_52); +return x_49; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_49, 1); +lean_inc(x_53); lean_dec(x_49); -lean_ctor_set(x_46, 1, x_44); -x_50 = lean_st_ref_set(x_8, x_46, x_47); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_11); -lean_ctor_set(x_53, 1, x_42); -lean_ctor_set(x_50, 0, x_53); -return x_50; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_dec(x_50); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_11); +lean_ctor_set(x_54, 1, x_41); x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_11); -lean_ctor_set(x_55, 1, x_42); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +return x_55; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_57 = lean_ctor_get(x_46, 0); -x_58 = lean_ctor_get(x_46, 2); -x_59 = lean_ctor_get(x_46, 3); -lean_inc(x_59); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_56 = lean_ctor_get(x_45, 0); +x_57 = lean_ctor_get(x_45, 2); +x_58 = lean_ctor_get(x_45, 3); lean_inc(x_58); lean_inc(x_57); -lean_dec(x_46); -x_60 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_44); -lean_ctor_set(x_60, 2, x_58); -lean_ctor_set(x_60, 3, x_59); -x_61 = lean_st_ref_set(x_8, x_60, x_47); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_63 = x_61; +lean_inc(x_56); +lean_dec(x_45); +x_59 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_43); +lean_ctor_set(x_59, 2, x_57); +lean_ctor_set(x_59, 3, x_58); +x_60 = lean_st_ref_set(x_8, x_59, x_46); +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_61); - x_63 = lean_box(0); + lean_dec_ref(x_60); + x_62 = lean_box(0); } -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_11); -lean_ctor_set(x_64, 1, x_42); -if (lean_is_scalar(x_63)) { - x_65 = lean_alloc_ctor(0, 2, 0); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_11); +lean_ctor_set(x_63, 1, x_41); +if (lean_is_scalar(x_62)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_65 = x_63; + x_64 = x_62; } -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_62); -return x_65; +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_61); +return x_64; } } else { -lean_object* x_66; +lean_object* x_65; lean_dec(x_11); -x_66 = lean_ctor_get(x_41, 0); +x_65 = lean_ctor_get(x_40, 0); +lean_inc(x_65); +lean_dec(x_40); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_41); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_67 = lean_ctor_get(x_66, 0); +x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_65); +x_68 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_68, 0, x_67); +x_69 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_69, 0, x_68); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -x_71 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_67, x_70, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +x_70 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_66, x_69, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); lean_dec(x_2); -lean_dec(x_67); -x_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) +lean_dec(x_66); +x_71 = !lean_is_exclusive(x_70); +if (x_71 == 0) { -return x_71; +return x_70; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_71, 0); -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_70, 0); +x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); -lean_dec(x_71); -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; +lean_inc(x_72); +lean_dec(x_70); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } else { -lean_object* x_76; uint8_t x_77; +lean_object* x_75; uint8_t x_76; lean_dec(x_7); lean_dec(x_2); -x_76 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_29); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) +x_75 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_34); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) { -return x_76; +return x_75; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_76, 0); -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_75, 0); +x_78 = lean_ctor_get(x_75, 1); lean_inc(x_78); -lean_dec(x_76); -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; +lean_inc(x_77); +lean_dec(x_75); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } @@ -49380,7 +49377,7 @@ return x_25; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_dec(x_20); x_26 = lean_st_ref_get(x_9, x_18); x_27 = lean_ctor_get(x_26, 0); @@ -49391,105 +49388,104 @@ lean_dec(x_26); x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_28); -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 = lean_st_ref_get(x_9, x_32); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_29); +x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_30, 0, x_29); +x_31 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_31, 0, x_15); +lean_inc(x_29); +x_32 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_32, 0, x_29); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_31); +lean_ctor_set(x_33, 2, x_32); +x_34 = x_33; +x_35 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_28); +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_34); -lean_inc(x_29); -x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_37, 0, x_29); +x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); -x_38 = x_37; -lean_inc(x_29); -x_39 = lean_environment_main_module(x_29); -x_40 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_40, 0, x_15); -x_41 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_41, 0, x_29); -x_42 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_42, 0, x_37); -lean_ctor_set(x_42, 1, x_40); -lean_ctor_set(x_42, 2, x_41); -x_43 = x_42; -x_44 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_44, 0, x_38); -lean_ctor_set(x_44, 1, x_39); -lean_ctor_set(x_44, 2, x_31); -lean_ctor_set(x_44, 3, x_12); -lean_ctor_set(x_44, 4, x_13); -lean_ctor_set(x_44, 5, x_16); -lean_ctor_set(x_44, 6, x_43); -x_45 = lean_box(0); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_36); -lean_ctor_set(x_46, 1, x_45); -x_47 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(x_44, x_46); -x_48 = lean_ctor_get(x_47, 0); +lean_dec(x_35); +x_38 = lean_st_ref_get(x_9, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_environment_main_module(x_29); +lean_inc(x_34); +x_43 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_43, 0, x_34); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_36); +lean_ctor_set(x_43, 3, x_12); +lean_ctor_set(x_43, 4, x_13); +lean_ctor_set(x_43, 5, x_16); +lean_ctor_set(x_43, 6, x_34); +x_44 = lean_box(0); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_41); +lean_ctor_set(x_45, 1, x_44); +x_46 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(x_43, x_45); +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); +lean_dec(x_46); +x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_9, x_35); -x_52 = lean_ctor_get(x_51, 0); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_9, x_40); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = !lean_is_exclusive(x_52); -if (x_54 == 0) +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_52, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_51, 1); +lean_dec(x_54); +lean_ctor_set(x_51, 1, x_49); +x_55 = lean_st_ref_set(x_9, x_51, x_52); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); lean_dec(x_55); -lean_ctor_set(x_52, 1, x_50); -x_56 = lean_st_ref_set(x_9, x_52, x_53); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_apply_9(x_21, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_57); -return x_58; +x_57 = lean_apply_9(x_21, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_56); +return x_57; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_59 = lean_ctor_get(x_52, 0); -x_60 = lean_ctor_get(x_52, 2); -x_61 = lean_ctor_get(x_52, 3); -lean_inc(x_61); +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_58 = lean_ctor_get(x_51, 0); +x_59 = lean_ctor_get(x_51, 2); +x_60 = lean_ctor_get(x_51, 3); lean_inc(x_60); lean_inc(x_59); -lean_dec(x_52); -x_62 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_62, 0, x_59); -lean_ctor_set(x_62, 1, x_50); -lean_ctor_set(x_62, 2, x_60); -lean_ctor_set(x_62, 3, x_61); -x_63 = lean_st_ref_set(x_9, x_62, x_53); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_apply_9(x_21, x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_64); -return x_65; +lean_inc(x_58); +lean_dec(x_51); +x_61 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_49); +lean_ctor_set(x_61, 2, x_59); +lean_ctor_set(x_61, 3, x_60); +x_62 = lean_st_ref_set(x_9, x_61, x_52); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_apply_9(x_21, x_47, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_63); +return x_64; } } } else { -uint8_t x_66; +uint8_t x_65; lean_dec(x_8); lean_dec(x_16); lean_dec(x_15); @@ -49501,38 +49497,37 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_66 = !lean_is_exclusive(x_17); -if (x_66 == 0) +x_65 = !lean_is_exclusive(x_17); +if (x_65 == 0) { return x_17; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_17, 0); -x_68 = lean_ctor_get(x_17, 1); -lean_inc(x_68); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_17, 0); +x_67 = lean_ctor_get(x_17, 1); lean_inc(x_67); +lean_inc(x_66); lean_dec(x_17); -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; +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_70 = lean_ctor_get(x_8, 0); -x_71 = lean_ctor_get(x_8, 1); -x_72 = lean_ctor_get(x_8, 2); -x_73 = lean_ctor_get(x_8, 3); -x_74 = lean_ctor_get(x_8, 4); -x_75 = lean_ctor_get(x_8, 5); -x_76 = lean_ctor_get(x_8, 6); -x_77 = lean_ctor_get(x_8, 7); -lean_inc(x_77); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_69 = lean_ctor_get(x_8, 0); +x_70 = lean_ctor_get(x_8, 1); +x_71 = lean_ctor_get(x_8, 2); +x_72 = lean_ctor_get(x_8, 3); +x_73 = lean_ctor_get(x_8, 4); +x_74 = lean_ctor_get(x_8, 5); +x_75 = lean_ctor_get(x_8, 6); +x_76 = lean_ctor_get(x_8, 7); lean_inc(x_76); lean_inc(x_75); lean_inc(x_74); @@ -49540,184 +49535,184 @@ lean_inc(x_73); lean_inc(x_72); lean_inc(x_71); lean_inc(x_70); +lean_inc(x_69); lean_dec(x_8); -x_78 = l_Lean_replaceRef(x_1, x_73); -lean_dec(x_73); -lean_inc(x_74); -lean_inc(x_78); -lean_inc(x_72); -lean_inc(x_71); -x_79 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_79, 0, x_70); -lean_ctor_set(x_79, 1, x_71); -lean_ctor_set(x_79, 2, x_72); -lean_ctor_set(x_79, 3, x_78); -lean_ctor_set(x_79, 4, x_74); -lean_ctor_set(x_79, 5, x_75); -lean_ctor_set(x_79, 6, x_76); -lean_ctor_set(x_79, 7, x_77); -x_80 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_2, x_3, x_4, x_5, x_6, x_7, x_79, x_9, x_10); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_unsigned_to_nat(1u); -x_83 = l_Lean_Syntax_getArg(x_1, x_82); -x_84 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1; -x_85 = l_Lean_Syntax_isNone(x_83); -if (x_85 == 0) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_78); -lean_dec(x_74); +x_77 = l_Lean_replaceRef(x_1, x_72); lean_dec(x_72); +lean_inc(x_73); +lean_inc(x_77); +lean_inc(x_71); +lean_inc(x_70); +x_78 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_78, 0, x_69); +lean_ctor_set(x_78, 1, x_70); +lean_ctor_set(x_78, 2, x_71); +lean_ctor_set(x_78, 3, x_77); +lean_ctor_set(x_78, 4, x_73); +lean_ctor_set(x_78, 5, x_74); +lean_ctor_set(x_78, 6, x_75); +lean_ctor_set(x_78, 7, x_76); +x_79 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_2, x_3, x_4, x_5, x_6, x_7, x_78, x_9, x_10); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_81 = lean_unsigned_to_nat(1u); +x_82 = l_Lean_Syntax_getArg(x_1, x_81); +x_83 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode___closed__1; +x_84 = l_Lean_Syntax_isNone(x_82); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_77); +lean_dec(x_73); lean_dec(x_71); -x_86 = lean_unsigned_to_nat(0u); -x_87 = l_Lean_Syntax_getArg(x_83, x_86); -lean_dec(x_83); -x_88 = lean_apply_9(x_84, x_87, x_3, x_4, x_5, x_6, x_7, x_79, x_9, x_81); -return x_88; +lean_dec(x_70); +x_85 = lean_unsigned_to_nat(0u); +x_86 = l_Lean_Syntax_getArg(x_82, x_85); +lean_dec(x_82); +x_87 = lean_apply_9(x_83, x_86, x_3, x_4, x_5, x_6, x_7, x_78, x_9, x_80); +return x_87; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -lean_dec(x_83); -x_89 = lean_st_ref_get(x_9, x_81); -x_90 = lean_ctor_get(x_89, 0); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_82); +x_88 = lean_st_ref_get(x_9, x_80); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); +lean_dec(x_88); +x_91 = lean_ctor_get(x_89, 0); lean_inc(x_91); lean_dec(x_89); -x_92 = lean_ctor_get(x_90, 0); -lean_inc(x_92); -lean_dec(x_90); -x_93 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_79, x_9, x_91); -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_93, 1); -lean_inc(x_95); -lean_dec(x_93); -x_96 = lean_st_ref_get(x_9, x_95); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_91); +x_92 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_92, 0, x_91); +x_93 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_93, 0, x_73); +lean_inc(x_91); +x_94 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_94, 0, x_91); +x_95 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_95, 0, x_92); +lean_ctor_set(x_95, 1, x_93); +lean_ctor_set(x_95, 2, x_94); +x_96 = x_95; +x_97 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_78, x_9, x_90); +x_98 = lean_ctor_get(x_97, 0); lean_inc(x_98); -lean_dec(x_96); x_99 = lean_ctor_get(x_97, 1); lean_inc(x_99); lean_dec(x_97); -lean_inc(x_92); -x_100 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_100, 0, x_92); -lean_inc(x_100); -x_101 = x_100; -lean_inc(x_92); -x_102 = lean_environment_main_module(x_92); -x_103 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_103, 0, x_74); -x_104 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_104, 0, x_92); -x_105 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_105, 0, x_100); -lean_ctor_set(x_105, 1, x_103); -lean_ctor_set(x_105, 2, x_104); -x_106 = x_105; -x_107 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_107, 0, x_101); -lean_ctor_set(x_107, 1, x_102); -lean_ctor_set(x_107, 2, x_94); -lean_ctor_set(x_107, 3, x_71); -lean_ctor_set(x_107, 4, x_72); -lean_ctor_set(x_107, 5, x_78); -lean_ctor_set(x_107, 6, x_106); -x_108 = lean_box(0); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_99); -lean_ctor_set(x_109, 1, x_108); -x_110 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(x_107, x_109); +x_100 = lean_st_ref_get(x_9, x_99); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = lean_environment_main_module(x_91); +lean_inc(x_96); +x_105 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_105, 0, x_96); +lean_ctor_set(x_105, 1, x_104); +lean_ctor_set(x_105, 2, x_98); +lean_ctor_set(x_105, 3, x_70); +lean_ctor_set(x_105, 4, x_71); +lean_ctor_set(x_105, 5, x_77); +lean_ctor_set(x_105, 6, x_96); +x_106 = lean_box(0); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_103); +lean_ctor_set(x_107, 1, x_106); +x_108 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit(x_105, x_107); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); lean_dec(x_110); +x_112 = lean_st_ref_take(x_9, x_102); x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); lean_dec(x_112); -x_114 = lean_st_ref_take(x_9, x_98); -x_115 = lean_ctor_get(x_114, 0); +x_115 = lean_ctor_get(x_113, 0); lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); +x_116 = lean_ctor_get(x_113, 2); lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_ctor_get(x_115, 0); +x_117 = lean_ctor_get(x_113, 3); lean_inc(x_117); -x_118 = lean_ctor_get(x_115, 2); -lean_inc(x_118); -x_119 = lean_ctor_get(x_115, 3); -lean_inc(x_119); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - lean_ctor_release(x_115, 2); - lean_ctor_release(x_115, 3); - x_120 = x_115; +if (lean_is_exclusive(x_113)) { + lean_ctor_release(x_113, 0); + lean_ctor_release(x_113, 1); + lean_ctor_release(x_113, 2); + lean_ctor_release(x_113, 3); + x_118 = x_113; } else { - lean_dec_ref(x_115); - x_120 = lean_box(0); + lean_dec_ref(x_113); + x_118 = lean_box(0); } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(0, 4, 0); } else { - x_121 = x_120; + x_119 = x_118; } -lean_ctor_set(x_121, 0, x_117); -lean_ctor_set(x_121, 1, x_113); -lean_ctor_set(x_121, 2, x_118); -lean_ctor_set(x_121, 3, x_119); -x_122 = lean_st_ref_set(x_9, x_121, x_116); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec(x_122); -x_124 = lean_apply_9(x_84, x_111, x_3, x_4, x_5, x_6, x_7, x_79, x_9, x_123); -return x_124; +lean_ctor_set(x_119, 0, x_115); +lean_ctor_set(x_119, 1, x_111); +lean_ctor_set(x_119, 2, x_116); +lean_ctor_set(x_119, 3, x_117); +x_120 = lean_st_ref_set(x_9, x_119, x_114); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +lean_dec(x_120); +x_122 = lean_apply_9(x_83, x_109, x_3, x_4, x_5, x_6, x_7, x_78, x_9, x_121); +return x_122; } } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -lean_dec(x_79); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_dec(x_78); -lean_dec(x_74); -lean_dec(x_72); +lean_dec(x_77); +lean_dec(x_73); lean_dec(x_71); +lean_dec(x_70); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_125 = lean_ctor_get(x_80, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_80, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_127 = x_80; +x_123 = lean_ctor_get(x_79, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_79, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + lean_ctor_release(x_79, 1); + x_125 = x_79; } else { - lean_dec_ref(x_80); - x_127 = lean_box(0); + lean_dec_ref(x_79); + x_125 = lean_box(0); } -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); } else { - x_128 = x_127; + x_126 = x_125; } -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -return x_128; +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; } } } @@ -50661,7 +50656,7 @@ x_14 = lean_nat_add(x_1, x_13); x_15 = !lean_is_exclusive(x_10); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_372; lean_object* x_373; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_371; lean_object* x_372; x_16 = lean_ctor_get(x_10, 2); x_17 = lean_ctor_get(x_10, 3); x_18 = lean_ctor_get(x_10, 4); @@ -50675,182 +50670,181 @@ lean_inc(x_16); lean_inc(x_14); lean_ctor_set(x_10, 3, x_20); lean_ctor_set(x_10, 1, x_14); -x_372 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; -x_373 = l_Lean_Core_checkMaxHeartbeats(x_372, x_10, x_11, x_12); -if (lean_obj_tag(x_373) == 0) +x_371 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; +x_372 = l_Lean_Core_checkMaxHeartbeats(x_371, x_10, x_11, x_12); +if (lean_obj_tag(x_372) == 0) { -lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; -x_374 = lean_ctor_get(x_373, 1); -lean_inc(x_374); -lean_dec(x_373); -x_419 = lean_st_ref_get(x_11, x_374); -x_420 = lean_ctor_get(x_419, 0); +lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; +x_373 = lean_ctor_get(x_372, 1); +lean_inc(x_373); +lean_dec(x_372); +x_417 = lean_st_ref_get(x_11, x_373); +x_418 = lean_ctor_get(x_417, 0); +lean_inc(x_418); +x_419 = lean_ctor_get(x_417, 1); +lean_inc(x_419); +lean_dec(x_417); +x_420 = lean_ctor_get(x_418, 0); lean_inc(x_420); -x_421 = lean_ctor_get(x_419, 1); -lean_inc(x_421); -lean_dec(x_419); -x_422 = lean_ctor_get(x_420, 0); -lean_inc(x_422); -lean_dec(x_420); -x_423 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_421); -x_424 = lean_ctor_get(x_423, 0); -lean_inc(x_424); -x_425 = lean_ctor_get(x_423, 1); -lean_inc(x_425); -lean_dec(x_423); -x_426 = lean_st_ref_get(x_11, x_425); +lean_dec(x_418); +lean_inc(x_420); +x_421 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_421, 0, x_420); +lean_inc(x_18); +x_422 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_422, 0, x_18); +lean_inc(x_420); +x_423 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_423, 0, x_420); +x_424 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_424, 0, x_421); +lean_ctor_set(x_424, 1, x_422); +lean_ctor_set(x_424, 2, x_423); +x_425 = x_424; +x_426 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_419); x_427 = lean_ctor_get(x_426, 0); lean_inc(x_427); x_428 = lean_ctor_get(x_426, 1); lean_inc(x_428); lean_dec(x_426); -x_429 = lean_ctor_get(x_427, 1); -lean_inc(x_429); -lean_dec(x_427); -lean_inc(x_422); -x_430 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_430, 0, x_422); +x_429 = lean_st_ref_get(x_11, x_428); +x_430 = lean_ctor_get(x_429, 0); lean_inc(x_430); -x_431 = x_430; -lean_inc(x_422); -x_432 = lean_environment_main_module(x_422); -lean_inc(x_18); -x_433 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_433, 0, x_18); -x_434 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_434, 0, x_422); -x_435 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_435, 0, x_430); -lean_ctor_set(x_435, 1, x_433); -lean_ctor_set(x_435, 2, x_434); -x_436 = x_435; +x_431 = lean_ctor_get(x_429, 1); +lean_inc(x_431); +lean_dec(x_429); +x_432 = lean_ctor_get(x_430, 1); +lean_inc(x_432); +lean_dec(x_430); +x_433 = lean_environment_main_module(x_420); lean_inc(x_20); lean_inc(x_16); lean_inc(x_14); -x_437 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_437, 0, x_431); -lean_ctor_set(x_437, 1, x_432); -lean_ctor_set(x_437, 2, x_424); -lean_ctor_set(x_437, 3, x_14); -lean_ctor_set(x_437, 4, x_16); -lean_ctor_set(x_437, 5, x_20); -lean_ctor_set(x_437, 6, x_436); -x_438 = lean_box(0); -x_439 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_439, 0, x_429); -lean_ctor_set(x_439, 1, x_438); +lean_inc(x_425); +x_434 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_434, 0, x_425); +lean_ctor_set(x_434, 1, x_433); +lean_ctor_set(x_434, 2, x_427); +lean_ctor_set(x_434, 3, x_14); +lean_ctor_set(x_434, 4, x_16); +lean_ctor_set(x_434, 5, x_20); +lean_ctor_set(x_434, 6, x_425); +x_435 = lean_box(0); +x_436 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_436, 0, x_432); +lean_ctor_set(x_436, 1, x_435); lean_inc(x_2); -x_440 = l_Lean_Macro_expandMacro_x3f(x_2, x_437, x_439); -if (lean_obj_tag(x_440) == 0) +x_437 = l_Lean_Macro_expandMacro_x3f(x_2, x_434, x_436); +if (lean_obj_tag(x_437) == 0) { -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; uint8_t x_447; -x_441 = lean_ctor_get(x_440, 0); -lean_inc(x_441); -x_442 = lean_ctor_get(x_440, 1); +lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; uint8_t x_444; +x_438 = lean_ctor_get(x_437, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_437, 1); +lean_inc(x_439); +lean_dec(x_437); +x_440 = lean_ctor_get(x_439, 0); +lean_inc(x_440); +lean_dec(x_439); +x_441 = lean_st_ref_take(x_11, x_431); +x_442 = lean_ctor_get(x_441, 0); lean_inc(x_442); -lean_dec(x_440); -x_443 = lean_ctor_get(x_442, 0); +x_443 = lean_ctor_get(x_441, 1); lean_inc(x_443); -lean_dec(x_442); -x_444 = lean_st_ref_take(x_11, x_428); -x_445 = lean_ctor_get(x_444, 0); -lean_inc(x_445); -x_446 = lean_ctor_get(x_444, 1); -lean_inc(x_446); -lean_dec(x_444); -x_447 = !lean_is_exclusive(x_445); -if (x_447 == 0) +lean_dec(x_441); +x_444 = !lean_is_exclusive(x_442); +if (x_444 == 0) { -lean_object* x_448; lean_object* x_449; lean_object* x_450; -x_448 = lean_ctor_get(x_445, 1); -lean_dec(x_448); -lean_ctor_set(x_445, 1, x_443); -x_449 = lean_st_ref_set(x_11, x_445, x_446); -x_450 = lean_ctor_get(x_449, 1); -lean_inc(x_450); -lean_dec(x_449); -x_375 = x_441; -x_376 = x_450; -goto block_418; -} -else -{ -lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; -x_451 = lean_ctor_get(x_445, 0); -x_452 = lean_ctor_get(x_445, 2); -x_453 = lean_ctor_get(x_445, 3); -lean_inc(x_453); -lean_inc(x_452); -lean_inc(x_451); +lean_object* x_445; lean_object* x_446; lean_object* x_447; +x_445 = lean_ctor_get(x_442, 1); lean_dec(x_445); -x_454 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_454, 0, x_451); -lean_ctor_set(x_454, 1, x_443); -lean_ctor_set(x_454, 2, x_452); -lean_ctor_set(x_454, 3, x_453); -x_455 = lean_st_ref_set(x_11, x_454, x_446); -x_456 = lean_ctor_get(x_455, 1); -lean_inc(x_456); -lean_dec(x_455); -x_375 = x_441; -x_376 = x_456; -goto block_418; +lean_ctor_set(x_442, 1, x_440); +x_446 = lean_st_ref_set(x_11, x_442, x_443); +x_447 = lean_ctor_get(x_446, 1); +lean_inc(x_447); +lean_dec(x_446); +x_374 = x_438; +x_375 = x_447; +goto block_416; +} +else +{ +lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +x_448 = lean_ctor_get(x_442, 0); +x_449 = lean_ctor_get(x_442, 2); +x_450 = lean_ctor_get(x_442, 3); +lean_inc(x_450); +lean_inc(x_449); +lean_inc(x_448); +lean_dec(x_442); +x_451 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_451, 0, x_448); +lean_ctor_set(x_451, 1, x_440); +lean_ctor_set(x_451, 2, x_449); +lean_ctor_set(x_451, 3, x_450); +x_452 = lean_st_ref_set(x_11, x_451, x_443); +x_453 = lean_ctor_get(x_452, 1); +lean_inc(x_453); +lean_dec(x_452); +x_374 = x_438; +x_375 = x_453; +goto block_416; } } else { -lean_object* x_457; +lean_object* x_454; lean_dec(x_20); lean_dec(x_18); lean_dec(x_16); lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); -x_457 = lean_ctor_get(x_440, 0); -lean_inc(x_457); -lean_dec(x_440); -if (lean_obj_tag(x_457) == 0) +x_454 = lean_ctor_get(x_437, 0); +lean_inc(x_454); +lean_dec(x_437); +if (lean_obj_tag(x_454) == 0) { -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; uint8_t x_463; -x_458 = lean_ctor_get(x_457, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_457, 1); -lean_inc(x_459); -lean_dec(x_457); -x_460 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_460, 0, x_459); -x_461 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_461, 0, x_460); -x_462 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_458, x_461, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_428); +lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; uint8_t x_460; +x_455 = lean_ctor_get(x_454, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_454, 1); +lean_inc(x_456); +lean_dec(x_454); +x_457 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_457, 0, x_456); +x_458 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_458, 0, x_457); +x_459 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_455, x_458, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_431); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_458); -x_463 = !lean_is_exclusive(x_462); -if (x_463 == 0) +lean_dec(x_455); +x_460 = !lean_is_exclusive(x_459); +if (x_460 == 0) { -return x_462; +return x_459; } else { -lean_object* x_464; lean_object* x_465; lean_object* x_466; -x_464 = lean_ctor_get(x_462, 0); -x_465 = lean_ctor_get(x_462, 1); -lean_inc(x_465); -lean_inc(x_464); -lean_dec(x_462); -x_466 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_466, 0, x_464); -lean_ctor_set(x_466, 1, x_465); -return x_466; +lean_object* x_461; lean_object* x_462; lean_object* x_463; +x_461 = lean_ctor_get(x_459, 0); +x_462 = lean_ctor_get(x_459, 1); +lean_inc(x_462); +lean_inc(x_461); +lean_dec(x_459); +x_463 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_463, 0, x_461); +lean_ctor_set(x_463, 1, x_462); +return x_463; } } else { -lean_object* x_467; uint8_t x_468; +lean_object* x_464; uint8_t x_465; lean_dec(x_10); lean_dec(x_11); lean_dec(x_9); @@ -50858,165 +50852,164 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_467 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(x_428); -x_468 = !lean_is_exclusive(x_467); -if (x_468 == 0) +x_464 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(x_431); +x_465 = !lean_is_exclusive(x_464); +if (x_465 == 0) { -return x_467; +return x_464; } else { -lean_object* x_469; lean_object* x_470; lean_object* x_471; -x_469 = lean_ctor_get(x_467, 0); -x_470 = lean_ctor_get(x_467, 1); -lean_inc(x_470); -lean_inc(x_469); -lean_dec(x_467); -x_471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_471, 0, x_469); -lean_ctor_set(x_471, 1, x_470); -return x_471; +lean_object* x_466; lean_object* x_467; lean_object* x_468; +x_466 = lean_ctor_get(x_464, 0); +x_467 = lean_ctor_get(x_464, 1); +lean_inc(x_467); +lean_inc(x_466); +lean_dec(x_464); +x_468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_468, 0, x_466); +lean_ctor_set(x_468, 1, x_467); +return x_468; } } } -block_418: +block_416: { -if (lean_obj_tag(x_375) == 0) +if (lean_obj_tag(x_374) == 0) { -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; uint8_t x_405; -x_377 = lean_st_ref_get(x_11, x_376); -x_378 = lean_ctor_get(x_377, 0); +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; +x_376 = lean_st_ref_get(x_11, x_375); +x_377 = lean_ctor_get(x_376, 0); +lean_inc(x_377); +x_378 = lean_ctor_get(x_376, 1); lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); +lean_dec(x_376); +x_379 = lean_ctor_get(x_377, 0); lean_inc(x_379); lean_dec(x_377); -x_380 = lean_ctor_get(x_378, 0); -lean_inc(x_380); -lean_dec(x_378); -x_381 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_379); -x_382 = lean_ctor_get(x_381, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_381, 1); -lean_inc(x_383); -lean_dec(x_381); -x_384 = lean_st_ref_get(x_11, x_383); -x_385 = lean_ctor_get(x_384, 0); -lean_inc(x_385); -x_386 = lean_ctor_get(x_384, 1); +lean_inc(x_379); +x_380 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_380, 0, x_379); +lean_inc(x_18); +x_381 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_381, 0, x_18); +lean_inc(x_379); +x_382 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_382, 0, x_379); +x_383 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_383, 0, x_380); +lean_ctor_set(x_383, 1, x_381); +lean_ctor_set(x_383, 2, x_382); +x_384 = x_383; +x_385 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_378); +x_386 = lean_ctor_get(x_385, 0); lean_inc(x_386); -lean_dec(x_384); x_387 = lean_ctor_get(x_385, 1); lean_inc(x_387); lean_dec(x_385); -lean_inc(x_380); -x_388 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_388, 0, x_380); -lean_inc(x_388); -x_389 = x_388; -lean_inc(x_380); -x_390 = lean_environment_main_module(x_380); -lean_inc(x_18); -x_391 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_391, 0, x_18); -x_392 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_392, 0, x_380); -x_393 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_393, 0, x_388); -lean_ctor_set(x_393, 1, x_391); -lean_ctor_set(x_393, 2, x_392); -x_394 = x_393; +x_388 = lean_st_ref_get(x_11, x_387); +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +x_390 = lean_ctor_get(x_388, 1); +lean_inc(x_390); +lean_dec(x_388); +x_391 = lean_ctor_get(x_389, 1); +lean_inc(x_391); +lean_dec(x_389); +x_392 = lean_environment_main_module(x_379); lean_inc(x_20); lean_inc(x_16); lean_inc(x_14); -x_395 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_395, 0, x_389); -lean_ctor_set(x_395, 1, x_390); -lean_ctor_set(x_395, 2, x_382); -lean_ctor_set(x_395, 3, x_14); -lean_ctor_set(x_395, 4, x_16); -lean_ctor_set(x_395, 5, x_20); -lean_ctor_set(x_395, 6, x_394); -x_396 = lean_box(0); -x_397 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_397, 0, x_387); -lean_ctor_set(x_397, 1, x_396); +lean_inc(x_384); +x_393 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_393, 0, x_384); +lean_ctor_set(x_393, 1, x_392); +lean_ctor_set(x_393, 2, x_386); +lean_ctor_set(x_393, 3, x_14); +lean_ctor_set(x_393, 4, x_16); +lean_ctor_set(x_393, 5, x_20); +lean_ctor_set(x_393, 6, x_384); +x_394 = lean_box(0); +x_395 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_395, 0, x_391); +lean_ctor_set(x_395, 1, x_394); lean_inc(x_2); -x_398 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f(x_2, x_395, x_397); +x_396 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f(x_2, x_393, x_395); +x_397 = lean_ctor_get(x_396, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_396, 1); +lean_inc(x_398); +lean_dec(x_396); x_399 = lean_ctor_get(x_398, 0); lean_inc(x_399); -x_400 = lean_ctor_get(x_398, 1); -lean_inc(x_400); lean_dec(x_398); +x_400 = lean_st_ref_take(x_11, x_390); x_401 = lean_ctor_get(x_400, 0); lean_inc(x_401); +x_402 = lean_ctor_get(x_400, 1); +lean_inc(x_402); lean_dec(x_400); -x_402 = lean_st_ref_take(x_11, x_386); -x_403 = lean_ctor_get(x_402, 0); -lean_inc(x_403); -x_404 = lean_ctor_get(x_402, 1); -lean_inc(x_404); -lean_dec(x_402); -x_405 = !lean_is_exclusive(x_403); -if (x_405 == 0) +x_403 = !lean_is_exclusive(x_401); +if (x_403 == 0) { -lean_object* x_406; lean_object* x_407; lean_object* x_408; -x_406 = lean_ctor_get(x_403, 1); -lean_dec(x_406); -lean_ctor_set(x_403, 1, x_401); -x_407 = lean_st_ref_set(x_11, x_403, x_404); -x_408 = lean_ctor_get(x_407, 1); -lean_inc(x_408); -lean_dec(x_407); -x_21 = x_399; -x_22 = x_408; -goto block_371; +lean_object* x_404; lean_object* x_405; lean_object* x_406; +x_404 = lean_ctor_get(x_401, 1); +lean_dec(x_404); +lean_ctor_set(x_401, 1, x_399); +x_405 = lean_st_ref_set(x_11, x_401, x_402); +x_406 = lean_ctor_get(x_405, 1); +lean_inc(x_406); +lean_dec(x_405); +x_21 = x_397; +x_22 = x_406; +goto block_370; } else { -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; -x_409 = lean_ctor_get(x_403, 0); -x_410 = lean_ctor_get(x_403, 2); -x_411 = lean_ctor_get(x_403, 3); -lean_inc(x_411); -lean_inc(x_410); +lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; +x_407 = lean_ctor_get(x_401, 0); +x_408 = lean_ctor_get(x_401, 2); +x_409 = lean_ctor_get(x_401, 3); lean_inc(x_409); -lean_dec(x_403); -x_412 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_412, 0, x_409); -lean_ctor_set(x_412, 1, x_401); -lean_ctor_set(x_412, 2, x_410); -lean_ctor_set(x_412, 3, x_411); -x_413 = lean_st_ref_set(x_11, x_412, x_404); -x_414 = lean_ctor_get(x_413, 1); -lean_inc(x_414); -lean_dec(x_413); -x_21 = x_399; -x_22 = x_414; -goto block_371; +lean_inc(x_408); +lean_inc(x_407); +lean_dec(x_401); +x_410 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_410, 0, x_407); +lean_ctor_set(x_410, 1, x_399); +lean_ctor_set(x_410, 2, x_408); +lean_ctor_set(x_410, 3, x_409); +x_411 = lean_st_ref_set(x_11, x_410, x_402); +x_412 = lean_ctor_get(x_411, 1); +lean_inc(x_412); +lean_dec(x_411); +x_21 = x_397; +x_22 = x_412; +goto block_370; } } else { -lean_object* x_415; lean_object* x_416; lean_object* x_417; +lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_dec(x_20); lean_dec(x_18); lean_dec(x_16); lean_dec(x_14); lean_dec(x_2); -x_415 = lean_ctor_get(x_375, 0); -lean_inc(x_415); -lean_dec(x_375); -x_416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_416, 0, x_415); -lean_ctor_set(x_416, 1, x_3); -x_417 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_416, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_376); -return x_417; +x_413 = lean_ctor_get(x_374, 0); +lean_inc(x_413); +lean_dec(x_374); +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_3); +x_415 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_414, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_375); +return x_415; } } } else { -uint8_t x_472; +uint8_t x_469; lean_dec(x_10); lean_dec(x_20); lean_dec(x_18); @@ -51030,31 +51023,31 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_472 = !lean_is_exclusive(x_373); -if (x_472 == 0) +x_469 = !lean_is_exclusive(x_372); +if (x_469 == 0) { -return x_373; +return x_372; } else { -lean_object* x_473; lean_object* x_474; lean_object* x_475; -x_473 = lean_ctor_get(x_373, 0); -x_474 = lean_ctor_get(x_373, 1); -lean_inc(x_474); -lean_inc(x_473); -lean_dec(x_373); -x_475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_475, 0, x_473); -lean_ctor_set(x_475, 1, x_474); -return x_475; +lean_object* x_470; lean_object* x_471; lean_object* x_472; +x_470 = lean_ctor_get(x_372, 0); +x_471 = lean_ctor_get(x_372, 1); +lean_inc(x_471); +lean_inc(x_470); +lean_dec(x_372); +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_470); +lean_ctor_set(x_472, 1, x_471); +return x_472; } } -block_371: +block_370: { lean_object* x_23; lean_object* x_24; if (lean_obj_tag(x_21) == 0) { -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; x_315 = lean_st_ref_get(x_11, x_22); x_316 = lean_ctor_get(x_315, 0); lean_inc(x_316); @@ -51064,198 +51057,197 @@ lean_dec(x_315); x_318 = lean_ctor_get(x_316, 0); lean_inc(x_318); lean_dec(x_316); -x_319 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_317); -x_320 = lean_ctor_get(x_319, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_319, 1); -lean_inc(x_321); -lean_dec(x_319); -x_322 = lean_st_ref_get(x_11, x_321); -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_322, 1); -lean_inc(x_324); -lean_dec(x_322); -x_325 = lean_ctor_get(x_323, 1); +lean_inc(x_318); +x_319 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_319, 0, x_318); +x_320 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_320, 0, x_18); +lean_inc(x_318); +x_321 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_321, 0, x_318); +x_322 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_322, 0, x_319); +lean_ctor_set(x_322, 1, x_320); +lean_ctor_set(x_322, 2, x_321); +x_323 = x_322; +x_324 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_317); +x_325 = lean_ctor_get(x_324, 0); lean_inc(x_325); -lean_dec(x_323); -lean_inc(x_318); -x_326 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_326, 0, x_318); +x_326 = lean_ctor_get(x_324, 1); lean_inc(x_326); -x_327 = x_326; -lean_inc(x_318); -x_328 = lean_environment_main_module(x_318); -x_329 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_329, 0, x_18); -x_330 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_330, 0, x_318); -x_331 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_331, 0, x_326); -lean_ctor_set(x_331, 1, x_329); -lean_ctor_set(x_331, 2, x_330); -x_332 = x_331; -x_333 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_333, 0, x_327); -lean_ctor_set(x_333, 1, x_328); -lean_ctor_set(x_333, 2, x_320); -lean_ctor_set(x_333, 3, x_14); -lean_ctor_set(x_333, 4, x_16); -lean_ctor_set(x_333, 5, x_20); -lean_ctor_set(x_333, 6, x_332); -x_334 = lean_box(0); -x_335 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_335, 0, x_325); -lean_ctor_set(x_335, 1, x_334); -x_336 = l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(x_2, x_333, x_335); -if (lean_obj_tag(x_336) == 0) +lean_dec(x_324); +x_327 = lean_st_ref_get(x_11, x_326); +x_328 = lean_ctor_get(x_327, 0); +lean_inc(x_328); +x_329 = lean_ctor_get(x_327, 1); +lean_inc(x_329); +lean_dec(x_327); +x_330 = lean_ctor_get(x_328, 1); +lean_inc(x_330); +lean_dec(x_328); +x_331 = lean_environment_main_module(x_318); +lean_inc(x_323); +x_332 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_332, 0, x_323); +lean_ctor_set(x_332, 1, x_331); +lean_ctor_set(x_332, 2, x_325); +lean_ctor_set(x_332, 3, x_14); +lean_ctor_set(x_332, 4, x_16); +lean_ctor_set(x_332, 5, x_20); +lean_ctor_set(x_332, 6, x_323); +x_333 = lean_box(0); +x_334 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_334, 0, x_330); +lean_ctor_set(x_334, 1, x_333); +x_335 = l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(x_2, x_332, x_334); +if (lean_obj_tag(x_335) == 0) { -lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; -x_337 = lean_ctor_get(x_336, 0); +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; uint8_t x_342; +x_336 = lean_ctor_get(x_335, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_335, 1); lean_inc(x_337); -x_338 = lean_ctor_get(x_336, 1); +lean_dec(x_335); +x_338 = lean_ctor_get(x_337, 0); lean_inc(x_338); -lean_dec(x_336); -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -lean_dec(x_338); -x_340 = lean_st_ref_take(x_11, x_324); -x_341 = lean_ctor_get(x_340, 0); +lean_dec(x_337); +x_339 = lean_st_ref_take(x_11, x_329); +x_340 = lean_ctor_get(x_339, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_339, 1); lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -lean_dec(x_340); -x_343 = !lean_is_exclusive(x_341); -if (x_343 == 0) +lean_dec(x_339); +x_342 = !lean_is_exclusive(x_340); +if (x_342 == 0) { -lean_object* x_344; lean_object* x_345; lean_object* x_346; -x_344 = lean_ctor_get(x_341, 1); +lean_object* x_343; lean_object* x_344; lean_object* x_345; +x_343 = lean_ctor_get(x_340, 1); +lean_dec(x_343); +lean_ctor_set(x_340, 1, x_338); +x_344 = lean_st_ref_set(x_11, x_340, x_341); +x_345 = lean_ctor_get(x_344, 1); +lean_inc(x_345); lean_dec(x_344); -lean_ctor_set(x_341, 1, x_339); -x_345 = lean_st_ref_set(x_11, x_341, x_342); -x_346 = lean_ctor_get(x_345, 1); -lean_inc(x_346); -lean_dec(x_345); -x_23 = x_337; -x_24 = x_346; +x_23 = x_336; +x_24 = x_345; goto block_314; } else { -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_347 = lean_ctor_get(x_341, 0); -x_348 = lean_ctor_get(x_341, 2); -x_349 = lean_ctor_get(x_341, 3); -lean_inc(x_349); +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; +x_346 = lean_ctor_get(x_340, 0); +x_347 = lean_ctor_get(x_340, 2); +x_348 = lean_ctor_get(x_340, 3); lean_inc(x_348); lean_inc(x_347); -lean_dec(x_341); -x_350 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_350, 0, x_347); -lean_ctor_set(x_350, 1, x_339); -lean_ctor_set(x_350, 2, x_348); -lean_ctor_set(x_350, 3, x_349); -x_351 = lean_st_ref_set(x_11, x_350, x_342); -x_352 = lean_ctor_get(x_351, 1); -lean_inc(x_352); -lean_dec(x_351); -x_23 = x_337; -x_24 = x_352; +lean_inc(x_346); +lean_dec(x_340); +x_349 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_349, 0, x_346); +lean_ctor_set(x_349, 1, x_338); +lean_ctor_set(x_349, 2, x_347); +lean_ctor_set(x_349, 3, x_348); +x_350 = lean_st_ref_set(x_11, x_349, x_341); +x_351 = lean_ctor_get(x_350, 1); +lean_inc(x_351); +lean_dec(x_350); +x_23 = x_336; +x_24 = x_351; goto block_314; } } else { -lean_object* x_353; +lean_object* x_352; lean_dec(x_5); lean_dec(x_3); -x_353 = lean_ctor_get(x_336, 0); -lean_inc(x_353); -lean_dec(x_336); -if (lean_obj_tag(x_353) == 0) +x_352 = lean_ctor_get(x_335, 0); +lean_inc(x_352); +lean_dec(x_335); +if (lean_obj_tag(x_352) == 0) { -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; -x_354 = lean_ctor_get(x_353, 0); +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; uint8_t x_358; +x_353 = lean_ctor_get(x_352, 0); +lean_inc(x_353); +x_354 = lean_ctor_get(x_352, 1); lean_inc(x_354); -x_355 = lean_ctor_get(x_353, 1); -lean_inc(x_355); -lean_dec(x_353); -x_356 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_352); +x_355 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_355, 0, x_354); +x_356 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_356, 0, x_355); -x_357 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_357, 0, x_356); -x_358 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_354, x_357, x_6, x_7, x_8, x_9, x_10, x_11, x_324); +x_357 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_353, x_356, x_6, x_7, x_8, x_9, x_10, x_11, x_329); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_354); -x_359 = !lean_is_exclusive(x_358); -if (x_359 == 0) +lean_dec(x_353); +x_358 = !lean_is_exclusive(x_357); +if (x_358 == 0) { -return x_358; +return x_357; } else { -lean_object* x_360; lean_object* x_361; lean_object* x_362; -x_360 = lean_ctor_get(x_358, 0); -x_361 = lean_ctor_get(x_358, 1); -lean_inc(x_361); +lean_object* x_359; lean_object* x_360; lean_object* x_361; +x_359 = lean_ctor_get(x_357, 0); +x_360 = lean_ctor_get(x_357, 1); lean_inc(x_360); -lean_dec(x_358); -x_362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_362, 0, x_360); -lean_ctor_set(x_362, 1, x_361); -return x_362; +lean_inc(x_359); +lean_dec(x_357); +x_361 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_361, 0, x_359); +lean_ctor_set(x_361, 1, x_360); +return x_361; } } else { -lean_object* x_363; uint8_t x_364; +lean_object* x_362; uint8_t x_363; lean_dec(x_10); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_363 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(x_324); -x_364 = !lean_is_exclusive(x_363); -if (x_364 == 0) +x_362 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(x_329); +x_363 = !lean_is_exclusive(x_362); +if (x_363 == 0) { -return x_363; +return x_362; } else { -lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_365 = lean_ctor_get(x_363, 0); -x_366 = lean_ctor_get(x_363, 1); -lean_inc(x_366); +lean_object* x_364; lean_object* x_365; lean_object* x_366; +x_364 = lean_ctor_get(x_362, 0); +x_365 = lean_ctor_get(x_362, 1); lean_inc(x_365); -lean_dec(x_363); -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_365); -lean_ctor_set(x_367, 1, x_366); -return x_367; +lean_inc(x_364); +lean_dec(x_362); +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_364); +lean_ctor_set(x_366, 1, x_365); +return x_366; } } } } else { -lean_object* x_368; lean_object* x_369; lean_object* x_370; +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_dec(x_20); lean_dec(x_18); lean_dec(x_16); lean_dec(x_14); lean_dec(x_2); -x_368 = lean_ctor_get(x_21, 0); -lean_inc(x_368); +x_367 = lean_ctor_get(x_21, 0); +lean_inc(x_367); lean_dec(x_21); -x_369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_3); -x_370 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_369, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); -return x_370; +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_3); +x_369 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_368, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +return x_369; } block_314: { @@ -52576,55 +52568,69 @@ return x_313; } else { -lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_783; lean_object* x_784; -x_476 = lean_ctor_get(x_10, 0); -x_477 = lean_ctor_get(x_10, 2); -x_478 = lean_ctor_get(x_10, 3); -x_479 = lean_ctor_get(x_10, 4); -x_480 = lean_ctor_get(x_10, 5); -x_481 = lean_ctor_get(x_10, 6); -x_482 = lean_ctor_get(x_10, 7); -lean_inc(x_482); -lean_inc(x_481); -lean_inc(x_480); +lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_779; lean_object* x_780; +x_473 = lean_ctor_get(x_10, 0); +x_474 = lean_ctor_get(x_10, 2); +x_475 = lean_ctor_get(x_10, 3); +x_476 = lean_ctor_get(x_10, 4); +x_477 = lean_ctor_get(x_10, 5); +x_478 = lean_ctor_get(x_10, 6); +x_479 = lean_ctor_get(x_10, 7); lean_inc(x_479); lean_inc(x_478); lean_inc(x_477); lean_inc(x_476); +lean_inc(x_475); +lean_inc(x_474); +lean_inc(x_473); lean_dec(x_10); -x_483 = l_Lean_replaceRef(x_2, x_478); -lean_dec(x_478); -lean_inc(x_479); -lean_inc(x_483); -lean_inc(x_477); +x_480 = l_Lean_replaceRef(x_2, x_475); +lean_dec(x_475); +lean_inc(x_476); +lean_inc(x_480); +lean_inc(x_474); lean_inc(x_14); -x_484 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_484, 0, x_476); -lean_ctor_set(x_484, 1, x_14); -lean_ctor_set(x_484, 2, x_477); -lean_ctor_set(x_484, 3, x_483); -lean_ctor_set(x_484, 4, x_479); -lean_ctor_set(x_484, 5, x_480); -lean_ctor_set(x_484, 6, x_481); -lean_ctor_set(x_484, 7, x_482); -x_783 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; -x_784 = l_Lean_Core_checkMaxHeartbeats(x_783, x_484, x_11, x_12); -if (lean_obj_tag(x_784) == 0) +x_481 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_481, 0, x_473); +lean_ctor_set(x_481, 1, x_14); +lean_ctor_set(x_481, 2, x_474); +lean_ctor_set(x_481, 3, x_480); +lean_ctor_set(x_481, 4, x_476); +lean_ctor_set(x_481, 5, x_477); +lean_ctor_set(x_481, 6, x_478); +lean_ctor_set(x_481, 7, x_479); +x_779 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__3; +x_780 = l_Lean_Core_checkMaxHeartbeats(x_779, x_481, x_11, x_12); +if (lean_obj_tag(x_780) == 0) { -lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; -x_785 = lean_ctor_get(x_784, 1); -lean_inc(x_785); -lean_dec(x_784); -x_827 = lean_st_ref_get(x_11, x_785); -x_828 = lean_ctor_get(x_827, 0); -lean_inc(x_828); -x_829 = lean_ctor_get(x_827, 1); -lean_inc(x_829); -lean_dec(x_827); -x_830 = lean_ctor_get(x_828, 0); -lean_inc(x_830); -lean_dec(x_828); -x_831 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_484, x_11, x_829); +lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; +x_781 = lean_ctor_get(x_780, 1); +lean_inc(x_781); +lean_dec(x_780); +x_822 = lean_st_ref_get(x_11, x_781); +x_823 = lean_ctor_get(x_822, 0); +lean_inc(x_823); +x_824 = lean_ctor_get(x_822, 1); +lean_inc(x_824); +lean_dec(x_822); +x_825 = lean_ctor_get(x_823, 0); +lean_inc(x_825); +lean_dec(x_823); +lean_inc(x_825); +x_826 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_826, 0, x_825); +lean_inc(x_476); +x_827 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_827, 0, x_476); +lean_inc(x_825); +x_828 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_828, 0, x_825); +x_829 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_829, 0, x_826); +lean_ctor_set(x_829, 1, x_827); +lean_ctor_set(x_829, 2, x_828); +x_830 = x_829; +x_831 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_481, x_11, x_824); x_832 = lean_ctor_get(x_831, 0); lean_inc(x_832); x_833 = lean_ctor_get(x_831, 1); @@ -52639,312 +52645,296 @@ lean_dec(x_834); x_837 = lean_ctor_get(x_835, 1); lean_inc(x_837); lean_dec(x_835); -lean_inc(x_830); -x_838 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_838, 0, x_830); -lean_inc(x_838); -x_839 = x_838; -lean_inc(x_830); -x_840 = lean_environment_main_module(x_830); -lean_inc(x_479); -x_841 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_841, 0, x_479); -x_842 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_842, 0, x_830); -x_843 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_843, 0, x_838); -lean_ctor_set(x_843, 1, x_841); -lean_ctor_set(x_843, 2, x_842); -x_844 = x_843; -lean_inc(x_483); -lean_inc(x_477); +x_838 = lean_environment_main_module(x_825); +lean_inc(x_480); +lean_inc(x_474); lean_inc(x_14); -x_845 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_845, 0, x_839); -lean_ctor_set(x_845, 1, x_840); -lean_ctor_set(x_845, 2, x_832); -lean_ctor_set(x_845, 3, x_14); -lean_ctor_set(x_845, 4, x_477); -lean_ctor_set(x_845, 5, x_483); -lean_ctor_set(x_845, 6, x_844); -x_846 = lean_box(0); -x_847 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_847, 0, x_837); -lean_ctor_set(x_847, 1, x_846); +lean_inc(x_830); +x_839 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_839, 0, x_830); +lean_ctor_set(x_839, 1, x_838); +lean_ctor_set(x_839, 2, x_832); +lean_ctor_set(x_839, 3, x_14); +lean_ctor_set(x_839, 4, x_474); +lean_ctor_set(x_839, 5, x_480); +lean_ctor_set(x_839, 6, x_830); +x_840 = lean_box(0); +x_841 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_841, 0, x_837); +lean_ctor_set(x_841, 1, x_840); lean_inc(x_2); -x_848 = l_Lean_Macro_expandMacro_x3f(x_2, x_845, x_847); -if (lean_obj_tag(x_848) == 0) +x_842 = l_Lean_Macro_expandMacro_x3f(x_2, x_839, x_841); +if (lean_obj_tag(x_842) == 0) { -lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; -x_849 = lean_ctor_get(x_848, 0); +lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; +x_843 = lean_ctor_get(x_842, 0); +lean_inc(x_843); +x_844 = lean_ctor_get(x_842, 1); +lean_inc(x_844); +lean_dec(x_842); +x_845 = lean_ctor_get(x_844, 0); +lean_inc(x_845); +lean_dec(x_844); +x_846 = lean_st_ref_take(x_11, x_836); +x_847 = lean_ctor_get(x_846, 0); +lean_inc(x_847); +x_848 = lean_ctor_get(x_846, 1); +lean_inc(x_848); +lean_dec(x_846); +x_849 = lean_ctor_get(x_847, 0); lean_inc(x_849); -x_850 = lean_ctor_get(x_848, 1); +x_850 = lean_ctor_get(x_847, 2); lean_inc(x_850); -lean_dec(x_848); -x_851 = lean_ctor_get(x_850, 0); +x_851 = lean_ctor_get(x_847, 3); lean_inc(x_851); -lean_dec(x_850); -x_852 = lean_st_ref_take(x_11, x_836); -x_853 = lean_ctor_get(x_852, 0); -lean_inc(x_853); -x_854 = lean_ctor_get(x_852, 1); -lean_inc(x_854); -lean_dec(x_852); -x_855 = lean_ctor_get(x_853, 0); +if (lean_is_exclusive(x_847)) { + lean_ctor_release(x_847, 0); + lean_ctor_release(x_847, 1); + lean_ctor_release(x_847, 2); + lean_ctor_release(x_847, 3); + x_852 = x_847; +} else { + lean_dec_ref(x_847); + x_852 = lean_box(0); +} +if (lean_is_scalar(x_852)) { + x_853 = lean_alloc_ctor(0, 4, 0); +} else { + x_853 = x_852; +} +lean_ctor_set(x_853, 0, x_849); +lean_ctor_set(x_853, 1, x_845); +lean_ctor_set(x_853, 2, x_850); +lean_ctor_set(x_853, 3, x_851); +x_854 = lean_st_ref_set(x_11, x_853, x_848); +x_855 = lean_ctor_get(x_854, 1); lean_inc(x_855); -x_856 = lean_ctor_get(x_853, 2); -lean_inc(x_856); -x_857 = lean_ctor_get(x_853, 3); -lean_inc(x_857); -if (lean_is_exclusive(x_853)) { - lean_ctor_release(x_853, 0); - lean_ctor_release(x_853, 1); - lean_ctor_release(x_853, 2); - lean_ctor_release(x_853, 3); - x_858 = x_853; -} else { - lean_dec_ref(x_853); - x_858 = lean_box(0); -} -if (lean_is_scalar(x_858)) { - x_859 = lean_alloc_ctor(0, 4, 0); -} else { - x_859 = x_858; -} -lean_ctor_set(x_859, 0, x_855); -lean_ctor_set(x_859, 1, x_851); -lean_ctor_set(x_859, 2, x_856); -lean_ctor_set(x_859, 3, x_857); -x_860 = lean_st_ref_set(x_11, x_859, x_854); -x_861 = lean_ctor_get(x_860, 1); -lean_inc(x_861); -lean_dec(x_860); -x_786 = x_849; -x_787 = x_861; -goto block_826; +lean_dec(x_854); +x_782 = x_843; +x_783 = x_855; +goto block_821; } else { -lean_object* x_862; -lean_dec(x_483); -lean_dec(x_479); -lean_dec(x_477); +lean_object* x_856; +lean_dec(x_480); +lean_dec(x_476); +lean_dec(x_474); lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); -x_862 = lean_ctor_get(x_848, 0); -lean_inc(x_862); -lean_dec(x_848); -if (lean_obj_tag(x_862) == 0) +x_856 = lean_ctor_get(x_842, 0); +lean_inc(x_856); +lean_dec(x_842); +if (lean_obj_tag(x_856) == 0) { -lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; -x_863 = lean_ctor_get(x_862, 0); -lean_inc(x_863); -x_864 = lean_ctor_get(x_862, 1); -lean_inc(x_864); -lean_dec(x_862); -x_865 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_865, 0, x_864); -x_866 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_866, 0, x_865); -x_867 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_863, x_866, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_836); +lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; +x_857 = lean_ctor_get(x_856, 0); +lean_inc(x_857); +x_858 = lean_ctor_get(x_856, 1); +lean_inc(x_858); +lean_dec(x_856); +x_859 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_859, 0, x_858); +x_860 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_860, 0, x_859); +x_861 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__7(x_857, x_860, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_836); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_863); -x_868 = lean_ctor_get(x_867, 0); -lean_inc(x_868); -x_869 = lean_ctor_get(x_867, 1); -lean_inc(x_869); -if (lean_is_exclusive(x_867)) { - lean_ctor_release(x_867, 0); - lean_ctor_release(x_867, 1); - x_870 = x_867; +lean_dec(x_857); +x_862 = lean_ctor_get(x_861, 0); +lean_inc(x_862); +x_863 = lean_ctor_get(x_861, 1); +lean_inc(x_863); +if (lean_is_exclusive(x_861)) { + lean_ctor_release(x_861, 0); + lean_ctor_release(x_861, 1); + x_864 = x_861; } else { - lean_dec_ref(x_867); - x_870 = lean_box(0); + lean_dec_ref(x_861); + x_864 = lean_box(0); } -if (lean_is_scalar(x_870)) { - x_871 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_864)) { + x_865 = lean_alloc_ctor(1, 2, 0); } else { - x_871 = x_870; + x_865 = x_864; } -lean_ctor_set(x_871, 0, x_868); -lean_ctor_set(x_871, 1, x_869); -return x_871; +lean_ctor_set(x_865, 0, x_862); +lean_ctor_set(x_865, 1, x_863); +return x_865; } else { -lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; -lean_dec(x_484); +lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; +lean_dec(x_481); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_872 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(x_836); -x_873 = lean_ctor_get(x_872, 0); -lean_inc(x_873); -x_874 = lean_ctor_get(x_872, 1); -lean_inc(x_874); -if (lean_is_exclusive(x_872)) { - lean_ctor_release(x_872, 0); - lean_ctor_release(x_872, 1); - x_875 = x_872; +x_866 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__9___rarg(x_836); +x_867 = lean_ctor_get(x_866, 0); +lean_inc(x_867); +x_868 = lean_ctor_get(x_866, 1); +lean_inc(x_868); +if (lean_is_exclusive(x_866)) { + lean_ctor_release(x_866, 0); + lean_ctor_release(x_866, 1); + x_869 = x_866; } else { - lean_dec_ref(x_872); - x_875 = lean_box(0); + lean_dec_ref(x_866); + x_869 = lean_box(0); } -if (lean_is_scalar(x_875)) { - x_876 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_869)) { + x_870 = lean_alloc_ctor(1, 2, 0); } else { - x_876 = x_875; + x_870 = x_869; } -lean_ctor_set(x_876, 0, x_873); -lean_ctor_set(x_876, 1, x_874); -return x_876; +lean_ctor_set(x_870, 0, x_867); +lean_ctor_set(x_870, 1, x_868); +return x_870; } } -block_826: +block_821: { -if (lean_obj_tag(x_786) == 0) +if (lean_obj_tag(x_782) == 0) { -lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; -x_788 = lean_st_ref_get(x_11, x_787); -x_789 = lean_ctor_get(x_788, 0); -lean_inc(x_789); -x_790 = lean_ctor_get(x_788, 1); -lean_inc(x_790); -lean_dec(x_788); -x_791 = lean_ctor_get(x_789, 0); -lean_inc(x_791); -lean_dec(x_789); -x_792 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_484, x_11, x_790); -x_793 = lean_ctor_get(x_792, 0); -lean_inc(x_793); -x_794 = lean_ctor_get(x_792, 1); +lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; +x_784 = lean_st_ref_get(x_11, x_783); +x_785 = lean_ctor_get(x_784, 0); +lean_inc(x_785); +x_786 = lean_ctor_get(x_784, 1); +lean_inc(x_786); +lean_dec(x_784); +x_787 = lean_ctor_get(x_785, 0); +lean_inc(x_787); +lean_dec(x_785); +lean_inc(x_787); +x_788 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_788, 0, x_787); +lean_inc(x_476); +x_789 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_789, 0, x_476); +lean_inc(x_787); +x_790 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_790, 0, x_787); +x_791 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_791, 0, x_788); +lean_ctor_set(x_791, 1, x_789); +lean_ctor_set(x_791, 2, x_790); +x_792 = x_791; +x_793 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_481, x_11, x_786); +x_794 = lean_ctor_get(x_793, 0); lean_inc(x_794); -lean_dec(x_792); -x_795 = lean_st_ref_get(x_11, x_794); -x_796 = lean_ctor_get(x_795, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_795, 1); +x_795 = lean_ctor_get(x_793, 1); +lean_inc(x_795); +lean_dec(x_793); +x_796 = lean_st_ref_get(x_11, x_795); +x_797 = lean_ctor_get(x_796, 0); lean_inc(x_797); -lean_dec(x_795); x_798 = lean_ctor_get(x_796, 1); lean_inc(x_798); lean_dec(x_796); -lean_inc(x_791); -x_799 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_799, 0, x_791); +x_799 = lean_ctor_get(x_797, 1); lean_inc(x_799); -x_800 = x_799; -lean_inc(x_791); -x_801 = lean_environment_main_module(x_791); -lean_inc(x_479); -x_802 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_802, 0, x_479); -x_803 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_803, 0, x_791); -x_804 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_804, 0, x_799); -lean_ctor_set(x_804, 1, x_802); -lean_ctor_set(x_804, 2, x_803); -x_805 = x_804; -lean_inc(x_483); -lean_inc(x_477); +lean_dec(x_797); +x_800 = lean_environment_main_module(x_787); +lean_inc(x_480); +lean_inc(x_474); lean_inc(x_14); -x_806 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_806, 0, x_800); -lean_ctor_set(x_806, 1, x_801); -lean_ctor_set(x_806, 2, x_793); -lean_ctor_set(x_806, 3, x_14); -lean_ctor_set(x_806, 4, x_477); -lean_ctor_set(x_806, 5, x_483); -lean_ctor_set(x_806, 6, x_805); -x_807 = lean_box(0); -x_808 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_808, 0, x_798); -lean_ctor_set(x_808, 1, x_807); +lean_inc(x_792); +x_801 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_801, 0, x_792); +lean_ctor_set(x_801, 1, x_800); +lean_ctor_set(x_801, 2, x_794); +lean_ctor_set(x_801, 3, x_14); +lean_ctor_set(x_801, 4, x_474); +lean_ctor_set(x_801, 5, x_480); +lean_ctor_set(x_801, 6, x_792); +x_802 = lean_box(0); +x_803 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_803, 0, x_799); +lean_ctor_set(x_803, 1, x_802); lean_inc(x_2); -x_809 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f(x_2, x_806, x_808); -x_810 = lean_ctor_get(x_809, 0); +x_804 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f(x_2, x_801, x_803); +x_805 = lean_ctor_get(x_804, 0); +lean_inc(x_805); +x_806 = lean_ctor_get(x_804, 1); +lean_inc(x_806); +lean_dec(x_804); +x_807 = lean_ctor_get(x_806, 0); +lean_inc(x_807); +lean_dec(x_806); +x_808 = lean_st_ref_take(x_11, x_798); +x_809 = lean_ctor_get(x_808, 0); +lean_inc(x_809); +x_810 = lean_ctor_get(x_808, 1); lean_inc(x_810); -x_811 = lean_ctor_get(x_809, 1); +lean_dec(x_808); +x_811 = lean_ctor_get(x_809, 0); lean_inc(x_811); -lean_dec(x_809); -x_812 = lean_ctor_get(x_811, 0); +x_812 = lean_ctor_get(x_809, 2); lean_inc(x_812); -lean_dec(x_811); -x_813 = lean_st_ref_take(x_11, x_797); -x_814 = lean_ctor_get(x_813, 0); -lean_inc(x_814); -x_815 = lean_ctor_get(x_813, 1); -lean_inc(x_815); -lean_dec(x_813); -x_816 = lean_ctor_get(x_814, 0); -lean_inc(x_816); -x_817 = lean_ctor_get(x_814, 2); +x_813 = lean_ctor_get(x_809, 3); +lean_inc(x_813); +if (lean_is_exclusive(x_809)) { + lean_ctor_release(x_809, 0); + lean_ctor_release(x_809, 1); + lean_ctor_release(x_809, 2); + lean_ctor_release(x_809, 3); + x_814 = x_809; +} else { + lean_dec_ref(x_809); + x_814 = lean_box(0); +} +if (lean_is_scalar(x_814)) { + x_815 = lean_alloc_ctor(0, 4, 0); +} else { + x_815 = x_814; +} +lean_ctor_set(x_815, 0, x_811); +lean_ctor_set(x_815, 1, x_807); +lean_ctor_set(x_815, 2, x_812); +lean_ctor_set(x_815, 3, x_813); +x_816 = lean_st_ref_set(x_11, x_815, x_810); +x_817 = lean_ctor_get(x_816, 1); lean_inc(x_817); -x_818 = lean_ctor_get(x_814, 3); -lean_inc(x_818); -if (lean_is_exclusive(x_814)) { - lean_ctor_release(x_814, 0); - lean_ctor_release(x_814, 1); - lean_ctor_release(x_814, 2); - lean_ctor_release(x_814, 3); - x_819 = x_814; -} else { - lean_dec_ref(x_814); - x_819 = lean_box(0); -} -if (lean_is_scalar(x_819)) { - x_820 = lean_alloc_ctor(0, 4, 0); -} else { - x_820 = x_819; -} -lean_ctor_set(x_820, 0, x_816); -lean_ctor_set(x_820, 1, x_812); -lean_ctor_set(x_820, 2, x_817); -lean_ctor_set(x_820, 3, x_818); -x_821 = lean_st_ref_set(x_11, x_820, x_815); -x_822 = lean_ctor_get(x_821, 1); -lean_inc(x_822); -lean_dec(x_821); -x_485 = x_810; -x_486 = x_822; -goto block_782; +lean_dec(x_816); +x_482 = x_805; +x_483 = x_817; +goto block_778; } else { -lean_object* x_823; lean_object* x_824; lean_object* x_825; -lean_dec(x_483); -lean_dec(x_479); -lean_dec(x_477); +lean_object* x_818; lean_object* x_819; lean_object* x_820; +lean_dec(x_480); +lean_dec(x_476); +lean_dec(x_474); lean_dec(x_14); lean_dec(x_2); -x_823 = lean_ctor_get(x_786, 0); -lean_inc(x_823); -lean_dec(x_786); -x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_823); -lean_ctor_set(x_824, 1, x_3); -x_825 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_824, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_787); -return x_825; +x_818 = lean_ctor_get(x_782, 0); +lean_inc(x_818); +lean_dec(x_782); +x_819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_819, 0, x_818); +lean_ctor_set(x_819, 1, x_3); +x_820 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_819, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_783); +return x_820; } } } else { -lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; -lean_dec(x_484); -lean_dec(x_483); -lean_dec(x_479); -lean_dec(x_477); +lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; +lean_dec(x_481); +lean_dec(x_480); +lean_dec(x_476); +lean_dec(x_474); lean_dec(x_14); lean_dec(x_11); lean_dec(x_9); @@ -52954,438 +52944,437 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_877 = lean_ctor_get(x_784, 0); -lean_inc(x_877); -x_878 = lean_ctor_get(x_784, 1); -lean_inc(x_878); -if (lean_is_exclusive(x_784)) { - lean_ctor_release(x_784, 0); - lean_ctor_release(x_784, 1); - x_879 = x_784; +x_871 = lean_ctor_get(x_780, 0); +lean_inc(x_871); +x_872 = lean_ctor_get(x_780, 1); +lean_inc(x_872); +if (lean_is_exclusive(x_780)) { + lean_ctor_release(x_780, 0); + lean_ctor_release(x_780, 1); + x_873 = x_780; } else { - lean_dec_ref(x_784); - x_879 = lean_box(0); + lean_dec_ref(x_780); + x_873 = lean_box(0); } -if (lean_is_scalar(x_879)) { - x_880 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_873)) { + x_874 = lean_alloc_ctor(1, 2, 0); } else { - x_880 = x_879; + x_874 = x_873; } -lean_ctor_set(x_880, 0, x_877); -lean_ctor_set(x_880, 1, x_878); -return x_880; +lean_ctor_set(x_874, 0, x_871); +lean_ctor_set(x_874, 1, x_872); +return x_874; } -block_782: +block_778: { -lean_object* x_487; lean_object* x_488; -if (lean_obj_tag(x_485) == 0) +lean_object* x_484; lean_object* x_485; +if (lean_obj_tag(x_482) == 0) { -lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; -x_729 = lean_st_ref_get(x_11, x_486); -x_730 = lean_ctor_get(x_729, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_729, 1); -lean_inc(x_731); -lean_dec(x_729); -x_732 = lean_ctor_get(x_730, 0); -lean_inc(x_732); -lean_dec(x_730); -x_733 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_484, x_11, x_731); -x_734 = lean_ctor_get(x_733, 0); -lean_inc(x_734); -x_735 = lean_ctor_get(x_733, 1); -lean_inc(x_735); -lean_dec(x_733); -x_736 = lean_st_ref_get(x_11, x_735); -x_737 = lean_ctor_get(x_736, 0); +lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; +x_726 = lean_st_ref_get(x_11, x_483); +x_727 = lean_ctor_get(x_726, 0); +lean_inc(x_727); +x_728 = lean_ctor_get(x_726, 1); +lean_inc(x_728); +lean_dec(x_726); +x_729 = lean_ctor_get(x_727, 0); +lean_inc(x_729); +lean_dec(x_727); +lean_inc(x_729); +x_730 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_730, 0, x_729); +x_731 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_731, 0, x_476); +lean_inc(x_729); +x_732 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_732, 0, x_729); +x_733 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_733, 0, x_730); +lean_ctor_set(x_733, 1, x_731); +lean_ctor_set(x_733, 2, x_732); +x_734 = x_733; +x_735 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_481, x_11, x_728); +x_736 = lean_ctor_get(x_735, 0); +lean_inc(x_736); +x_737 = lean_ctor_get(x_735, 1); lean_inc(x_737); -x_738 = lean_ctor_get(x_736, 1); -lean_inc(x_738); -lean_dec(x_736); -x_739 = lean_ctor_get(x_737, 1); +lean_dec(x_735); +x_738 = lean_st_ref_get(x_11, x_737); +x_739 = lean_ctor_get(x_738, 0); lean_inc(x_739); -lean_dec(x_737); -lean_inc(x_732); -x_740 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_740, 0, x_732); +x_740 = lean_ctor_get(x_738, 1); lean_inc(x_740); -x_741 = x_740; -lean_inc(x_732); -x_742 = lean_environment_main_module(x_732); -x_743 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_743, 0, x_479); -x_744 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_744, 0, x_732); -x_745 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_745, 0, x_740); -lean_ctor_set(x_745, 1, x_743); -lean_ctor_set(x_745, 2, x_744); -x_746 = x_745; -x_747 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_747, 0, x_741); -lean_ctor_set(x_747, 1, x_742); -lean_ctor_set(x_747, 2, x_734); -lean_ctor_set(x_747, 3, x_14); -lean_ctor_set(x_747, 4, x_477); -lean_ctor_set(x_747, 5, x_483); -lean_ctor_set(x_747, 6, x_746); -x_748 = lean_box(0); -x_749 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_749, 0, x_739); -lean_ctor_set(x_749, 1, x_748); -x_750 = l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(x_2, x_747, x_749); -if (lean_obj_tag(x_750) == 0) +lean_dec(x_738); +x_741 = lean_ctor_get(x_739, 1); +lean_inc(x_741); +lean_dec(x_739); +x_742 = lean_environment_main_module(x_729); +lean_inc(x_734); +x_743 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_743, 0, x_734); +lean_ctor_set(x_743, 1, x_742); +lean_ctor_set(x_743, 2, x_736); +lean_ctor_set(x_743, 3, x_14); +lean_ctor_set(x_743, 4, x_474); +lean_ctor_set(x_743, 5, x_480); +lean_ctor_set(x_743, 6, x_734); +x_744 = lean_box(0); +x_745 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_745, 0, x_741); +lean_ctor_set(x_745, 1, x_744); +x_746 = l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(x_2, x_743, x_745); +if (lean_obj_tag(x_746) == 0) { -lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; +lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; +x_747 = lean_ctor_get(x_746, 0); +lean_inc(x_747); +x_748 = lean_ctor_get(x_746, 1); +lean_inc(x_748); +lean_dec(x_746); +x_749 = lean_ctor_get(x_748, 0); +lean_inc(x_749); +lean_dec(x_748); +x_750 = lean_st_ref_take(x_11, x_740); x_751 = lean_ctor_get(x_750, 0); lean_inc(x_751); x_752 = lean_ctor_get(x_750, 1); lean_inc(x_752); lean_dec(x_750); -x_753 = lean_ctor_get(x_752, 0); +x_753 = lean_ctor_get(x_751, 0); lean_inc(x_753); -lean_dec(x_752); -x_754 = lean_st_ref_take(x_11, x_738); -x_755 = lean_ctor_get(x_754, 0); +x_754 = lean_ctor_get(x_751, 2); +lean_inc(x_754); +x_755 = lean_ctor_get(x_751, 3); lean_inc(x_755); -x_756 = lean_ctor_get(x_754, 1); -lean_inc(x_756); -lean_dec(x_754); -x_757 = lean_ctor_get(x_755, 0); -lean_inc(x_757); -x_758 = lean_ctor_get(x_755, 2); -lean_inc(x_758); -x_759 = lean_ctor_get(x_755, 3); +if (lean_is_exclusive(x_751)) { + lean_ctor_release(x_751, 0); + lean_ctor_release(x_751, 1); + lean_ctor_release(x_751, 2); + lean_ctor_release(x_751, 3); + x_756 = x_751; +} else { + lean_dec_ref(x_751); + x_756 = lean_box(0); +} +if (lean_is_scalar(x_756)) { + x_757 = lean_alloc_ctor(0, 4, 0); +} else { + x_757 = x_756; +} +lean_ctor_set(x_757, 0, x_753); +lean_ctor_set(x_757, 1, x_749); +lean_ctor_set(x_757, 2, x_754); +lean_ctor_set(x_757, 3, x_755); +x_758 = lean_st_ref_set(x_11, x_757, x_752); +x_759 = lean_ctor_get(x_758, 1); lean_inc(x_759); -if (lean_is_exclusive(x_755)) { - lean_ctor_release(x_755, 0); - lean_ctor_release(x_755, 1); - lean_ctor_release(x_755, 2); - lean_ctor_release(x_755, 3); - x_760 = x_755; -} else { - lean_dec_ref(x_755); - x_760 = lean_box(0); -} -if (lean_is_scalar(x_760)) { - x_761 = lean_alloc_ctor(0, 4, 0); -} else { - x_761 = x_760; -} -lean_ctor_set(x_761, 0, x_757); -lean_ctor_set(x_761, 1, x_753); -lean_ctor_set(x_761, 2, x_758); -lean_ctor_set(x_761, 3, x_759); -x_762 = lean_st_ref_set(x_11, x_761, x_756); -x_763 = lean_ctor_get(x_762, 1); -lean_inc(x_763); -lean_dec(x_762); -x_487 = x_751; -x_488 = x_763; -goto block_728; +lean_dec(x_758); +x_484 = x_747; +x_485 = x_759; +goto block_725; } else { -lean_object* x_764; +lean_object* x_760; lean_dec(x_5); lean_dec(x_3); -x_764 = lean_ctor_get(x_750, 0); -lean_inc(x_764); -lean_dec(x_750); -if (lean_obj_tag(x_764) == 0) +x_760 = lean_ctor_get(x_746, 0); +lean_inc(x_760); +lean_dec(x_746); +if (lean_obj_tag(x_760) == 0) { -lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; -x_765 = lean_ctor_get(x_764, 0); -lean_inc(x_765); -x_766 = lean_ctor_get(x_764, 1); -lean_inc(x_766); -lean_dec(x_764); -x_767 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_767, 0, x_766); -x_768 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_768, 0, x_767); -x_769 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_765, x_768, x_6, x_7, x_8, x_9, x_484, x_11, x_738); +lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; +x_761 = lean_ctor_get(x_760, 0); +lean_inc(x_761); +x_762 = lean_ctor_get(x_760, 1); +lean_inc(x_762); +lean_dec(x_760); +x_763 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_763, 0, x_762); +x_764 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_764, 0, x_763); +x_765 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__4(x_761, x_764, x_6, x_7, x_8, x_9, x_481, x_11, x_740); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_765); -x_770 = lean_ctor_get(x_769, 0); -lean_inc(x_770); -x_771 = lean_ctor_get(x_769, 1); -lean_inc(x_771); -if (lean_is_exclusive(x_769)) { - lean_ctor_release(x_769, 0); - lean_ctor_release(x_769, 1); - x_772 = x_769; +lean_dec(x_761); +x_766 = lean_ctor_get(x_765, 0); +lean_inc(x_766); +x_767 = lean_ctor_get(x_765, 1); +lean_inc(x_767); +if (lean_is_exclusive(x_765)) { + lean_ctor_release(x_765, 0); + lean_ctor_release(x_765, 1); + x_768 = x_765; } else { - lean_dec_ref(x_769); - x_772 = lean_box(0); + lean_dec_ref(x_765); + x_768 = lean_box(0); } -if (lean_is_scalar(x_772)) { - x_773 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_768)) { + x_769 = lean_alloc_ctor(1, 2, 0); } else { - x_773 = x_772; + x_769 = x_768; } -lean_ctor_set(x_773, 0, x_770); -lean_ctor_set(x_773, 1, x_771); -return x_773; +lean_ctor_set(x_769, 0, x_766); +lean_ctor_set(x_769, 1, x_767); +return x_769; } else { -lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; -lean_dec(x_484); +lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; +lean_dec(x_481); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_774 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(x_738); -x_775 = lean_ctor_get(x_774, 0); -lean_inc(x_775); -x_776 = lean_ctor_get(x_774, 1); -lean_inc(x_776); -if (lean_is_exclusive(x_774)) { - lean_ctor_release(x_774, 0); - lean_ctor_release(x_774, 1); - x_777 = x_774; +x_770 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__6___rarg(x_740); +x_771 = lean_ctor_get(x_770, 0); +lean_inc(x_771); +x_772 = lean_ctor_get(x_770, 1); +lean_inc(x_772); +if (lean_is_exclusive(x_770)) { + lean_ctor_release(x_770, 0); + lean_ctor_release(x_770, 1); + x_773 = x_770; } else { - lean_dec_ref(x_774); - x_777 = lean_box(0); + lean_dec_ref(x_770); + x_773 = lean_box(0); } -if (lean_is_scalar(x_777)) { - x_778 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_773)) { + x_774 = lean_alloc_ctor(1, 2, 0); } else { - x_778 = x_777; + x_774 = x_773; } -lean_ctor_set(x_778, 0, x_775); -lean_ctor_set(x_778, 1, x_776); -return x_778; +lean_ctor_set(x_774, 0, x_771); +lean_ctor_set(x_774, 1, x_772); +return x_774; } } } else { -lean_object* x_779; lean_object* x_780; lean_object* x_781; -lean_dec(x_483); -lean_dec(x_479); -lean_dec(x_477); +lean_object* x_775; lean_object* x_776; lean_object* x_777; +lean_dec(x_480); +lean_dec(x_476); +lean_dec(x_474); lean_dec(x_14); lean_dec(x_2); -x_779 = lean_ctor_get(x_485, 0); -lean_inc(x_779); -lean_dec(x_485); -x_780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_780, 0, x_779); -lean_ctor_set(x_780, 1, x_3); -x_781 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_780, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_486); -return x_781; +x_775 = lean_ctor_get(x_482, 0); +lean_inc(x_775); +lean_dec(x_482); +x_776 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_776, 0, x_775); +lean_ctor_set(x_776, 1, x_3); +x_777 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_776, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_483); +return x_777; } -block_728: +block_725: { -lean_object* x_489; lean_object* x_490; uint8_t x_491; -x_489 = lean_ctor_get(x_487, 0); -lean_inc(x_489); -x_490 = lean_ctor_get(x_487, 1); -lean_inc(x_490); +lean_object* x_486; lean_object* x_487; uint8_t x_488; +x_486 = lean_ctor_get(x_484, 0); +lean_inc(x_486); +x_487 = lean_ctor_get(x_484, 1); +lean_inc(x_487); +lean_dec(x_484); +x_488 = l_List_isEmpty___rarg(x_486); +if (x_488 == 0) +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; +x_489 = lean_box(0); +x_490 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_490, 0, x_487); +lean_ctor_set(x_490, 1, x_489); +x_491 = l_List_append___rarg(x_486, x_490); +x_492 = l_List_append___rarg(x_491, x_3); +x_493 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_492, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +return x_493; +} +else +{ +lean_object* x_494; lean_object* x_495; uint8_t x_496; +lean_dec(x_486); +lean_inc(x_487); +x_494 = l_Lean_Syntax_getKind(x_487); +x_495 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; +x_496 = lean_name_eq(x_494, x_495); +if (x_496 == 0) +{ +lean_object* x_497; uint8_t x_498; +x_497 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; +x_498 = lean_name_eq(x_494, x_497); +if (x_498 == 0) +{ +lean_object* x_499; uint8_t x_500; +x_499 = l_Lean_Parser_Term_doLetRec___elambda__1___closed__2; +x_500 = lean_name_eq(x_494, x_499); +if (x_500 == 0) +{ +lean_object* x_501; uint8_t x_502; +x_501 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_502 = lean_name_eq(x_494, x_501); +if (x_502 == 0) +{ +lean_object* x_503; uint8_t x_504; +x_503 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_504 = lean_name_eq(x_494, x_503); +if (x_504 == 0) +{ +lean_object* x_505; uint8_t x_506; +x_505 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__2; +x_506 = lean_name_eq(x_494, x_505); +if (x_506 == 0) +{ +lean_object* x_507; uint8_t x_508; +x_507 = l_Lean_Parser_Term_doIf___elambda__1___closed__2; +x_508 = lean_name_eq(x_494, x_507); +if (x_508 == 0) +{ +lean_object* x_509; uint8_t x_510; +x_509 = l_Lean_Parser_Term_doUnless___elambda__1___closed__2; +x_510 = lean_name_eq(x_494, x_509); +if (x_510 == 0) +{ +lean_object* x_511; uint8_t x_512; +x_511 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; +x_512 = lean_name_eq(x_494, x_511); +if (x_512 == 0) +{ +lean_object* x_513; uint8_t x_514; +x_513 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; +x_514 = lean_name_eq(x_494, x_513); +if (x_514 == 0) +{ +lean_object* x_515; uint8_t x_516; +x_515 = l_Lean_Parser_Term_doTry___elambda__1___closed__2; +x_516 = lean_name_eq(x_494, x_515); +if (x_516 == 0) +{ +lean_object* x_517; uint8_t x_518; +x_517 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; +x_518 = lean_name_eq(x_494, x_517); +if (x_518 == 0) +{ +lean_object* x_519; uint8_t x_520; +x_519 = l_Lean_Parser_Term_doContinue___elambda__1___closed__2; +x_520 = lean_name_eq(x_494, x_519); +if (x_520 == 0) +{ +lean_object* x_521; uint8_t x_522; +x_521 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; +x_522 = lean_name_eq(x_494, x_521); +if (x_522 == 0) +{ +lean_object* x_523; uint8_t x_524; +x_523 = l_Lean_Parser_Term_doDbgTrace___elambda__1___closed__2; +x_524 = lean_name_eq(x_494, x_523); +if (x_524 == 0) +{ +lean_object* x_525; uint8_t x_526; +x_525 = l_Lean_Parser_Term_doAssert___elambda__1___closed__2; +x_526 = lean_name_eq(x_494, x_525); +if (x_526 == 0) +{ +lean_object* x_527; uint8_t x_528; +x_527 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; +x_528 = lean_name_eq(x_494, x_527); +if (x_528 == 0) +{ +lean_object* x_529; uint8_t x_530; +x_529 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; +x_530 = lean_name_eq(x_494, x_529); +lean_dec(x_494); +if (x_530 == 0) +{ +lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; +lean_dec(x_3); +x_531 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_531, 0, x_487); +x_532 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__2; +x_533 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_533, 0, x_532); +lean_ctor_set(x_533, 1, x_531); +x_534 = l_Lean_KernelException_toMessageData___closed__15; +x_535 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_535, 0, x_533); +lean_ctor_set(x_535, 1, x_534); +x_536 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_535, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +lean_dec(x_11); +lean_dec(x_481); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_536; +} +else +{ +lean_object* x_537; lean_object* x_538; uint8_t x_539; +x_537 = lean_unsigned_to_nat(0u); +x_538 = l_Lean_Syntax_getArg(x_487, x_537); lean_dec(x_487); -x_491 = l_List_isEmpty___rarg(x_489); -if (x_491 == 0) +x_539 = l_List_isEmpty___rarg(x_3); +if (x_539 == 0) { -lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; -x_492 = lean_box(0); -x_493 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_493, 0, x_490); -lean_ctor_set(x_493, 1, x_492); -x_494 = l_List_append___rarg(x_489, x_493); -x_495 = l_List_append___rarg(x_494, x_3); -x_496 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_495, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -return x_496; +lean_object* x_540; +x_540 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_540) == 0) +{ +lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; +x_541 = lean_ctor_get(x_540, 0); +lean_inc(x_541); +x_542 = lean_ctor_get(x_540, 1); +lean_inc(x_542); +if (lean_is_exclusive(x_540)) { + lean_ctor_release(x_540, 0); + lean_ctor_release(x_540, 1); + x_543 = x_540; +} else { + lean_dec_ref(x_540); + x_543 = lean_box(0); +} +x_544 = l_Lean_Elab_Term_Do_mkSeq(x_538, x_541); +if (lean_is_scalar(x_543)) { + x_545 = lean_alloc_ctor(0, 2, 0); +} else { + x_545 = x_543; +} +lean_ctor_set(x_545, 0, x_544); +lean_ctor_set(x_545, 1, x_542); +return x_545; } else { -lean_object* x_497; lean_object* x_498; uint8_t x_499; -lean_dec(x_489); -lean_inc(x_490); -x_497 = l_Lean_Syntax_getKind(x_490); -x_498 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; -x_499 = lean_name_eq(x_497, x_498); -if (x_499 == 0) -{ -lean_object* x_500; uint8_t x_501; -x_500 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; -x_501 = lean_name_eq(x_497, x_500); -if (x_501 == 0) -{ -lean_object* x_502; uint8_t x_503; -x_502 = l_Lean_Parser_Term_doLetRec___elambda__1___closed__2; -x_503 = lean_name_eq(x_497, x_502); -if (x_503 == 0) -{ -lean_object* x_504; uint8_t x_505; -x_504 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_505 = lean_name_eq(x_497, x_504); -if (x_505 == 0) -{ -lean_object* x_506; uint8_t x_507; -x_506 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; -x_507 = lean_name_eq(x_497, x_506); -if (x_507 == 0) -{ -lean_object* x_508; uint8_t x_509; -x_508 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__2; -x_509 = lean_name_eq(x_497, x_508); -if (x_509 == 0) -{ -lean_object* x_510; uint8_t x_511; -x_510 = l_Lean_Parser_Term_doIf___elambda__1___closed__2; -x_511 = lean_name_eq(x_497, x_510); -if (x_511 == 0) -{ -lean_object* x_512; uint8_t x_513; -x_512 = l_Lean_Parser_Term_doUnless___elambda__1___closed__2; -x_513 = lean_name_eq(x_497, x_512); -if (x_513 == 0) -{ -lean_object* x_514; uint8_t x_515; -x_514 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; -x_515 = lean_name_eq(x_497, x_514); -if (x_515 == 0) -{ -lean_object* x_516; uint8_t x_517; -x_516 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; -x_517 = lean_name_eq(x_497, x_516); -if (x_517 == 0) -{ -lean_object* x_518; uint8_t x_519; -x_518 = l_Lean_Parser_Term_doTry___elambda__1___closed__2; -x_519 = lean_name_eq(x_497, x_518); -if (x_519 == 0) -{ -lean_object* x_520; uint8_t x_521; -x_520 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; -x_521 = lean_name_eq(x_497, x_520); -if (x_521 == 0) -{ -lean_object* x_522; uint8_t x_523; -x_522 = l_Lean_Parser_Term_doContinue___elambda__1___closed__2; -x_523 = lean_name_eq(x_497, x_522); -if (x_523 == 0) -{ -lean_object* x_524; uint8_t x_525; -x_524 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; -x_525 = lean_name_eq(x_497, x_524); -if (x_525 == 0) -{ -lean_object* x_526; uint8_t x_527; -x_526 = l_Lean_Parser_Term_doDbgTrace___elambda__1___closed__2; -x_527 = lean_name_eq(x_497, x_526); -if (x_527 == 0) -{ -lean_object* x_528; uint8_t x_529; -x_528 = l_Lean_Parser_Term_doAssert___elambda__1___closed__2; -x_529 = lean_name_eq(x_497, x_528); -if (x_529 == 0) -{ -lean_object* x_530; uint8_t x_531; -x_530 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; -x_531 = lean_name_eq(x_497, x_530); -if (x_531 == 0) -{ -lean_object* x_532; uint8_t x_533; -x_532 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; -x_533 = lean_name_eq(x_497, x_532); -lean_dec(x_497); -if (x_533 == 0) -{ -lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; -lean_dec(x_3); -x_534 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_534, 0, x_490); -x_535 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1___closed__2; -x_536 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_536, 0, x_535); -lean_ctor_set(x_536, 1, x_534); -x_537 = l_Lean_KernelException_toMessageData___closed__15; -x_538 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_538, 0, x_536); -lean_ctor_set(x_538, 1, x_537); -x_539 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__2(x_538, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -lean_dec(x_11); -lean_dec(x_484); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_539; -} -else -{ -lean_object* x_540; lean_object* x_541; uint8_t x_542; -x_540 = lean_unsigned_to_nat(0u); -x_541 = l_Lean_Syntax_getArg(x_490, x_540); -lean_dec(x_490); -x_542 = l_List_isEmpty___rarg(x_3); -if (x_542 == 0) -{ -lean_object* x_543; -x_543 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -if (lean_obj_tag(x_543) == 0) -{ -lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_544 = lean_ctor_get(x_543, 0); -lean_inc(x_544); -x_545 = lean_ctor_get(x_543, 1); -lean_inc(x_545); -if (lean_is_exclusive(x_543)) { - lean_ctor_release(x_543, 0); - lean_ctor_release(x_543, 1); - x_546 = x_543; +lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +lean_dec(x_538); +x_546 = lean_ctor_get(x_540, 0); +lean_inc(x_546); +x_547 = lean_ctor_get(x_540, 1); +lean_inc(x_547); +if (lean_is_exclusive(x_540)) { + lean_ctor_release(x_540, 0); + lean_ctor_release(x_540, 1); + x_548 = x_540; } else { - lean_dec_ref(x_543); - x_546 = lean_box(0); + lean_dec_ref(x_540); + x_548 = lean_box(0); } -x_547 = l_Lean_Elab_Term_Do_mkSeq(x_541, x_544); -if (lean_is_scalar(x_546)) { - x_548 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_548)) { + x_549 = lean_alloc_ctor(1, 2, 0); } else { - x_548 = x_546; + x_549 = x_548; } -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_545); -return x_548; -} -else -{ -lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; -lean_dec(x_541); -x_549 = lean_ctor_get(x_543, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_543, 1); -lean_inc(x_550); -if (lean_is_exclusive(x_543)) { - lean_ctor_release(x_543, 0); - lean_ctor_release(x_543, 1); - x_551 = x_543; -} else { - lean_dec_ref(x_543); - x_551 = lean_box(0); -} -if (lean_is_scalar(x_551)) { - x_552 = lean_alloc_ctor(1, 2, 0); -} else { - x_552 = x_551; -} -lean_ctor_set(x_552, 0, x_549); -lean_ctor_set(x_552, 1, x_550); -return x_552; +lean_ctor_set(x_549, 0, x_546); +lean_ctor_set(x_549, 1, x_547); +return x_549; } } else { -lean_object* x_553; lean_object* x_554; -lean_dec(x_484); +lean_object* x_550; lean_object* x_551; +lean_dec(x_481); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -53393,224 +53382,328 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_553 = l_Lean_Elab_Term_Do_mkTerminalAction(x_541); -x_554 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_554, 0, x_553); -lean_ctor_set(x_554, 1, x_488); -return x_554; +x_550 = l_Lean_Elab_Term_Do_mkTerminalAction(x_538); +x_551 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_551, 0, x_550); +lean_ctor_set(x_551, 1, x_485); +return x_551; } } } else { -lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; -lean_dec(x_497); -x_555 = l_Lean_Syntax_getArg(x_490, x_13); -lean_dec(x_490); -x_556 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_555); -x_557 = l_List_append___rarg(x_556, x_3); -x_558 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_557, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -return x_558; +lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +lean_dec(x_494); +x_552 = l_Lean_Syntax_getArg(x_487, x_13); +lean_dec(x_487); +x_553 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_552); +x_554 = l_List_append___rarg(x_553, x_3); +x_555 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_554, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +return x_555; } } else { -lean_object* x_559; -lean_dec(x_497); -x_559 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -if (lean_obj_tag(x_559) == 0) +lean_object* x_556; +lean_dec(x_494); +x_556 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_556) == 0) { -lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_560 = lean_ctor_get(x_559, 0); -lean_inc(x_560); -x_561 = lean_ctor_get(x_559, 1); -lean_inc(x_561); -if (lean_is_exclusive(x_559)) { - lean_ctor_release(x_559, 0); - lean_ctor_release(x_559, 1); - x_562 = x_559; +lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; +x_557 = lean_ctor_get(x_556, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_556, 1); +lean_inc(x_558); +if (lean_is_exclusive(x_556)) { + lean_ctor_release(x_556, 0); + lean_ctor_release(x_556, 1); + x_559 = x_556; } else { - lean_dec_ref(x_559); - x_562 = lean_box(0); + lean_dec_ref(x_556); + x_559 = lean_box(0); } -x_563 = l_Lean_Elab_Term_Do_mkSeq(x_490, x_560); -if (lean_is_scalar(x_562)) { - x_564 = lean_alloc_ctor(0, 2, 0); +x_560 = l_Lean_Elab_Term_Do_mkSeq(x_487, x_557); +if (lean_is_scalar(x_559)) { + x_561 = lean_alloc_ctor(0, 2, 0); } else { - x_564 = x_562; + x_561 = x_559; } -lean_ctor_set(x_564, 0, x_563); -lean_ctor_set(x_564, 1, x_561); -return x_564; +lean_ctor_set(x_561, 0, x_560); +lean_ctor_set(x_561, 1, x_558); +return x_561; } else { -lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; -lean_dec(x_490); -x_565 = lean_ctor_get(x_559, 0); -lean_inc(x_565); -x_566 = lean_ctor_get(x_559, 1); -lean_inc(x_566); -if (lean_is_exclusive(x_559)) { - lean_ctor_release(x_559, 0); - lean_ctor_release(x_559, 1); - x_567 = x_559; +lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; +lean_dec(x_487); +x_562 = lean_ctor_get(x_556, 0); +lean_inc(x_562); +x_563 = lean_ctor_get(x_556, 1); +lean_inc(x_563); +if (lean_is_exclusive(x_556)) { + lean_ctor_release(x_556, 0); + lean_ctor_release(x_556, 1); + x_564 = x_556; } else { - lean_dec_ref(x_559); - x_567 = lean_box(0); + lean_dec_ref(x_556); + x_564 = lean_box(0); } -if (lean_is_scalar(x_567)) { - x_568 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_564)) { + x_565 = lean_alloc_ctor(1, 2, 0); } else { - x_568 = x_567; + x_565 = x_564; } -lean_ctor_set(x_568, 0, x_565); -lean_ctor_set(x_568, 1, x_566); -return x_568; +lean_ctor_set(x_565, 0, x_562); +lean_ctor_set(x_565, 1, x_563); +return x_565; } } } else { -lean_object* x_569; -lean_dec(x_497); -x_569 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -if (lean_obj_tag(x_569) == 0) +lean_object* x_566; +lean_dec(x_494); +x_566 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_566) == 0) { -lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; -x_570 = lean_ctor_get(x_569, 0); -lean_inc(x_570); -x_571 = lean_ctor_get(x_569, 1); -lean_inc(x_571); -if (lean_is_exclusive(x_569)) { - lean_ctor_release(x_569, 0); - lean_ctor_release(x_569, 1); - x_572 = x_569; +lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; +x_567 = lean_ctor_get(x_566, 0); +lean_inc(x_567); +x_568 = lean_ctor_get(x_566, 1); +lean_inc(x_568); +if (lean_is_exclusive(x_566)) { + lean_ctor_release(x_566, 0); + lean_ctor_release(x_566, 1); + x_569 = x_566; } else { - lean_dec_ref(x_569); - x_572 = lean_box(0); + lean_dec_ref(x_566); + x_569 = lean_box(0); } -x_573 = l_Lean_Elab_Term_Do_mkSeq(x_490, x_570); -if (lean_is_scalar(x_572)) { - x_574 = lean_alloc_ctor(0, 2, 0); +x_570 = l_Lean_Elab_Term_Do_mkSeq(x_487, x_567); +if (lean_is_scalar(x_569)) { + x_571 = lean_alloc_ctor(0, 2, 0); } else { - x_574 = x_572; + x_571 = x_569; } -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_571); -return x_574; +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_568); +return x_571; } else { -lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; -lean_dec(x_490); -x_575 = lean_ctor_get(x_569, 0); -lean_inc(x_575); -x_576 = lean_ctor_get(x_569, 1); -lean_inc(x_576); -if (lean_is_exclusive(x_569)) { - lean_ctor_release(x_569, 0); - lean_ctor_release(x_569, 1); - x_577 = x_569; +lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; +lean_dec(x_487); +x_572 = lean_ctor_get(x_566, 0); +lean_inc(x_572); +x_573 = lean_ctor_get(x_566, 1); +lean_inc(x_573); +if (lean_is_exclusive(x_566)) { + lean_ctor_release(x_566, 0); + lean_ctor_release(x_566, 1); + x_574 = x_566; } else { - lean_dec_ref(x_569); - x_577 = lean_box(0); + lean_dec_ref(x_566); + x_574 = lean_box(0); } -if (lean_is_scalar(x_577)) { - x_578 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_574)) { + x_575 = lean_alloc_ctor(1, 2, 0); } else { - x_578 = x_577; + x_575 = x_574; } -lean_ctor_set(x_578, 0, x_575); -lean_ctor_set(x_578, 1, x_576); -return x_578; +lean_ctor_set(x_575, 0, x_572); +lean_ctor_set(x_575, 1, x_573); +return x_575; } } } else { -lean_object* x_579; -lean_dec(x_497); -x_579 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(x_490, x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); +lean_object* x_576; +lean_dec(x_494); +x_576 = l_Lean_Elab_Term_Do_ToCodeBlock_doReturnToCode(x_487, x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); lean_dec(x_3); -lean_dec(x_490); -return x_579; +lean_dec(x_487); +return x_576; } } else { -lean_object* x_580; -lean_dec(x_497); -x_580 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -if (lean_obj_tag(x_580) == 0) +lean_object* x_577; +lean_dec(x_494); +x_577 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_577) == 0) { -lean_object* x_581; lean_object* x_582; -x_581 = lean_ctor_get(x_580, 1); -lean_inc(x_581); -lean_dec(x_580); -x_582 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_581); +lean_object* x_578; lean_object* x_579; +x_578 = lean_ctor_get(x_577, 1); +lean_inc(x_578); +lean_dec(x_577); +x_579 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_578); lean_dec(x_11); -lean_dec(x_484); +lean_dec(x_481); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -if (lean_obj_tag(x_582) == 0) +if (lean_obj_tag(x_579) == 0) { -lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; -x_583 = lean_ctor_get(x_582, 1); -lean_inc(x_583); -if (lean_is_exclusive(x_582)) { - lean_ctor_release(x_582, 0); - lean_ctor_release(x_582, 1); - x_584 = x_582; +lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; +x_580 = lean_ctor_get(x_579, 1); +lean_inc(x_580); +if (lean_is_exclusive(x_579)) { + lean_ctor_release(x_579, 0); + lean_ctor_release(x_579, 1); + x_581 = x_579; } else { - lean_dec_ref(x_582); - x_584 = lean_box(0); + lean_dec_ref(x_579); + x_581 = lean_box(0); } -x_585 = l_Lean_Elab_Term_Do_mkContinue(x_490); -if (lean_is_scalar(x_584)) { - x_586 = lean_alloc_ctor(0, 2, 0); +x_582 = l_Lean_Elab_Term_Do_mkContinue(x_487); +if (lean_is_scalar(x_581)) { + x_583 = lean_alloc_ctor(0, 2, 0); } else { - x_586 = x_584; + x_583 = x_581; } -lean_ctor_set(x_586, 0, x_585); -lean_ctor_set(x_586, 1, x_583); -return x_586; +lean_ctor_set(x_583, 0, x_582); +lean_ctor_set(x_583, 1, x_580); +return x_583; } else { -lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; -lean_dec(x_490); -x_587 = lean_ctor_get(x_582, 0); -lean_inc(x_587); -x_588 = lean_ctor_get(x_582, 1); +lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; +lean_dec(x_487); +x_584 = lean_ctor_get(x_579, 0); +lean_inc(x_584); +x_585 = lean_ctor_get(x_579, 1); +lean_inc(x_585); +if (lean_is_exclusive(x_579)) { + lean_ctor_release(x_579, 0); + lean_ctor_release(x_579, 1); + x_586 = x_579; +} else { + lean_dec_ref(x_579); + x_586 = lean_box(0); +} +if (lean_is_scalar(x_586)) { + x_587 = lean_alloc_ctor(1, 2, 0); +} else { + x_587 = x_586; +} +lean_ctor_set(x_587, 0, x_584); +lean_ctor_set(x_587, 1, x_585); +return x_587; +} +} +else +{ +lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; +lean_dec(x_487); +lean_dec(x_481); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_588 = lean_ctor_get(x_577, 0); lean_inc(x_588); -if (lean_is_exclusive(x_582)) { - lean_ctor_release(x_582, 0); - lean_ctor_release(x_582, 1); - x_589 = x_582; +x_589 = lean_ctor_get(x_577, 1); +lean_inc(x_589); +if (lean_is_exclusive(x_577)) { + lean_ctor_release(x_577, 0); + lean_ctor_release(x_577, 1); + x_590 = x_577; } else { - lean_dec_ref(x_582); - x_589 = lean_box(0); + lean_dec_ref(x_577); + x_590 = lean_box(0); } -if (lean_is_scalar(x_589)) { - x_590 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_590)) { + x_591 = lean_alloc_ctor(1, 2, 0); } else { - x_590 = x_589; + x_591 = x_590; +} +lean_ctor_set(x_591, 0, x_588); +lean_ctor_set(x_591, 1, x_589); +return x_591; } -lean_ctor_set(x_590, 0, x_587); -lean_ctor_set(x_590, 1, x_588); -return x_590; } } else { -lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -lean_dec(x_490); -lean_dec(x_484); +lean_object* x_592; +lean_dec(x_494); +x_592 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_592) == 0) +{ +lean_object* x_593; lean_object* x_594; +x_593 = lean_ctor_get(x_592, 1); +lean_inc(x_593); +lean_dec(x_592); +x_594 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_593); +lean_dec(x_11); +lean_dec(x_481); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +if (lean_obj_tag(x_594) == 0) +{ +lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; +x_595 = lean_ctor_get(x_594, 1); +lean_inc(x_595); +if (lean_is_exclusive(x_594)) { + lean_ctor_release(x_594, 0); + lean_ctor_release(x_594, 1); + x_596 = x_594; +} else { + lean_dec_ref(x_594); + x_596 = lean_box(0); +} +x_597 = l_Lean_Elab_Term_Do_mkBreak(x_487); +if (lean_is_scalar(x_596)) { + x_598 = lean_alloc_ctor(0, 2, 0); +} else { + x_598 = x_596; +} +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_595); +return x_598; +} +else +{ +lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; +lean_dec(x_487); +x_599 = lean_ctor_get(x_594, 0); +lean_inc(x_599); +x_600 = lean_ctor_get(x_594, 1); +lean_inc(x_600); +if (lean_is_exclusive(x_594)) { + lean_ctor_release(x_594, 0); + lean_ctor_release(x_594, 1); + x_601 = x_594; +} else { + lean_dec_ref(x_594); + x_601 = lean_box(0); +} +if (lean_is_scalar(x_601)) { + x_602 = lean_alloc_ctor(1, 2, 0); +} else { + x_602 = x_601; +} +lean_ctor_set(x_602, 0, x_599); +lean_ctor_set(x_602, 1, x_600); +return x_602; +} +} +else +{ +lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; +lean_dec(x_487); +lean_dec(x_481); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -53618,210 +53711,106 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_591 = lean_ctor_get(x_580, 0); -lean_inc(x_591); -x_592 = lean_ctor_get(x_580, 1); -lean_inc(x_592); -if (lean_is_exclusive(x_580)) { - lean_ctor_release(x_580, 0); - lean_ctor_release(x_580, 1); - x_593 = x_580; -} else { - lean_dec_ref(x_580); - x_593 = lean_box(0); -} -if (lean_is_scalar(x_593)) { - x_594 = lean_alloc_ctor(1, 2, 0); -} else { - x_594 = x_593; -} -lean_ctor_set(x_594, 0, x_591); -lean_ctor_set(x_594, 1, x_592); -return x_594; -} -} -} -else -{ -lean_object* x_595; -lean_dec(x_497); -x_595 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureInsideFor(x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -if (lean_obj_tag(x_595) == 0) -{ -lean_object* x_596; lean_object* x_597; -x_596 = lean_ctor_get(x_595, 1); -lean_inc(x_596); -lean_dec(x_595); -x_597 = l_Lean_Elab_Term_Do_ToCodeBlock_ensureEOS(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_596); -lean_dec(x_11); -lean_dec(x_484); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -if (lean_obj_tag(x_597) == 0) -{ -lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; -x_598 = lean_ctor_get(x_597, 1); -lean_inc(x_598); -if (lean_is_exclusive(x_597)) { - lean_ctor_release(x_597, 0); - lean_ctor_release(x_597, 1); - x_599 = x_597; -} else { - lean_dec_ref(x_597); - x_599 = lean_box(0); -} -x_600 = l_Lean_Elab_Term_Do_mkBreak(x_490); -if (lean_is_scalar(x_599)) { - x_601 = lean_alloc_ctor(0, 2, 0); -} else { - x_601 = x_599; -} -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_598); -return x_601; -} -else -{ -lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; -lean_dec(x_490); -x_602 = lean_ctor_get(x_597, 0); -lean_inc(x_602); -x_603 = lean_ctor_get(x_597, 1); +x_603 = lean_ctor_get(x_592, 0); lean_inc(x_603); -if (lean_is_exclusive(x_597)) { - lean_ctor_release(x_597, 0); - lean_ctor_release(x_597, 1); - x_604 = x_597; +x_604 = lean_ctor_get(x_592, 1); +lean_inc(x_604); +if (lean_is_exclusive(x_592)) { + lean_ctor_release(x_592, 0); + lean_ctor_release(x_592, 1); + x_605 = x_592; } else { - lean_dec_ref(x_597); - x_604 = lean_box(0); + lean_dec_ref(x_592); + x_605 = lean_box(0); } -if (lean_is_scalar(x_604)) { - x_605 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_605)) { + x_606 = lean_alloc_ctor(1, 2, 0); } else { - x_605 = x_604; + x_606 = x_605; } -lean_ctor_set(x_605, 0, x_602); -lean_ctor_set(x_605, 1, x_603); -return x_605; -} -} -else -{ -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; -lean_dec(x_490); -lean_dec(x_484); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_606 = lean_ctor_get(x_595, 0); -lean_inc(x_606); -x_607 = lean_ctor_get(x_595, 1); -lean_inc(x_607); -if (lean_is_exclusive(x_595)) { - lean_ctor_release(x_595, 0); - lean_ctor_release(x_595, 1); - x_608 = x_595; -} else { - lean_dec_ref(x_595); - x_608 = lean_box(0); -} -if (lean_is_scalar(x_608)) { - x_609 = lean_alloc_ctor(1, 2, 0); -} else { - x_609 = x_608; -} -lean_ctor_set(x_609, 0, x_606); -lean_ctor_set(x_609, 1, x_607); -return x_609; +lean_ctor_set(x_606, 0, x_603); +lean_ctor_set(x_606, 1, x_604); +return x_606; } } } else { -lean_object* x_610; -lean_dec(x_497); -x_610 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(x_490, x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -lean_dec(x_490); -return x_610; +lean_object* x_607; +lean_dec(x_494); +x_607 = l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(x_487, x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +lean_dec(x_487); +return x_607; } } else { -lean_object* x_611; -lean_dec(x_497); -x_611 = l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode(x_490, x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -return x_611; +lean_object* x_608; +lean_dec(x_494); +x_608 = l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode(x_487, x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +return x_608; } } else { -lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; uint8_t x_628; uint8_t x_629; uint8_t x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; uint8_t x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; -lean_dec(x_497); -x_612 = lean_st_ref_take(x_11, x_488); -x_613 = lean_ctor_get(x_612, 0); +lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; uint8_t x_625; uint8_t x_626; uint8_t x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; uint8_t x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; +lean_dec(x_494); +x_609 = lean_st_ref_take(x_11, x_485); +x_610 = lean_ctor_get(x_609, 0); +lean_inc(x_610); +x_611 = lean_ctor_get(x_609, 1); +lean_inc(x_611); +lean_dec(x_609); +x_612 = lean_ctor_get(x_610, 0); +lean_inc(x_612); +x_613 = lean_ctor_get(x_610, 1); lean_inc(x_613); -x_614 = lean_ctor_get(x_612, 1); +x_614 = lean_ctor_get(x_610, 2); lean_inc(x_614); -lean_dec(x_612); -x_615 = lean_ctor_get(x_613, 0); +x_615 = lean_ctor_get(x_610, 3); lean_inc(x_615); -x_616 = lean_ctor_get(x_613, 1); -lean_inc(x_616); -x_617 = lean_ctor_get(x_613, 2); -lean_inc(x_617); -x_618 = lean_ctor_get(x_613, 3); -lean_inc(x_618); -if (lean_is_exclusive(x_613)) { - lean_ctor_release(x_613, 0); - lean_ctor_release(x_613, 1); - lean_ctor_release(x_613, 2); - lean_ctor_release(x_613, 3); - x_619 = x_613; +if (lean_is_exclusive(x_610)) { + lean_ctor_release(x_610, 0); + lean_ctor_release(x_610, 1); + lean_ctor_release(x_610, 2); + lean_ctor_release(x_610, 3); + x_616 = x_610; } else { - lean_dec_ref(x_613); - x_619 = lean_box(0); + lean_dec_ref(x_610); + x_616 = lean_box(0); } -x_620 = lean_nat_add(x_616, x_13); -if (lean_is_scalar(x_619)) { - x_621 = lean_alloc_ctor(0, 4, 0); +x_617 = lean_nat_add(x_613, x_13); +if (lean_is_scalar(x_616)) { + x_618 = lean_alloc_ctor(0, 4, 0); } else { - x_621 = x_619; + x_618 = x_616; } -lean_ctor_set(x_621, 0, x_615); -lean_ctor_set(x_621, 1, x_620); -lean_ctor_set(x_621, 2, x_617); -lean_ctor_set(x_621, 3, x_618); -x_622 = lean_st_ref_set(x_11, x_621, x_614); -x_623 = lean_ctor_get(x_622, 1); +lean_ctor_set(x_618, 0, x_612); +lean_ctor_set(x_618, 1, x_617); +lean_ctor_set(x_618, 2, x_614); +lean_ctor_set(x_618, 3, x_615); +x_619 = lean_st_ref_set(x_11, x_618, x_611); +x_620 = lean_ctor_get(x_619, 1); +lean_inc(x_620); +lean_dec(x_619); +x_621 = lean_ctor_get(x_6, 0); +lean_inc(x_621); +x_622 = lean_ctor_get(x_6, 1); +lean_inc(x_622); +x_623 = lean_ctor_get(x_6, 2); lean_inc(x_623); -lean_dec(x_622); -x_624 = lean_ctor_get(x_6, 0); +x_624 = lean_ctor_get(x_6, 3); lean_inc(x_624); -x_625 = lean_ctor_get(x_6, 1); -lean_inc(x_625); -x_626 = lean_ctor_get(x_6, 2); -lean_inc(x_626); -x_627 = lean_ctor_get(x_6, 3); -lean_inc(x_627); -x_628 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -x_629 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); -x_630 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); -x_631 = lean_ctor_get(x_6, 5); -lean_inc(x_631); -x_632 = lean_ctor_get(x_6, 6); -lean_inc(x_632); -x_633 = lean_ctor_get(x_6, 7); -lean_inc(x_633); -x_634 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); +x_625 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); +x_626 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 1); +x_627 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 2); +x_628 = lean_ctor_get(x_6, 5); +lean_inc(x_628); +x_629 = lean_ctor_get(x_6, 6); +lean_inc(x_629); +x_630 = lean_ctor_get(x_6, 7); +lean_inc(x_630); +x_631 = lean_ctor_get_uint8(x_6, sizeof(void*)*8 + 3); if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 0); lean_ctor_release(x_6, 1); @@ -53831,291 +53820,291 @@ if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 5); lean_ctor_release(x_6, 6); lean_ctor_release(x_6, 7); - x_635 = x_6; + x_632 = x_6; } else { lean_dec_ref(x_6); - x_635 = lean_box(0); + x_632 = lean_box(0); } -if (lean_is_scalar(x_635)) { - x_636 = lean_alloc_ctor(0, 8, 4); +if (lean_is_scalar(x_632)) { + x_633 = lean_alloc_ctor(0, 8, 4); } else { - x_636 = x_635; + x_633 = x_632; } -lean_ctor_set(x_636, 0, x_624); -lean_ctor_set(x_636, 1, x_625); -lean_ctor_set(x_636, 2, x_626); -lean_ctor_set(x_636, 3, x_627); -lean_ctor_set(x_636, 4, x_616); -lean_ctor_set(x_636, 5, x_631); -lean_ctor_set(x_636, 6, x_632); -lean_ctor_set(x_636, 7, x_633); -lean_ctor_set_uint8(x_636, sizeof(void*)*8, x_628); -lean_ctor_set_uint8(x_636, sizeof(void*)*8 + 1, x_629); -lean_ctor_set_uint8(x_636, sizeof(void*)*8 + 2, x_630); -lean_ctor_set_uint8(x_636, sizeof(void*)*8 + 3, x_634); -x_637 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_490, x_3, x_5, x_636, x_7, x_8, x_9, x_484, x_11, x_623); -lean_dec(x_490); +lean_ctor_set(x_633, 0, x_621); +lean_ctor_set(x_633, 1, x_622); +lean_ctor_set(x_633, 2, x_623); +lean_ctor_set(x_633, 3, x_624); +lean_ctor_set(x_633, 4, x_613); +lean_ctor_set(x_633, 5, x_628); +lean_ctor_set(x_633, 6, x_629); +lean_ctor_set(x_633, 7, x_630); +lean_ctor_set_uint8(x_633, sizeof(void*)*8, x_625); +lean_ctor_set_uint8(x_633, sizeof(void*)*8 + 1, x_626); +lean_ctor_set_uint8(x_633, sizeof(void*)*8 + 2, x_627); +lean_ctor_set_uint8(x_633, sizeof(void*)*8 + 3, x_631); +x_634 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(x_487, x_3, x_5, x_633, x_7, x_8, x_9, x_481, x_11, x_620); +lean_dec(x_487); +return x_634; +} +} +else +{ +lean_object* x_635; +lean_dec(x_494); +x_635 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_487, x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +lean_dec(x_487); +return x_635; +} +} +else +{ +lean_object* x_636; +lean_dec(x_494); +x_636 = l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(x_487, x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +return x_636; +} +} +else +{ +lean_object* x_637; +lean_dec(x_494); +x_637 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(x_487, x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +lean_dec(x_487); return x_637; } } else { lean_object* x_638; -lean_dec(x_497); -x_638 = l_Lean_Elab_Term_Do_ToCodeBlock_doUnlessToCode(x_490, x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -lean_dec(x_490); +lean_dec(x_494); +x_638 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(x_487, x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); return x_638; } } else { lean_object* x_639; -lean_dec(x_497); -x_639 = l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(x_490, x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -return x_639; -} -} -else -{ -lean_object* x_640; -lean_dec(x_497); -x_640 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode(x_490, x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -lean_dec(x_490); -return x_640; -} -} -else -{ -lean_object* x_641; -lean_dec(x_497); -x_641 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(x_490, x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -return x_641; -} -} -else -{ -lean_object* x_642; -lean_dec(x_497); +lean_dec(x_494); lean_inc(x_11); -lean_inc(x_484); +lean_inc(x_481); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_642 = l_Lean_Elab_Term_Do_getDoReassignVars(x_490, x_6, x_7, x_8, x_9, x_484, x_11, x_488); +x_639 = l_Lean_Elab_Term_Do_getDoReassignVars(x_487, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_639) == 0) +{ +lean_object* x_640; lean_object* x_641; lean_object* x_642; +x_640 = lean_ctor_get(x_639, 0); +lean_inc(x_640); +x_641 = lean_ctor_get(x_639, 1); +lean_inc(x_641); +lean_dec(x_639); +x_642 = l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(x_640, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_641); if (lean_obj_tag(x_642) == 0) { -lean_object* x_643; lean_object* x_644; lean_object* x_645; -x_643 = lean_ctor_get(x_642, 0); +lean_object* x_643; lean_object* x_644; +x_643 = lean_ctor_get(x_642, 1); lean_inc(x_643); -x_644 = lean_ctor_get(x_642, 1); -lean_inc(x_644); lean_dec(x_642); -x_645 = l_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable(x_643, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_644); -if (lean_obj_tag(x_645) == 0) -{ -lean_object* x_646; lean_object* x_647; -x_646 = lean_ctor_get(x_645, 1); -lean_inc(x_646); -lean_dec(x_645); lean_inc(x_11); -lean_inc(x_484); +lean_inc(x_481); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_647 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_646); -if (lean_obj_tag(x_647) == 0) +x_644 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_643); +if (lean_obj_tag(x_644) == 0) { -lean_object* x_648; lean_object* x_649; lean_object* x_650; -x_648 = lean_ctor_get(x_647, 0); +lean_object* x_645; lean_object* x_646; lean_object* x_647; +x_645 = lean_ctor_get(x_644, 0); +lean_inc(x_645); +x_646 = lean_ctor_get(x_644, 1); +lean_inc(x_646); +lean_dec(x_644); +x_647 = l_Lean_Elab_Term_Do_mkReassignCore(x_640, x_487, x_645, x_6, x_7, x_8, x_9, x_481, x_11, x_646); +return x_647; +} +else +{ +lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; +lean_dec(x_640); +lean_dec(x_487); +lean_dec(x_481); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_648 = lean_ctor_get(x_644, 0); lean_inc(x_648); -x_649 = lean_ctor_get(x_647, 1); +x_649 = lean_ctor_get(x_644, 1); lean_inc(x_649); -lean_dec(x_647); -x_650 = l_Lean_Elab_Term_Do_mkReassignCore(x_643, x_490, x_648, x_6, x_7, x_8, x_9, x_484, x_11, x_649); -return x_650; +if (lean_is_exclusive(x_644)) { + lean_ctor_release(x_644, 0); + lean_ctor_release(x_644, 1); + x_650 = x_644; +} else { + lean_dec_ref(x_644); + x_650 = lean_box(0); +} +if (lean_is_scalar(x_650)) { + x_651 = lean_alloc_ctor(1, 2, 0); +} else { + x_651 = x_650; +} +lean_ctor_set(x_651, 0, x_648); +lean_ctor_set(x_651, 1, x_649); +return x_651; +} } else { -lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; -lean_dec(x_643); -lean_dec(x_490); -lean_dec(x_484); +lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; +lean_dec(x_640); +lean_dec(x_487); +lean_dec(x_481); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_651 = lean_ctor_get(x_647, 0); -lean_inc(x_651); -x_652 = lean_ctor_get(x_647, 1); +lean_dec(x_5); +lean_dec(x_3); +x_652 = lean_ctor_get(x_642, 0); lean_inc(x_652); -if (lean_is_exclusive(x_647)) { - lean_ctor_release(x_647, 0); - lean_ctor_release(x_647, 1); - x_653 = x_647; -} else { - lean_dec_ref(x_647); - x_653 = lean_box(0); -} -if (lean_is_scalar(x_653)) { - x_654 = lean_alloc_ctor(1, 2, 0); -} else { - x_654 = x_653; -} -lean_ctor_set(x_654, 0, x_651); -lean_ctor_set(x_654, 1, x_652); -return x_654; -} -} -else -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; -lean_dec(x_643); -lean_dec(x_490); -lean_dec(x_484); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_655 = lean_ctor_get(x_645, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_645, 1); -lean_inc(x_656); -if (lean_is_exclusive(x_645)) { - lean_ctor_release(x_645, 0); - lean_ctor_release(x_645, 1); - x_657 = x_645; -} else { - lean_dec_ref(x_645); - x_657 = lean_box(0); -} -if (lean_is_scalar(x_657)) { - x_658 = lean_alloc_ctor(1, 2, 0); -} else { - x_658 = x_657; -} -lean_ctor_set(x_658, 0, x_655); -lean_ctor_set(x_658, 1, x_656); -return x_658; -} -} -else -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; -lean_dec(x_490); -lean_dec(x_484); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_659 = lean_ctor_get(x_642, 0); -lean_inc(x_659); -x_660 = lean_ctor_get(x_642, 1); -lean_inc(x_660); +x_653 = lean_ctor_get(x_642, 1); +lean_inc(x_653); if (lean_is_exclusive(x_642)) { lean_ctor_release(x_642, 0); lean_ctor_release(x_642, 1); - x_661 = x_642; + x_654 = x_642; } else { lean_dec_ref(x_642); - x_661 = lean_box(0); + x_654 = lean_box(0); } -if (lean_is_scalar(x_661)) { - x_662 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_654)) { + x_655 = lean_alloc_ctor(1, 2, 0); } else { - x_662 = x_661; + x_655 = x_654; } -lean_ctor_set(x_662, 0, x_659); -lean_ctor_set(x_662, 1, x_660); -return x_662; +lean_ctor_set(x_655, 0, x_652); +lean_ctor_set(x_655, 1, x_653); +return x_655; +} +} +else +{ +lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; +lean_dec(x_487); +lean_dec(x_481); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_656 = lean_ctor_get(x_639, 0); +lean_inc(x_656); +x_657 = lean_ctor_get(x_639, 1); +lean_inc(x_657); +if (lean_is_exclusive(x_639)) { + lean_ctor_release(x_639, 0); + lean_ctor_release(x_639, 1); + x_658 = x_639; +} else { + lean_dec_ref(x_639); + x_658 = lean_box(0); +} +if (lean_is_scalar(x_658)) { + x_659 = lean_alloc_ctor(1, 2, 0); +} else { + x_659 = x_658; +} +lean_ctor_set(x_659, 0, x_656); +lean_ctor_set(x_659, 1, x_657); +return x_659; } } } else { -lean_object* x_663; -lean_dec(x_497); +lean_object* x_660; +lean_dec(x_494); lean_inc(x_11); -lean_inc(x_484); +lean_inc(x_481); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_663 = l_Lean_Elab_Term_Do_getDoLetRecVars(x_490, x_6, x_7, x_8, x_9, x_484, x_11, x_488); +x_660 = l_Lean_Elab_Term_Do_getDoLetRecVars(x_487, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_660) == 0) +{ +lean_object* x_661; lean_object* x_662; lean_object* x_663; +x_661 = lean_ctor_get(x_660, 0); +lean_inc(x_661); +x_662 = lean_ctor_get(x_660, 1); +lean_inc(x_662); +lean_dec(x_660); +x_663 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_662); if (lean_obj_tag(x_663) == 0) { -lean_object* x_664; lean_object* x_665; lean_object* x_666; +lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; x_664 = lean_ctor_get(x_663, 0); lean_inc(x_664); x_665 = lean_ctor_get(x_663, 1); lean_inc(x_665); -lean_dec(x_663); -x_666 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_665); -if (lean_obj_tag(x_666) == 0) -{ -lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; -x_667 = lean_ctor_get(x_666, 0); -lean_inc(x_667); -x_668 = lean_ctor_get(x_666, 1); -lean_inc(x_668); -if (lean_is_exclusive(x_666)) { - lean_ctor_release(x_666, 0); - lean_ctor_release(x_666, 1); - x_669 = x_666; +if (lean_is_exclusive(x_663)) { + lean_ctor_release(x_663, 0); + lean_ctor_release(x_663, 1); + x_666 = x_663; } else { - lean_dec_ref(x_666); - x_669 = lean_box(0); + lean_dec_ref(x_663); + x_666 = lean_box(0); } -x_670 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_664, x_490, x_667); -if (lean_is_scalar(x_669)) { - x_671 = lean_alloc_ctor(0, 2, 0); +x_667 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_661, x_487, x_664); +if (lean_is_scalar(x_666)) { + x_668 = lean_alloc_ctor(0, 2, 0); } else { - x_671 = x_669; + x_668 = x_666; } -lean_ctor_set(x_671, 0, x_670); -lean_ctor_set(x_671, 1, x_668); -return x_671; +lean_ctor_set(x_668, 0, x_667); +lean_ctor_set(x_668, 1, x_665); +return x_668; } else { -lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; -lean_dec(x_664); -lean_dec(x_490); -x_672 = lean_ctor_get(x_666, 0); -lean_inc(x_672); -x_673 = lean_ctor_get(x_666, 1); -lean_inc(x_673); -if (lean_is_exclusive(x_666)) { - lean_ctor_release(x_666, 0); - lean_ctor_release(x_666, 1); - x_674 = x_666; +lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; +lean_dec(x_661); +lean_dec(x_487); +x_669 = lean_ctor_get(x_663, 0); +lean_inc(x_669); +x_670 = lean_ctor_get(x_663, 1); +lean_inc(x_670); +if (lean_is_exclusive(x_663)) { + lean_ctor_release(x_663, 0); + lean_ctor_release(x_663, 1); + x_671 = x_663; } else { - lean_dec_ref(x_666); - x_674 = lean_box(0); + lean_dec_ref(x_663); + x_671 = lean_box(0); } -if (lean_is_scalar(x_674)) { - x_675 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_671)) { + x_672 = lean_alloc_ctor(1, 2, 0); } else { - x_675 = x_674; + x_672 = x_671; } -lean_ctor_set(x_675, 0, x_672); -lean_ctor_set(x_675, 1, x_673); -return x_675; +lean_ctor_set(x_672, 0, x_669); +lean_ctor_set(x_672, 1, x_670); +return x_672; } } else { -lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; -lean_dec(x_490); -lean_dec(x_484); +lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; +lean_dec(x_487); +lean_dec(x_481); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -54123,255 +54112,255 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_676 = lean_ctor_get(x_663, 0); -lean_inc(x_676); -x_677 = lean_ctor_get(x_663, 1); -lean_inc(x_677); -if (lean_is_exclusive(x_663)) { - lean_ctor_release(x_663, 0); - lean_ctor_release(x_663, 1); - x_678 = x_663; +x_673 = lean_ctor_get(x_660, 0); +lean_inc(x_673); +x_674 = lean_ctor_get(x_660, 1); +lean_inc(x_674); +if (lean_is_exclusive(x_660)) { + lean_ctor_release(x_660, 0); + lean_ctor_release(x_660, 1); + x_675 = x_660; } else { - lean_dec_ref(x_663); - x_678 = lean_box(0); + lean_dec_ref(x_660); + x_675 = lean_box(0); } -if (lean_is_scalar(x_678)) { - x_679 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_675)) { + x_676 = lean_alloc_ctor(1, 2, 0); } else { - x_679 = x_678; + x_676 = x_675; } -lean_ctor_set(x_679, 0, x_676); -lean_ctor_set(x_679, 1, x_677); -return x_679; +lean_ctor_set(x_676, 0, x_673); +lean_ctor_set(x_676, 1, x_674); +return x_676; } } } else { -lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; -lean_dec(x_497); -x_680 = l_Lean_Elab_Term_Do_getDoHaveVar(x_490); -x_681 = l_Lean_mkOptionalNode___closed__2; -x_682 = lean_array_push(x_681, x_680); -x_683 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -if (lean_obj_tag(x_683) == 0) +lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; +lean_dec(x_494); +x_677 = l_Lean_Elab_Term_Do_getDoHaveVar(x_487); +x_678 = l_Lean_mkOptionalNode___closed__2; +x_679 = lean_array_push(x_678, x_677); +x_680 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_680) == 0) { -lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; -x_684 = lean_ctor_get(x_683, 0); -lean_inc(x_684); -x_685 = lean_ctor_get(x_683, 1); -lean_inc(x_685); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - lean_ctor_release(x_683, 1); - x_686 = x_683; +lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; +x_681 = lean_ctor_get(x_680, 0); +lean_inc(x_681); +x_682 = lean_ctor_get(x_680, 1); +lean_inc(x_682); +if (lean_is_exclusive(x_680)) { + lean_ctor_release(x_680, 0); + lean_ctor_release(x_680, 1); + x_683 = x_680; } else { - lean_dec_ref(x_683); - x_686 = lean_box(0); + lean_dec_ref(x_680); + x_683 = lean_box(0); } -x_687 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_682, x_490, x_684); -if (lean_is_scalar(x_686)) { - x_688 = lean_alloc_ctor(0, 2, 0); +x_684 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_679, x_487, x_681); +if (lean_is_scalar(x_683)) { + x_685 = lean_alloc_ctor(0, 2, 0); } else { - x_688 = x_686; + x_685 = x_683; } -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_685); -return x_688; +lean_ctor_set(x_685, 0, x_684); +lean_ctor_set(x_685, 1, x_682); +return x_685; } else { -lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; -lean_dec(x_682); -lean_dec(x_490); -x_689 = lean_ctor_get(x_683, 0); -lean_inc(x_689); -x_690 = lean_ctor_get(x_683, 1); -lean_inc(x_690); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - lean_ctor_release(x_683, 1); - x_691 = x_683; +lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; +lean_dec(x_679); +lean_dec(x_487); +x_686 = lean_ctor_get(x_680, 0); +lean_inc(x_686); +x_687 = lean_ctor_get(x_680, 1); +lean_inc(x_687); +if (lean_is_exclusive(x_680)) { + lean_ctor_release(x_680, 0); + lean_ctor_release(x_680, 1); + x_688 = x_680; } else { - lean_dec_ref(x_683); - x_691 = lean_box(0); + lean_dec_ref(x_680); + x_688 = lean_box(0); } -if (lean_is_scalar(x_691)) { - x_692 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_688)) { + x_689 = lean_alloc_ctor(1, 2, 0); } else { - x_692 = x_691; + x_689 = x_688; } -lean_ctor_set(x_692, 0, x_689); -lean_ctor_set(x_692, 1, x_690); -return x_692; +lean_ctor_set(x_689, 0, x_686); +lean_ctor_set(x_689, 1, x_687); +return x_689; } } } else { -lean_object* x_693; -lean_dec(x_497); +lean_object* x_690; +lean_dec(x_494); lean_inc(x_11); -lean_inc(x_484); +lean_inc(x_481); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_693 = l_Lean_Elab_Term_Do_getDoLetVars(x_490, x_6, x_7, x_8, x_9, x_484, x_11, x_488); -if (lean_obj_tag(x_693) == 0) +x_690 = l_Lean_Elab_Term_Do_getDoLetVars(x_487, x_6, x_7, x_8, x_9, x_481, x_11, x_485); +if (lean_obj_tag(x_690) == 0) { -lean_object* x_694; lean_object* x_695; uint8_t x_696; -x_694 = lean_ctor_get(x_693, 0); -lean_inc(x_694); -x_695 = lean_ctor_get(x_693, 1); +lean_object* x_691; lean_object* x_692; uint8_t x_693; +x_691 = lean_ctor_get(x_690, 0); +lean_inc(x_691); +x_692 = lean_ctor_get(x_690, 1); +lean_inc(x_692); +lean_dec(x_690); +lean_inc(x_487); +x_693 = l_Lean_Elab_Term_Do_isMutableLet(x_487); +if (x_693 == 0) +{ +lean_object* x_694; +x_694 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_481, x_11, x_692); +if (lean_obj_tag(x_694) == 0) +{ +lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; +x_695 = lean_ctor_get(x_694, 0); lean_inc(x_695); -lean_dec(x_693); -lean_inc(x_490); -x_696 = l_Lean_Elab_Term_Do_isMutableLet(x_490); -if (x_696 == 0) -{ -lean_object* x_697; -x_697 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_5, x_6, x_7, x_8, x_9, x_484, x_11, x_695); -if (lean_obj_tag(x_697) == 0) -{ -lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; -x_698 = lean_ctor_get(x_697, 0); -lean_inc(x_698); -x_699 = lean_ctor_get(x_697, 1); -lean_inc(x_699); -if (lean_is_exclusive(x_697)) { - lean_ctor_release(x_697, 0); - lean_ctor_release(x_697, 1); - x_700 = x_697; +x_696 = lean_ctor_get(x_694, 1); +lean_inc(x_696); +if (lean_is_exclusive(x_694)) { + lean_ctor_release(x_694, 0); + lean_ctor_release(x_694, 1); + x_697 = x_694; } else { - lean_dec_ref(x_697); - x_700 = lean_box(0); + lean_dec_ref(x_694); + x_697 = lean_box(0); } -x_701 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_694, x_490, x_698); -if (lean_is_scalar(x_700)) { - x_702 = lean_alloc_ctor(0, 2, 0); +x_698 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_691, x_487, x_695); +if (lean_is_scalar(x_697)) { + x_699 = lean_alloc_ctor(0, 2, 0); } else { - x_702 = x_700; + x_699 = x_697; } -lean_ctor_set(x_702, 0, x_701); -lean_ctor_set(x_702, 1, x_699); -return x_702; +lean_ctor_set(x_699, 0, x_698); +lean_ctor_set(x_699, 1, x_696); +return x_699; } else { -lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; -lean_dec(x_694); -lean_dec(x_490); -x_703 = lean_ctor_get(x_697, 0); -lean_inc(x_703); -x_704 = lean_ctor_get(x_697, 1); +lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; +lean_dec(x_691); +lean_dec(x_487); +x_700 = lean_ctor_get(x_694, 0); +lean_inc(x_700); +x_701 = lean_ctor_get(x_694, 1); +lean_inc(x_701); +if (lean_is_exclusive(x_694)) { + lean_ctor_release(x_694, 0); + lean_ctor_release(x_694, 1); + x_702 = x_694; +} else { + lean_dec_ref(x_694); + x_702 = lean_box(0); +} +if (lean_is_scalar(x_702)) { + x_703 = lean_alloc_ctor(1, 2, 0); +} else { + x_703 = x_702; +} +lean_ctor_set(x_703, 0, x_700); +lean_ctor_set(x_703, 1, x_701); +return x_703; +} +} +else +{ +lean_object* x_704; lean_object* x_705; lean_object* x_706; uint8_t x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; +x_704 = lean_ctor_get(x_5, 0); lean_inc(x_704); -if (lean_is_exclusive(x_697)) { - lean_ctor_release(x_697, 0); - lean_ctor_release(x_697, 1); - x_705 = x_697; -} else { - lean_dec_ref(x_697); - x_705 = lean_box(0); -} -if (lean_is_scalar(x_705)) { - x_706 = lean_alloc_ctor(1, 2, 0); -} else { - x_706 = x_705; -} -lean_ctor_set(x_706, 0, x_703); -lean_ctor_set(x_706, 1, x_704); -return x_706; -} -} -else -{ -lean_object* x_707; lean_object* x_708; lean_object* x_709; uint8_t x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; -x_707 = lean_ctor_get(x_5, 0); -lean_inc(x_707); -x_708 = lean_ctor_get(x_5, 1); -lean_inc(x_708); -x_709 = lean_ctor_get(x_5, 2); -lean_inc(x_709); -x_710 = lean_ctor_get_uint8(x_5, sizeof(void*)*3); +x_705 = lean_ctor_get(x_5, 1); +lean_inc(x_705); +x_706 = lean_ctor_get(x_5, 2); +lean_inc(x_706); +x_707 = lean_ctor_get_uint8(x_5, sizeof(void*)*3); if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 0); lean_ctor_release(x_5, 1); lean_ctor_release(x_5, 2); - x_711 = x_5; + x_708 = x_5; } else { lean_dec_ref(x_5); - x_711 = lean_box(0); + x_708 = lean_box(0); } -x_712 = l_Lean_Elab_Term_Do_insertVars(x_709, x_694); -if (lean_is_scalar(x_711)) { - x_713 = lean_alloc_ctor(0, 3, 1); +x_709 = l_Lean_Elab_Term_Do_insertVars(x_706, x_691); +if (lean_is_scalar(x_708)) { + x_710 = lean_alloc_ctor(0, 3, 1); } else { - x_713 = x_711; + x_710 = x_708; } -lean_ctor_set(x_713, 0, x_707); -lean_ctor_set(x_713, 1, x_708); -lean_ctor_set(x_713, 2, x_712); -lean_ctor_set_uint8(x_713, sizeof(void*)*3, x_710); -x_714 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_713, x_6, x_7, x_8, x_9, x_484, x_11, x_695); -if (lean_obj_tag(x_714) == 0) +lean_ctor_set(x_710, 0, x_704); +lean_ctor_set(x_710, 1, x_705); +lean_ctor_set(x_710, 2, x_709); +lean_ctor_set_uint8(x_710, sizeof(void*)*3, x_707); +x_711 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_3, x_710, x_6, x_7, x_8, x_9, x_481, x_11, x_692); +if (lean_obj_tag(x_711) == 0) { -lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; -x_715 = lean_ctor_get(x_714, 0); -lean_inc(x_715); -x_716 = lean_ctor_get(x_714, 1); -lean_inc(x_716); -if (lean_is_exclusive(x_714)) { - lean_ctor_release(x_714, 0); - lean_ctor_release(x_714, 1); - x_717 = x_714; +lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; +x_712 = lean_ctor_get(x_711, 0); +lean_inc(x_712); +x_713 = lean_ctor_get(x_711, 1); +lean_inc(x_713); +if (lean_is_exclusive(x_711)) { + lean_ctor_release(x_711, 0); + lean_ctor_release(x_711, 1); + x_714 = x_711; } else { - lean_dec_ref(x_714); - x_717 = lean_box(0); + lean_dec_ref(x_711); + x_714 = lean_box(0); } -x_718 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_694, x_490, x_715); -if (lean_is_scalar(x_717)) { - x_719 = lean_alloc_ctor(0, 2, 0); +x_715 = l_Lean_Elab_Term_Do_mkVarDeclCore(x_691, x_487, x_712); +if (lean_is_scalar(x_714)) { + x_716 = lean_alloc_ctor(0, 2, 0); } else { - x_719 = x_717; + x_716 = x_714; } -lean_ctor_set(x_719, 0, x_718); -lean_ctor_set(x_719, 1, x_716); -return x_719; +lean_ctor_set(x_716, 0, x_715); +lean_ctor_set(x_716, 1, x_713); +return x_716; } else { -lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; -lean_dec(x_694); -lean_dec(x_490); -x_720 = lean_ctor_get(x_714, 0); -lean_inc(x_720); -x_721 = lean_ctor_get(x_714, 1); -lean_inc(x_721); -if (lean_is_exclusive(x_714)) { - lean_ctor_release(x_714, 0); - lean_ctor_release(x_714, 1); - x_722 = x_714; +lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; +lean_dec(x_691); +lean_dec(x_487); +x_717 = lean_ctor_get(x_711, 0); +lean_inc(x_717); +x_718 = lean_ctor_get(x_711, 1); +lean_inc(x_718); +if (lean_is_exclusive(x_711)) { + lean_ctor_release(x_711, 0); + lean_ctor_release(x_711, 1); + x_719 = x_711; } else { - lean_dec_ref(x_714); - x_722 = lean_box(0); + lean_dec_ref(x_711); + x_719 = lean_box(0); } -if (lean_is_scalar(x_722)) { - x_723 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_719)) { + x_720 = lean_alloc_ctor(1, 2, 0); } else { - x_723 = x_722; + x_720 = x_719; } -lean_ctor_set(x_723, 0, x_720); -lean_ctor_set(x_723, 1, x_721); -return x_723; +lean_ctor_set(x_720, 0, x_717); +lean_ctor_set(x_720, 1, x_718); +return x_720; } } } else { -lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; -lean_dec(x_490); -lean_dec(x_484); +lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; +lean_dec(x_487); +lean_dec(x_481); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -54379,26 +54368,26 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); -x_724 = lean_ctor_get(x_693, 0); -lean_inc(x_724); -x_725 = lean_ctor_get(x_693, 1); -lean_inc(x_725); -if (lean_is_exclusive(x_693)) { - lean_ctor_release(x_693, 0); - lean_ctor_release(x_693, 1); - x_726 = x_693; +x_721 = lean_ctor_get(x_690, 0); +lean_inc(x_721); +x_722 = lean_ctor_get(x_690, 1); +lean_inc(x_722); +if (lean_is_exclusive(x_690)) { + lean_ctor_release(x_690, 0); + lean_ctor_release(x_690, 1); + x_723 = x_690; } else { - lean_dec_ref(x_693); - x_726 = lean_box(0); + lean_dec_ref(x_690); + x_723 = lean_box(0); } -if (lean_is_scalar(x_726)) { - x_727 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_723)) { + x_724 = lean_alloc_ctor(1, 2, 0); } else { - x_727 = x_726; + x_724 = x_723; } -lean_ctor_set(x_727, 0, x_724); -lean_ctor_set(x_727, 1, x_725); -return x_727; +lean_ctor_set(x_724, 0, x_721); +lean_ctor_set(x_724, 1, x_722); +return x_724; } } } @@ -54412,7 +54401,7 @@ _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_dec(x_2); x_10 = lean_st_ref_get(x_8, x_9); x_11 = lean_ctor_get(x_10, 0); @@ -54425,172 +54414,171 @@ lean_inc(x_13); lean_dec(x_11); x_14 = lean_ctor_get(x_7, 4); lean_inc(x_14); -x_15 = lean_ctor_get(x_7, 3); -lean_inc(x_15); -x_16 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_inc(x_13); +x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_15, 0, x_13); +x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_16, 0, x_14); +lean_inc(x_13); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_17, 0, x_13); +x_18 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_16); +lean_ctor_set(x_18, 2, x_17); +x_19 = x_18; +x_20 = lean_ctor_get(x_7, 3); +lean_inc(x_20); +x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_12); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -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_7, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_7, 2); -lean_inc(x_20); -lean_dec(x_7); -x_21 = lean_st_ref_get(x_8, x_18); x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = lean_ctor_get(x_22, 1); +x_24 = lean_ctor_get(x_7, 1); lean_inc(x_24); -lean_dec(x_22); -lean_inc(x_13); -x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_25, 0, x_13); +x_25 = lean_ctor_get(x_7, 2); lean_inc(x_25); -x_26 = x_25; -lean_inc(x_13); -x_27 = lean_environment_main_module(x_13); -x_28 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_28, 0, x_14); -x_29 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_29, 0, x_13); -x_30 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_30, 2, x_29); -x_31 = x_30; -x_32 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_32, 0, x_26); -lean_ctor_set(x_32, 1, x_27); -lean_ctor_set(x_32, 2, x_17); -lean_ctor_set(x_32, 3, x_19); -lean_ctor_set(x_32, 4, x_20); -lean_ctor_set(x_32, 5, x_15); -lean_ctor_set(x_32, 6, x_31); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_Elab_Term_Do_mkPureUnitAction(x_32, x_34); -x_36 = lean_ctor_get(x_35, 0); +lean_dec(x_7); +x_26 = lean_st_ref_get(x_8, x_23); +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, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_environment_main_module(x_13); +lean_inc(x_19); +x_31 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_22); +lean_ctor_set(x_31, 3, x_24); +lean_ctor_set(x_31, 4, x_25); +lean_ctor_set(x_31, 5, x_20); +lean_ctor_set(x_31, 6, x_19); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_29); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_Term_Do_mkPureUnitAction(x_31, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); +lean_dec(x_34); +x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_st_ref_take(x_8, x_23); -x_40 = lean_ctor_get(x_39, 0); +lean_dec(x_36); +x_38 = lean_st_ref_take(x_8, x_28); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = !lean_is_exclusive(x_40); -if (x_42 == 0) +lean_dec(x_38); +x_41 = !lean_is_exclusive(x_39); +if (x_41 == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_43 = lean_ctor_get(x_40, 1); -lean_dec(x_43); -lean_ctor_set(x_40, 1, x_38); -x_44 = lean_st_ref_set(x_8, x_40, x_41); +lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_42 = lean_ctor_get(x_39, 1); +lean_dec(x_42); +lean_ctor_set(x_39, 1, x_37); +x_43 = lean_st_ref_set(x_8, x_39, x_40); lean_dec(x_8); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) { -lean_object* x_46; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -lean_ctor_set(x_44, 0, x_36); -return x_44; +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +lean_ctor_set(x_43, 0, x_35); +return x_43; } else { -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_36); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_35); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } else { -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_49 = lean_ctor_get(x_40, 0); -x_50 = lean_ctor_get(x_40, 2); -x_51 = lean_ctor_get(x_40, 3); -lean_inc(x_51); +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; +x_48 = lean_ctor_get(x_39, 0); +x_49 = lean_ctor_get(x_39, 2); +x_50 = lean_ctor_get(x_39, 3); lean_inc(x_50); lean_inc(x_49); -lean_dec(x_40); -x_52 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_38); -lean_ctor_set(x_52, 2, x_50); -lean_ctor_set(x_52, 3, x_51); -x_53 = lean_st_ref_set(x_8, x_52, x_41); +lean_inc(x_48); +lean_dec(x_39); +x_51 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_37); +lean_ctor_set(x_51, 2, x_49); +lean_ctor_set(x_51, 3, x_50); +x_52 = lean_st_ref_set(x_8, x_51, x_40); lean_dec(x_8); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_55 = x_53; +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_53); - x_55 = lean_box(0); + lean_dec_ref(x_52); + x_54 = lean_box(0); } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(0, 2, 0); } else { - x_56 = x_55; + x_55 = x_54; } -lean_ctor_set(x_56, 0, x_36); -lean_ctor_set(x_56, 1, x_54); -return x_56; +lean_ctor_set(x_55, 0, x_35); +lean_ctor_set(x_55, 1, x_53); +return x_55; } } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_57 = lean_ctor_get(x_1, 0); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_56 = lean_ctor_get(x_1, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_1, 1); lean_inc(x_57); -x_58 = lean_ctor_get(x_1, 1); -lean_inc(x_58); lean_dec(x_1); -x_59 = lean_ctor_get(x_7, 1); +x_58 = lean_ctor_get(x_7, 1); +lean_inc(x_58); +x_59 = lean_ctor_get(x_7, 2); lean_inc(x_59); -x_60 = lean_ctor_get(x_7, 2); -lean_inc(x_60); -x_61 = lean_nat_dec_eq(x_59, x_60); -lean_dec(x_60); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; -x_62 = lean_box(0); -x_63 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1(x_59, x_57, x_58, x_62, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_60 = lean_nat_dec_eq(x_58, x_59); lean_dec(x_59); -return x_63; +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_box(0); +x_62 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___lambda__1(x_58, x_56, x_57, x_61, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_58); +return x_62; } else { -lean_object* x_64; lean_object* x_65; uint8_t x_66; -lean_dec(x_59); +lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_dec(x_58); lean_dec(x_57); -x_64 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; -x_65 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_56); +x_63 = l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; +x_64 = l_Lean_throwError___at_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode___spec__10(x_63, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -54598,23 +54586,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) { -return x_65; +return x_64; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_65, 0); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_64, 0); +x_67 = lean_ctor_get(x_64, 1); lean_inc(x_67); -lean_dec(x_65); -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; +lean_inc(x_66); +lean_dec(x_64); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } @@ -55503,7 +55491,7 @@ lean_inc(x_2); x_140 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_139, x_2, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_140) == 0) { -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; x_141 = lean_ctor_get(x_140, 0); lean_inc(x_141); x_142 = lean_ctor_get(x_140, 1); @@ -55525,196 +55513,195 @@ lean_inc(x_148); lean_dec(x_146); x_149 = lean_ctor_get(x_16, 4); lean_inc(x_149); -x_150 = lean_ctor_get(x_16, 3); -lean_inc(x_150); -x_151 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_147); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_ctor_get(x_16, 1); -lean_inc(x_154); -x_155 = lean_ctor_get(x_16, 2); +lean_inc(x_148); +x_150 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_150, 0, x_148); +x_151 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_151, 0, x_149); +lean_inc(x_148); +x_152 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_152, 0, x_148); +x_153 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_153, 0, x_150); +lean_ctor_set(x_153, 1, x_151); +lean_ctor_set(x_153, 2, x_152); +x_154 = x_153; +x_155 = lean_ctor_get(x_16, 3); lean_inc(x_155); -x_156 = lean_st_ref_get(x_17, x_153); +x_156 = l_Lean_Elab_Term_getCurrMacroScope(x_12, x_13, x_14, x_15, x_16, x_17, x_147); x_157 = lean_ctor_get(x_156, 0); lean_inc(x_157); x_158 = lean_ctor_get(x_156, 1); lean_inc(x_158); lean_dec(x_156); -x_159 = lean_ctor_get(x_157, 1); +x_159 = lean_ctor_get(x_16, 1); lean_inc(x_159); -lean_dec(x_157); -lean_inc(x_148); -x_160 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_160, 0, x_148); +x_160 = lean_ctor_get(x_16, 2); lean_inc(x_160); -x_161 = x_160; -lean_inc(x_148); -x_162 = lean_environment_main_module(x_148); -x_163 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_163, 0, x_149); -x_164 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_164, 0, x_148); -x_165 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_165, 0, x_160); -lean_ctor_set(x_165, 1, x_163); -lean_ctor_set(x_165, 2, x_164); -x_166 = x_165; -x_167 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_167, 0, x_161); -lean_ctor_set(x_167, 1, x_162); -lean_ctor_set(x_167, 2, x_152); -lean_ctor_set(x_167, 3, x_154); -lean_ctor_set(x_167, 4, x_155); -lean_ctor_set(x_167, 5, x_150); -lean_ctor_set(x_167, 6, x_166); -x_168 = lean_box(0); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_159); -lean_ctor_set(x_169, 1, x_168); +x_161 = lean_st_ref_get(x_17, x_158); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +lean_dec(x_162); +x_165 = lean_environment_main_module(x_148); +lean_inc(x_154); +x_166 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_166, 0, x_154); +lean_ctor_set(x_166, 1, x_165); +lean_ctor_set(x_166, 2, x_157); +lean_ctor_set(x_166, 3, x_159); +lean_ctor_set(x_166, 4, x_160); +lean_ctor_set(x_166, 5, x_155); +lean_ctor_set(x_166, 6, x_154); +x_167 = lean_box(0); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_164); +lean_ctor_set(x_168, 1, x_167); lean_inc(x_3); -x_170 = l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(x_143, x_144, x_3, x_4, x_5, x_6, x_167, x_169); -if (lean_obj_tag(x_170) == 0) +x_169 = l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(x_143, x_144, x_3, x_4, x_5, x_6, x_166, x_168); +if (lean_obj_tag(x_169) == 0) { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_171 = lean_ctor_get(x_170, 0); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); +lean_dec(x_169); +x_172 = lean_ctor_get(x_171, 0); lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -lean_dec(x_172); -x_174 = lean_st_ref_take(x_17, x_158); -x_175 = lean_ctor_get(x_174, 0); +lean_dec(x_171); +x_173 = lean_st_ref_take(x_17, x_163); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = !lean_is_exclusive(x_175); -if (x_177 == 0) +lean_dec(x_173); +x_176 = !lean_is_exclusive(x_174); +if (x_176 == 0) { -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_175, 1); +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_174, 1); +lean_dec(x_177); +lean_ctor_set(x_174, 1, x_172); +x_178 = lean_st_ref_set(x_17, x_174, x_175); +x_179 = lean_ctor_get(x_178, 1); +lean_inc(x_179); lean_dec(x_178); -lean_ctor_set(x_175, 1, x_173); -x_179 = lean_st_ref_set(x_17, x_175, x_176); -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -lean_dec(x_179); -x_27 = x_171; -x_28 = x_180; +x_27 = x_170; +x_28 = x_179; goto block_138; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_181 = lean_ctor_get(x_175, 0); -x_182 = lean_ctor_get(x_175, 2); -x_183 = lean_ctor_get(x_175, 3); -lean_inc(x_183); +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_180 = lean_ctor_get(x_174, 0); +x_181 = lean_ctor_get(x_174, 2); +x_182 = lean_ctor_get(x_174, 3); lean_inc(x_182); lean_inc(x_181); -lean_dec(x_175); -x_184 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_184, 0, x_181); -lean_ctor_set(x_184, 1, x_173); -lean_ctor_set(x_184, 2, x_182); -lean_ctor_set(x_184, 3, x_183); -x_185 = lean_st_ref_set(x_17, x_184, x_176); -x_186 = lean_ctor_get(x_185, 1); -lean_inc(x_186); -lean_dec(x_185); -x_27 = x_171; -x_28 = x_186; +lean_inc(x_180); +lean_dec(x_174); +x_183 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_183, 0, x_180); +lean_ctor_set(x_183, 1, x_172); +lean_ctor_set(x_183, 2, x_181); +lean_ctor_set(x_183, 3, x_182); +x_184 = lean_st_ref_set(x_17, x_183, x_175); +x_185 = lean_ctor_get(x_184, 1); +lean_inc(x_185); +lean_dec(x_184); +x_27 = x_170; +x_28 = x_185; goto block_138; } } else { -lean_object* x_187; +lean_object* x_186; lean_dec(x_26); lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_187 = lean_ctor_get(x_170, 0); -lean_inc(x_187); -lean_dec(x_170); -if (lean_obj_tag(x_187) == 0) +x_186 = lean_ctor_get(x_169, 0); +lean_inc(x_186); +lean_dec(x_169); +if (lean_obj_tag(x_186) == 0) { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -x_188 = lean_ctor_get(x_187, 0); +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_190 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_186); +x_189 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_189, 0, x_188); +x_190 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_190, 0, x_189); -x_191 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_191, 0, x_190); -x_192 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(x_188, x_191, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_158); +x_191 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(x_187, x_190, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_163); lean_dec(x_17); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_188); -x_193 = !lean_is_exclusive(x_192); -if (x_193 == 0) +lean_dec(x_187); +x_192 = !lean_is_exclusive(x_191); +if (x_192 == 0) { -return x_192; +return x_191; } else { -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_192, 0); -x_195 = lean_ctor_get(x_192, 1); -lean_inc(x_195); +lean_object* x_193; lean_object* x_194; lean_object* x_195; +x_193 = lean_ctor_get(x_191, 0); +x_194 = lean_ctor_get(x_191, 1); lean_inc(x_194); -lean_dec(x_192); -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_194); -lean_ctor_set(x_196, 1, x_195); +lean_inc(x_193); +lean_dec(x_191); +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set(x_195, 1, x_194); +return x_195; +} +} +else +{ +lean_object* x_196; uint8_t x_197; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +x_196 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__10___rarg(x_163); +x_197 = !lean_is_exclusive(x_196); +if (x_197 == 0) +{ return x_196; } -} else { -lean_object* x_197; uint8_t x_198; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_197 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__10___rarg(x_158); -x_198 = !lean_is_exclusive(x_197); -if (x_198 == 0) -{ -return x_197; -} -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_197, 0); -x_200 = lean_ctor_get(x_197, 1); -lean_inc(x_200); +lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_198 = lean_ctor_get(x_196, 0); +x_199 = lean_ctor_get(x_196, 1); lean_inc(x_199); -lean_dec(x_197); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -return x_201; +lean_inc(x_198); +lean_dec(x_196); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +return x_200; } } } } else { -uint8_t x_202; +uint8_t x_201; lean_dec(x_26); lean_dec(x_17); lean_dec(x_16); @@ -55726,23 +55713,23 @@ lean_dec(x_10); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_202 = !lean_is_exclusive(x_140); -if (x_202 == 0) +x_201 = !lean_is_exclusive(x_140); +if (x_201 == 0) { return x_140; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_203 = lean_ctor_get(x_140, 0); -x_204 = lean_ctor_get(x_140, 1); -lean_inc(x_204); +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_140, 0); +x_203 = lean_ctor_get(x_140, 1); lean_inc(x_203); +lean_inc(x_202); lean_dec(x_140); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set(x_205, 1, x_204); -return x_205; +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +return x_204; } } block_138: @@ -55960,7 +55947,7 @@ goto block_24; } else { -lean_object* x_206; +lean_object* x_205; lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -55970,10 +55957,10 @@ lean_dec(x_12); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_206 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_206, 0, x_10); -lean_ctor_set(x_206, 1, x_18); -return x_206; +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_10); +lean_ctor_set(x_205, 1, x_18); +return x_205; } block_24: { @@ -55990,7 +55977,7 @@ goto _start; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_15 = lean_st_ref_get(x_13, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); @@ -56002,161 +55989,160 @@ lean_inc(x_18); lean_dec(x_16); x_19 = lean_ctor_get(x_12, 4); lean_inc(x_19); -x_20 = lean_ctor_get(x_12, 3); -lean_inc(x_20); -x_21 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_17); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_12, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_12, 2); +lean_inc(x_18); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_20, 0, x_18); +x_21 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_21, 0, x_19); +lean_inc(x_18); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_22, 0, x_18); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +x_24 = x_23; +x_25 = lean_ctor_get(x_12, 3); lean_inc(x_25); -x_26 = lean_st_ref_get(x_13, x_23); +x_26 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_17); 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, 1); +x_29 = lean_ctor_get(x_12, 1); lean_inc(x_29); -lean_dec(x_27); -lean_inc(x_18); -x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_30, 0, x_18); +x_30 = lean_ctor_get(x_12, 2); lean_inc(x_30); -x_31 = x_30; -lean_inc(x_18); -x_32 = lean_environment_main_module(x_18); -x_33 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_33, 0, x_19); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_34, 0, x_18); -x_35 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_33); -lean_ctor_set(x_35, 2, x_34); -x_36 = x_35; -x_37 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_37, 0, x_31); -lean_ctor_set(x_37, 1, x_32); -lean_ctor_set(x_37, 2, x_22); -lean_ctor_set(x_37, 3, x_24); -lean_ctor_set(x_37, 4, x_25); -lean_ctor_set(x_37, 5, x_20); -lean_ctor_set(x_37, 6, x_36); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_29); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult(x_6, x_1, x_2, x_3, x_4, x_37, x_39); -if (lean_obj_tag(x_40) == 0) +x_31 = lean_st_ref_get(x_13, x_28); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_environment_main_module(x_18); +lean_inc(x_24); +x_36 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_36, 0, x_24); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_27); +lean_ctor_set(x_36, 3, x_29); +lean_ctor_set(x_36, 4, x_30); +lean_ctor_set(x_36, 5, x_25); +lean_ctor_set(x_36, 6, x_24); +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult(x_6, x_1, x_2, x_3, x_4, x_36, x_38); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_41 = lean_ctor_get(x_40, 0); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +lean_dec(x_39); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -lean_dec(x_42); -x_44 = lean_st_ref_take(x_13, x_28); -x_45 = lean_ctor_get(x_44, 0); +lean_dec(x_41); +x_43 = lean_st_ref_take(x_13, x_33); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = !lean_is_exclusive(x_45); -if (x_47 == 0) +lean_dec(x_43); +x_46 = !lean_is_exclusive(x_44); +if (x_46 == 0) { -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_45, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_ctor_get(x_44, 1); +lean_dec(x_47); +lean_ctor_set(x_44, 1, x_42); +x_48 = lean_st_ref_set(x_13, x_44, x_45); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); lean_dec(x_48); -lean_ctor_set(x_45, 1, x_43); -x_49 = lean_st_ref_set(x_13, x_45, x_46); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_List_append___rarg(x_41, x_5); -x_52 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_51, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_50); -return x_52; +x_50 = l_List_append___rarg(x_40, x_5); +x_51 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_50, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_49); +return x_51; } else { -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_53 = lean_ctor_get(x_45, 0); -x_54 = lean_ctor_get(x_45, 2); -x_55 = lean_ctor_get(x_45, 3); -lean_inc(x_55); +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_52 = lean_ctor_get(x_44, 0); +x_53 = lean_ctor_get(x_44, 2); +x_54 = lean_ctor_get(x_44, 3); lean_inc(x_54); lean_inc(x_53); -lean_dec(x_45); -x_56 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_43); -lean_ctor_set(x_56, 2, x_54); -lean_ctor_set(x_56, 3, x_55); -x_57 = lean_st_ref_set(x_13, x_56, x_46); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = l_List_append___rarg(x_41, x_5); -x_60 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_59, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_58); -return x_60; +lean_inc(x_52); +lean_dec(x_44); +x_55 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_42); +lean_ctor_set(x_55, 2, x_53); +lean_ctor_set(x_55, 3, x_54); +x_56 = lean_st_ref_set(x_13, x_55, x_45); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_List_append___rarg(x_40, x_5); +x_59 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_58, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_57); +return x_59; } } else { -lean_object* x_61; +lean_object* x_60; lean_dec(x_5); -x_61 = lean_ctor_get(x_40, 0); -lean_inc(x_61); -lean_dec(x_40); -if (lean_obj_tag(x_61) == 0) +x_60 = lean_ctor_get(x_39, 0); +lean_inc(x_60); +lean_dec(x_39); +if (lean_obj_tag(x_60) == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_62 = lean_ctor_get(x_61, 0); +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_60); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_64, 0, x_63); -x_65 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_65, 0, x_64); -x_66 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(x_62, x_65, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_28); +x_65 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__4(x_61, x_64, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_33); lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_62); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) +lean_dec(x_61); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) { -return x_66; +return x_65; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_66, 0); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_65, 0); +x_68 = lean_ctor_get(x_65, 1); lean_inc(x_68); -lean_dec(x_66); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_inc(x_67); +lean_dec(x_65); +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 { -lean_object* x_71; uint8_t x_72; +lean_object* x_70; uint8_t x_71; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -56164,24 +56150,24 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_71 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___rarg(x_28); -x_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) +x_70 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__6___rarg(x_33); +x_71 = !lean_is_exclusive(x_70); +if (x_71 == 0) { -return x_71; +return x_70; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_71, 0); -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_70, 0); +x_73 = lean_ctor_get(x_70, 1); lean_inc(x_73); -lean_dec(x_71); -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; +lean_inc(x_72); +lean_dec(x_70); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } @@ -56255,7 +56241,7 @@ return x_3; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___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: { -lean_object* x_13; lean_object* x_14; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; +lean_object* x_13; lean_object* x_14; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; x_56 = lean_ctor_get(x_2, 0); lean_inc(x_56); lean_dec(x_2); @@ -56273,176 +56259,175 @@ lean_inc(x_61); lean_dec(x_59); x_62 = lean_ctor_get(x_10, 4); lean_inc(x_62); -x_63 = lean_ctor_get(x_10, 3); -lean_inc(x_63); -x_64 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_60); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_10, 1); -lean_inc(x_67); -x_68 = lean_ctor_get(x_10, 2); +lean_inc(x_61); +x_63 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_63, 0, x_61); +x_64 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_64, 0, x_62); +lean_inc(x_61); +x_65 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_65, 0, x_61); +x_66 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_66, 2, x_65); +x_67 = x_66; +x_68 = lean_ctor_get(x_10, 3); lean_inc(x_68); -x_69 = lean_st_ref_get(x_11, x_66); +x_69 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_60); x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); lean_dec(x_69); -x_72 = lean_ctor_get(x_70, 1); +x_72 = lean_ctor_get(x_10, 1); lean_inc(x_72); -lean_dec(x_70); -lean_inc(x_61); -x_73 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_73, 0, x_61); +x_73 = lean_ctor_get(x_10, 2); lean_inc(x_73); -x_74 = x_73; -lean_inc(x_61); -x_75 = lean_environment_main_module(x_61); -x_76 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_76, 0, x_62); -x_77 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_77, 0, x_61); -x_78 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_78, 0, x_73); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 2, x_77); -x_79 = x_78; -x_80 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_80, 0, x_74); -lean_ctor_set(x_80, 1, x_75); -lean_ctor_set(x_80, 2, x_65); -lean_ctor_set(x_80, 3, x_67); -lean_ctor_set(x_80, 4, x_68); -lean_ctor_set(x_80, 5, x_63); -lean_ctor_set(x_80, 6, x_79); -x_81 = lean_box(0); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_72); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Array_empty___closed__1; -x_84 = 0; -x_85 = l_Lean_Elab_Term_Do_ToTerm_run(x_56, x_57, x_83, x_84, x_80, x_82); -if (lean_obj_tag(x_85) == 0) +x_74 = lean_st_ref_get(x_11, x_71); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_environment_main_module(x_61); +lean_inc(x_67); +x_79 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_79, 0, x_67); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_79, 2, x_70); +lean_ctor_set(x_79, 3, x_72); +lean_ctor_set(x_79, 4, x_73); +lean_ctor_set(x_79, 5, x_68); +lean_ctor_set(x_79, 6, x_67); +x_80 = lean_box(0); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_77); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Array_empty___closed__1; +x_83 = 0; +x_84 = l_Lean_Elab_Term_Do_ToTerm_run(x_56, x_57, x_82, x_83, x_79, x_81); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_86 = lean_ctor_get(x_85, 0); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); +lean_dec(x_84); +x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -lean_dec(x_87); -x_89 = lean_st_ref_take(x_11, x_71); -x_90 = lean_ctor_get(x_89, 0); +lean_dec(x_86); +x_88 = lean_st_ref_take(x_11, x_76); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = !lean_is_exclusive(x_90); -if (x_92 == 0) +lean_dec(x_88); +x_91 = !lean_is_exclusive(x_89); +if (x_91 == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_90, 1); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_89, 1); +lean_dec(x_92); +lean_ctor_set(x_89, 1, x_87); +x_93 = lean_st_ref_set(x_11, x_89, x_90); +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); lean_dec(x_93); -lean_ctor_set(x_90, 1, x_88); -x_94 = lean_st_ref_set(x_11, x_90, x_91); -x_95 = lean_ctor_get(x_94, 1); -lean_inc(x_95); -lean_dec(x_94); -x_13 = x_86; -x_14 = x_95; +x_13 = x_85; +x_14 = x_94; goto block_55; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_96 = lean_ctor_get(x_90, 0); -x_97 = lean_ctor_get(x_90, 2); -x_98 = lean_ctor_get(x_90, 3); -lean_inc(x_98); +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_95 = lean_ctor_get(x_89, 0); +x_96 = lean_ctor_get(x_89, 2); +x_97 = lean_ctor_get(x_89, 3); lean_inc(x_97); lean_inc(x_96); -lean_dec(x_90); -x_99 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_99, 0, x_96); -lean_ctor_set(x_99, 1, x_88); -lean_ctor_set(x_99, 2, x_97); -lean_ctor_set(x_99, 3, x_98); -x_100 = lean_st_ref_set(x_11, x_99, x_91); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -lean_dec(x_100); -x_13 = x_86; -x_14 = x_101; +lean_inc(x_95); +lean_dec(x_89); +x_98 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_98, 0, x_95); +lean_ctor_set(x_98, 1, x_87); +lean_ctor_set(x_98, 2, x_96); +lean_ctor_set(x_98, 3, x_97); +x_99 = lean_st_ref_set(x_11, x_98, x_90); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec(x_99); +x_13 = x_85; +x_14 = x_100; goto block_55; } } else { -lean_object* x_102; +lean_object* x_101; lean_dec(x_1); -x_102 = lean_ctor_get(x_85, 0); +x_101 = lean_ctor_get(x_84, 0); +lean_inc(x_101); +lean_dec(x_84); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_102 = lean_ctor_get(x_101, 0); lean_inc(x_102); -lean_dec(x_85); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_103 = lean_ctor_get(x_102, 0); +x_103 = lean_ctor_get(x_101, 1); lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_101); +x_104 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_105, 0, x_104); -x_106 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_106, 0, x_105); -x_107 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_103, x_106, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_71); -lean_dec(x_103); -x_108 = !lean_is_exclusive(x_107); -if (x_108 == 0) +x_106 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_102, x_105, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_76); +lean_dec(x_102); +x_107 = !lean_is_exclusive(x_106); +if (x_107 == 0) { -return x_107; +return x_106; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_107, 0); -x_110 = lean_ctor_get(x_107, 1); -lean_inc(x_110); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_106, 0); +x_109 = lean_ctor_get(x_106, 1); lean_inc(x_109); -lean_dec(x_107); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); +lean_inc(x_108); +lean_dec(x_106); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +else +{ +lean_object* x_111; uint8_t x_112; +lean_dec(x_10); +x_111 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_76); +x_112 = !lean_is_exclusive(x_111); +if (x_112 == 0) +{ return x_111; } -} else { -lean_object* x_112; uint8_t x_113; -lean_dec(x_10); -x_112 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_71); -x_113 = !lean_is_exclusive(x_112); -if (x_113 == 0) -{ -return x_112; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_112, 0); -x_115 = lean_ctor_get(x_112, 1); -lean_inc(x_115); +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_111, 0); +x_114 = lean_ctor_get(x_111, 1); lean_inc(x_114); -lean_dec(x_112); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; +lean_inc(x_113); +lean_dec(x_111); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } @@ -56671,7 +56656,7 @@ lean_inc(x_16); x_81 = l_Lean_Elab_Term_Do_extendUpdatedVars(x_1, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_81) == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); x_83 = lean_ctor_get(x_81, 1); @@ -56699,191 +56684,190 @@ x_92 = lean_ctor_get(x_13, 3); lean_inc(x_92); x_93 = lean_ctor_get(x_13, 4); lean_inc(x_93); -x_94 = l_Lean_Elab_Term_getCurrMacroScope(x_9, x_10, x_11, x_12, x_13, x_14, x_88); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -lean_dec(x_94); -x_97 = lean_st_ref_get(x_14, x_96); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_89); +x_94 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_94, 0, x_89); +x_95 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_95, 0, x_93); +lean_inc(x_89); +x_96 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_96, 0, x_89); +x_97 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +lean_ctor_set(x_97, 2, x_96); +x_98 = x_97; +x_99 = l_Lean_Elab_Term_getCurrMacroScope(x_9, x_10, x_11, x_12, x_13, x_14, x_88); +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); -lean_dec(x_98); -lean_inc(x_89); -x_101 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_101, 0, x_89); +x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); -x_102 = x_101; -lean_inc(x_89); -x_103 = lean_environment_main_module(x_89); -x_104 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_104, 0, x_93); -x_105 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_105, 0, x_89); -x_106 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_106, 0, x_101); -lean_ctor_set(x_106, 1, x_104); -lean_ctor_set(x_106, 2, x_105); -x_107 = x_106; -x_108 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_108, 0, x_102); -lean_ctor_set(x_108, 1, x_103); -lean_ctor_set(x_108, 2, x_95); -lean_ctor_set(x_108, 3, x_90); -lean_ctor_set(x_108, 4, x_91); -lean_ctor_set(x_108, 5, x_92); -lean_ctor_set(x_108, 6, x_107); -x_109 = lean_box(0); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_100); -lean_ctor_set(x_110, 1, x_109); +lean_dec(x_99); +x_102 = lean_st_ref_get(x_14, x_101); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = lean_environment_main_module(x_89); +lean_inc(x_98); +x_107 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_107, 0, x_98); +lean_ctor_set(x_107, 1, x_106); +lean_ctor_set(x_107, 2, x_100); +lean_ctor_set(x_107, 3, x_90); +lean_ctor_set(x_107, 4, x_91); +lean_ctor_set(x_107, 5, x_92); +lean_ctor_set(x_107, 6, x_98); +x_108 = lean_box(0); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_105); +lean_ctor_set(x_109, 1, x_108); lean_inc(x_17); -x_111 = l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(x_84, x_85, x_17, x_20, x_23, x_26, x_108, x_110); -if (lean_obj_tag(x_111) == 0) +x_110 = l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(x_84, x_85, x_17, x_20, x_23, x_26, x_107, x_109); +if (lean_obj_tag(x_110) == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_112 = lean_ctor_get(x_111, 0); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +lean_dec(x_110); +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_111); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -lean_dec(x_113); -x_115 = lean_st_ref_take(x_14, x_99); -x_116 = lean_ctor_get(x_115, 0); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_14, x_104); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = !lean_is_exclusive(x_116); -if (x_118 == 0) +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); +if (x_117 == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_116, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_115, 1); +lean_dec(x_118); +lean_ctor_set(x_115, 1, x_113); +x_119 = lean_st_ref_set(x_14, x_115, x_116); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); lean_dec(x_119); -lean_ctor_set(x_116, 1, x_114); -x_120 = lean_st_ref_set(x_14, x_116, x_117); -x_121 = lean_ctor_get(x_120, 1); -lean_inc(x_121); -lean_dec(x_120); -x_66 = x_112; -x_67 = x_121; +x_66 = x_111; +x_67 = x_120; goto block_80; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_122 = lean_ctor_get(x_116, 0); -x_123 = lean_ctor_get(x_116, 2); -x_124 = lean_ctor_get(x_116, 3); -lean_inc(x_124); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_121 = lean_ctor_get(x_115, 0); +x_122 = lean_ctor_get(x_115, 2); +x_123 = lean_ctor_get(x_115, 3); lean_inc(x_123); lean_inc(x_122); -lean_dec(x_116); -x_125 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_114); -lean_ctor_set(x_125, 2, x_123); -lean_ctor_set(x_125, 3, x_124); -x_126 = lean_st_ref_set(x_14, x_125, x_117); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_66 = x_112; -x_67 = x_127; +lean_inc(x_121); +lean_dec(x_115); +x_124 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_124, 0, x_121); +lean_ctor_set(x_124, 1, x_113); +lean_ctor_set(x_124, 2, x_122); +lean_ctor_set(x_124, 3, x_123); +x_125 = lean_st_ref_set(x_14, x_124, x_116); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +lean_dec(x_125); +x_66 = x_111; +x_67 = x_126; goto block_80; } } else { -lean_object* x_128; +lean_object* x_127; lean_dec(x_17); lean_dec(x_16); lean_dec(x_4); lean_dec(x_3); -x_128 = lean_ctor_get(x_111, 0); -lean_inc(x_128); -lean_dec(x_111); -if (lean_obj_tag(x_128) == 0) +x_127 = lean_ctor_get(x_110, 0); +lean_inc(x_127); +lean_dec(x_110); +if (lean_obj_tag(x_127) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; -x_129 = lean_ctor_get(x_128, 0); +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_127); +x_130 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_130, 0, x_129); +x_131 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_131, 0, x_130); -x_132 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_132, 0, x_131); -x_133 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(x_129, x_132, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_99); +x_132 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__8(x_128, x_131, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_104); lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_129); -x_134 = !lean_is_exclusive(x_133); -if (x_134 == 0) +lean_dec(x_128); +x_133 = !lean_is_exclusive(x_132); +if (x_133 == 0) { -return x_133; +return x_132; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_133, 0); -x_136 = lean_ctor_get(x_133, 1); -lean_inc(x_136); +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_132, 0); +x_135 = lean_ctor_get(x_132, 1); lean_inc(x_135); -lean_dec(x_133); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); +lean_inc(x_134); +lean_dec(x_132); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +else +{ +lean_object* x_137; uint8_t x_138; +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); +x_137 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__10___rarg(x_104); +x_138 = !lean_is_exclusive(x_137); +if (x_138 == 0) +{ return x_137; } -} else { -lean_object* x_138; uint8_t x_139; -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); -x_138 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__10___rarg(x_99); -x_139 = !lean_is_exclusive(x_138); -if (x_139 == 0) -{ -return x_138; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_140 = lean_ctor_get(x_138, 0); -x_141 = lean_ctor_get(x_138, 1); -lean_inc(x_141); +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_137, 0); +x_140 = lean_ctor_get(x_137, 1); lean_inc(x_140); -lean_dec(x_138); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -return x_142; +lean_inc(x_139); +lean_dec(x_137); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +return x_141; } } } } else { -uint8_t x_143; +uint8_t x_142; lean_dec(x_17); lean_dec(x_16); lean_dec(x_14); @@ -56895,23 +56879,23 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); -x_143 = !lean_is_exclusive(x_81); -if (x_143 == 0) +x_142 = !lean_is_exclusive(x_81); +if (x_142 == 0) { return x_81; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_81, 0); -x_145 = lean_ctor_get(x_81, 1); -lean_inc(x_145); +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_81, 0); +x_144 = lean_ctor_get(x_81, 1); lean_inc(x_144); +lean_inc(x_143); lean_dec(x_81); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -return x_146; +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; } } block_65: @@ -58110,7 +58094,7 @@ lean_inc(x_37); x_39 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); if (lean_obj_tag(x_39) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_718; size_t x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_716; size_t x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); x_41 = lean_ctor_get(x_39, 1); @@ -58121,201 +58105,200 @@ lean_inc(x_42); x_43 = lean_ctor_get(x_40, 1); lean_inc(x_43); lean_dec(x_40); -x_718 = lean_array_get_size(x_42); -x_719 = lean_usize_of_nat(x_718); -lean_dec(x_718); +x_716 = lean_array_get_size(x_42); +x_717 = lean_usize_of_nat(x_716); +lean_dec(x_716); lean_inc(x_42); -x_720 = x_42; -x_721 = lean_box_usize(x_719); -x_722 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; -x_723 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed), 5, 3); -lean_closure_set(x_723, 0, x_721); -lean_closure_set(x_723, 1, x_722); -lean_closure_set(x_723, 2, x_720); -x_724 = lean_st_ref_get(x_9, x_41); -x_725 = lean_ctor_get(x_724, 0); +x_718 = x_42; +x_719 = lean_box_usize(x_717); +x_720 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; +x_721 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed), 5, 3); +lean_closure_set(x_721, 0, x_719); +lean_closure_set(x_721, 1, x_720); +lean_closure_set(x_721, 2, x_718); +x_722 = lean_st_ref_get(x_9, x_41); +x_723 = lean_ctor_get(x_722, 0); +lean_inc(x_723); +x_724 = lean_ctor_get(x_722, 1); +lean_inc(x_724); +lean_dec(x_722); +x_725 = lean_ctor_get(x_723, 0); lean_inc(x_725); -x_726 = lean_ctor_get(x_724, 1); -lean_inc(x_726); -lean_dec(x_724); -x_727 = lean_ctor_get(x_725, 0); -lean_inc(x_727); -lean_dec(x_725); -x_728 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_726); -x_729 = lean_ctor_get(x_728, 0); -lean_inc(x_729); -x_730 = lean_ctor_get(x_728, 1); -lean_inc(x_730); -lean_dec(x_728); -x_731 = lean_st_ref_get(x_9, x_730); +lean_dec(x_723); +lean_inc(x_725); +x_726 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_726, 0, x_725); +lean_inc(x_29); +x_727 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_727, 0, x_29); +lean_inc(x_725); +x_728 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_728, 0, x_725); +x_729 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_729, 0, x_726); +lean_ctor_set(x_729, 1, x_727); +lean_ctor_set(x_729, 2, x_728); +x_730 = x_729; +x_731 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_724); x_732 = lean_ctor_get(x_731, 0); lean_inc(x_732); x_733 = lean_ctor_get(x_731, 1); lean_inc(x_733); lean_dec(x_731); -x_734 = lean_ctor_get(x_732, 1); -lean_inc(x_734); -lean_dec(x_732); -lean_inc(x_727); -x_735 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_735, 0, x_727); +x_734 = lean_st_ref_get(x_9, x_733); +x_735 = lean_ctor_get(x_734, 0); lean_inc(x_735); -x_736 = x_735; -lean_inc(x_727); -x_737 = lean_environment_main_module(x_727); -lean_inc(x_29); -x_738 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_738, 0, x_29); -x_739 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_739, 0, x_727); -x_740 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_740, 0, x_735); -lean_ctor_set(x_740, 1, x_738); -lean_ctor_set(x_740, 2, x_739); -x_741 = x_740; +x_736 = lean_ctor_get(x_734, 1); +lean_inc(x_736); +lean_dec(x_734); +x_737 = lean_ctor_get(x_735, 1); +lean_inc(x_737); +lean_dec(x_735); +x_738 = lean_environment_main_module(x_725); lean_inc(x_30); lean_inc(x_27); lean_inc(x_26); -x_742 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_742, 0, x_736); -lean_ctor_set(x_742, 1, x_737); -lean_ctor_set(x_742, 2, x_729); -lean_ctor_set(x_742, 3, x_26); -lean_ctor_set(x_742, 4, x_27); -lean_ctor_set(x_742, 5, x_30); -lean_ctor_set(x_742, 6, x_741); -x_743 = lean_box(0); -x_744 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_744, 0, x_734); -lean_ctor_set(x_744, 1, x_743); -x_745 = x_723; -lean_inc(x_742); -x_746 = lean_apply_2(x_745, x_742, x_744); -if (lean_obj_tag(x_746) == 0) +lean_inc(x_730); +x_739 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_739, 0, x_730); +lean_ctor_set(x_739, 1, x_738); +lean_ctor_set(x_739, 2, x_732); +lean_ctor_set(x_739, 3, x_26); +lean_ctor_set(x_739, 4, x_27); +lean_ctor_set(x_739, 5, x_30); +lean_ctor_set(x_739, 6, x_730); +x_740 = lean_box(0); +x_741 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_741, 0, x_737); +lean_ctor_set(x_741, 1, x_740); +x_742 = x_721; +lean_inc(x_739); +x_743 = lean_apply_2(x_742, x_739, x_741); +if (lean_obj_tag(x_743) == 0) { -lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; uint8_t x_756; +lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; uint8_t x_753; +x_744 = lean_ctor_get(x_743, 0); +lean_inc(x_744); +x_745 = lean_ctor_get(x_743, 1); +lean_inc(x_745); +lean_dec(x_743); +x_746 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_744, x_739, x_745); x_747 = lean_ctor_get(x_746, 0); lean_inc(x_747); x_748 = lean_ctor_get(x_746, 1); lean_inc(x_748); lean_dec(x_746); -x_749 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_747, x_742, x_748); -x_750 = lean_ctor_get(x_749, 0); -lean_inc(x_750); -x_751 = lean_ctor_get(x_749, 1); +x_749 = lean_ctor_get(x_748, 0); +lean_inc(x_749); +lean_dec(x_748); +x_750 = lean_st_ref_take(x_9, x_736); +x_751 = lean_ctor_get(x_750, 0); lean_inc(x_751); -lean_dec(x_749); -x_752 = lean_ctor_get(x_751, 0); +x_752 = lean_ctor_get(x_750, 1); lean_inc(x_752); -lean_dec(x_751); -x_753 = lean_st_ref_take(x_9, x_733); -x_754 = lean_ctor_get(x_753, 0); -lean_inc(x_754); -x_755 = lean_ctor_get(x_753, 1); -lean_inc(x_755); -lean_dec(x_753); -x_756 = !lean_is_exclusive(x_754); +lean_dec(x_750); +x_753 = !lean_is_exclusive(x_751); +if (x_753 == 0) +{ +lean_object* x_754; lean_object* x_755; uint8_t x_756; +x_754 = lean_ctor_get(x_751, 1); +lean_dec(x_754); +lean_ctor_set(x_751, 1, x_749); +x_755 = lean_st_ref_set(x_9, x_751, x_752); +x_756 = !lean_is_exclusive(x_755); if (x_756 == 0) { -lean_object* x_757; lean_object* x_758; uint8_t x_759; -x_757 = lean_ctor_get(x_754, 1); +lean_object* x_757; +x_757 = lean_ctor_get(x_755, 0); lean_dec(x_757); -lean_ctor_set(x_754, 1, x_752); -x_758 = lean_st_ref_set(x_9, x_754, x_755); -x_759 = !lean_is_exclusive(x_758); -if (x_759 == 0) -{ -lean_object* x_760; -x_760 = lean_ctor_get(x_758, 0); -lean_dec(x_760); -lean_ctor_set(x_758, 0, x_750); -x_44 = x_758; -goto block_717; +lean_ctor_set(x_755, 0, x_747); +x_44 = x_755; +goto block_715; } else { -lean_object* x_761; lean_object* x_762; -x_761 = lean_ctor_get(x_758, 1); +lean_object* x_758; lean_object* x_759; +x_758 = lean_ctor_get(x_755, 1); +lean_inc(x_758); +lean_dec(x_755); +x_759 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_759, 0, x_747); +lean_ctor_set(x_759, 1, x_758); +x_44 = x_759; +goto block_715; +} +} +else +{ +lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; +x_760 = lean_ctor_get(x_751, 0); +x_761 = lean_ctor_get(x_751, 2); +x_762 = lean_ctor_get(x_751, 3); +lean_inc(x_762); lean_inc(x_761); -lean_dec(x_758); -x_762 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_762, 0, x_750); -lean_ctor_set(x_762, 1, x_761); -x_44 = x_762; -goto block_717; -} -} -else -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; -x_763 = lean_ctor_get(x_754, 0); -x_764 = lean_ctor_get(x_754, 2); -x_765 = lean_ctor_get(x_754, 3); +lean_inc(x_760); +lean_dec(x_751); +x_763 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_763, 0, x_760); +lean_ctor_set(x_763, 1, x_749); +lean_ctor_set(x_763, 2, x_761); +lean_ctor_set(x_763, 3, x_762); +x_764 = lean_st_ref_set(x_9, x_763, x_752); +x_765 = lean_ctor_get(x_764, 1); lean_inc(x_765); -lean_inc(x_764); -lean_inc(x_763); -lean_dec(x_754); -x_766 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_766, 0, x_763); -lean_ctor_set(x_766, 1, x_752); -lean_ctor_set(x_766, 2, x_764); -lean_ctor_set(x_766, 3, x_765); -x_767 = lean_st_ref_set(x_9, x_766, x_755); -x_768 = lean_ctor_get(x_767, 1); +if (lean_is_exclusive(x_764)) { + lean_ctor_release(x_764, 0); + lean_ctor_release(x_764, 1); + x_766 = x_764; +} else { + lean_dec_ref(x_764); + x_766 = lean_box(0); +} +if (lean_is_scalar(x_766)) { + x_767 = lean_alloc_ctor(0, 2, 0); +} else { + x_767 = x_766; +} +lean_ctor_set(x_767, 0, x_747); +lean_ctor_set(x_767, 1, x_765); +x_44 = x_767; +goto block_715; +} +} +else +{ +lean_object* x_768; +lean_dec(x_739); +x_768 = lean_ctor_get(x_743, 0); lean_inc(x_768); -if (lean_is_exclusive(x_767)) { - lean_ctor_release(x_767, 0); - lean_ctor_release(x_767, 1); - x_769 = x_767; -} else { - lean_dec_ref(x_767); - x_769 = lean_box(0); -} -if (lean_is_scalar(x_769)) { - x_770 = lean_alloc_ctor(0, 2, 0); -} else { - x_770 = x_769; -} -lean_ctor_set(x_770, 0, x_750); -lean_ctor_set(x_770, 1, x_768); -x_44 = x_770; -goto block_717; -} -} -else +lean_dec(x_743); +if (lean_obj_tag(x_768) == 0) { -lean_object* x_771; -lean_dec(x_742); -x_771 = lean_ctor_get(x_746, 0); -lean_inc(x_771); -lean_dec(x_746); -if (lean_obj_tag(x_771) == 0) -{ -lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; -x_772 = lean_ctor_get(x_771, 0); -lean_inc(x_772); -x_773 = lean_ctor_get(x_771, 1); -lean_inc(x_773); -lean_dec(x_771); -x_774 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_774, 0, x_773); -x_775 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_775, 0, x_774); +lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; +x_769 = lean_ctor_get(x_768, 0); +lean_inc(x_769); +x_770 = lean_ctor_get(x_768, 1); +lean_inc(x_770); +lean_dec(x_768); +x_771 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_771, 0, x_770); +x_772 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_772, 0, x_771); lean_inc(x_8); -x_776 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_772, x_775, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_733); -lean_dec(x_772); -x_44 = x_776; -goto block_717; +x_773 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_769, x_772, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_736); +lean_dec(x_769); +x_44 = x_773; +goto block_715; } else { -lean_object* x_777; -x_777 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_733); -x_44 = x_777; -goto block_717; +lean_object* x_774; +x_774 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_736); +x_44 = x_774; +goto block_715; } } -block_717: +block_715: { if (lean_obj_tag(x_44) == 0) { @@ -58332,7 +58315,7 @@ x_48 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasRetur lean_dec(x_47); if (x_48 == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; x_49 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_46); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); @@ -58369,158 +58352,157 @@ lean_dec(x_287); x_290 = lean_ctor_get(x_288, 0); lean_inc(x_290); lean_dec(x_288); -x_291 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_289); -x_292 = lean_ctor_get(x_291, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_291, 1); -lean_inc(x_293); -lean_dec(x_291); -x_294 = lean_st_ref_get(x_9, x_293); -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_294, 1); -lean_inc(x_296); -lean_dec(x_294); -x_297 = lean_ctor_get(x_295, 1); +lean_inc(x_290); +x_291 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_291, 0, x_290); +x_292 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_292, 0, x_29); +lean_inc(x_290); +x_293 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_293, 0, x_290); +x_294 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_294, 0, x_291); +lean_ctor_set(x_294, 1, x_292); +lean_ctor_set(x_294, 2, x_293); +x_295 = x_294; +x_296 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_289); +x_297 = lean_ctor_get(x_296, 0); lean_inc(x_297); -lean_dec(x_295); -lean_inc(x_290); -x_298 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_298, 0, x_290); +x_298 = lean_ctor_get(x_296, 1); lean_inc(x_298); -x_299 = x_298; -lean_inc(x_290); -x_300 = lean_environment_main_module(x_290); -x_301 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_301, 0, x_29); -x_302 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_302, 0, x_290); -x_303 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_303, 0, x_298); -lean_ctor_set(x_303, 1, x_301); -lean_ctor_set(x_303, 2, x_302); -x_304 = x_303; -x_305 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_305, 0, x_299); -lean_ctor_set(x_305, 1, x_300); -lean_ctor_set(x_305, 2, x_292); -lean_ctor_set(x_305, 3, x_26); -lean_ctor_set(x_305, 4, x_27); -lean_ctor_set(x_305, 5, x_30); -lean_ctor_set(x_305, 6, x_304); -x_306 = lean_box(0); -x_307 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_307, 0, x_297); -lean_ctor_set(x_307, 1, x_306); -x_308 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_42, x_62, x_43, x_305, x_307); -if (lean_obj_tag(x_308) == 0) +lean_dec(x_296); +x_299 = lean_st_ref_get(x_9, x_298); +x_300 = lean_ctor_get(x_299, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +lean_dec(x_299); +x_302 = lean_ctor_get(x_300, 1); +lean_inc(x_302); +lean_dec(x_300); +x_303 = lean_environment_main_module(x_290); +lean_inc(x_295); +x_304 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_304, 0, x_295); +lean_ctor_set(x_304, 1, x_303); +lean_ctor_set(x_304, 2, x_297); +lean_ctor_set(x_304, 3, x_26); +lean_ctor_set(x_304, 4, x_27); +lean_ctor_set(x_304, 5, x_30); +lean_ctor_set(x_304, 6, x_295); +x_305 = lean_box(0); +x_306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_306, 0, x_302); +lean_ctor_set(x_306, 1, x_305); +x_307 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_42, x_62, x_43, x_304, x_306); +if (lean_obj_tag(x_307) == 0) { -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_309 = lean_ctor_get(x_308, 0); +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; +x_308 = lean_ctor_get(x_307, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_307, 1); lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); +lean_dec(x_307); +x_310 = lean_ctor_get(x_309, 0); lean_inc(x_310); -lean_dec(x_308); -x_311 = lean_ctor_get(x_310, 0); -lean_inc(x_311); -lean_dec(x_310); -x_312 = lean_st_ref_take(x_9, x_296); -x_313 = lean_ctor_get(x_312, 0); +lean_dec(x_309); +x_311 = lean_st_ref_take(x_9, x_301); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); lean_inc(x_313); -x_314 = lean_ctor_get(x_312, 1); -lean_inc(x_314); -lean_dec(x_312); -x_315 = !lean_is_exclusive(x_313); -if (x_315 == 0) +lean_dec(x_311); +x_314 = !lean_is_exclusive(x_312); +if (x_314 == 0) { -lean_object* x_316; lean_object* x_317; lean_object* x_318; -x_316 = lean_ctor_get(x_313, 1); +lean_object* x_315; lean_object* x_316; lean_object* x_317; +x_315 = lean_ctor_get(x_312, 1); +lean_dec(x_315); +lean_ctor_set(x_312, 1, x_310); +x_316 = lean_st_ref_set(x_9, x_312, x_313); +x_317 = lean_ctor_get(x_316, 1); +lean_inc(x_317); lean_dec(x_316); -lean_ctor_set(x_313, 1, x_311); -x_317 = lean_st_ref_set(x_9, x_313, x_314); -x_318 = lean_ctor_get(x_317, 1); -lean_inc(x_318); -lean_dec(x_317); -x_63 = x_309; -x_64 = x_318; +x_63 = x_308; +x_64 = x_317; goto block_286; } else { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; -x_319 = lean_ctor_get(x_313, 0); -x_320 = lean_ctor_get(x_313, 2); -x_321 = lean_ctor_get(x_313, 3); -lean_inc(x_321); +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_318 = lean_ctor_get(x_312, 0); +x_319 = lean_ctor_get(x_312, 2); +x_320 = lean_ctor_get(x_312, 3); lean_inc(x_320); lean_inc(x_319); -lean_dec(x_313); -x_322 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_322, 0, x_319); -lean_ctor_set(x_322, 1, x_311); -lean_ctor_set(x_322, 2, x_320); -lean_ctor_set(x_322, 3, x_321); -x_323 = lean_st_ref_set(x_9, x_322, x_314); -x_324 = lean_ctor_get(x_323, 1); -lean_inc(x_324); -lean_dec(x_323); -x_63 = x_309; -x_64 = x_324; +lean_inc(x_318); +lean_dec(x_312); +x_321 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_321, 0, x_318); +lean_ctor_set(x_321, 1, x_310); +lean_ctor_set(x_321, 2, x_319); +lean_ctor_set(x_321, 3, x_320); +x_322 = lean_st_ref_set(x_9, x_321, x_313); +x_323 = lean_ctor_get(x_322, 1); +lean_inc(x_323); +lean_dec(x_322); +x_63 = x_308; +x_64 = x_323; goto block_286; } } else { -lean_object* x_325; +lean_object* x_324; lean_dec(x_45); lean_dec(x_21); lean_dec(x_19); lean_dec(x_2); -x_325 = lean_ctor_get(x_308, 0); -lean_inc(x_325); -lean_dec(x_308); -if (lean_obj_tag(x_325) == 0) +x_324 = lean_ctor_get(x_307, 0); +lean_inc(x_324); +lean_dec(x_307); +if (lean_obj_tag(x_324) == 0) { -lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; -x_326 = lean_ctor_get(x_325, 0); +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; +x_325 = lean_ctor_get(x_324, 0); +lean_inc(x_325); +x_326 = lean_ctor_get(x_324, 1); lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 1); -lean_inc(x_327); -lean_dec(x_325); -x_328 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_324); +x_327 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_327, 0, x_326); +x_328 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_328, 0, x_327); -x_329 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_329, 0, x_328); -x_330 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_326, x_329, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_296); +x_329 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_325, x_328, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_301); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_326); -x_331 = !lean_is_exclusive(x_330); -if (x_331 == 0) +lean_dec(x_325); +x_330 = !lean_is_exclusive(x_329); +if (x_330 == 0) { -return x_330; +return x_329; } else { -lean_object* x_332; lean_object* x_333; lean_object* x_334; -x_332 = lean_ctor_get(x_330, 0); -x_333 = lean_ctor_get(x_330, 1); -lean_inc(x_333); +lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_331 = lean_ctor_get(x_329, 0); +x_332 = lean_ctor_get(x_329, 1); lean_inc(x_332); -lean_dec(x_330); -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_332); -lean_ctor_set(x_334, 1, x_333); -return x_334; +lean_inc(x_331); +lean_dec(x_329); +x_333 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_333, 0, x_331); +lean_ctor_set(x_333, 1, x_332); +return x_333; } } else { -lean_object* x_335; uint8_t x_336; +lean_object* x_334; uint8_t x_335; lean_dec(x_8); lean_dec(x_9); lean_dec(x_7); @@ -58528,24 +58510,24 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_335 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_296); -x_336 = !lean_is_exclusive(x_335); -if (x_336 == 0) +x_334 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_301); +x_335 = !lean_is_exclusive(x_334); +if (x_335 == 0) { -return x_335; +return x_334; } else { -lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_337 = lean_ctor_get(x_335, 0); -x_338 = lean_ctor_get(x_335, 1); -lean_inc(x_338); +lean_object* x_336; lean_object* x_337; lean_object* x_338; +x_336 = lean_ctor_get(x_334, 0); +x_337 = lean_ctor_get(x_334, 1); lean_inc(x_337); -lean_dec(x_335); -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_337); -lean_ctor_set(x_339, 1, x_338); -return x_339; +lean_inc(x_336); +lean_dec(x_334); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_336); +lean_ctor_set(x_338, 1, x_337); +return x_338; } } } @@ -58966,195 +58948,194 @@ return x_285; } else { -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; -x_340 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_46); -x_341 = lean_ctor_get(x_340, 0); +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; +x_339 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_46); +x_340 = lean_ctor_get(x_339, 0); +lean_inc(x_340); +x_341 = lean_ctor_get(x_339, 1); lean_inc(x_341); -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -lean_dec(x_340); -x_343 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_342); -x_344 = lean_ctor_get(x_343, 0); +lean_dec(x_339); +x_342 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_341); +x_343 = lean_ctor_get(x_342, 0); +lean_inc(x_343); +x_344 = lean_ctor_get(x_342, 1); lean_inc(x_344); -x_345 = lean_ctor_get(x_343, 1); -lean_inc(x_345); -lean_dec(x_343); -x_346 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_345); -x_347 = lean_ctor_get(x_346, 0); +lean_dec(x_342); +x_345 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_344); +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); lean_inc(x_347); -x_348 = lean_ctor_get(x_346, 1); -lean_inc(x_348); -lean_dec(x_346); -x_349 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; -x_350 = l_Lean_addMacroScope(x_347, x_349, x_344); -x_351 = lean_box(0); -x_352 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_353 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_353, 0, x_341); -lean_ctor_set(x_353, 1, x_352); -lean_ctor_set(x_353, 2, x_350); -lean_ctor_set(x_353, 3, x_351); -x_660 = lean_st_ref_get(x_9, x_348); -x_661 = lean_ctor_get(x_660, 0); +lean_dec(x_345); +x_348 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +x_349 = l_Lean_addMacroScope(x_346, x_348, x_343); +x_350 = lean_box(0); +x_351 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_352 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_352, 0, x_340); +lean_ctor_set(x_352, 1, x_351); +lean_ctor_set(x_352, 2, x_349); +lean_ctor_set(x_352, 3, x_350); +x_659 = lean_st_ref_get(x_9, x_347); +x_660 = lean_ctor_get(x_659, 0); +lean_inc(x_660); +x_661 = lean_ctor_get(x_659, 1); lean_inc(x_661); -x_662 = lean_ctor_get(x_660, 1); +lean_dec(x_659); +x_662 = lean_ctor_get(x_660, 0); lean_inc(x_662); lean_dec(x_660); -x_663 = lean_ctor_get(x_661, 0); -lean_inc(x_663); -lean_dec(x_661); -x_664 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_662); -x_665 = lean_ctor_get(x_664, 0); -lean_inc(x_665); -x_666 = lean_ctor_get(x_664, 1); -lean_inc(x_666); -lean_dec(x_664); -x_667 = lean_st_ref_get(x_9, x_666); -x_668 = lean_ctor_get(x_667, 0); -lean_inc(x_668); -x_669 = lean_ctor_get(x_667, 1); +lean_inc(x_662); +x_663 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_663, 0, x_662); +x_664 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_664, 0, x_29); +lean_inc(x_662); +x_665 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_665, 0, x_662); +x_666 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_666, 0, x_663); +lean_ctor_set(x_666, 1, x_664); +lean_ctor_set(x_666, 2, x_665); +x_667 = x_666; +x_668 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_661); +x_669 = lean_ctor_get(x_668, 0); lean_inc(x_669); -lean_dec(x_667); x_670 = lean_ctor_get(x_668, 1); lean_inc(x_670); lean_dec(x_668); -lean_inc(x_663); -x_671 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_671, 0, x_663); -lean_inc(x_671); -x_672 = x_671; -lean_inc(x_663); -x_673 = lean_environment_main_module(x_663); -x_674 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_674, 0, x_29); -x_675 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_675, 0, x_663); -x_676 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_676, 0, x_671); -lean_ctor_set(x_676, 1, x_674); -lean_ctor_set(x_676, 2, x_675); -x_677 = x_676; -x_678 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_678, 0, x_672); -lean_ctor_set(x_678, 1, x_673); -lean_ctor_set(x_678, 2, x_665); -lean_ctor_set(x_678, 3, x_26); -lean_ctor_set(x_678, 4, x_27); -lean_ctor_set(x_678, 5, x_30); -lean_ctor_set(x_678, 6, x_677); -x_679 = lean_box(0); -x_680 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_680, 0, x_670); -lean_ctor_set(x_680, 1, x_679); -x_681 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_42, x_353, x_43, x_678, x_680); -if (lean_obj_tag(x_681) == 0) +x_671 = lean_st_ref_get(x_9, x_670); +x_672 = lean_ctor_get(x_671, 0); +lean_inc(x_672); +x_673 = lean_ctor_get(x_671, 1); +lean_inc(x_673); +lean_dec(x_671); +x_674 = lean_ctor_get(x_672, 1); +lean_inc(x_674); +lean_dec(x_672); +x_675 = lean_environment_main_module(x_662); +lean_inc(x_667); +x_676 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_676, 0, x_667); +lean_ctor_set(x_676, 1, x_675); +lean_ctor_set(x_676, 2, x_669); +lean_ctor_set(x_676, 3, x_26); +lean_ctor_set(x_676, 4, x_27); +lean_ctor_set(x_676, 5, x_30); +lean_ctor_set(x_676, 6, x_667); +x_677 = lean_box(0); +x_678 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_678, 0, x_674); +lean_ctor_set(x_678, 1, x_677); +x_679 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_42, x_352, x_43, x_676, x_678); +if (lean_obj_tag(x_679) == 0) { -lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; uint8_t x_688; +lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; uint8_t x_686; +x_680 = lean_ctor_get(x_679, 0); +lean_inc(x_680); +x_681 = lean_ctor_get(x_679, 1); +lean_inc(x_681); +lean_dec(x_679); x_682 = lean_ctor_get(x_681, 0); lean_inc(x_682); -x_683 = lean_ctor_get(x_681, 1); -lean_inc(x_683); lean_dec(x_681); +x_683 = lean_st_ref_take(x_9, x_673); x_684 = lean_ctor_get(x_683, 0); lean_inc(x_684); +x_685 = lean_ctor_get(x_683, 1); +lean_inc(x_685); lean_dec(x_683); -x_685 = lean_st_ref_take(x_9, x_669); -x_686 = lean_ctor_get(x_685, 0); -lean_inc(x_686); -x_687 = lean_ctor_get(x_685, 1); -lean_inc(x_687); -lean_dec(x_685); -x_688 = !lean_is_exclusive(x_686); -if (x_688 == 0) +x_686 = !lean_is_exclusive(x_684); +if (x_686 == 0) { -lean_object* x_689; lean_object* x_690; lean_object* x_691; -x_689 = lean_ctor_get(x_686, 1); -lean_dec(x_689); -lean_ctor_set(x_686, 1, x_684); -x_690 = lean_st_ref_set(x_9, x_686, x_687); -x_691 = lean_ctor_get(x_690, 1); -lean_inc(x_691); -lean_dec(x_690); -x_354 = x_682; -x_355 = x_691; -goto block_659; +lean_object* x_687; lean_object* x_688; lean_object* x_689; +x_687 = lean_ctor_get(x_684, 1); +lean_dec(x_687); +lean_ctor_set(x_684, 1, x_682); +x_688 = lean_st_ref_set(x_9, x_684, x_685); +x_689 = lean_ctor_get(x_688, 1); +lean_inc(x_689); +lean_dec(x_688); +x_353 = x_680; +x_354 = x_689; +goto block_658; } else { -lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; -x_692 = lean_ctor_get(x_686, 0); -x_693 = lean_ctor_get(x_686, 2); -x_694 = lean_ctor_get(x_686, 3); -lean_inc(x_694); -lean_inc(x_693); +lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; +x_690 = lean_ctor_get(x_684, 0); +x_691 = lean_ctor_get(x_684, 2); +x_692 = lean_ctor_get(x_684, 3); lean_inc(x_692); -lean_dec(x_686); -x_695 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_695, 0, x_692); -lean_ctor_set(x_695, 1, x_684); -lean_ctor_set(x_695, 2, x_693); -lean_ctor_set(x_695, 3, x_694); -x_696 = lean_st_ref_set(x_9, x_695, x_687); -x_697 = lean_ctor_get(x_696, 1); -lean_inc(x_697); -lean_dec(x_696); -x_354 = x_682; -x_355 = x_697; -goto block_659; +lean_inc(x_691); +lean_inc(x_690); +lean_dec(x_684); +x_693 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_693, 0, x_690); +lean_ctor_set(x_693, 1, x_682); +lean_ctor_set(x_693, 2, x_691); +lean_ctor_set(x_693, 3, x_692); +x_694 = lean_st_ref_set(x_9, x_693, x_685); +x_695 = lean_ctor_get(x_694, 1); +lean_inc(x_695); +lean_dec(x_694); +x_353 = x_680; +x_354 = x_695; +goto block_658; } } else { -lean_object* x_698; +lean_object* x_696; lean_dec(x_45); lean_dec(x_21); lean_dec(x_19); lean_dec(x_2); -x_698 = lean_ctor_get(x_681, 0); -lean_inc(x_698); -lean_dec(x_681); -if (lean_obj_tag(x_698) == 0) +x_696 = lean_ctor_get(x_679, 0); +lean_inc(x_696); +lean_dec(x_679); +if (lean_obj_tag(x_696) == 0) { -lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; uint8_t x_704; -x_699 = lean_ctor_get(x_698, 0); -lean_inc(x_699); -x_700 = lean_ctor_get(x_698, 1); -lean_inc(x_700); -lean_dec(x_698); -x_701 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_701, 0, x_700); -x_702 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_702, 0, x_701); -x_703 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_699, x_702, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_669); +lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; uint8_t x_702; +x_697 = lean_ctor_get(x_696, 0); +lean_inc(x_697); +x_698 = lean_ctor_get(x_696, 1); +lean_inc(x_698); +lean_dec(x_696); +x_699 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_699, 0, x_698); +x_700 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_700, 0, x_699); +x_701 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_697, x_700, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_673); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_699); -x_704 = !lean_is_exclusive(x_703); -if (x_704 == 0) +lean_dec(x_697); +x_702 = !lean_is_exclusive(x_701); +if (x_702 == 0) { -return x_703; +return x_701; } else { -lean_object* x_705; lean_object* x_706; lean_object* x_707; -x_705 = lean_ctor_get(x_703, 0); -x_706 = lean_ctor_get(x_703, 1); -lean_inc(x_706); -lean_inc(x_705); -lean_dec(x_703); -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_705); -lean_ctor_set(x_707, 1, x_706); -return x_707; +lean_object* x_703; lean_object* x_704; lean_object* x_705; +x_703 = lean_ctor_get(x_701, 0); +x_704 = lean_ctor_get(x_701, 1); +lean_inc(x_704); +lean_inc(x_703); +lean_dec(x_701); +x_705 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_705, 0, x_703); +lean_ctor_set(x_705, 1, x_704); +return x_705; } } else { -lean_object* x_708; uint8_t x_709; +lean_object* x_706; uint8_t x_707; lean_dec(x_8); lean_dec(x_9); lean_dec(x_7); @@ -59162,621 +59143,621 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_708 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_669); -x_709 = !lean_is_exclusive(x_708); -if (x_709 == 0) +x_706 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_673); +x_707 = !lean_is_exclusive(x_706); +if (x_707 == 0) { -return x_708; +return x_706; } else { -lean_object* x_710; lean_object* x_711; lean_object* x_712; -x_710 = lean_ctor_get(x_708, 0); -x_711 = lean_ctor_get(x_708, 1); -lean_inc(x_711); -lean_inc(x_710); -lean_dec(x_708); -x_712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_712, 0, x_710); -lean_ctor_set(x_712, 1, x_711); -return x_712; +lean_object* x_708; lean_object* x_709; lean_object* x_710; +x_708 = lean_ctor_get(x_706, 0); +x_709 = lean_ctor_get(x_706, 1); +lean_inc(x_709); +lean_inc(x_708); +lean_dec(x_706); +x_710 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_710, 0, x_708); +lean_ctor_set(x_710, 1, x_709); +return x_710; } } } -block_659: +block_658: { -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; -x_356 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_355); -x_357 = lean_ctor_get(x_356, 0); +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +x_355 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_354); +x_356 = lean_ctor_get(x_355, 0); +lean_inc(x_356); +x_357 = lean_ctor_get(x_355, 1); lean_inc(x_357); -x_358 = lean_ctor_get(x_356, 1); -lean_inc(x_358); -lean_dec(x_356); -x_359 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_358); -x_360 = lean_ctor_get(x_359, 0); +lean_dec(x_355); +x_358 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_357); +x_359 = lean_ctor_get(x_358, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_358, 1); lean_inc(x_360); -x_361 = lean_ctor_get(x_359, 1); -lean_inc(x_361); -lean_dec(x_359); -x_362 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_361); -x_363 = lean_ctor_get(x_362, 0); +lean_dec(x_358); +x_361 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_360); +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); lean_inc(x_363); -x_364 = lean_ctor_get(x_362, 1); -lean_inc(x_364); -lean_dec(x_362); -x_365 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; -lean_inc(x_357); -x_366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_366, 0, x_357); -lean_ctor_set(x_366, 1, x_365); -x_367 = l_Array_empty___closed__1; -x_368 = lean_array_push(x_367, x_366); -x_369 = lean_array_push(x_368, x_21); -x_370 = l_prec_x28___x29___closed__3; -lean_inc(x_357); -x_371 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_371, 0, x_357); -lean_ctor_set(x_371, 1, x_370); -x_372 = lean_array_push(x_367, x_371); -x_373 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; -lean_inc(x_360); -lean_inc(x_363); -x_374 = l_Lean_addMacroScope(x_363, x_373, x_360); -x_375 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_376 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_357); -x_377 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_377, 0, x_357); -lean_ctor_set(x_377, 1, x_375); -lean_ctor_set(x_377, 2, x_374); -lean_ctor_set(x_377, 3, x_376); -x_378 = lean_array_push(x_367, x_377); -x_379 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -lean_inc(x_360); -lean_inc(x_363); -x_380 = l_Lean_addMacroScope(x_363, x_379, x_360); -x_381 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; -x_382 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; -lean_inc(x_357); -x_383 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_383, 0, x_357); -lean_ctor_set(x_383, 1, x_381); -lean_ctor_set(x_383, 2, x_380); -lean_ctor_set(x_383, 3, x_382); -x_384 = lean_array_push(x_367, x_383); +lean_dec(x_361); +x_364 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; +lean_inc(x_356); +x_365 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_365, 0, x_356); +lean_ctor_set(x_365, 1, x_364); +x_366 = l_Array_empty___closed__1; +x_367 = lean_array_push(x_366, x_365); +x_368 = lean_array_push(x_367, x_21); +x_369 = l_prec_x28___x29___closed__3; +lean_inc(x_356); +x_370 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_370, 0, x_356); +lean_ctor_set(x_370, 1, x_369); +x_371 = lean_array_push(x_366, x_370); +x_372 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; +lean_inc(x_359); +lean_inc(x_362); +x_373 = l_Lean_addMacroScope(x_362, x_372, x_359); +x_374 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_375 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_356); +x_376 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_376, 0, x_356); +lean_ctor_set(x_376, 1, x_374); +lean_ctor_set(x_376, 2, x_373); +lean_ctor_set(x_376, 3, x_375); +x_377 = lean_array_push(x_366, x_376); +x_378 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +lean_inc(x_359); +lean_inc(x_362); +x_379 = l_Lean_addMacroScope(x_362, x_378, x_359); +x_380 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; +x_381 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; +lean_inc(x_356); +x_382 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_382, 0, x_356); +lean_ctor_set(x_382, 1, x_380); +lean_ctor_set(x_382, 2, x_379); +lean_ctor_set(x_382, 3, x_381); +x_383 = lean_array_push(x_366, x_382); lean_inc(x_45); -x_385 = lean_array_push(x_384, x_45); -x_386 = l_Lean_nullKind___closed__2; -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_386); -lean_ctor_set(x_387, 1, x_385); -x_388 = lean_array_push(x_378, x_387); -x_389 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; -x_390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_390, 0, x_389); -lean_ctor_set(x_390, 1, x_388); -x_391 = lean_array_push(x_367, x_390); -x_392 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_393 = lean_array_push(x_391, x_392); -x_394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_394, 0, x_386); -lean_ctor_set(x_394, 1, x_393); -x_395 = lean_array_push(x_372, x_394); -x_396 = l_prec_x28___x29___closed__7; -lean_inc(x_357); -x_397 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_397, 0, x_357); -lean_ctor_set(x_397, 1, x_396); -x_398 = lean_array_push(x_395, x_397); -x_399 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_398); -x_401 = lean_array_push(x_369, x_400); -x_402 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_357); -x_403 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_403, 0, x_357); -lean_ctor_set(x_403, 1, x_402); -x_404 = lean_array_push(x_367, x_403); -x_405 = lean_array_push(x_367, x_19); -x_406 = l_Lean_addMacroScope(x_363, x_349, x_360); -lean_inc(x_357); -x_407 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_407, 0, x_357); -lean_ctor_set(x_407, 1, x_352); -lean_ctor_set(x_407, 2, x_406); -lean_ctor_set(x_407, 3, x_351); -lean_inc(x_407); -x_408 = lean_array_push(x_405, x_407); -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_386); -lean_ctor_set(x_409, 1, x_408); -x_410 = lean_array_push(x_367, x_409); -x_411 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_357); -x_412 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_412, 0, x_357); -lean_ctor_set(x_412, 1, x_411); -x_413 = lean_array_push(x_410, x_412); -x_414 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; -lean_inc(x_357); -x_415 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_415, 0, x_357); -lean_ctor_set(x_415, 1, x_414); -x_416 = lean_array_push(x_367, x_415); -x_417 = lean_array_push(x_367, x_407); -lean_inc(x_417); -x_418 = lean_array_push(x_417, x_392); -x_419 = lean_array_push(x_418, x_392); -x_420 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_357); -x_421 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_421, 0, x_357); -lean_ctor_set(x_421, 1, x_420); -x_422 = lean_array_push(x_419, x_421); -x_423 = l_Lean_Name_toString___closed__1; -lean_inc(x_357); -x_424 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_424, 0, x_357); -lean_ctor_set(x_424, 1, x_423); -x_425 = lean_array_push(x_417, x_424); -x_426 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__7; -lean_inc(x_357); -x_427 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_427, 0, x_357); -lean_ctor_set(x_427, 1, x_426); -x_428 = lean_array_push(x_367, x_427); -x_429 = l_Lean_fieldIdxKind___closed__2; -x_430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_430, 0, x_429); -lean_ctor_set(x_430, 1, x_428); -x_431 = lean_array_push(x_425, x_430); -x_432 = l_Lean_Parser_Term_proj___elambda__1___closed__1; -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_431); -x_434 = lean_array_push(x_422, x_433); -x_435 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; -x_436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set(x_436, 1, x_434); -x_437 = lean_array_push(x_367, x_436); -x_438 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; -x_439 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_439, 0, x_438); -lean_ctor_set(x_439, 1, x_437); -x_440 = lean_array_push(x_416, x_439); -x_441 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; -x_442 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_442, 0, x_357); -lean_ctor_set(x_442, 1, x_441); -x_443 = lean_array_push(x_367, x_442); -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_386); -lean_ctor_set(x_444, 1, x_443); -x_445 = lean_array_push(x_440, x_444); -x_446 = lean_array_push(x_445, x_354); -x_447 = l_myMacro____x40_Init_Notation___hyg_15449____closed__2; -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_446); -x_449 = lean_array_push(x_413, x_448); -x_450 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_449); -x_452 = lean_array_push(x_404, x_451); -x_453 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_453); -lean_ctor_set(x_454, 1, x_452); -x_455 = lean_array_push(x_401, x_454); -x_456 = l_Lean_Parser_Term_forInMacro___elambda__1___closed__2; -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_456); -lean_ctor_set(x_457, 1, x_455); -x_458 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_364); -x_459 = lean_ctor_get(x_458, 0); +x_384 = lean_array_push(x_383, x_45); +x_385 = l_Lean_nullKind___closed__2; +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_384); +x_387 = lean_array_push(x_377, x_386); +x_388 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_388); +lean_ctor_set(x_389, 1, x_387); +x_390 = lean_array_push(x_366, x_389); +x_391 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_392 = lean_array_push(x_390, x_391); +x_393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_393, 0, x_385); +lean_ctor_set(x_393, 1, x_392); +x_394 = lean_array_push(x_371, x_393); +x_395 = l_prec_x28___x29___closed__7; +lean_inc(x_356); +x_396 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_396, 0, x_356); +lean_ctor_set(x_396, 1, x_395); +x_397 = lean_array_push(x_394, x_396); +x_398 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_397); +x_400 = lean_array_push(x_368, x_399); +x_401 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_356); +x_402 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_402, 0, x_356); +lean_ctor_set(x_402, 1, x_401); +x_403 = lean_array_push(x_366, x_402); +x_404 = lean_array_push(x_366, x_19); +x_405 = l_Lean_addMacroScope(x_362, x_348, x_359); +lean_inc(x_356); +x_406 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_406, 0, x_356); +lean_ctor_set(x_406, 1, x_351); +lean_ctor_set(x_406, 2, x_405); +lean_ctor_set(x_406, 3, x_350); +lean_inc(x_406); +x_407 = lean_array_push(x_404, x_406); +x_408 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_408, 0, x_385); +lean_ctor_set(x_408, 1, x_407); +x_409 = lean_array_push(x_366, x_408); +x_410 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_356); +x_411 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_411, 0, x_356); +lean_ctor_set(x_411, 1, x_410); +x_412 = lean_array_push(x_409, x_411); +x_413 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_356); +x_414 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_414, 0, x_356); +lean_ctor_set(x_414, 1, x_413); +x_415 = lean_array_push(x_366, x_414); +x_416 = lean_array_push(x_366, x_406); +lean_inc(x_416); +x_417 = lean_array_push(x_416, x_391); +x_418 = lean_array_push(x_417, x_391); +x_419 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_356); +x_420 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_420, 0, x_356); +lean_ctor_set(x_420, 1, x_419); +x_421 = lean_array_push(x_418, x_420); +x_422 = l_Lean_Name_toString___closed__1; +lean_inc(x_356); +x_423 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_423, 0, x_356); +lean_ctor_set(x_423, 1, x_422); +x_424 = lean_array_push(x_416, x_423); +x_425 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__7; +lean_inc(x_356); +x_426 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_426, 0, x_356); +lean_ctor_set(x_426, 1, x_425); +x_427 = lean_array_push(x_366, x_426); +x_428 = l_Lean_fieldIdxKind___closed__2; +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_427); +x_430 = lean_array_push(x_424, x_429); +x_431 = l_Lean_Parser_Term_proj___elambda__1___closed__1; +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_431); +lean_ctor_set(x_432, 1, x_430); +x_433 = lean_array_push(x_421, x_432); +x_434 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; +x_435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_433); +x_436 = lean_array_push(x_366, x_435); +x_437 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; +x_438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_438, 0, x_437); +lean_ctor_set(x_438, 1, x_436); +x_439 = lean_array_push(x_415, x_438); +x_440 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; +x_441 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_441, 0, x_356); +lean_ctor_set(x_441, 1, x_440); +x_442 = lean_array_push(x_366, x_441); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_385); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_array_push(x_439, x_443); +x_445 = lean_array_push(x_444, x_353); +x_446 = l_myMacro____x40_Init_Notation___hyg_15449____closed__2; +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_446); +lean_ctor_set(x_447, 1, x_445); +x_448 = lean_array_push(x_412, x_447); +x_449 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +x_450 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_448); +x_451 = lean_array_push(x_403, x_450); +x_452 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_453, 0, x_452); +lean_ctor_set(x_453, 1, x_451); +x_454 = lean_array_push(x_400, x_453); +x_455 = l_Lean_Parser_Term_forInMacro___elambda__1___closed__2; +x_456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_456, 0, x_455); +lean_ctor_set(x_456, 1, x_454); +x_457 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_363); +x_458 = lean_ctor_get(x_457, 0); +lean_inc(x_458); +x_459 = lean_ctor_get(x_457, 1); lean_inc(x_459); -x_460 = lean_ctor_get(x_458, 1); -lean_inc(x_460); -lean_dec(x_458); -x_461 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_460); -x_462 = lean_ctor_get(x_461, 0); +lean_dec(x_457); +x_460 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_459); +x_461 = lean_ctor_get(x_460, 0); +lean_inc(x_461); +x_462 = lean_ctor_get(x_460, 1); lean_inc(x_462); -x_463 = lean_ctor_get(x_461, 1); -lean_inc(x_463); -lean_dec(x_461); -x_464 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_463); -x_465 = lean_ctor_get(x_464, 0); +lean_dec(x_460); +x_463 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_462); +x_464 = lean_ctor_get(x_463, 0); +lean_inc(x_464); +x_465 = lean_ctor_get(x_463, 1); lean_inc(x_465); -x_466 = lean_ctor_get(x_464, 1); -lean_inc(x_466); -lean_dec(x_464); -x_467 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; -lean_inc(x_459); -x_468 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_468, 0, x_459); -lean_ctor_set(x_468, 1, x_467); -x_469 = lean_array_push(x_367, x_468); -lean_inc(x_459); -x_470 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_470, 0, x_459); -lean_ctor_set(x_470, 1, x_414); -x_471 = lean_array_push(x_367, x_470); -x_472 = lean_array_push(x_471, x_392); -lean_inc(x_462); -lean_inc(x_465); -x_473 = l_Lean_addMacroScope(x_465, x_349, x_462); -lean_inc(x_459); -x_474 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_474, 0, x_459); -lean_ctor_set(x_474, 1, x_352); -lean_ctor_set(x_474, 2, x_473); -lean_ctor_set(x_474, 3, x_351); -x_475 = lean_array_push(x_367, x_474); -lean_inc(x_475); -x_476 = lean_array_push(x_475, x_392); -x_477 = l_Lean_Parser_Tactic_rwRule___closed__3; -lean_inc(x_459); -x_478 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_478, 0, x_459); -lean_ctor_set(x_478, 1, x_477); -x_479 = lean_array_push(x_476, x_478); -x_480 = lean_array_push(x_367, x_457); -x_481 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; -x_482 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_482, 0, x_481); -lean_ctor_set(x_482, 1, x_480); -x_483 = lean_array_push(x_479, x_482); -x_484 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_484); -lean_ctor_set(x_485, 1, x_483); -x_486 = lean_array_push(x_472, x_485); -x_487 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_487); -lean_ctor_set(x_488, 1, x_486); -x_489 = lean_array_push(x_367, x_488); -lean_inc(x_459); -x_490 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_490, 0, x_459); -lean_ctor_set(x_490, 1, x_441); -x_491 = lean_array_push(x_367, x_490); -x_492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_492, 0, x_386); -lean_ctor_set(x_492, 1, x_491); -lean_inc(x_492); -x_493 = lean_array_push(x_489, x_492); -x_494 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; -x_495 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_495, 0, x_494); -lean_ctor_set(x_495, 1, x_493); -x_496 = lean_array_push(x_367, x_495); -x_497 = lean_array_push(x_367, x_45); -x_498 = lean_array_push(x_497, x_392); -x_499 = lean_array_push(x_498, x_392); -lean_inc(x_459); -x_500 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_500, 0, x_459); -lean_ctor_set(x_500, 1, x_420); -x_501 = lean_array_push(x_499, x_500); -lean_inc(x_459); -x_502 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_502, 0, x_459); -lean_ctor_set(x_502, 1, x_423); -x_503 = lean_array_push(x_475, x_502); -lean_inc(x_459); -x_504 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_504, 0, x_459); -lean_ctor_set(x_504, 1, x_426); -x_505 = lean_array_push(x_367, x_504); -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_429); -lean_ctor_set(x_506, 1, x_505); -lean_inc(x_503); -x_507 = lean_array_push(x_503, x_506); -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_432); -lean_ctor_set(x_508, 1, x_507); -x_509 = lean_array_push(x_501, x_508); -x_510 = l_Lean_Parser_Term_letPatDecl___closed__2; -x_511 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_511, 0, x_510); -lean_ctor_set(x_511, 1, x_509); -x_512 = lean_array_push(x_367, x_511); -x_513 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_513); -lean_ctor_set(x_514, 1, x_512); -x_515 = lean_array_push(x_367, x_514); -x_516 = lean_array_push(x_515, x_492); -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_494); -lean_ctor_set(x_517, 1, x_516); -x_518 = lean_array_push(x_496, x_517); -x_519 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; -lean_inc(x_459); -x_520 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_520, 0, x_459); -lean_ctor_set(x_520, 1, x_519); -x_521 = lean_array_push(x_367, x_520); -x_522 = lean_array_push(x_521, x_392); -x_523 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; -lean_inc(x_459); -x_524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_524, 0, x_459); -lean_ctor_set(x_524, 1, x_523); -x_525 = lean_array_push(x_367, x_524); -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_429); -lean_ctor_set(x_526, 1, x_525); -x_527 = lean_array_push(x_503, x_526); -x_528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_528, 0, x_432); -lean_ctor_set(x_528, 1, x_527); -x_529 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_530 = lean_array_push(x_529, x_528); -x_531 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; -x_532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_532, 0, x_531); -lean_ctor_set(x_532, 1, x_530); -x_533 = lean_array_push(x_367, x_532); -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_386); -lean_ctor_set(x_534, 1, x_533); -x_535 = lean_array_push(x_522, x_534); -x_536 = lean_array_push(x_535, x_392); -x_537 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; -lean_inc(x_459); -x_538 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_538, 0, x_459); -lean_ctor_set(x_538, 1, x_537); -x_539 = lean_array_push(x_536, x_538); -x_540 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_459); -x_541 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_541, 0, x_459); -lean_ctor_set(x_541, 1, x_540); -x_542 = lean_array_push(x_367, x_541); -lean_inc(x_462); -lean_inc(x_465); -x_543 = l_Lean_addMacroScope(x_465, x_379, x_462); -lean_inc(x_459); -x_544 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_544, 0, x_459); -lean_ctor_set(x_544, 1, x_381); -lean_ctor_set(x_544, 2, x_543); -lean_ctor_set(x_544, 3, x_382); -x_545 = lean_array_push(x_367, x_544); -x_546 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_546, 0, x_386); -lean_ctor_set(x_546, 1, x_545); -lean_inc(x_542); -x_547 = lean_array_push(x_542, x_546); -lean_inc(x_459); -x_548 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_548, 0, x_459); -lean_ctor_set(x_548, 1, x_411); -lean_inc(x_548); -x_549 = lean_array_push(x_547, x_548); -x_550 = l_Lean_Meta_mkPure___closed__4; -lean_inc(x_462); -lean_inc(x_465); -x_551 = l_Lean_addMacroScope(x_465, x_550, x_462); -x_552 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; -x_553 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; -lean_inc(x_459); -x_554 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_554, 0, x_459); -lean_ctor_set(x_554, 1, x_552); -lean_ctor_set(x_554, 2, x_551); -lean_ctor_set(x_554, 3, x_553); -x_555 = lean_array_push(x_367, x_554); -lean_inc(x_459); -x_556 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_556, 0, x_459); -lean_ctor_set(x_556, 1, x_370); -x_557 = lean_array_push(x_367, x_556); -x_558 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; -lean_inc(x_459); -x_559 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_559, 0, x_459); -lean_ctor_set(x_559, 1, x_558); -x_560 = lean_array_push(x_367, x_559); -x_561 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; -lean_inc(x_459); -x_562 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_562, 0, x_459); -lean_ctor_set(x_562, 1, x_561); -x_563 = lean_array_push(x_367, x_562); -x_564 = l_Lean_strLitKind___closed__2; -x_565 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_565, 0, x_564); -lean_ctor_set(x_565, 1, x_563); -x_566 = lean_array_push(x_560, x_565); -x_567 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -lean_inc(x_462); -lean_inc(x_465); -x_568 = l_Lean_addMacroScope(x_465, x_567, x_462); -x_569 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__5; -x_570 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8; -lean_inc(x_459); -x_571 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_571, 0, x_459); -lean_ctor_set(x_571, 1, x_569); -lean_ctor_set(x_571, 2, x_568); -lean_ctor_set(x_571, 3, x_570); -lean_inc(x_566); -x_572 = lean_array_push(x_566, x_571); -x_573 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; -x_574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_572); -x_575 = lean_array_push(x_367, x_574); -x_576 = lean_array_push(x_575, x_392); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_386); -lean_ctor_set(x_577, 1, x_576); -x_578 = lean_array_push(x_557, x_577); -lean_inc(x_459); -x_579 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_579, 0, x_459); -lean_ctor_set(x_579, 1, x_396); -x_580 = lean_array_push(x_578, x_579); -x_581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_581, 0, x_399); -lean_ctor_set(x_581, 1, x_580); -x_582 = lean_array_push(x_367, x_581); -x_583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_583, 0, x_386); -lean_ctor_set(x_583, 1, x_582); -x_584 = lean_array_push(x_555, x_583); -x_585 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_585, 0, x_389); -lean_ctor_set(x_585, 1, x_584); -x_586 = lean_array_push(x_367, x_585); -x_587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_587, 0, x_481); -lean_ctor_set(x_587, 1, x_586); -x_588 = lean_array_push(x_367, x_587); -x_589 = lean_array_push(x_588, x_392); -x_590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_590, 0, x_494); -lean_ctor_set(x_590, 1, x_589); -x_591 = lean_array_push(x_367, x_590); -x_592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_592, 0, x_386); -lean_ctor_set(x_592, 1, x_591); -x_593 = lean_array_push(x_367, x_592); -x_594 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; -x_595 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_595, 0, x_594); -lean_ctor_set(x_595, 1, x_593); -x_596 = lean_array_push(x_549, x_595); -x_597 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_598 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_598, 0, x_597); -lean_ctor_set(x_598, 1, x_596); -x_599 = lean_array_push(x_367, x_598); -x_600 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; -lean_inc(x_462); -lean_inc(x_465); -x_601 = l_Lean_addMacroScope(x_465, x_600, x_462); -x_602 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; -x_603 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_459); -x_604 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_604, 0, x_459); -lean_ctor_set(x_604, 1, x_602); -lean_ctor_set(x_604, 2, x_601); -lean_ctor_set(x_604, 3, x_603); -x_605 = lean_array_push(x_367, x_604); -x_606 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__4; -x_607 = l_Lean_addMacroScope(x_465, x_606, x_462); -x_608 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__3; -lean_inc(x_459); -x_609 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_609, 0, x_459); -lean_ctor_set(x_609, 1, x_608); -lean_ctor_set(x_609, 2, x_607); -lean_ctor_set(x_609, 3, x_351); -lean_inc(x_609); -x_610 = lean_array_push(x_367, x_609); -x_611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_611, 0, x_386); -lean_ctor_set(x_611, 1, x_610); -x_612 = lean_array_push(x_605, x_611); -x_613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_613, 0, x_389); -lean_ctor_set(x_613, 1, x_612); -x_614 = lean_array_push(x_367, x_613); -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_386); -lean_ctor_set(x_615, 1, x_614); -x_616 = lean_array_push(x_542, x_615); -x_617 = lean_array_push(x_616, x_548); -x_618 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__4; -x_619 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_619, 0, x_459); -lean_ctor_set(x_619, 1, x_618); -x_620 = lean_array_push(x_367, x_619); -x_621 = lean_array_push(x_566, x_609); -x_622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_622, 0, x_573); -lean_ctor_set(x_622, 1, x_621); -x_623 = lean_array_push(x_367, x_622); -x_624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_624, 0, x_386); -lean_ctor_set(x_624, 1, x_623); -x_625 = lean_array_push(x_620, x_624); -x_626 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; -x_627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_627, 0, x_626); -lean_ctor_set(x_627, 1, x_625); -x_628 = lean_array_push(x_367, x_627); -x_629 = lean_array_push(x_628, x_392); -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_494); -lean_ctor_set(x_630, 1, x_629); -x_631 = lean_array_push(x_367, x_630); -x_632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_632, 0, x_386); -lean_ctor_set(x_632, 1, x_631); -x_633 = lean_array_push(x_367, x_632); -x_634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_634, 0, x_594); -lean_ctor_set(x_634, 1, x_633); -x_635 = lean_array_push(x_617, x_634); -x_636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_636, 0, x_597); -lean_ctor_set(x_636, 1, x_635); -x_637 = lean_array_push(x_599, x_636); -x_638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_638, 0, x_386); -lean_ctor_set(x_638, 1, x_637); -x_639 = lean_array_push(x_367, x_638); -x_640 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_641 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_641, 0, x_640); -lean_ctor_set(x_641, 1, x_639); -x_642 = lean_array_push(x_539, x_641); -x_643 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; -x_644 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_644, 0, x_643); -lean_ctor_set(x_644, 1, x_642); -x_645 = lean_array_push(x_367, x_644); -x_646 = lean_array_push(x_645, x_392); -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_494); -lean_ctor_set(x_647, 1, x_646); -x_648 = lean_array_push(x_518, x_647); -x_649 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_649, 0, x_386); -lean_ctor_set(x_649, 1, x_648); -x_650 = lean_array_push(x_367, x_649); -x_651 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_651, 0, x_594); -lean_ctor_set(x_651, 1, x_650); -x_652 = lean_array_push(x_469, x_651); -x_653 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; -x_654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_654, 0, x_653); -lean_ctor_set(x_654, 1, x_652); -x_655 = l_Lean_Syntax_getArg(x_654, x_11); -lean_dec(x_654); -x_656 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_655); -x_657 = l_List_append___rarg(x_656, x_2); -x_658 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_657, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_466); -return x_658; +lean_dec(x_463); +x_466 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +lean_inc(x_458); +x_467 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_467, 0, x_458); +lean_ctor_set(x_467, 1, x_466); +x_468 = lean_array_push(x_366, x_467); +lean_inc(x_458); +x_469 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_469, 0, x_458); +lean_ctor_set(x_469, 1, x_413); +x_470 = lean_array_push(x_366, x_469); +x_471 = lean_array_push(x_470, x_391); +lean_inc(x_461); +lean_inc(x_464); +x_472 = l_Lean_addMacroScope(x_464, x_348, x_461); +lean_inc(x_458); +x_473 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_473, 0, x_458); +lean_ctor_set(x_473, 1, x_351); +lean_ctor_set(x_473, 2, x_472); +lean_ctor_set(x_473, 3, x_350); +x_474 = lean_array_push(x_366, x_473); +lean_inc(x_474); +x_475 = lean_array_push(x_474, x_391); +x_476 = l_Lean_Parser_Tactic_rwRule___closed__3; +lean_inc(x_458); +x_477 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_477, 0, x_458); +lean_ctor_set(x_477, 1, x_476); +x_478 = lean_array_push(x_475, x_477); +x_479 = lean_array_push(x_366, x_456); +x_480 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_479); +x_482 = lean_array_push(x_478, x_481); +x_483 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_484 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_484, 0, x_483); +lean_ctor_set(x_484, 1, x_482); +x_485 = lean_array_push(x_471, x_484); +x_486 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_487 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_487, 0, x_486); +lean_ctor_set(x_487, 1, x_485); +x_488 = lean_array_push(x_366, x_487); +lean_inc(x_458); +x_489 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_489, 0, x_458); +lean_ctor_set(x_489, 1, x_440); +x_490 = lean_array_push(x_366, x_489); +x_491 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_491, 0, x_385); +lean_ctor_set(x_491, 1, x_490); +lean_inc(x_491); +x_492 = lean_array_push(x_488, x_491); +x_493 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_492); +x_495 = lean_array_push(x_366, x_494); +x_496 = lean_array_push(x_366, x_45); +x_497 = lean_array_push(x_496, x_391); +x_498 = lean_array_push(x_497, x_391); +lean_inc(x_458); +x_499 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_499, 0, x_458); +lean_ctor_set(x_499, 1, x_419); +x_500 = lean_array_push(x_498, x_499); +lean_inc(x_458); +x_501 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_501, 0, x_458); +lean_ctor_set(x_501, 1, x_422); +x_502 = lean_array_push(x_474, x_501); +lean_inc(x_458); +x_503 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_503, 0, x_458); +lean_ctor_set(x_503, 1, x_425); +x_504 = lean_array_push(x_366, x_503); +x_505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_505, 0, x_428); +lean_ctor_set(x_505, 1, x_504); +lean_inc(x_502); +x_506 = lean_array_push(x_502, x_505); +x_507 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_507, 0, x_431); +lean_ctor_set(x_507, 1, x_506); +x_508 = lean_array_push(x_500, x_507); +x_509 = l_Lean_Parser_Term_letPatDecl___closed__2; +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_509); +lean_ctor_set(x_510, 1, x_508); +x_511 = lean_array_push(x_366, x_510); +x_512 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_513 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_513, 0, x_512); +lean_ctor_set(x_513, 1, x_511); +x_514 = lean_array_push(x_366, x_513); +x_515 = lean_array_push(x_514, x_491); +x_516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_516, 0, x_493); +lean_ctor_set(x_516, 1, x_515); +x_517 = lean_array_push(x_495, x_516); +x_518 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; +lean_inc(x_458); +x_519 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_519, 0, x_458); +lean_ctor_set(x_519, 1, x_518); +x_520 = lean_array_push(x_366, x_519); +x_521 = lean_array_push(x_520, x_391); +x_522 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; +lean_inc(x_458); +x_523 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_523, 0, x_458); +lean_ctor_set(x_523, 1, x_522); +x_524 = lean_array_push(x_366, x_523); +x_525 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_525, 0, x_428); +lean_ctor_set(x_525, 1, x_524); +x_526 = lean_array_push(x_502, x_525); +x_527 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_527, 0, x_431); +lean_ctor_set(x_527, 1, x_526); +x_528 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_529 = lean_array_push(x_528, x_527); +x_530 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; +x_531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_531, 0, x_530); +lean_ctor_set(x_531, 1, x_529); +x_532 = lean_array_push(x_366, x_531); +x_533 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_533, 0, x_385); +lean_ctor_set(x_533, 1, x_532); +x_534 = lean_array_push(x_521, x_533); +x_535 = lean_array_push(x_534, x_391); +x_536 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +lean_inc(x_458); +x_537 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_537, 0, x_458); +lean_ctor_set(x_537, 1, x_536); +x_538 = lean_array_push(x_535, x_537); +x_539 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_458); +x_540 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_540, 0, x_458); +lean_ctor_set(x_540, 1, x_539); +x_541 = lean_array_push(x_366, x_540); +lean_inc(x_461); +lean_inc(x_464); +x_542 = l_Lean_addMacroScope(x_464, x_378, x_461); +lean_inc(x_458); +x_543 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_543, 0, x_458); +lean_ctor_set(x_543, 1, x_380); +lean_ctor_set(x_543, 2, x_542); +lean_ctor_set(x_543, 3, x_381); +x_544 = lean_array_push(x_366, x_543); +x_545 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_545, 0, x_385); +lean_ctor_set(x_545, 1, x_544); +lean_inc(x_541); +x_546 = lean_array_push(x_541, x_545); +lean_inc(x_458); +x_547 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_547, 0, x_458); +lean_ctor_set(x_547, 1, x_410); +lean_inc(x_547); +x_548 = lean_array_push(x_546, x_547); +x_549 = l_Lean_Meta_mkPure___closed__4; +lean_inc(x_461); +lean_inc(x_464); +x_550 = l_Lean_addMacroScope(x_464, x_549, x_461); +x_551 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; +x_552 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; +lean_inc(x_458); +x_553 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_553, 0, x_458); +lean_ctor_set(x_553, 1, x_551); +lean_ctor_set(x_553, 2, x_550); +lean_ctor_set(x_553, 3, x_552); +x_554 = lean_array_push(x_366, x_553); +lean_inc(x_458); +x_555 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_555, 0, x_458); +lean_ctor_set(x_555, 1, x_369); +x_556 = lean_array_push(x_366, x_555); +x_557 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; +lean_inc(x_458); +x_558 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_558, 0, x_458); +lean_ctor_set(x_558, 1, x_557); +x_559 = lean_array_push(x_366, x_558); +x_560 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; +lean_inc(x_458); +x_561 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_561, 0, x_458); +lean_ctor_set(x_561, 1, x_560); +x_562 = lean_array_push(x_366, x_561); +x_563 = l_Lean_strLitKind___closed__2; +x_564 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_564, 0, x_563); +lean_ctor_set(x_564, 1, x_562); +x_565 = lean_array_push(x_559, x_564); +x_566 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +lean_inc(x_461); +lean_inc(x_464); +x_567 = l_Lean_addMacroScope(x_464, x_566, x_461); +x_568 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__5; +x_569 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8; +lean_inc(x_458); +x_570 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_570, 0, x_458); +lean_ctor_set(x_570, 1, x_568); +lean_ctor_set(x_570, 2, x_567); +lean_ctor_set(x_570, 3, x_569); +lean_inc(x_565); +x_571 = lean_array_push(x_565, x_570); +x_572 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_573 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_573, 0, x_572); +lean_ctor_set(x_573, 1, x_571); +x_574 = lean_array_push(x_366, x_573); +x_575 = lean_array_push(x_574, x_391); +x_576 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_576, 0, x_385); +lean_ctor_set(x_576, 1, x_575); +x_577 = lean_array_push(x_556, x_576); +lean_inc(x_458); +x_578 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_578, 0, x_458); +lean_ctor_set(x_578, 1, x_395); +x_579 = lean_array_push(x_577, x_578); +x_580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_580, 0, x_398); +lean_ctor_set(x_580, 1, x_579); +x_581 = lean_array_push(x_366, x_580); +x_582 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_582, 0, x_385); +lean_ctor_set(x_582, 1, x_581); +x_583 = lean_array_push(x_554, x_582); +x_584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_584, 0, x_388); +lean_ctor_set(x_584, 1, x_583); +x_585 = lean_array_push(x_366, x_584); +x_586 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_586, 0, x_480); +lean_ctor_set(x_586, 1, x_585); +x_587 = lean_array_push(x_366, x_586); +x_588 = lean_array_push(x_587, x_391); +x_589 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_589, 0, x_493); +lean_ctor_set(x_589, 1, x_588); +x_590 = lean_array_push(x_366, x_589); +x_591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_591, 0, x_385); +lean_ctor_set(x_591, 1, x_590); +x_592 = lean_array_push(x_366, x_591); +x_593 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; +x_594 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_594, 0, x_593); +lean_ctor_set(x_594, 1, x_592); +x_595 = lean_array_push(x_548, x_594); +x_596 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_596); +lean_ctor_set(x_597, 1, x_595); +x_598 = lean_array_push(x_366, x_597); +x_599 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; +lean_inc(x_461); +lean_inc(x_464); +x_600 = l_Lean_addMacroScope(x_464, x_599, x_461); +x_601 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; +x_602 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_458); +x_603 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_603, 0, x_458); +lean_ctor_set(x_603, 1, x_601); +lean_ctor_set(x_603, 2, x_600); +lean_ctor_set(x_603, 3, x_602); +x_604 = lean_array_push(x_366, x_603); +x_605 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__4; +x_606 = l_Lean_addMacroScope(x_464, x_605, x_461); +x_607 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__3; +lean_inc(x_458); +x_608 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_608, 0, x_458); +lean_ctor_set(x_608, 1, x_607); +lean_ctor_set(x_608, 2, x_606); +lean_ctor_set(x_608, 3, x_350); +lean_inc(x_608); +x_609 = lean_array_push(x_366, x_608); +x_610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_610, 0, x_385); +lean_ctor_set(x_610, 1, x_609); +x_611 = lean_array_push(x_604, x_610); +x_612 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_612, 0, x_388); +lean_ctor_set(x_612, 1, x_611); +x_613 = lean_array_push(x_366, x_612); +x_614 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_614, 0, x_385); +lean_ctor_set(x_614, 1, x_613); +x_615 = lean_array_push(x_541, x_614); +x_616 = lean_array_push(x_615, x_547); +x_617 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__4; +x_618 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_618, 0, x_458); +lean_ctor_set(x_618, 1, x_617); +x_619 = lean_array_push(x_366, x_618); +x_620 = lean_array_push(x_565, x_608); +x_621 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_621, 0, x_572); +lean_ctor_set(x_621, 1, x_620); +x_622 = lean_array_push(x_366, x_621); +x_623 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_623, 0, x_385); +lean_ctor_set(x_623, 1, x_622); +x_624 = lean_array_push(x_619, x_623); +x_625 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; +x_626 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_626, 0, x_625); +lean_ctor_set(x_626, 1, x_624); +x_627 = lean_array_push(x_366, x_626); +x_628 = lean_array_push(x_627, x_391); +x_629 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_629, 0, x_493); +lean_ctor_set(x_629, 1, x_628); +x_630 = lean_array_push(x_366, x_629); +x_631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_631, 0, x_385); +lean_ctor_set(x_631, 1, x_630); +x_632 = lean_array_push(x_366, x_631); +x_633 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_633, 0, x_593); +lean_ctor_set(x_633, 1, x_632); +x_634 = lean_array_push(x_616, x_633); +x_635 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_635, 0, x_596); +lean_ctor_set(x_635, 1, x_634); +x_636 = lean_array_push(x_598, x_635); +x_637 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_637, 0, x_385); +lean_ctor_set(x_637, 1, x_636); +x_638 = lean_array_push(x_366, x_637); +x_639 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_640 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_640, 0, x_639); +lean_ctor_set(x_640, 1, x_638); +x_641 = lean_array_push(x_538, x_640); +x_642 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; +x_643 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_641); +x_644 = lean_array_push(x_366, x_643); +x_645 = lean_array_push(x_644, x_391); +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_493); +lean_ctor_set(x_646, 1, x_645); +x_647 = lean_array_push(x_517, x_646); +x_648 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_648, 0, x_385); +lean_ctor_set(x_648, 1, x_647); +x_649 = lean_array_push(x_366, x_648); +x_650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_650, 0, x_593); +lean_ctor_set(x_650, 1, x_649); +x_651 = lean_array_push(x_468, x_650); +x_652 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; +x_653 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_653, 0, x_652); +lean_ctor_set(x_653, 1, x_651); +x_654 = l_Lean_Syntax_getArg(x_653, x_11); +lean_dec(x_653); +x_655 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_654); +x_656 = l_List_append___rarg(x_655, x_2); +x_657 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_656, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_465); +return x_657; } } } else { -uint8_t x_713; +uint8_t x_711; lean_dec(x_43); lean_dec(x_42); lean_dec(x_37); @@ -59794,30 +59775,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_713 = !lean_is_exclusive(x_44); -if (x_713 == 0) +x_711 = !lean_is_exclusive(x_44); +if (x_711 == 0) { return x_44; } else { -lean_object* x_714; lean_object* x_715; lean_object* x_716; -x_714 = lean_ctor_get(x_44, 0); -x_715 = lean_ctor_get(x_44, 1); -lean_inc(x_715); -lean_inc(x_714); +lean_object* x_712; lean_object* x_713; lean_object* x_714; +x_712 = lean_ctor_get(x_44, 0); +x_713 = lean_ctor_get(x_44, 1); +lean_inc(x_713); +lean_inc(x_712); lean_dec(x_44); -x_716 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_716, 0, x_714); -lean_ctor_set(x_716, 1, x_715); -return x_716; +x_714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_714, 0, x_712); +lean_ctor_set(x_714, 1, x_713); +return x_714; } } } } else { -uint8_t x_778; +uint8_t x_775; lean_dec(x_37); lean_dec(x_8); lean_dec(x_30); @@ -59833,29 +59814,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_778 = !lean_is_exclusive(x_39); -if (x_778 == 0) +x_775 = !lean_is_exclusive(x_39); +if (x_775 == 0) { return x_39; } else { -lean_object* x_779; lean_object* x_780; lean_object* x_781; -x_779 = lean_ctor_get(x_39, 0); -x_780 = lean_ctor_get(x_39, 1); -lean_inc(x_780); -lean_inc(x_779); +lean_object* x_776; lean_object* x_777; lean_object* x_778; +x_776 = lean_ctor_get(x_39, 0); +x_777 = lean_ctor_get(x_39, 1); +lean_inc(x_777); +lean_inc(x_776); lean_dec(x_39); -x_781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_781, 0, x_779); -lean_ctor_set(x_781, 1, x_780); -return x_781; +x_778 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_778, 0, x_776); +lean_ctor_set(x_778, 1, x_777); +return x_778; } } } else { -uint8_t x_782; +uint8_t x_779; lean_dec(x_8); lean_dec(x_30); lean_dec(x_29); @@ -59870,126 +59851,140 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_782 = !lean_is_exclusive(x_36); -if (x_782 == 0) +x_779 = !lean_is_exclusive(x_36); +if (x_779 == 0) { return x_36; } else { -lean_object* x_783; lean_object* x_784; lean_object* x_785; -x_783 = lean_ctor_get(x_36, 0); -x_784 = lean_ctor_get(x_36, 1); -lean_inc(x_784); -lean_inc(x_783); +lean_object* x_780; lean_object* x_781; lean_object* x_782; +x_780 = lean_ctor_get(x_36, 0); +x_781 = lean_ctor_get(x_36, 1); +lean_inc(x_781); +lean_inc(x_780); lean_dec(x_36); -x_785 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_785, 0, x_783); -lean_ctor_set(x_785, 1, x_784); -return x_785; +x_782 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_782, 0, x_780); +lean_ctor_set(x_782, 1, x_781); +return x_782; } } } else { -lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; uint8_t x_799; lean_object* x_800; lean_object* x_801; -x_786 = lean_ctor_get(x_8, 0); -x_787 = lean_ctor_get(x_8, 1); -x_788 = lean_ctor_get(x_8, 2); -x_789 = lean_ctor_get(x_8, 3); -x_790 = lean_ctor_get(x_8, 4); -x_791 = lean_ctor_get(x_8, 5); -x_792 = lean_ctor_get(x_8, 6); -x_793 = lean_ctor_get(x_8, 7); -lean_inc(x_793); -lean_inc(x_792); -lean_inc(x_791); +lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; uint8_t x_796; lean_object* x_797; lean_object* x_798; +x_783 = lean_ctor_get(x_8, 0); +x_784 = lean_ctor_get(x_8, 1); +x_785 = lean_ctor_get(x_8, 2); +x_786 = lean_ctor_get(x_8, 3); +x_787 = lean_ctor_get(x_8, 4); +x_788 = lean_ctor_get(x_8, 5); +x_789 = lean_ctor_get(x_8, 6); +x_790 = lean_ctor_get(x_8, 7); lean_inc(x_790); lean_inc(x_789); lean_inc(x_788); lean_inc(x_787); lean_inc(x_786); +lean_inc(x_785); +lean_inc(x_784); +lean_inc(x_783); lean_dec(x_8); -x_794 = l_Lean_replaceRef(x_1, x_789); -lean_dec(x_789); -lean_inc(x_790); -lean_inc(x_794); -lean_inc(x_788); +x_791 = l_Lean_replaceRef(x_1, x_786); +lean_dec(x_786); lean_inc(x_787); -x_795 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_795, 0, x_786); -lean_ctor_set(x_795, 1, x_787); -lean_ctor_set(x_795, 2, x_788); -lean_ctor_set(x_795, 3, x_794); -lean_ctor_set(x_795, 4, x_790); -lean_ctor_set(x_795, 5, x_791); -lean_ctor_set(x_795, 6, x_792); -lean_ctor_set(x_795, 7, x_793); -x_796 = lean_ctor_get(x_3, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_3, 1); -lean_inc(x_797); -x_798 = lean_ctor_get(x_3, 2); -lean_inc(x_798); -x_799 = 1; -x_800 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_800, 0, x_796); -lean_ctor_set(x_800, 1, x_797); -lean_ctor_set(x_800, 2, x_798); -lean_ctor_set_uint8(x_800, sizeof(void*)*3, x_799); -lean_inc(x_9); +lean_inc(x_791); +lean_inc(x_785); +lean_inc(x_784); +x_792 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_792, 0, x_783); +lean_ctor_set(x_792, 1, x_784); +lean_ctor_set(x_792, 2, x_785); +lean_ctor_set(x_792, 3, x_791); +lean_ctor_set(x_792, 4, x_787); +lean_ctor_set(x_792, 5, x_788); +lean_ctor_set(x_792, 6, x_789); +lean_ctor_set(x_792, 7, x_790); +x_793 = lean_ctor_get(x_3, 0); +lean_inc(x_793); +x_794 = lean_ctor_get(x_3, 1); +lean_inc(x_794); +x_795 = lean_ctor_get(x_3, 2); lean_inc(x_795); +x_796 = 1; +x_797 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_797, 0, x_793); +lean_ctor_set(x_797, 1, x_794); +lean_ctor_set(x_797, 2, x_795); +lean_ctor_set_uint8(x_797, sizeof(void*)*3, x_796); +lean_inc(x_9); +lean_inc(x_792); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_801 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_24, x_800, x_4, x_5, x_6, x_7, x_795, x_9, x_10); +x_798 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_24, x_797, x_4, x_5, x_6, x_7, x_792, x_9, x_10); +if (lean_obj_tag(x_798) == 0) +{ +lean_object* x_799; lean_object* x_800; lean_object* x_801; +x_799 = lean_ctor_get(x_798, 0); +lean_inc(x_799); +x_800 = lean_ctor_get(x_798, 1); +lean_inc(x_800); +lean_dec(x_798); +lean_inc(x_792); +lean_inc(x_3); +lean_inc(x_799); +x_801 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_799, x_3, x_4, x_5, x_6, x_7, x_792, x_9, x_800); if (lean_obj_tag(x_801) == 0) { -lean_object* x_802; lean_object* x_803; lean_object* x_804; +lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_1472; size_t x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; x_802 = lean_ctor_get(x_801, 0); lean_inc(x_802); x_803 = lean_ctor_get(x_801, 1); lean_inc(x_803); lean_dec(x_801); -lean_inc(x_795); -lean_inc(x_3); -lean_inc(x_802); -x_804 = l_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___rarg(x_802, x_3, x_4, x_5, x_6, x_7, x_795, x_9, x_803); -if (lean_obj_tag(x_804) == 0) -{ -lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_1477; size_t x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; -x_805 = lean_ctor_get(x_804, 0); +x_804 = lean_ctor_get(x_802, 0); +lean_inc(x_804); +x_805 = lean_ctor_get(x_802, 1); lean_inc(x_805); -x_806 = lean_ctor_get(x_804, 1); -lean_inc(x_806); -lean_dec(x_804); -x_807 = lean_ctor_get(x_805, 0); -lean_inc(x_807); -x_808 = lean_ctor_get(x_805, 1); -lean_inc(x_808); -lean_dec(x_805); -x_1477 = lean_array_get_size(x_807); -x_1478 = lean_usize_of_nat(x_1477); -lean_dec(x_1477); -lean_inc(x_807); -x_1479 = x_807; -x_1480 = lean_box_usize(x_1478); -x_1481 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; -x_1482 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed), 5, 3); -lean_closure_set(x_1482, 0, x_1480); -lean_closure_set(x_1482, 1, x_1481); -lean_closure_set(x_1482, 2, x_1479); -x_1483 = lean_st_ref_get(x_9, x_806); -x_1484 = lean_ctor_get(x_1483, 0); -lean_inc(x_1484); -x_1485 = lean_ctor_get(x_1483, 1); -lean_inc(x_1485); -lean_dec(x_1483); -x_1486 = lean_ctor_get(x_1484, 0); -lean_inc(x_1486); -lean_dec(x_1484); -x_1487 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_1485); +lean_dec(x_802); +x_1472 = lean_array_get_size(x_804); +x_1473 = lean_usize_of_nat(x_1472); +lean_dec(x_1472); +lean_inc(x_804); +x_1474 = x_804; +x_1475 = lean_box_usize(x_1473); +x_1476 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___boxed__const__1; +x_1477 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___spec__1___boxed), 5, 3); +lean_closure_set(x_1477, 0, x_1475); +lean_closure_set(x_1477, 1, x_1476); +lean_closure_set(x_1477, 2, x_1474); +x_1478 = lean_st_ref_get(x_9, x_803); +x_1479 = lean_ctor_get(x_1478, 0); +lean_inc(x_1479); +x_1480 = lean_ctor_get(x_1478, 1); +lean_inc(x_1480); +lean_dec(x_1478); +x_1481 = lean_ctor_get(x_1479, 0); +lean_inc(x_1481); +lean_dec(x_1479); +lean_inc(x_1481); +x_1482 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_1482, 0, x_1481); +lean_inc(x_787); +x_1483 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_1483, 0, x_787); +lean_inc(x_1481); +x_1484 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_1484, 0, x_1481); +x_1485 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_1485, 0, x_1482); +lean_ctor_set(x_1485, 1, x_1483); +lean_ctor_set(x_1485, 2, x_1484); +x_1486 = x_1485; +x_1487 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_1480); x_1488 = lean_ctor_get(x_1487, 0); lean_inc(x_1488); x_1489 = lean_ctor_get(x_1487, 1); @@ -60004,953 +59999,968 @@ lean_dec(x_1490); x_1493 = lean_ctor_get(x_1491, 1); lean_inc(x_1493); lean_dec(x_1491); +x_1494 = lean_environment_main_module(x_1481); +lean_inc(x_791); +lean_inc(x_785); +lean_inc(x_784); lean_inc(x_1486); -x_1494 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_1494, 0, x_1486); -lean_inc(x_1494); -x_1495 = x_1494; -lean_inc(x_1486); -x_1496 = lean_environment_main_module(x_1486); -lean_inc(x_790); -x_1497 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1497, 0, x_790); -x_1498 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_1498, 0, x_1486); -x_1499 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_1499, 0, x_1494); -lean_ctor_set(x_1499, 1, x_1497); -lean_ctor_set(x_1499, 2, x_1498); -x_1500 = x_1499; -lean_inc(x_794); -lean_inc(x_788); -lean_inc(x_787); -x_1501 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1501, 0, x_1495); -lean_ctor_set(x_1501, 1, x_1496); -lean_ctor_set(x_1501, 2, x_1488); -lean_ctor_set(x_1501, 3, x_787); -lean_ctor_set(x_1501, 4, x_788); -lean_ctor_set(x_1501, 5, x_794); -lean_ctor_set(x_1501, 6, x_1500); -x_1502 = lean_box(0); -x_1503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1503, 0, x_1493); -lean_ctor_set(x_1503, 1, x_1502); -x_1504 = x_1482; -lean_inc(x_1501); -x_1505 = lean_apply_2(x_1504, x_1501, x_1503); -if (lean_obj_tag(x_1505) == 0) +x_1495 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_1495, 0, x_1486); +lean_ctor_set(x_1495, 1, x_1494); +lean_ctor_set(x_1495, 2, x_1488); +lean_ctor_set(x_1495, 3, x_784); +lean_ctor_set(x_1495, 4, x_785); +lean_ctor_set(x_1495, 5, x_791); +lean_ctor_set(x_1495, 6, x_1486); +x_1496 = lean_box(0); +x_1497 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1497, 0, x_1493); +lean_ctor_set(x_1497, 1, x_1496); +x_1498 = x_1477; +lean_inc(x_1495); +x_1499 = lean_apply_2(x_1498, x_1495, x_1497); +if (lean_obj_tag(x_1499) == 0) { -lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; -x_1506 = lean_ctor_get(x_1505, 0); -lean_inc(x_1506); -x_1507 = lean_ctor_get(x_1505, 1); +lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; +x_1500 = lean_ctor_get(x_1499, 0); +lean_inc(x_1500); +x_1501 = lean_ctor_get(x_1499, 1); +lean_inc(x_1501); +lean_dec(x_1499); +x_1502 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_1500, x_1495, x_1501); +x_1503 = lean_ctor_get(x_1502, 0); +lean_inc(x_1503); +x_1504 = lean_ctor_get(x_1502, 1); +lean_inc(x_1504); +lean_dec(x_1502); +x_1505 = lean_ctor_get(x_1504, 0); +lean_inc(x_1505); +lean_dec(x_1504); +x_1506 = lean_st_ref_take(x_9, x_1492); +x_1507 = lean_ctor_get(x_1506, 0); lean_inc(x_1507); -lean_dec(x_1505); -x_1508 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple(x_1506, x_1501, x_1507); -x_1509 = lean_ctor_get(x_1508, 0); +x_1508 = lean_ctor_get(x_1506, 1); +lean_inc(x_1508); +lean_dec(x_1506); +x_1509 = lean_ctor_get(x_1507, 0); lean_inc(x_1509); -x_1510 = lean_ctor_get(x_1508, 1); +x_1510 = lean_ctor_get(x_1507, 2); lean_inc(x_1510); -lean_dec(x_1508); -x_1511 = lean_ctor_get(x_1510, 0); +x_1511 = lean_ctor_get(x_1507, 3); lean_inc(x_1511); -lean_dec(x_1510); -x_1512 = lean_st_ref_take(x_9, x_1492); -x_1513 = lean_ctor_get(x_1512, 0); -lean_inc(x_1513); -x_1514 = lean_ctor_get(x_1512, 1); -lean_inc(x_1514); -lean_dec(x_1512); -x_1515 = lean_ctor_get(x_1513, 0); +if (lean_is_exclusive(x_1507)) { + lean_ctor_release(x_1507, 0); + lean_ctor_release(x_1507, 1); + lean_ctor_release(x_1507, 2); + lean_ctor_release(x_1507, 3); + x_1512 = x_1507; +} else { + lean_dec_ref(x_1507); + x_1512 = lean_box(0); +} +if (lean_is_scalar(x_1512)) { + x_1513 = lean_alloc_ctor(0, 4, 0); +} else { + x_1513 = x_1512; +} +lean_ctor_set(x_1513, 0, x_1509); +lean_ctor_set(x_1513, 1, x_1505); +lean_ctor_set(x_1513, 2, x_1510); +lean_ctor_set(x_1513, 3, x_1511); +x_1514 = lean_st_ref_set(x_9, x_1513, x_1508); +x_1515 = lean_ctor_get(x_1514, 1); lean_inc(x_1515); -x_1516 = lean_ctor_get(x_1513, 2); -lean_inc(x_1516); -x_1517 = lean_ctor_get(x_1513, 3); -lean_inc(x_1517); -if (lean_is_exclusive(x_1513)) { - lean_ctor_release(x_1513, 0); - lean_ctor_release(x_1513, 1); - lean_ctor_release(x_1513, 2); - lean_ctor_release(x_1513, 3); - x_1518 = x_1513; +if (lean_is_exclusive(x_1514)) { + lean_ctor_release(x_1514, 0); + lean_ctor_release(x_1514, 1); + x_1516 = x_1514; } else { - lean_dec_ref(x_1513); - x_1518 = lean_box(0); + lean_dec_ref(x_1514); + x_1516 = lean_box(0); } -if (lean_is_scalar(x_1518)) { - x_1519 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_1516)) { + x_1517 = lean_alloc_ctor(0, 2, 0); } else { - x_1519 = x_1518; + x_1517 = x_1516; } -lean_ctor_set(x_1519, 0, x_1515); -lean_ctor_set(x_1519, 1, x_1511); -lean_ctor_set(x_1519, 2, x_1516); -lean_ctor_set(x_1519, 3, x_1517); -x_1520 = lean_st_ref_set(x_9, x_1519, x_1514); -x_1521 = lean_ctor_get(x_1520, 1); -lean_inc(x_1521); -if (lean_is_exclusive(x_1520)) { - lean_ctor_release(x_1520, 0); - lean_ctor_release(x_1520, 1); - x_1522 = x_1520; -} else { - lean_dec_ref(x_1520); - x_1522 = lean_box(0); +lean_ctor_set(x_1517, 0, x_1503); +lean_ctor_set(x_1517, 1, x_1515); +x_806 = x_1517; +goto block_1471; } -if (lean_is_scalar(x_1522)) { - x_1523 = lean_alloc_ctor(0, 2, 0); -} else { - x_1523 = x_1522; -} -lean_ctor_set(x_1523, 0, x_1509); -lean_ctor_set(x_1523, 1, x_1521); -x_809 = x_1523; -goto block_1476; +else +{ +lean_object* x_1518; +lean_dec(x_1495); +x_1518 = lean_ctor_get(x_1499, 0); +lean_inc(x_1518); +lean_dec(x_1499); +if (lean_obj_tag(x_1518) == 0) +{ +lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; +x_1519 = lean_ctor_get(x_1518, 0); +lean_inc(x_1519); +x_1520 = lean_ctor_get(x_1518, 1); +lean_inc(x_1520); +lean_dec(x_1518); +x_1521 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1521, 0, x_1520); +x_1522 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1522, 0, x_1521); +lean_inc(x_792); +x_1523 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1519, x_1522, x_3, x_4, x_5, x_6, x_7, x_792, x_9, x_1492); +lean_dec(x_1519); +x_806 = x_1523; +goto block_1471; } else { lean_object* x_1524; -lean_dec(x_1501); -x_1524 = lean_ctor_get(x_1505, 0); -lean_inc(x_1524); -lean_dec(x_1505); -if (lean_obj_tag(x_1524) == 0) -{ -lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; -x_1525 = lean_ctor_get(x_1524, 0); -lean_inc(x_1525); -x_1526 = lean_ctor_get(x_1524, 1); -lean_inc(x_1526); -lean_dec(x_1524); -x_1527 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1527, 0, x_1526); -x_1528 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1528, 0, x_1527); -lean_inc(x_795); -x_1529 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1525, x_1528, x_3, x_4, x_5, x_6, x_7, x_795, x_9, x_1492); -lean_dec(x_1525); -x_809 = x_1529; -goto block_1476; -} -else -{ -lean_object* x_1530; -x_1530 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_1492); -x_809 = x_1530; -goto block_1476; +x_1524 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_1492); +x_806 = x_1524; +goto block_1471; } } -block_1476: +block_1471: { -if (lean_obj_tag(x_809) == 0) +if (lean_obj_tag(x_806) == 0) { -lean_object* x_810; lean_object* x_811; lean_object* x_812; uint8_t x_813; -x_810 = lean_ctor_get(x_809, 0); -lean_inc(x_810); -x_811 = lean_ctor_get(x_809, 1); -lean_inc(x_811); +lean_object* x_807; lean_object* x_808; lean_object* x_809; uint8_t x_810; +x_807 = lean_ctor_get(x_806, 0); +lean_inc(x_807); +x_808 = lean_ctor_get(x_806, 1); +lean_inc(x_808); +lean_dec(x_806); +x_809 = lean_ctor_get(x_799, 0); +lean_inc(x_809); +lean_dec(x_799); +x_810 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_809); lean_dec(x_809); -x_812 = lean_ctor_get(x_802, 0); -lean_inc(x_812); -lean_dec(x_802); -x_813 = l_Lean_Elab_Term_Do_hasExitPointPred_loop___at_Lean_Elab_Term_Do_hasReturn___spec__1(x_812); -lean_dec(x_812); -if (x_813 == 0) +if (x_810 == 0) { -lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; -x_814 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_795, x_9, x_811); +lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; +x_811 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_792, x_9, x_808); +x_812 = lean_ctor_get(x_811, 0); +lean_inc(x_812); +x_813 = lean_ctor_get(x_811, 1); +lean_inc(x_813); +lean_dec(x_811); +x_814 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_813); x_815 = lean_ctor_get(x_814, 0); lean_inc(x_815); x_816 = lean_ctor_get(x_814, 1); lean_inc(x_816); lean_dec(x_814); -x_817 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_816); +x_817 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_816); x_818 = lean_ctor_get(x_817, 0); lean_inc(x_818); x_819 = lean_ctor_get(x_817, 1); lean_inc(x_819); lean_dec(x_817); -x_820 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_819); -x_821 = lean_ctor_get(x_820, 0); -lean_inc(x_821); -x_822 = lean_ctor_get(x_820, 1); -lean_inc(x_822); -lean_dec(x_820); -x_823 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; -x_824 = l_Lean_addMacroScope(x_821, x_823, x_818); -x_825 = lean_box(0); -x_826 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_827 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_827, 0, x_815); -lean_ctor_set(x_827, 1, x_826); -lean_ctor_set(x_827, 2, x_824); -lean_ctor_set(x_827, 3, x_825); -x_1052 = lean_st_ref_get(x_9, x_822); -x_1053 = lean_ctor_get(x_1052, 0); -lean_inc(x_1053); -x_1054 = lean_ctor_get(x_1052, 1); -lean_inc(x_1054); -lean_dec(x_1052); -x_1055 = lean_ctor_get(x_1053, 0); -lean_inc(x_1055); -lean_dec(x_1053); -x_1056 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_1054); -x_1057 = lean_ctor_get(x_1056, 0); -lean_inc(x_1057); -x_1058 = lean_ctor_get(x_1056, 1); -lean_inc(x_1058); -lean_dec(x_1056); -x_1059 = lean_st_ref_get(x_9, x_1058); -x_1060 = lean_ctor_get(x_1059, 0); +x_820 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +x_821 = l_Lean_addMacroScope(x_818, x_820, x_815); +x_822 = lean_box(0); +x_823 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_824 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_824, 0, x_812); +lean_ctor_set(x_824, 1, x_823); +lean_ctor_set(x_824, 2, x_821); +lean_ctor_set(x_824, 3, x_822); +x_1049 = lean_st_ref_get(x_9, x_819); +x_1050 = lean_ctor_get(x_1049, 0); +lean_inc(x_1050); +x_1051 = lean_ctor_get(x_1049, 1); +lean_inc(x_1051); +lean_dec(x_1049); +x_1052 = lean_ctor_get(x_1050, 0); +lean_inc(x_1052); +lean_dec(x_1050); +lean_inc(x_1052); +x_1053 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_1053, 0, x_1052); +x_1054 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_1054, 0, x_787); +lean_inc(x_1052); +x_1055 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_1055, 0, x_1052); +x_1056 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_1056, 0, x_1053); +lean_ctor_set(x_1056, 1, x_1054); +lean_ctor_set(x_1056, 2, x_1055); +x_1057 = x_1056; +x_1058 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_1051); +x_1059 = lean_ctor_get(x_1058, 0); +lean_inc(x_1059); +x_1060 = lean_ctor_get(x_1058, 1); lean_inc(x_1060); -x_1061 = lean_ctor_get(x_1059, 1); -lean_inc(x_1061); -lean_dec(x_1059); -x_1062 = lean_ctor_get(x_1060, 1); +lean_dec(x_1058); +x_1061 = lean_st_ref_get(x_9, x_1060); +x_1062 = lean_ctor_get(x_1061, 0); lean_inc(x_1062); -lean_dec(x_1060); -lean_inc(x_1055); -x_1063 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_1063, 0, x_1055); +x_1063 = lean_ctor_get(x_1061, 1); lean_inc(x_1063); -x_1064 = x_1063; -lean_inc(x_1055); -x_1065 = lean_environment_main_module(x_1055); -x_1066 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1066, 0, x_790); -x_1067 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_1067, 0, x_1055); -x_1068 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_1068, 0, x_1063); -lean_ctor_set(x_1068, 1, x_1066); -lean_ctor_set(x_1068, 2, x_1067); -x_1069 = x_1068; -x_1070 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1070, 0, x_1064); -lean_ctor_set(x_1070, 1, x_1065); -lean_ctor_set(x_1070, 2, x_1057); -lean_ctor_set(x_1070, 3, x_787); -lean_ctor_set(x_1070, 4, x_788); -lean_ctor_set(x_1070, 5, x_794); -lean_ctor_set(x_1070, 6, x_1069); -x_1071 = lean_box(0); -x_1072 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1072, 0, x_1062); -lean_ctor_set(x_1072, 1, x_1071); -x_1073 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_807, x_827, x_808, x_1070, x_1072); -if (lean_obj_tag(x_1073) == 0) +lean_dec(x_1061); +x_1064 = lean_ctor_get(x_1062, 1); +lean_inc(x_1064); +lean_dec(x_1062); +x_1065 = lean_environment_main_module(x_1052); +lean_inc(x_1057); +x_1066 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_1066, 0, x_1057); +lean_ctor_set(x_1066, 1, x_1065); +lean_ctor_set(x_1066, 2, x_1059); +lean_ctor_set(x_1066, 3, x_784); +lean_ctor_set(x_1066, 4, x_785); +lean_ctor_set(x_1066, 5, x_791); +lean_ctor_set(x_1066, 6, x_1057); +x_1067 = lean_box(0); +x_1068 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1068, 0, x_1064); +lean_ctor_set(x_1068, 1, x_1067); +x_1069 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_804, x_824, x_805, x_1066, x_1068); +if (lean_obj_tag(x_1069) == 0) { -lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; +lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; +x_1070 = lean_ctor_get(x_1069, 0); +lean_inc(x_1070); +x_1071 = lean_ctor_get(x_1069, 1); +lean_inc(x_1071); +lean_dec(x_1069); +x_1072 = lean_ctor_get(x_1071, 0); +lean_inc(x_1072); +lean_dec(x_1071); +x_1073 = lean_st_ref_take(x_9, x_1063); x_1074 = lean_ctor_get(x_1073, 0); lean_inc(x_1074); x_1075 = lean_ctor_get(x_1073, 1); lean_inc(x_1075); lean_dec(x_1073); -x_1076 = lean_ctor_get(x_1075, 0); +x_1076 = lean_ctor_get(x_1074, 0); lean_inc(x_1076); -lean_dec(x_1075); -x_1077 = lean_st_ref_take(x_9, x_1061); -x_1078 = lean_ctor_get(x_1077, 0); +x_1077 = lean_ctor_get(x_1074, 2); +lean_inc(x_1077); +x_1078 = lean_ctor_get(x_1074, 3); lean_inc(x_1078); -x_1079 = lean_ctor_get(x_1077, 1); -lean_inc(x_1079); -lean_dec(x_1077); -x_1080 = lean_ctor_get(x_1078, 0); -lean_inc(x_1080); -x_1081 = lean_ctor_get(x_1078, 2); -lean_inc(x_1081); -x_1082 = lean_ctor_get(x_1078, 3); +if (lean_is_exclusive(x_1074)) { + lean_ctor_release(x_1074, 0); + lean_ctor_release(x_1074, 1); + lean_ctor_release(x_1074, 2); + lean_ctor_release(x_1074, 3); + x_1079 = x_1074; +} else { + lean_dec_ref(x_1074); + x_1079 = lean_box(0); +} +if (lean_is_scalar(x_1079)) { + x_1080 = lean_alloc_ctor(0, 4, 0); +} else { + x_1080 = x_1079; +} +lean_ctor_set(x_1080, 0, x_1076); +lean_ctor_set(x_1080, 1, x_1072); +lean_ctor_set(x_1080, 2, x_1077); +lean_ctor_set(x_1080, 3, x_1078); +x_1081 = lean_st_ref_set(x_9, x_1080, x_1075); +x_1082 = lean_ctor_get(x_1081, 1); lean_inc(x_1082); -if (lean_is_exclusive(x_1078)) { - lean_ctor_release(x_1078, 0); - lean_ctor_release(x_1078, 1); - lean_ctor_release(x_1078, 2); - lean_ctor_release(x_1078, 3); - x_1083 = x_1078; -} else { - lean_dec_ref(x_1078); - x_1083 = lean_box(0); -} -if (lean_is_scalar(x_1083)) { - x_1084 = lean_alloc_ctor(0, 4, 0); -} else { - x_1084 = x_1083; -} -lean_ctor_set(x_1084, 0, x_1080); -lean_ctor_set(x_1084, 1, x_1076); -lean_ctor_set(x_1084, 2, x_1081); -lean_ctor_set(x_1084, 3, x_1082); -x_1085 = lean_st_ref_set(x_9, x_1084, x_1079); -x_1086 = lean_ctor_get(x_1085, 1); -lean_inc(x_1086); -lean_dec(x_1085); -x_828 = x_1074; -x_829 = x_1086; -goto block_1051; +lean_dec(x_1081); +x_825 = x_1070; +x_826 = x_1082; +goto block_1048; } else { -lean_object* x_1087; -lean_dec(x_810); +lean_object* x_1083; +lean_dec(x_807); lean_dec(x_21); lean_dec(x_19); lean_dec(x_2); -x_1087 = lean_ctor_get(x_1073, 0); -lean_inc(x_1087); -lean_dec(x_1073); -if (lean_obj_tag(x_1087) == 0) +x_1083 = lean_ctor_get(x_1069, 0); +lean_inc(x_1083); +lean_dec(x_1069); +if (lean_obj_tag(x_1083) == 0) { -lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; -x_1088 = lean_ctor_get(x_1087, 0); -lean_inc(x_1088); -x_1089 = lean_ctor_get(x_1087, 1); -lean_inc(x_1089); -lean_dec(x_1087); -x_1090 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1090, 0, x_1089); -x_1091 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1091, 0, x_1090); -x_1092 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1088, x_1091, x_3, x_4, x_5, x_6, x_7, x_795, x_9, x_1061); +lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; +x_1084 = lean_ctor_get(x_1083, 0); +lean_inc(x_1084); +x_1085 = lean_ctor_get(x_1083, 1); +lean_inc(x_1085); +lean_dec(x_1083); +x_1086 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1086, 0, x_1085); +x_1087 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1087, 0, x_1086); +x_1088 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1084, x_1087, x_3, x_4, x_5, x_6, x_7, x_792, x_9, x_1063); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1088); -x_1093 = lean_ctor_get(x_1092, 0); -lean_inc(x_1093); -x_1094 = lean_ctor_get(x_1092, 1); -lean_inc(x_1094); -if (lean_is_exclusive(x_1092)) { - lean_ctor_release(x_1092, 0); - lean_ctor_release(x_1092, 1); - x_1095 = x_1092; +lean_dec(x_1084); +x_1089 = lean_ctor_get(x_1088, 0); +lean_inc(x_1089); +x_1090 = lean_ctor_get(x_1088, 1); +lean_inc(x_1090); +if (lean_is_exclusive(x_1088)) { + lean_ctor_release(x_1088, 0); + lean_ctor_release(x_1088, 1); + x_1091 = x_1088; } else { - lean_dec_ref(x_1092); - x_1095 = lean_box(0); + lean_dec_ref(x_1088); + x_1091 = lean_box(0); } -if (lean_is_scalar(x_1095)) { - x_1096 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1091)) { + x_1092 = lean_alloc_ctor(1, 2, 0); } else { - x_1096 = x_1095; + x_1092 = x_1091; } -lean_ctor_set(x_1096, 0, x_1093); -lean_ctor_set(x_1096, 1, x_1094); -return x_1096; +lean_ctor_set(x_1092, 0, x_1089); +lean_ctor_set(x_1092, 1, x_1090); +return x_1092; } else { -lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; -lean_dec(x_795); +lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; +lean_dec(x_792); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_1097 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_1061); -x_1098 = lean_ctor_get(x_1097, 0); -lean_inc(x_1098); -x_1099 = lean_ctor_get(x_1097, 1); -lean_inc(x_1099); -if (lean_is_exclusive(x_1097)) { - lean_ctor_release(x_1097, 0); - lean_ctor_release(x_1097, 1); - x_1100 = x_1097; +x_1093 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_1063); +x_1094 = lean_ctor_get(x_1093, 0); +lean_inc(x_1094); +x_1095 = lean_ctor_get(x_1093, 1); +lean_inc(x_1095); +if (lean_is_exclusive(x_1093)) { + lean_ctor_release(x_1093, 0); + lean_ctor_release(x_1093, 1); + x_1096 = x_1093; } else { - lean_dec_ref(x_1097); - x_1100 = lean_box(0); + lean_dec_ref(x_1093); + x_1096 = lean_box(0); } -if (lean_is_scalar(x_1100)) { - x_1101 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1096)) { + x_1097 = lean_alloc_ctor(1, 2, 0); } else { - x_1101 = x_1100; + x_1097 = x_1096; } -lean_ctor_set(x_1101, 0, x_1098); -lean_ctor_set(x_1101, 1, x_1099); -return x_1101; +lean_ctor_set(x_1097, 0, x_1094); +lean_ctor_set(x_1097, 1, x_1095); +return x_1097; } } -block_1051: +block_1048: { -lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; uint8_t x_867; -x_830 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_795, x_9, x_829); +lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; uint8_t x_864; +x_827 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_792, x_9, x_826); +x_828 = lean_ctor_get(x_827, 0); +lean_inc(x_828); +x_829 = lean_ctor_get(x_827, 1); +lean_inc(x_829); +lean_dec(x_827); +x_830 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_829); x_831 = lean_ctor_get(x_830, 0); lean_inc(x_831); x_832 = lean_ctor_get(x_830, 1); lean_inc(x_832); lean_dec(x_830); -x_833 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_832); +x_833 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_832); x_834 = lean_ctor_get(x_833, 0); lean_inc(x_834); x_835 = lean_ctor_get(x_833, 1); lean_inc(x_835); lean_dec(x_833); -x_836 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_835); -x_837 = lean_ctor_get(x_836, 0); -lean_inc(x_837); -x_838 = lean_ctor_get(x_836, 1); -lean_inc(x_838); -lean_dec(x_836); -x_839 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; -lean_inc(x_831); -x_840 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_840, 0, x_831); -lean_ctor_set(x_840, 1, x_839); -x_841 = l_Array_empty___closed__1; -x_842 = lean_array_push(x_841, x_840); -x_843 = lean_array_push(x_842, x_21); -lean_inc(x_810); -x_844 = lean_array_push(x_843, x_810); -x_845 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_831); -x_846 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_846, 0, x_831); -lean_ctor_set(x_846, 1, x_845); -x_847 = lean_array_push(x_841, x_846); -x_848 = lean_array_push(x_841, x_19); -x_849 = l_Lean_addMacroScope(x_837, x_823, x_834); -lean_inc(x_831); -x_850 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_850, 0, x_831); -lean_ctor_set(x_850, 1, x_826); -lean_ctor_set(x_850, 2, x_849); -lean_ctor_set(x_850, 3, x_825); -x_851 = lean_array_push(x_848, x_850); -x_852 = l_Lean_nullKind___closed__2; -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_852); -lean_ctor_set(x_853, 1, x_851); -x_854 = lean_array_push(x_841, x_853); -x_855 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -x_856 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_856, 0, x_831); -lean_ctor_set(x_856, 1, x_855); -x_857 = lean_array_push(x_854, x_856); -x_858 = lean_array_push(x_857, x_828); -x_859 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +x_836 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; +lean_inc(x_828); +x_837 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_837, 0, x_828); +lean_ctor_set(x_837, 1, x_836); +x_838 = l_Array_empty___closed__1; +x_839 = lean_array_push(x_838, x_837); +x_840 = lean_array_push(x_839, x_21); +lean_inc(x_807); +x_841 = lean_array_push(x_840, x_807); +x_842 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_828); +x_843 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_843, 0, x_828); +lean_ctor_set(x_843, 1, x_842); +x_844 = lean_array_push(x_838, x_843); +x_845 = lean_array_push(x_838, x_19); +x_846 = l_Lean_addMacroScope(x_834, x_820, x_831); +lean_inc(x_828); +x_847 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_847, 0, x_828); +lean_ctor_set(x_847, 1, x_823); +lean_ctor_set(x_847, 2, x_846); +lean_ctor_set(x_847, 3, x_822); +x_848 = lean_array_push(x_845, x_847); +x_849 = l_Lean_nullKind___closed__2; +x_850 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_850, 0, x_849); +lean_ctor_set(x_850, 1, x_848); +x_851 = lean_array_push(x_838, x_850); +x_852 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +x_853 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_853, 0, x_828); +lean_ctor_set(x_853, 1, x_852); +x_854 = lean_array_push(x_851, x_853); +x_855 = lean_array_push(x_854, x_825); +x_856 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +x_857 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_857, 0, x_856); +lean_ctor_set(x_857, 1, x_855); +x_858 = lean_array_push(x_844, x_857); +x_859 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; x_860 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_860, 0, x_859); lean_ctor_set(x_860, 1, x_858); -x_861 = lean_array_push(x_847, x_860); -x_862 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_861 = lean_array_push(x_841, x_860); +x_862 = l_Lean_Parser_Term_forInMacro___elambda__1___closed__2; x_863 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_863, 0, x_862); lean_ctor_set(x_863, 1, x_861); -x_864 = lean_array_push(x_844, x_863); -x_865 = l_Lean_Parser_Term_forInMacro___elambda__1___closed__2; -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_865); -lean_ctor_set(x_866, 1, x_864); -x_867 = l_List_isEmpty___rarg(x_2); -if (x_867 == 0) +x_864 = l_List_isEmpty___rarg(x_2); +if (x_864 == 0) { -lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; -x_868 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_795, x_9, x_838); +lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; +x_865 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_792, x_9, x_835); +x_866 = lean_ctor_get(x_865, 0); +lean_inc(x_866); +x_867 = lean_ctor_get(x_865, 1); +lean_inc(x_867); +lean_dec(x_865); +x_868 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_867); x_869 = lean_ctor_get(x_868, 0); lean_inc(x_869); x_870 = lean_ctor_get(x_868, 1); lean_inc(x_870); lean_dec(x_868); -x_871 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_870); +x_871 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_870); x_872 = lean_ctor_get(x_871, 0); lean_inc(x_872); x_873 = lean_ctor_get(x_871, 1); lean_inc(x_873); lean_dec(x_871); -x_874 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_873); -x_875 = lean_ctor_get(x_874, 0); -lean_inc(x_875); -x_876 = lean_ctor_get(x_874, 1); -lean_inc(x_876); -lean_dec(x_874); -x_877 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; -lean_inc(x_869); +x_874 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +lean_inc(x_866); +x_875 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_875, 0, x_866); +lean_ctor_set(x_875, 1, x_874); +x_876 = lean_array_push(x_838, x_875); +x_877 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_866); x_878 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_878, 0, x_869); +lean_ctor_set(x_878, 0, x_866); lean_ctor_set(x_878, 1, x_877); -x_879 = lean_array_push(x_841, x_878); -x_880 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; -lean_inc(x_869); -x_881 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_881, 0, x_869); -lean_ctor_set(x_881, 1, x_880); -x_882 = lean_array_push(x_841, x_881); -x_883 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_884 = lean_array_push(x_882, x_883); -x_885 = l_Lean_addMacroScope(x_875, x_823, x_872); -lean_inc(x_869); -x_886 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_886, 0, x_869); -lean_ctor_set(x_886, 1, x_826); -lean_ctor_set(x_886, 2, x_885); -lean_ctor_set(x_886, 3, x_825); -lean_inc(x_886); -x_887 = lean_array_push(x_841, x_886); -x_888 = lean_array_push(x_887, x_883); -x_889 = l_Lean_Parser_Tactic_rwRule___closed__3; -lean_inc(x_869); -x_890 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_890, 0, x_869); -lean_ctor_set(x_890, 1, x_889); -x_891 = lean_array_push(x_888, x_890); -x_892 = lean_array_push(x_841, x_866); -x_893 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; +x_879 = lean_array_push(x_838, x_878); +x_880 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_881 = lean_array_push(x_879, x_880); +x_882 = l_Lean_addMacroScope(x_872, x_820, x_869); +lean_inc(x_866); +x_883 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_883, 0, x_866); +lean_ctor_set(x_883, 1, x_823); +lean_ctor_set(x_883, 2, x_882); +lean_ctor_set(x_883, 3, x_822); +lean_inc(x_883); +x_884 = lean_array_push(x_838, x_883); +x_885 = lean_array_push(x_884, x_880); +x_886 = l_Lean_Parser_Tactic_rwRule___closed__3; +lean_inc(x_866); +x_887 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_887, 0, x_866); +lean_ctor_set(x_887, 1, x_886); +x_888 = lean_array_push(x_885, x_887); +x_889 = lean_array_push(x_838, x_863); +x_890 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; +x_891 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_891, 0, x_890); +lean_ctor_set(x_891, 1, x_889); +x_892 = lean_array_push(x_888, x_891); +x_893 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; x_894 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_894, 0, x_893); lean_ctor_set(x_894, 1, x_892); -x_895 = lean_array_push(x_891, x_894); -x_896 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_895 = lean_array_push(x_881, x_894); +x_896 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; x_897 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_897, 0, x_896); lean_ctor_set(x_897, 1, x_895); -x_898 = lean_array_push(x_884, x_897); -x_899 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; -x_900 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_900, 0, x_899); -lean_ctor_set(x_900, 1, x_898); -x_901 = lean_array_push(x_841, x_900); -x_902 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; -lean_inc(x_869); -x_903 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_903, 0, x_869); -lean_ctor_set(x_903, 1, x_902); -x_904 = lean_array_push(x_841, x_903); +x_898 = lean_array_push(x_838, x_897); +x_899 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; +lean_inc(x_866); +x_900 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_900, 0, x_866); +lean_ctor_set(x_900, 1, x_899); +x_901 = lean_array_push(x_838, x_900); +x_902 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_902, 0, x_849); +lean_ctor_set(x_902, 1, x_901); +x_903 = lean_array_push(x_898, x_902); +x_904 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; x_905 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_905, 0, x_852); -lean_ctor_set(x_905, 1, x_904); -x_906 = lean_array_push(x_901, x_905); -x_907 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; -x_908 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_908, 0, x_907); -lean_ctor_set(x_908, 1, x_906); -x_909 = lean_array_push(x_841, x_908); -x_910 = lean_array_push(x_841, x_810); -x_911 = lean_array_push(x_910, x_883); -x_912 = lean_array_push(x_911, x_883); -x_913 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -x_914 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_914, 0, x_869); -lean_ctor_set(x_914, 1, x_913); -x_915 = lean_array_push(x_912, x_914); -x_916 = lean_array_push(x_915, x_886); -x_917 = l_Lean_Parser_Term_letPatDecl___closed__2; +lean_ctor_set(x_905, 0, x_904); +lean_ctor_set(x_905, 1, x_903); +x_906 = lean_array_push(x_838, x_905); +x_907 = lean_array_push(x_838, x_807); +x_908 = lean_array_push(x_907, x_880); +x_909 = lean_array_push(x_908, x_880); +x_910 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +x_911 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_911, 0, x_866); +lean_ctor_set(x_911, 1, x_910); +x_912 = lean_array_push(x_909, x_911); +x_913 = lean_array_push(x_912, x_883); +x_914 = l_Lean_Parser_Term_letPatDecl___closed__2; +x_915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_915, 0, x_914); +lean_ctor_set(x_915, 1, x_913); +x_916 = lean_array_push(x_838, x_915); +x_917 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; x_918 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_918, 0, x_917); lean_ctor_set(x_918, 1, x_916); -x_919 = lean_array_push(x_841, x_918); -x_920 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_919 = lean_array_push(x_838, x_918); +x_920 = lean_array_push(x_919, x_880); x_921 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_921, 0, x_920); -lean_ctor_set(x_921, 1, x_919); -x_922 = lean_array_push(x_841, x_921); -x_923 = lean_array_push(x_922, x_883); -x_924 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_924, 0, x_907); -lean_ctor_set(x_924, 1, x_923); -x_925 = lean_array_push(x_909, x_924); +lean_ctor_set(x_921, 0, x_904); +lean_ctor_set(x_921, 1, x_920); +x_922 = lean_array_push(x_906, x_921); +x_923 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_923, 0, x_849); +lean_ctor_set(x_923, 1, x_922); +x_924 = lean_array_push(x_838, x_923); +x_925 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; x_926 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_926, 0, x_852); -lean_ctor_set(x_926, 1, x_925); -x_927 = lean_array_push(x_841, x_926); -x_928 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; +lean_ctor_set(x_926, 0, x_925); +lean_ctor_set(x_926, 1, x_924); +x_927 = lean_array_push(x_876, x_926); +x_928 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; x_929 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_929, 0, x_928); lean_ctor_set(x_929, 1, x_927); -x_930 = lean_array_push(x_879, x_929); -x_931 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; -x_932 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_932, 0, x_931); -lean_ctor_set(x_932, 1, x_930); -x_933 = l_Lean_Syntax_getArg(x_932, x_11); -lean_dec(x_932); -x_934 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_933); -x_935 = l_List_append___rarg(x_934, x_2); -x_936 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_935, x_3, x_4, x_5, x_6, x_7, x_795, x_9, x_876); -return x_936; +x_930 = l_Lean_Syntax_getArg(x_929, x_11); +lean_dec(x_929); +x_931 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_930); +x_932 = l_List_append___rarg(x_931, x_2); +x_933 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_932, x_3, x_4, x_5, x_6, x_7, x_792, x_9, x_873); +return x_933; } else { -lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; +lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_dec(x_2); -x_937 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_795, x_9, x_838); +x_934 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_792, x_9, x_835); +x_935 = lean_ctor_get(x_934, 0); +lean_inc(x_935); +x_936 = lean_ctor_get(x_934, 1); +lean_inc(x_936); +lean_dec(x_934); +x_937 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_936); x_938 = lean_ctor_get(x_937, 0); lean_inc(x_938); x_939 = lean_ctor_get(x_937, 1); lean_inc(x_939); lean_dec(x_937); -x_940 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_939); +x_940 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_939); x_941 = lean_ctor_get(x_940, 0); lean_inc(x_941); x_942 = lean_ctor_get(x_940, 1); lean_inc(x_942); lean_dec(x_940); -x_943 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_942); -x_944 = lean_ctor_get(x_943, 0); -lean_inc(x_944); -x_945 = lean_ctor_get(x_943, 1); -lean_inc(x_945); -lean_dec(x_943); -x_946 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; -lean_inc(x_938); +x_943 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +lean_inc(x_935); +x_944 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_944, 0, x_935); +lean_ctor_set(x_944, 1, x_943); +x_945 = lean_array_push(x_838, x_944); +x_946 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_935); x_947 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_947, 0, x_938); +lean_ctor_set(x_947, 0, x_935); lean_ctor_set(x_947, 1, x_946); -x_948 = lean_array_push(x_841, x_947); -x_949 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +x_948 = lean_array_push(x_838, x_947); +x_949 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_950 = lean_array_push(x_948, x_949); lean_inc(x_938); -x_950 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_950, 0, x_938); -lean_ctor_set(x_950, 1, x_949); -x_951 = lean_array_push(x_841, x_950); -x_952 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_953 = lean_array_push(x_951, x_952); lean_inc(x_941); -lean_inc(x_944); -x_954 = l_Lean_addMacroScope(x_944, x_823, x_941); -lean_inc(x_938); -x_955 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_955, 0, x_938); -lean_ctor_set(x_955, 1, x_826); -lean_ctor_set(x_955, 2, x_954); -lean_ctor_set(x_955, 3, x_825); -lean_inc(x_955); -x_956 = lean_array_push(x_841, x_955); -x_957 = lean_array_push(x_956, x_952); -x_958 = l_Lean_Parser_Tactic_rwRule___closed__3; -lean_inc(x_938); -x_959 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_959, 0, x_938); -lean_ctor_set(x_959, 1, x_958); -x_960 = lean_array_push(x_957, x_959); -x_961 = lean_array_push(x_841, x_866); -x_962 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; +x_951 = l_Lean_addMacroScope(x_941, x_820, x_938); +lean_inc(x_935); +x_952 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_952, 0, x_935); +lean_ctor_set(x_952, 1, x_823); +lean_ctor_set(x_952, 2, x_951); +lean_ctor_set(x_952, 3, x_822); +lean_inc(x_952); +x_953 = lean_array_push(x_838, x_952); +x_954 = lean_array_push(x_953, x_949); +x_955 = l_Lean_Parser_Tactic_rwRule___closed__3; +lean_inc(x_935); +x_956 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_956, 0, x_935); +lean_ctor_set(x_956, 1, x_955); +x_957 = lean_array_push(x_954, x_956); +x_958 = lean_array_push(x_838, x_863); +x_959 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; +x_960 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_960, 0, x_959); +lean_ctor_set(x_960, 1, x_958); +x_961 = lean_array_push(x_957, x_960); +x_962 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; x_963 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_963, 0, x_962); lean_ctor_set(x_963, 1, x_961); -x_964 = lean_array_push(x_960, x_963); -x_965 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_964 = lean_array_push(x_950, x_963); +x_965 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; x_966 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_966, 0, x_965); lean_ctor_set(x_966, 1, x_964); -x_967 = lean_array_push(x_953, x_966); -x_968 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; -x_969 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_969, 0, x_968); -lean_ctor_set(x_969, 1, x_967); -x_970 = lean_array_push(x_841, x_969); -x_971 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; -lean_inc(x_938); -x_972 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_972, 0, x_938); -lean_ctor_set(x_972, 1, x_971); -x_973 = lean_array_push(x_841, x_972); +x_967 = lean_array_push(x_838, x_966); +x_968 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; +lean_inc(x_935); +x_969 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_969, 0, x_935); +lean_ctor_set(x_969, 1, x_968); +x_970 = lean_array_push(x_838, x_969); +x_971 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_971, 0, x_849); +lean_ctor_set(x_971, 1, x_970); +lean_inc(x_971); +x_972 = lean_array_push(x_967, x_971); +x_973 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; x_974 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_974, 0, x_852); -lean_ctor_set(x_974, 1, x_973); -lean_inc(x_974); -x_975 = lean_array_push(x_970, x_974); -x_976 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; -x_977 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_977, 0, x_976); -lean_ctor_set(x_977, 1, x_975); -x_978 = lean_array_push(x_841, x_977); -x_979 = lean_array_push(x_841, x_810); -x_980 = lean_array_push(x_979, x_952); -x_981 = lean_array_push(x_980, x_952); -x_982 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_938); -x_983 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_983, 0, x_938); -lean_ctor_set(x_983, 1, x_982); -x_984 = lean_array_push(x_981, x_983); -x_985 = lean_array_push(x_984, x_955); -x_986 = l_Lean_Parser_Term_letPatDecl___closed__2; +lean_ctor_set(x_974, 0, x_973); +lean_ctor_set(x_974, 1, x_972); +x_975 = lean_array_push(x_838, x_974); +x_976 = lean_array_push(x_838, x_807); +x_977 = lean_array_push(x_976, x_949); +x_978 = lean_array_push(x_977, x_949); +x_979 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_935); +x_980 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_980, 0, x_935); +lean_ctor_set(x_980, 1, x_979); +x_981 = lean_array_push(x_978, x_980); +x_982 = lean_array_push(x_981, x_952); +x_983 = l_Lean_Parser_Term_letPatDecl___closed__2; +x_984 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_984, 0, x_983); +lean_ctor_set(x_984, 1, x_982); +x_985 = lean_array_push(x_838, x_984); +x_986 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; x_987 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_987, 0, x_986); lean_ctor_set(x_987, 1, x_985); -x_988 = lean_array_push(x_841, x_987); -x_989 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_988 = lean_array_push(x_838, x_987); +x_989 = lean_array_push(x_988, x_971); x_990 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_990, 0, x_989); -lean_ctor_set(x_990, 1, x_988); -x_991 = lean_array_push(x_841, x_990); -x_992 = lean_array_push(x_991, x_974); -x_993 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_993, 0, x_976); -lean_ctor_set(x_993, 1, x_992); -x_994 = lean_array_push(x_978, x_993); -x_995 = l_Lean_Meta_mkPure___closed__4; +lean_ctor_set(x_990, 0, x_973); +lean_ctor_set(x_990, 1, x_989); +x_991 = lean_array_push(x_975, x_990); +x_992 = l_Lean_Meta_mkPure___closed__4; +lean_inc(x_938); lean_inc(x_941); -lean_inc(x_944); -x_996 = l_Lean_addMacroScope(x_944, x_995, x_941); -x_997 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; -x_998 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; -lean_inc(x_938); -x_999 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_999, 0, x_938); -lean_ctor_set(x_999, 1, x_997); -lean_ctor_set(x_999, 2, x_996); -lean_ctor_set(x_999, 3, x_998); -x_1000 = lean_array_push(x_841, x_999); -x_1001 = l_prec_x28___x29___closed__3; -lean_inc(x_938); +x_993 = l_Lean_addMacroScope(x_941, x_992, x_938); +x_994 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; +x_995 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; +lean_inc(x_935); +x_996 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_996, 0, x_935); +lean_ctor_set(x_996, 1, x_994); +lean_ctor_set(x_996, 2, x_993); +lean_ctor_set(x_996, 3, x_995); +x_997 = lean_array_push(x_838, x_996); +x_998 = l_prec_x28___x29___closed__3; +lean_inc(x_935); +x_999 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_999, 0, x_935); +lean_ctor_set(x_999, 1, x_998); +x_1000 = lean_array_push(x_838, x_999); +x_1001 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; +lean_inc(x_935); x_1002 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1002, 0, x_938); +lean_ctor_set(x_1002, 0, x_935); lean_ctor_set(x_1002, 1, x_1001); -x_1003 = lean_array_push(x_841, x_1002); -x_1004 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; -lean_inc(x_938); +x_1003 = lean_array_push(x_838, x_1002); +x_1004 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; +lean_inc(x_935); x_1005 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1005, 0, x_938); +lean_ctor_set(x_1005, 0, x_935); lean_ctor_set(x_1005, 1, x_1004); -x_1006 = lean_array_push(x_841, x_1005); -x_1007 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; -lean_inc(x_938); -x_1008 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1008, 0, x_938); -lean_ctor_set(x_1008, 1, x_1007); -x_1009 = lean_array_push(x_841, x_1008); -x_1010 = l_Lean_strLitKind___closed__2; -x_1011 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1011, 0, x_1010); -lean_ctor_set(x_1011, 1, x_1009); -x_1012 = lean_array_push(x_1006, x_1011); -x_1013 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -x_1014 = l_Lean_addMacroScope(x_944, x_1013, x_941); -x_1015 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__5; -x_1016 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8; -lean_inc(x_938); -x_1017 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1017, 0, x_938); +x_1006 = lean_array_push(x_838, x_1005); +x_1007 = l_Lean_strLitKind___closed__2; +x_1008 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1008, 0, x_1007); +lean_ctor_set(x_1008, 1, x_1006); +x_1009 = lean_array_push(x_1003, x_1008); +x_1010 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +x_1011 = l_Lean_addMacroScope(x_941, x_1010, x_938); +x_1012 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__5; +x_1013 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8; +lean_inc(x_935); +x_1014 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1014, 0, x_935); +lean_ctor_set(x_1014, 1, x_1012); +lean_ctor_set(x_1014, 2, x_1011); +lean_ctor_set(x_1014, 3, x_1013); +x_1015 = lean_array_push(x_1009, x_1014); +x_1016 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_1017 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1017, 0, x_1016); lean_ctor_set(x_1017, 1, x_1015); -lean_ctor_set(x_1017, 2, x_1014); -lean_ctor_set(x_1017, 3, x_1016); -x_1018 = lean_array_push(x_1012, x_1017); -x_1019 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_1018 = lean_array_push(x_838, x_1017); +x_1019 = lean_array_push(x_1018, x_949); x_1020 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1020, 0, x_1019); -lean_ctor_set(x_1020, 1, x_1018); -x_1021 = lean_array_push(x_841, x_1020); -x_1022 = lean_array_push(x_1021, x_952); -x_1023 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1023, 0, x_852); +lean_ctor_set(x_1020, 0, x_849); +lean_ctor_set(x_1020, 1, x_1019); +x_1021 = lean_array_push(x_1000, x_1020); +x_1022 = l_prec_x28___x29___closed__7; +x_1023 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1023, 0, x_935); lean_ctor_set(x_1023, 1, x_1022); -x_1024 = lean_array_push(x_1003, x_1023); -x_1025 = l_prec_x28___x29___closed__7; -x_1026 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1026, 0, x_938); -lean_ctor_set(x_1026, 1, x_1025); -x_1027 = lean_array_push(x_1024, x_1026); -x_1028 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_1029 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1029, 0, x_1028); -lean_ctor_set(x_1029, 1, x_1027); -x_1030 = lean_array_push(x_841, x_1029); +x_1024 = lean_array_push(x_1021, x_1023); +x_1025 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1026 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1026, 0, x_1025); +lean_ctor_set(x_1026, 1, x_1024); +x_1027 = lean_array_push(x_838, x_1026); +x_1028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1028, 0, x_849); +lean_ctor_set(x_1028, 1, x_1027); +x_1029 = lean_array_push(x_997, x_1028); +x_1030 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; x_1031 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1031, 0, x_852); -lean_ctor_set(x_1031, 1, x_1030); -x_1032 = lean_array_push(x_1000, x_1031); -x_1033 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; -x_1034 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1034, 0, x_1033); -lean_ctor_set(x_1034, 1, x_1032); -x_1035 = lean_array_push(x_841, x_1034); +lean_ctor_set(x_1031, 0, x_1030); +lean_ctor_set(x_1031, 1, x_1029); +x_1032 = lean_array_push(x_838, x_1031); +x_1033 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1033, 0, x_959); +lean_ctor_set(x_1033, 1, x_1032); +x_1034 = lean_array_push(x_838, x_1033); +x_1035 = lean_array_push(x_1034, x_949); x_1036 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1036, 0, x_962); +lean_ctor_set(x_1036, 0, x_973); lean_ctor_set(x_1036, 1, x_1035); -x_1037 = lean_array_push(x_841, x_1036); -x_1038 = lean_array_push(x_1037, x_952); -x_1039 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1039, 0, x_976); -lean_ctor_set(x_1039, 1, x_1038); -x_1040 = lean_array_push(x_994, x_1039); +x_1037 = lean_array_push(x_991, x_1036); +x_1038 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1038, 0, x_849); +lean_ctor_set(x_1038, 1, x_1037); +x_1039 = lean_array_push(x_838, x_1038); +x_1040 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; x_1041 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1041, 0, x_852); -lean_ctor_set(x_1041, 1, x_1040); -x_1042 = lean_array_push(x_841, x_1041); -x_1043 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; +lean_ctor_set(x_1041, 0, x_1040); +lean_ctor_set(x_1041, 1, x_1039); +x_1042 = lean_array_push(x_945, x_1041); +x_1043 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; x_1044 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1044, 0, x_1043); lean_ctor_set(x_1044, 1, x_1042); -x_1045 = lean_array_push(x_948, x_1044); -x_1046 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; -x_1047 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1047, 0, x_1046); -lean_ctor_set(x_1047, 1, x_1045); -x_1048 = l_Lean_Syntax_getArg(x_1047, x_11); -lean_dec(x_1047); -x_1049 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1048); -x_1050 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1049, x_3, x_4, x_5, x_6, x_7, x_795, x_9, x_945); -return x_1050; +x_1045 = l_Lean_Syntax_getArg(x_1044, x_11); +lean_dec(x_1044); +x_1046 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1045); +x_1047 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1046, x_3, x_4, x_5, x_6, x_7, x_792, x_9, x_942); +return x_1047; } } } else { -lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; -x_1102 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_795, x_9, x_811); -x_1103 = lean_ctor_get(x_1102, 0); +lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; +x_1098 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_792, x_9, x_808); +x_1099 = lean_ctor_get(x_1098, 0); +lean_inc(x_1099); +x_1100 = lean_ctor_get(x_1098, 1); +lean_inc(x_1100); +lean_dec(x_1098); +x_1101 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_1100); +x_1102 = lean_ctor_get(x_1101, 0); +lean_inc(x_1102); +x_1103 = lean_ctor_get(x_1101, 1); lean_inc(x_1103); -x_1104 = lean_ctor_get(x_1102, 1); -lean_inc(x_1104); -lean_dec(x_1102); -x_1105 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_1104); -x_1106 = lean_ctor_get(x_1105, 0); +lean_dec(x_1101); +x_1104 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1103); +x_1105 = lean_ctor_get(x_1104, 0); +lean_inc(x_1105); +x_1106 = lean_ctor_get(x_1104, 1); lean_inc(x_1106); -x_1107 = lean_ctor_get(x_1105, 1); -lean_inc(x_1107); -lean_dec(x_1105); -x_1108 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1107); -x_1109 = lean_ctor_get(x_1108, 0); -lean_inc(x_1109); -x_1110 = lean_ctor_get(x_1108, 1); -lean_inc(x_1110); -lean_dec(x_1108); -x_1111 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; -x_1112 = l_Lean_addMacroScope(x_1109, x_1111, x_1106); -x_1113 = lean_box(0); -x_1114 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; -x_1115 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1115, 0, x_1103); -lean_ctor_set(x_1115, 1, x_1114); -lean_ctor_set(x_1115, 2, x_1112); -lean_ctor_set(x_1115, 3, x_1113); -x_1422 = lean_st_ref_get(x_9, x_1110); -x_1423 = lean_ctor_get(x_1422, 0); -lean_inc(x_1423); -x_1424 = lean_ctor_get(x_1422, 1); -lean_inc(x_1424); -lean_dec(x_1422); -x_1425 = lean_ctor_get(x_1423, 0); -lean_inc(x_1425); -lean_dec(x_1423); -x_1426 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_1424); -x_1427 = lean_ctor_get(x_1426, 0); -lean_inc(x_1427); -x_1428 = lean_ctor_get(x_1426, 1); +lean_dec(x_1104); +x_1107 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__7; +x_1108 = l_Lean_addMacroScope(x_1105, x_1107, x_1102); +x_1109 = lean_box(0); +x_1110 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__6; +x_1111 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1111, 0, x_1099); +lean_ctor_set(x_1111, 1, x_1110); +lean_ctor_set(x_1111, 2, x_1108); +lean_ctor_set(x_1111, 3, x_1109); +x_1418 = lean_st_ref_get(x_9, x_1106); +x_1419 = lean_ctor_get(x_1418, 0); +lean_inc(x_1419); +x_1420 = lean_ctor_get(x_1418, 1); +lean_inc(x_1420); +lean_dec(x_1418); +x_1421 = lean_ctor_get(x_1419, 0); +lean_inc(x_1421); +lean_dec(x_1419); +lean_inc(x_1421); +x_1422 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_1422, 0, x_1421); +x_1423 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_1423, 0, x_787); +lean_inc(x_1421); +x_1424 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_1424, 0, x_1421); +x_1425 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_1425, 0, x_1422); +lean_ctor_set(x_1425, 1, x_1423); +lean_ctor_set(x_1425, 2, x_1424); +x_1426 = x_1425; +x_1427 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_1420); +x_1428 = lean_ctor_get(x_1427, 0); lean_inc(x_1428); -lean_dec(x_1426); -x_1429 = lean_st_ref_get(x_9, x_1428); -x_1430 = lean_ctor_get(x_1429, 0); -lean_inc(x_1430); -x_1431 = lean_ctor_get(x_1429, 1); +x_1429 = lean_ctor_get(x_1427, 1); +lean_inc(x_1429); +lean_dec(x_1427); +x_1430 = lean_st_ref_get(x_9, x_1429); +x_1431 = lean_ctor_get(x_1430, 0); lean_inc(x_1431); -lean_dec(x_1429); x_1432 = lean_ctor_get(x_1430, 1); lean_inc(x_1432); lean_dec(x_1430); -lean_inc(x_1425); -x_1433 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_1433, 0, x_1425); +x_1433 = lean_ctor_get(x_1431, 1); lean_inc(x_1433); -x_1434 = x_1433; -lean_inc(x_1425); -x_1435 = lean_environment_main_module(x_1425); -x_1436 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_1436, 0, x_790); -x_1437 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_1437, 0, x_1425); -x_1438 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_1438, 0, x_1433); -lean_ctor_set(x_1438, 1, x_1436); -lean_ctor_set(x_1438, 2, x_1437); -x_1439 = x_1438; -x_1440 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_1440, 0, x_1434); -lean_ctor_set(x_1440, 1, x_1435); -lean_ctor_set(x_1440, 2, x_1427); -lean_ctor_set(x_1440, 3, x_787); -lean_ctor_set(x_1440, 4, x_788); -lean_ctor_set(x_1440, 5, x_794); -lean_ctor_set(x_1440, 6, x_1439); -x_1441 = lean_box(0); -x_1442 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1442, 0, x_1432); -lean_ctor_set(x_1442, 1, x_1441); -x_1443 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_807, x_1115, x_808, x_1440, x_1442); -if (lean_obj_tag(x_1443) == 0) +lean_dec(x_1431); +x_1434 = lean_environment_main_module(x_1421); +lean_inc(x_1426); +x_1435 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_1435, 0, x_1426); +lean_ctor_set(x_1435, 1, x_1434); +lean_ctor_set(x_1435, 2, x_1428); +lean_ctor_set(x_1435, 3, x_784); +lean_ctor_set(x_1435, 4, x_785); +lean_ctor_set(x_1435, 5, x_791); +lean_ctor_set(x_1435, 6, x_1426); +x_1436 = lean_box(0); +x_1437 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1437, 0, x_1433); +lean_ctor_set(x_1437, 1, x_1436); +x_1438 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple(x_804, x_1111, x_805, x_1435, x_1437); +if (lean_obj_tag(x_1438) == 0) { -lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; -x_1444 = lean_ctor_get(x_1443, 0); +lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; +x_1439 = lean_ctor_get(x_1438, 0); +lean_inc(x_1439); +x_1440 = lean_ctor_get(x_1438, 1); +lean_inc(x_1440); +lean_dec(x_1438); +x_1441 = lean_ctor_get(x_1440, 0); +lean_inc(x_1441); +lean_dec(x_1440); +x_1442 = lean_st_ref_take(x_9, x_1432); +x_1443 = lean_ctor_get(x_1442, 0); +lean_inc(x_1443); +x_1444 = lean_ctor_get(x_1442, 1); lean_inc(x_1444); -x_1445 = lean_ctor_get(x_1443, 1); +lean_dec(x_1442); +x_1445 = lean_ctor_get(x_1443, 0); lean_inc(x_1445); -lean_dec(x_1443); -x_1446 = lean_ctor_get(x_1445, 0); +x_1446 = lean_ctor_get(x_1443, 2); lean_inc(x_1446); -lean_dec(x_1445); -x_1447 = lean_st_ref_take(x_9, x_1431); -x_1448 = lean_ctor_get(x_1447, 0); -lean_inc(x_1448); -x_1449 = lean_ctor_get(x_1447, 1); -lean_inc(x_1449); -lean_dec(x_1447); -x_1450 = lean_ctor_get(x_1448, 0); -lean_inc(x_1450); -x_1451 = lean_ctor_get(x_1448, 2); +x_1447 = lean_ctor_get(x_1443, 3); +lean_inc(x_1447); +if (lean_is_exclusive(x_1443)) { + lean_ctor_release(x_1443, 0); + lean_ctor_release(x_1443, 1); + lean_ctor_release(x_1443, 2); + lean_ctor_release(x_1443, 3); + x_1448 = x_1443; +} else { + lean_dec_ref(x_1443); + x_1448 = lean_box(0); +} +if (lean_is_scalar(x_1448)) { + x_1449 = lean_alloc_ctor(0, 4, 0); +} else { + x_1449 = x_1448; +} +lean_ctor_set(x_1449, 0, x_1445); +lean_ctor_set(x_1449, 1, x_1441); +lean_ctor_set(x_1449, 2, x_1446); +lean_ctor_set(x_1449, 3, x_1447); +x_1450 = lean_st_ref_set(x_9, x_1449, x_1444); +x_1451 = lean_ctor_get(x_1450, 1); lean_inc(x_1451); -x_1452 = lean_ctor_get(x_1448, 3); -lean_inc(x_1452); -if (lean_is_exclusive(x_1448)) { - lean_ctor_release(x_1448, 0); - lean_ctor_release(x_1448, 1); - lean_ctor_release(x_1448, 2); - lean_ctor_release(x_1448, 3); - x_1453 = x_1448; -} else { - lean_dec_ref(x_1448); - x_1453 = lean_box(0); -} -if (lean_is_scalar(x_1453)) { - x_1454 = lean_alloc_ctor(0, 4, 0); -} else { - x_1454 = x_1453; -} -lean_ctor_set(x_1454, 0, x_1450); -lean_ctor_set(x_1454, 1, x_1446); -lean_ctor_set(x_1454, 2, x_1451); -lean_ctor_set(x_1454, 3, x_1452); -x_1455 = lean_st_ref_set(x_9, x_1454, x_1449); -x_1456 = lean_ctor_get(x_1455, 1); -lean_inc(x_1456); -lean_dec(x_1455); -x_1116 = x_1444; -x_1117 = x_1456; -goto block_1421; +lean_dec(x_1450); +x_1112 = x_1439; +x_1113 = x_1451; +goto block_1417; } else { -lean_object* x_1457; -lean_dec(x_810); +lean_object* x_1452; +lean_dec(x_807); lean_dec(x_21); lean_dec(x_19); lean_dec(x_2); -x_1457 = lean_ctor_get(x_1443, 0); -lean_inc(x_1457); -lean_dec(x_1443); -if (lean_obj_tag(x_1457) == 0) +x_1452 = lean_ctor_get(x_1438, 0); +lean_inc(x_1452); +lean_dec(x_1438); +if (lean_obj_tag(x_1452) == 0) { -lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; -x_1458 = lean_ctor_get(x_1457, 0); -lean_inc(x_1458); -x_1459 = lean_ctor_get(x_1457, 1); -lean_inc(x_1459); -lean_dec(x_1457); -x_1460 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1460, 0, x_1459); -x_1461 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1461, 0, x_1460); -x_1462 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1458, x_1461, x_3, x_4, x_5, x_6, x_7, x_795, x_9, x_1431); +lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; +x_1453 = lean_ctor_get(x_1452, 0); +lean_inc(x_1453); +x_1454 = lean_ctor_get(x_1452, 1); +lean_inc(x_1454); +lean_dec(x_1452); +x_1455 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1455, 0, x_1454); +x_1456 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1456, 0, x_1455); +x_1457 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__1(x_1453, x_1456, x_3, x_4, x_5, x_6, x_7, x_792, x_9, x_1432); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1458); +lean_dec(x_1453); +x_1458 = lean_ctor_get(x_1457, 0); +lean_inc(x_1458); +x_1459 = lean_ctor_get(x_1457, 1); +lean_inc(x_1459); +if (lean_is_exclusive(x_1457)) { + lean_ctor_release(x_1457, 0); + lean_ctor_release(x_1457, 1); + x_1460 = x_1457; +} else { + lean_dec_ref(x_1457); + x_1460 = lean_box(0); +} +if (lean_is_scalar(x_1460)) { + x_1461 = lean_alloc_ctor(1, 2, 0); +} else { + x_1461 = x_1460; +} +lean_ctor_set(x_1461, 0, x_1458); +lean_ctor_set(x_1461, 1, x_1459); +return x_1461; +} +else +{ +lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; +lean_dec(x_792); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_1462 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_1432); x_1463 = lean_ctor_get(x_1462, 0); lean_inc(x_1463); x_1464 = lean_ctor_get(x_1462, 1); @@ -60972,641 +60982,609 @@ lean_ctor_set(x_1466, 0, x_1463); lean_ctor_set(x_1466, 1, x_1464); return x_1466; } -else +} +block_1417: { -lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; -lean_dec(x_795); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_1467 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__3___rarg(x_1431); -x_1468 = lean_ctor_get(x_1467, 0); -lean_inc(x_1468); -x_1469 = lean_ctor_get(x_1467, 1); -lean_inc(x_1469); -if (lean_is_exclusive(x_1467)) { - lean_ctor_release(x_1467, 0); - lean_ctor_release(x_1467, 1); - x_1470 = x_1467; -} else { - lean_dec_ref(x_1467); - x_1470 = lean_box(0); -} -if (lean_is_scalar(x_1470)) { - x_1471 = lean_alloc_ctor(1, 2, 0); -} else { - x_1471 = x_1470; -} -lean_ctor_set(x_1471, 0, x_1468); -lean_ctor_set(x_1471, 1, x_1469); -return x_1471; -} -} -block_1421: -{ -lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; -x_1118 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_795, x_9, x_1117); -x_1119 = lean_ctor_get(x_1118, 0); +lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; +x_1114 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_792, x_9, x_1113); +x_1115 = lean_ctor_get(x_1114, 0); +lean_inc(x_1115); +x_1116 = lean_ctor_get(x_1114, 1); +lean_inc(x_1116); +lean_dec(x_1114); +x_1117 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_1116); +x_1118 = lean_ctor_get(x_1117, 0); +lean_inc(x_1118); +x_1119 = lean_ctor_get(x_1117, 1); lean_inc(x_1119); -x_1120 = lean_ctor_get(x_1118, 1); -lean_inc(x_1120); -lean_dec(x_1118); -x_1121 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_1120); -x_1122 = lean_ctor_get(x_1121, 0); +lean_dec(x_1117); +x_1120 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1119); +x_1121 = lean_ctor_get(x_1120, 0); +lean_inc(x_1121); +x_1122 = lean_ctor_get(x_1120, 1); lean_inc(x_1122); -x_1123 = lean_ctor_get(x_1121, 1); -lean_inc(x_1123); -lean_dec(x_1121); -x_1124 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1123); -x_1125 = lean_ctor_get(x_1124, 0); -lean_inc(x_1125); -x_1126 = lean_ctor_get(x_1124, 1); -lean_inc(x_1126); -lean_dec(x_1124); -x_1127 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; -lean_inc(x_1119); -x_1128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1128, 0, x_1119); -lean_ctor_set(x_1128, 1, x_1127); -x_1129 = l_Array_empty___closed__1; -x_1130 = lean_array_push(x_1129, x_1128); -x_1131 = lean_array_push(x_1130, x_21); -x_1132 = l_prec_x28___x29___closed__3; -lean_inc(x_1119); -x_1133 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1133, 0, x_1119); -lean_ctor_set(x_1133, 1, x_1132); -x_1134 = lean_array_push(x_1129, x_1133); -x_1135 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; -lean_inc(x_1122); -lean_inc(x_1125); -x_1136 = l_Lean_addMacroScope(x_1125, x_1135, x_1122); -x_1137 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; -x_1138 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; -lean_inc(x_1119); -x_1139 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1139, 0, x_1119); -lean_ctor_set(x_1139, 1, x_1137); -lean_ctor_set(x_1139, 2, x_1136); -lean_ctor_set(x_1139, 3, x_1138); -x_1140 = lean_array_push(x_1129, x_1139); -x_1141 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -lean_inc(x_1122); -lean_inc(x_1125); -x_1142 = l_Lean_addMacroScope(x_1125, x_1141, x_1122); -x_1143 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; -x_1144 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; -lean_inc(x_1119); -x_1145 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1145, 0, x_1119); +lean_dec(x_1120); +x_1123 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__1; +lean_inc(x_1115); +x_1124 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1124, 0, x_1115); +lean_ctor_set(x_1124, 1, x_1123); +x_1125 = l_Array_empty___closed__1; +x_1126 = lean_array_push(x_1125, x_1124); +x_1127 = lean_array_push(x_1126, x_21); +x_1128 = l_prec_x28___x29___closed__3; +lean_inc(x_1115); +x_1129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1129, 0, x_1115); +lean_ctor_set(x_1129, 1, x_1128); +x_1130 = lean_array_push(x_1125, x_1129); +x_1131 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__6; +lean_inc(x_1118); +lean_inc(x_1121); +x_1132 = l_Lean_addMacroScope(x_1121, x_1131, x_1118); +x_1133 = l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__3; +x_1134 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__2; +lean_inc(x_1115); +x_1135 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1135, 0, x_1115); +lean_ctor_set(x_1135, 1, x_1133); +lean_ctor_set(x_1135, 2, x_1132); +lean_ctor_set(x_1135, 3, x_1134); +x_1136 = lean_array_push(x_1125, x_1135); +x_1137 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +lean_inc(x_1118); +lean_inc(x_1121); +x_1138 = l_Lean_addMacroScope(x_1121, x_1137, x_1118); +x_1139 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; +x_1140 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; +lean_inc(x_1115); +x_1141 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1141, 0, x_1115); +lean_ctor_set(x_1141, 1, x_1139); +lean_ctor_set(x_1141, 2, x_1138); +lean_ctor_set(x_1141, 3, x_1140); +x_1142 = lean_array_push(x_1125, x_1141); +lean_inc(x_807); +x_1143 = lean_array_push(x_1142, x_807); +x_1144 = l_Lean_nullKind___closed__2; +x_1145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1145, 0, x_1144); lean_ctor_set(x_1145, 1, x_1143); -lean_ctor_set(x_1145, 2, x_1142); -lean_ctor_set(x_1145, 3, x_1144); -x_1146 = lean_array_push(x_1129, x_1145); -lean_inc(x_810); -x_1147 = lean_array_push(x_1146, x_810); -x_1148 = l_Lean_nullKind___closed__2; -x_1149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1149, 0, x_1148); -lean_ctor_set(x_1149, 1, x_1147); -x_1150 = lean_array_push(x_1140, x_1149); -x_1151 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +x_1146 = lean_array_push(x_1136, x_1145); +x_1147 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +x_1148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1148, 0, x_1147); +lean_ctor_set(x_1148, 1, x_1146); +x_1149 = lean_array_push(x_1125, x_1148); +x_1150 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1151 = lean_array_push(x_1149, x_1150); x_1152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1152, 0, x_1151); -lean_ctor_set(x_1152, 1, x_1150); -x_1153 = lean_array_push(x_1129, x_1152); -x_1154 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; -x_1155 = lean_array_push(x_1153, x_1154); -x_1156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1156, 0, x_1148); -lean_ctor_set(x_1156, 1, x_1155); -x_1157 = lean_array_push(x_1134, x_1156); -x_1158 = l_prec_x28___x29___closed__7; -lean_inc(x_1119); -x_1159 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1159, 0, x_1119); -lean_ctor_set(x_1159, 1, x_1158); -x_1160 = lean_array_push(x_1157, x_1159); -x_1161 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; -x_1162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1162, 0, x_1161); -lean_ctor_set(x_1162, 1, x_1160); -x_1163 = lean_array_push(x_1131, x_1162); -x_1164 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; -lean_inc(x_1119); -x_1165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1165, 0, x_1119); -lean_ctor_set(x_1165, 1, x_1164); -x_1166 = lean_array_push(x_1129, x_1165); -x_1167 = lean_array_push(x_1129, x_19); -x_1168 = l_Lean_addMacroScope(x_1125, x_1111, x_1122); -lean_inc(x_1119); -x_1169 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1169, 0, x_1119); -lean_ctor_set(x_1169, 1, x_1114); -lean_ctor_set(x_1169, 2, x_1168); -lean_ctor_set(x_1169, 3, x_1113); -lean_inc(x_1169); -x_1170 = lean_array_push(x_1167, x_1169); -x_1171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1171, 0, x_1148); -lean_ctor_set(x_1171, 1, x_1170); -x_1172 = lean_array_push(x_1129, x_1171); -x_1173 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_1119); -x_1174 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1174, 0, x_1119); -lean_ctor_set(x_1174, 1, x_1173); -x_1175 = lean_array_push(x_1172, x_1174); -x_1176 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; -lean_inc(x_1119); -x_1177 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1177, 0, x_1119); -lean_ctor_set(x_1177, 1, x_1176); -x_1178 = lean_array_push(x_1129, x_1177); -x_1179 = lean_array_push(x_1129, x_1169); -lean_inc(x_1179); -x_1180 = lean_array_push(x_1179, x_1154); -x_1181 = lean_array_push(x_1180, x_1154); -x_1182 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_1119); -x_1183 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1183, 0, x_1119); -lean_ctor_set(x_1183, 1, x_1182); -x_1184 = lean_array_push(x_1181, x_1183); -x_1185 = l_Lean_Name_toString___closed__1; -lean_inc(x_1119); -x_1186 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1186, 0, x_1119); -lean_ctor_set(x_1186, 1, x_1185); -x_1187 = lean_array_push(x_1179, x_1186); -x_1188 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__7; -lean_inc(x_1119); -x_1189 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1189, 0, x_1119); -lean_ctor_set(x_1189, 1, x_1188); -x_1190 = lean_array_push(x_1129, x_1189); -x_1191 = l_Lean_fieldIdxKind___closed__2; -x_1192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1192, 0, x_1191); -lean_ctor_set(x_1192, 1, x_1190); -x_1193 = lean_array_push(x_1187, x_1192); -x_1194 = l_Lean_Parser_Term_proj___elambda__1___closed__1; -x_1195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1195, 0, x_1194); -lean_ctor_set(x_1195, 1, x_1193); -x_1196 = lean_array_push(x_1184, x_1195); -x_1197 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; -x_1198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1198, 0, x_1197); -lean_ctor_set(x_1198, 1, x_1196); -x_1199 = lean_array_push(x_1129, x_1198); -x_1200 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; -x_1201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1201, 0, x_1200); -lean_ctor_set(x_1201, 1, x_1199); -x_1202 = lean_array_push(x_1178, x_1201); -x_1203 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; -x_1204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1204, 0, x_1119); -lean_ctor_set(x_1204, 1, x_1203); -x_1205 = lean_array_push(x_1129, x_1204); +lean_ctor_set(x_1152, 0, x_1144); +lean_ctor_set(x_1152, 1, x_1151); +x_1153 = lean_array_push(x_1130, x_1152); +x_1154 = l_prec_x28___x29___closed__7; +lean_inc(x_1115); +x_1155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1155, 0, x_1115); +lean_ctor_set(x_1155, 1, x_1154); +x_1156 = lean_array_push(x_1153, x_1155); +x_1157 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +x_1158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1158, 0, x_1157); +lean_ctor_set(x_1158, 1, x_1156); +x_1159 = lean_array_push(x_1127, x_1158); +x_1160 = l_myMacro____x40_Init_Notation___hyg_13376____closed__9; +lean_inc(x_1115); +x_1161 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1161, 0, x_1115); +lean_ctor_set(x_1161, 1, x_1160); +x_1162 = lean_array_push(x_1125, x_1161); +x_1163 = lean_array_push(x_1125, x_19); +x_1164 = l_Lean_addMacroScope(x_1121, x_1107, x_1118); +lean_inc(x_1115); +x_1165 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1165, 0, x_1115); +lean_ctor_set(x_1165, 1, x_1110); +lean_ctor_set(x_1165, 2, x_1164); +lean_ctor_set(x_1165, 3, x_1109); +lean_inc(x_1165); +x_1166 = lean_array_push(x_1163, x_1165); +x_1167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1167, 0, x_1144); +lean_ctor_set(x_1167, 1, x_1166); +x_1168 = lean_array_push(x_1125, x_1167); +x_1169 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1115); +x_1170 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1170, 0, x_1115); +lean_ctor_set(x_1170, 1, x_1169); +x_1171 = lean_array_push(x_1168, x_1170); +x_1172 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_1115); +x_1173 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1173, 0, x_1115); +lean_ctor_set(x_1173, 1, x_1172); +x_1174 = lean_array_push(x_1125, x_1173); +x_1175 = lean_array_push(x_1125, x_1165); +lean_inc(x_1175); +x_1176 = lean_array_push(x_1175, x_1150); +x_1177 = lean_array_push(x_1176, x_1150); +x_1178 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1115); +x_1179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1179, 0, x_1115); +lean_ctor_set(x_1179, 1, x_1178); +x_1180 = lean_array_push(x_1177, x_1179); +x_1181 = l_Lean_Name_toString___closed__1; +lean_inc(x_1115); +x_1182 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1182, 0, x_1115); +lean_ctor_set(x_1182, 1, x_1181); +x_1183 = lean_array_push(x_1175, x_1182); +x_1184 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__7; +lean_inc(x_1115); +x_1185 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1185, 0, x_1115); +lean_ctor_set(x_1185, 1, x_1184); +x_1186 = lean_array_push(x_1125, x_1185); +x_1187 = l_Lean_fieldIdxKind___closed__2; +x_1188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1188, 0, x_1187); +lean_ctor_set(x_1188, 1, x_1186); +x_1189 = lean_array_push(x_1183, x_1188); +x_1190 = l_Lean_Parser_Term_proj___elambda__1___closed__1; +x_1191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1191, 0, x_1190); +lean_ctor_set(x_1191, 1, x_1189); +x_1192 = lean_array_push(x_1180, x_1191); +x_1193 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; +x_1194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1194, 0, x_1193); +lean_ctor_set(x_1194, 1, x_1192); +x_1195 = lean_array_push(x_1125, x_1194); +x_1196 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; +x_1197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1197, 0, x_1196); +lean_ctor_set(x_1197, 1, x_1195); +x_1198 = lean_array_push(x_1174, x_1197); +x_1199 = l_myMacro____x40_Init_Notation___hyg_15449____closed__12; +x_1200 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1200, 0, x_1115); +lean_ctor_set(x_1200, 1, x_1199); +x_1201 = lean_array_push(x_1125, x_1200); +x_1202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1202, 0, x_1144); +lean_ctor_set(x_1202, 1, x_1201); +x_1203 = lean_array_push(x_1198, x_1202); +x_1204 = lean_array_push(x_1203, x_1112); +x_1205 = l_myMacro____x40_Init_Notation___hyg_15449____closed__2; x_1206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1206, 0, x_1148); -lean_ctor_set(x_1206, 1, x_1205); -x_1207 = lean_array_push(x_1202, x_1206); -x_1208 = lean_array_push(x_1207, x_1116); -x_1209 = l_myMacro____x40_Init_Notation___hyg_15449____closed__2; -x_1210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1210, 0, x_1209); -lean_ctor_set(x_1210, 1, x_1208); -x_1211 = lean_array_push(x_1175, x_1210); -x_1212 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; -x_1213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1213, 0, x_1212); -lean_ctor_set(x_1213, 1, x_1211); -x_1214 = lean_array_push(x_1166, x_1213); -x_1215 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; -x_1216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1216, 0, x_1215); -lean_ctor_set(x_1216, 1, x_1214); -x_1217 = lean_array_push(x_1163, x_1216); -x_1218 = l_Lean_Parser_Term_forInMacro___elambda__1___closed__2; -x_1219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1219, 0, x_1218); -lean_ctor_set(x_1219, 1, x_1217); -x_1220 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_795, x_9, x_1126); -x_1221 = lean_ctor_get(x_1220, 0); +lean_ctor_set(x_1206, 0, x_1205); +lean_ctor_set(x_1206, 1, x_1204); +x_1207 = lean_array_push(x_1171, x_1206); +x_1208 = l_myMacro____x40_Init_Notation___hyg_13376____closed__12; +x_1209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1209, 0, x_1208); +lean_ctor_set(x_1209, 1, x_1207); +x_1210 = lean_array_push(x_1162, x_1209); +x_1211 = l_myMacro____x40_Init_Notation___hyg_13376____closed__10; +x_1212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1212, 0, x_1211); +lean_ctor_set(x_1212, 1, x_1210); +x_1213 = lean_array_push(x_1159, x_1212); +x_1214 = l_Lean_Parser_Term_forInMacro___elambda__1___closed__2; +x_1215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1215, 0, x_1214); +lean_ctor_set(x_1215, 1, x_1213); +x_1216 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_792, x_9, x_1122); +x_1217 = lean_ctor_get(x_1216, 0); +lean_inc(x_1217); +x_1218 = lean_ctor_get(x_1216, 1); +lean_inc(x_1218); +lean_dec(x_1216); +x_1219 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_792, x_9, x_1218); +x_1220 = lean_ctor_get(x_1219, 0); +lean_inc(x_1220); +x_1221 = lean_ctor_get(x_1219, 1); lean_inc(x_1221); -x_1222 = lean_ctor_get(x_1220, 1); -lean_inc(x_1222); -lean_dec(x_1220); -x_1223 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_795, x_9, x_1222); -x_1224 = lean_ctor_get(x_1223, 0); +lean_dec(x_1219); +x_1222 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1221); +x_1223 = lean_ctor_get(x_1222, 0); +lean_inc(x_1223); +x_1224 = lean_ctor_get(x_1222, 1); lean_inc(x_1224); -x_1225 = lean_ctor_get(x_1223, 1); -lean_inc(x_1225); -lean_dec(x_1223); -x_1226 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1225); -x_1227 = lean_ctor_get(x_1226, 0); -lean_inc(x_1227); -x_1228 = lean_ctor_get(x_1226, 1); -lean_inc(x_1228); -lean_dec(x_1226); -x_1229 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; -lean_inc(x_1221); -x_1230 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1230, 0, x_1221); -lean_ctor_set(x_1230, 1, x_1229); -x_1231 = lean_array_push(x_1129, x_1230); -lean_inc(x_1221); -x_1232 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1232, 0, x_1221); -lean_ctor_set(x_1232, 1, x_1176); -x_1233 = lean_array_push(x_1129, x_1232); -x_1234 = lean_array_push(x_1233, x_1154); -lean_inc(x_1224); -lean_inc(x_1227); -x_1235 = l_Lean_addMacroScope(x_1227, x_1111, x_1224); -lean_inc(x_1221); -x_1236 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1236, 0, x_1221); -lean_ctor_set(x_1236, 1, x_1114); -lean_ctor_set(x_1236, 2, x_1235); -lean_ctor_set(x_1236, 3, x_1113); -x_1237 = lean_array_push(x_1129, x_1236); -lean_inc(x_1237); -x_1238 = lean_array_push(x_1237, x_1154); -x_1239 = l_Lean_Parser_Tactic_rwRule___closed__3; -lean_inc(x_1221); -x_1240 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1240, 0, x_1221); -lean_ctor_set(x_1240, 1, x_1239); -x_1241 = lean_array_push(x_1238, x_1240); -x_1242 = lean_array_push(x_1129, x_1219); -x_1243 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; -x_1244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1244, 0, x_1243); -lean_ctor_set(x_1244, 1, x_1242); -x_1245 = lean_array_push(x_1241, x_1244); -x_1246 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; -x_1247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1247, 0, x_1246); -lean_ctor_set(x_1247, 1, x_1245); -x_1248 = lean_array_push(x_1234, x_1247); -x_1249 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +lean_dec(x_1222); +x_1225 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +lean_inc(x_1217); +x_1226 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1226, 0, x_1217); +lean_ctor_set(x_1226, 1, x_1225); +x_1227 = lean_array_push(x_1125, x_1226); +lean_inc(x_1217); +x_1228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1228, 0, x_1217); +lean_ctor_set(x_1228, 1, x_1172); +x_1229 = lean_array_push(x_1125, x_1228); +x_1230 = lean_array_push(x_1229, x_1150); +lean_inc(x_1220); +lean_inc(x_1223); +x_1231 = l_Lean_addMacroScope(x_1223, x_1107, x_1220); +lean_inc(x_1217); +x_1232 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1232, 0, x_1217); +lean_ctor_set(x_1232, 1, x_1110); +lean_ctor_set(x_1232, 2, x_1231); +lean_ctor_set(x_1232, 3, x_1109); +x_1233 = lean_array_push(x_1125, x_1232); +lean_inc(x_1233); +x_1234 = lean_array_push(x_1233, x_1150); +x_1235 = l_Lean_Parser_Tactic_rwRule___closed__3; +lean_inc(x_1217); +x_1236 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1236, 0, x_1217); +lean_ctor_set(x_1236, 1, x_1235); +x_1237 = lean_array_push(x_1234, x_1236); +x_1238 = lean_array_push(x_1125, x_1215); +x_1239 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__13; +x_1240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1240, 0, x_1239); +lean_ctor_set(x_1240, 1, x_1238); +x_1241 = lean_array_push(x_1237, x_1240); +x_1242 = l_Lean_Parser_Term_doIdDecl___elambda__1___closed__2; +x_1243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1243, 0, x_1242); +lean_ctor_set(x_1243, 1, x_1241); +x_1244 = lean_array_push(x_1230, x_1243); +x_1245 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; +x_1246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1246, 0, x_1245); +lean_ctor_set(x_1246, 1, x_1244); +x_1247 = lean_array_push(x_1125, x_1246); +lean_inc(x_1217); +x_1248 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1248, 0, x_1217); +lean_ctor_set(x_1248, 1, x_1199); +x_1249 = lean_array_push(x_1125, x_1248); x_1250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1250, 0, x_1249); -lean_ctor_set(x_1250, 1, x_1248); -x_1251 = lean_array_push(x_1129, x_1250); -lean_inc(x_1221); -x_1252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1252, 0, x_1221); -lean_ctor_set(x_1252, 1, x_1203); -x_1253 = lean_array_push(x_1129, x_1252); -x_1254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1254, 0, x_1148); -lean_ctor_set(x_1254, 1, x_1253); -lean_inc(x_1254); -x_1255 = lean_array_push(x_1251, x_1254); -x_1256 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; -x_1257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1257, 0, x_1256); -lean_ctor_set(x_1257, 1, x_1255); -x_1258 = lean_array_push(x_1129, x_1257); -x_1259 = lean_array_push(x_1129, x_810); -x_1260 = lean_array_push(x_1259, x_1154); -x_1261 = lean_array_push(x_1260, x_1154); -lean_inc(x_1221); +lean_ctor_set(x_1250, 0, x_1144); +lean_ctor_set(x_1250, 1, x_1249); +lean_inc(x_1250); +x_1251 = lean_array_push(x_1247, x_1250); +x_1252 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; +x_1253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1253, 0, x_1252); +lean_ctor_set(x_1253, 1, x_1251); +x_1254 = lean_array_push(x_1125, x_1253); +x_1255 = lean_array_push(x_1125, x_807); +x_1256 = lean_array_push(x_1255, x_1150); +x_1257 = lean_array_push(x_1256, x_1150); +lean_inc(x_1217); +x_1258 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1258, 0, x_1217); +lean_ctor_set(x_1258, 1, x_1178); +x_1259 = lean_array_push(x_1257, x_1258); +lean_inc(x_1217); +x_1260 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1260, 0, x_1217); +lean_ctor_set(x_1260, 1, x_1181); +x_1261 = lean_array_push(x_1233, x_1260); +lean_inc(x_1217); x_1262 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1262, 0, x_1221); -lean_ctor_set(x_1262, 1, x_1182); -x_1263 = lean_array_push(x_1261, x_1262); -lean_inc(x_1221); -x_1264 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1264, 0, x_1221); -lean_ctor_set(x_1264, 1, x_1185); -x_1265 = lean_array_push(x_1237, x_1264); -lean_inc(x_1221); -x_1266 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1266, 0, x_1221); -lean_ctor_set(x_1266, 1, x_1188); -x_1267 = lean_array_push(x_1129, x_1266); -x_1268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1268, 0, x_1191); -lean_ctor_set(x_1268, 1, x_1267); -lean_inc(x_1265); -x_1269 = lean_array_push(x_1265, x_1268); -x_1270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1270, 0, x_1194); -lean_ctor_set(x_1270, 1, x_1269); -x_1271 = lean_array_push(x_1263, x_1270); -x_1272 = l_Lean_Parser_Term_letPatDecl___closed__2; -x_1273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1273, 0, x_1272); -lean_ctor_set(x_1273, 1, x_1271); -x_1274 = lean_array_push(x_1129, x_1273); -x_1275 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_1276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1276, 0, x_1275); -lean_ctor_set(x_1276, 1, x_1274); -x_1277 = lean_array_push(x_1129, x_1276); -x_1278 = lean_array_push(x_1277, x_1254); -x_1279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1279, 0, x_1256); -lean_ctor_set(x_1279, 1, x_1278); -x_1280 = lean_array_push(x_1258, x_1279); -x_1281 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; -lean_inc(x_1221); +lean_ctor_set(x_1262, 0, x_1217); +lean_ctor_set(x_1262, 1, x_1184); +x_1263 = lean_array_push(x_1125, x_1262); +x_1264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1264, 0, x_1187); +lean_ctor_set(x_1264, 1, x_1263); +lean_inc(x_1261); +x_1265 = lean_array_push(x_1261, x_1264); +x_1266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1266, 0, x_1190); +lean_ctor_set(x_1266, 1, x_1265); +x_1267 = lean_array_push(x_1259, x_1266); +x_1268 = l_Lean_Parser_Term_letPatDecl___closed__2; +x_1269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1269, 0, x_1268); +lean_ctor_set(x_1269, 1, x_1267); +x_1270 = lean_array_push(x_1125, x_1269); +x_1271 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_1272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1272, 0, x_1271); +lean_ctor_set(x_1272, 1, x_1270); +x_1273 = lean_array_push(x_1125, x_1272); +x_1274 = lean_array_push(x_1273, x_1250); +x_1275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1275, 0, x_1252); +lean_ctor_set(x_1275, 1, x_1274); +x_1276 = lean_array_push(x_1254, x_1275); +x_1277 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; +lean_inc(x_1217); +x_1278 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1278, 0, x_1217); +lean_ctor_set(x_1278, 1, x_1277); +x_1279 = lean_array_push(x_1125, x_1278); +x_1280 = lean_array_push(x_1279, x_1150); +x_1281 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; +lean_inc(x_1217); x_1282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1282, 0, x_1221); +lean_ctor_set(x_1282, 0, x_1217); lean_ctor_set(x_1282, 1, x_1281); -x_1283 = lean_array_push(x_1129, x_1282); -x_1284 = lean_array_push(x_1283, x_1154); -x_1285 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__6; -lean_inc(x_1221); -x_1286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1286, 0, x_1221); +x_1283 = lean_array_push(x_1125, x_1282); +x_1284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1284, 0, x_1187); +lean_ctor_set(x_1284, 1, x_1283); +x_1285 = lean_array_push(x_1261, x_1284); +x_1286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1286, 0, x_1190); lean_ctor_set(x_1286, 1, x_1285); -x_1287 = lean_array_push(x_1129, x_1286); -x_1288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1288, 0, x_1191); -lean_ctor_set(x_1288, 1, x_1287); -x_1289 = lean_array_push(x_1265, x_1288); +x_1287 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1288 = lean_array_push(x_1287, x_1286); +x_1289 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; x_1290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1290, 0, x_1194); -lean_ctor_set(x_1290, 1, x_1289); -x_1291 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1292 = lean_array_push(x_1291, x_1290); -x_1293 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; -x_1294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1294, 0, x_1293); -lean_ctor_set(x_1294, 1, x_1292); -x_1295 = lean_array_push(x_1129, x_1294); -x_1296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1296, 0, x_1148); +lean_ctor_set(x_1290, 0, x_1289); +lean_ctor_set(x_1290, 1, x_1288); +x_1291 = lean_array_push(x_1125, x_1290); +x_1292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1292, 0, x_1144); +lean_ctor_set(x_1292, 1, x_1291); +x_1293 = lean_array_push(x_1280, x_1292); +x_1294 = lean_array_push(x_1293, x_1150); +x_1295 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +lean_inc(x_1217); +x_1296 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1296, 0, x_1217); lean_ctor_set(x_1296, 1, x_1295); -x_1297 = lean_array_push(x_1284, x_1296); -x_1298 = lean_array_push(x_1297, x_1154); -x_1299 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; -lean_inc(x_1221); -x_1300 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1300, 0, x_1221); -lean_ctor_set(x_1300, 1, x_1299); -x_1301 = lean_array_push(x_1298, x_1300); -x_1302 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_1221); -x_1303 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1303, 0, x_1221); -lean_ctor_set(x_1303, 1, x_1302); -x_1304 = lean_array_push(x_1129, x_1303); -lean_inc(x_1224); -lean_inc(x_1227); -x_1305 = l_Lean_addMacroScope(x_1227, x_1141, x_1224); -lean_inc(x_1221); -x_1306 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1306, 0, x_1221); -lean_ctor_set(x_1306, 1, x_1143); -lean_ctor_set(x_1306, 2, x_1305); -lean_ctor_set(x_1306, 3, x_1144); -x_1307 = lean_array_push(x_1129, x_1306); -x_1308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1308, 0, x_1148); -lean_ctor_set(x_1308, 1, x_1307); -lean_inc(x_1304); -x_1309 = lean_array_push(x_1304, x_1308); -lean_inc(x_1221); -x_1310 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1310, 0, x_1221); -lean_ctor_set(x_1310, 1, x_1173); -lean_inc(x_1310); -x_1311 = lean_array_push(x_1309, x_1310); -x_1312 = l_Lean_Meta_mkPure___closed__4; -lean_inc(x_1224); -lean_inc(x_1227); -x_1313 = l_Lean_addMacroScope(x_1227, x_1312, x_1224); -x_1314 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; -x_1315 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; -lean_inc(x_1221); -x_1316 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1316, 0, x_1221); -lean_ctor_set(x_1316, 1, x_1314); -lean_ctor_set(x_1316, 2, x_1313); -lean_ctor_set(x_1316, 3, x_1315); -x_1317 = lean_array_push(x_1129, x_1316); -lean_inc(x_1221); -x_1318 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1318, 0, x_1221); -lean_ctor_set(x_1318, 1, x_1132); -x_1319 = lean_array_push(x_1129, x_1318); -x_1320 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; -lean_inc(x_1221); -x_1321 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1321, 0, x_1221); -lean_ctor_set(x_1321, 1, x_1320); -x_1322 = lean_array_push(x_1129, x_1321); -x_1323 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; -lean_inc(x_1221); -x_1324 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1324, 0, x_1221); -lean_ctor_set(x_1324, 1, x_1323); -x_1325 = lean_array_push(x_1129, x_1324); -x_1326 = l_Lean_strLitKind___closed__2; -x_1327 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1327, 0, x_1326); -lean_ctor_set(x_1327, 1, x_1325); -x_1328 = lean_array_push(x_1322, x_1327); -x_1329 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; -lean_inc(x_1224); -lean_inc(x_1227); -x_1330 = l_Lean_addMacroScope(x_1227, x_1329, x_1224); -x_1331 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__5; -x_1332 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8; -lean_inc(x_1221); -x_1333 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1333, 0, x_1221); -lean_ctor_set(x_1333, 1, x_1331); -lean_ctor_set(x_1333, 2, x_1330); -lean_ctor_set(x_1333, 3, x_1332); -lean_inc(x_1328); -x_1334 = lean_array_push(x_1328, x_1333); -x_1335 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; -x_1336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1336, 0, x_1335); -lean_ctor_set(x_1336, 1, x_1334); -x_1337 = lean_array_push(x_1129, x_1336); -x_1338 = lean_array_push(x_1337, x_1154); +x_1297 = lean_array_push(x_1294, x_1296); +x_1298 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1217); +x_1299 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1299, 0, x_1217); +lean_ctor_set(x_1299, 1, x_1298); +x_1300 = lean_array_push(x_1125, x_1299); +lean_inc(x_1220); +lean_inc(x_1223); +x_1301 = l_Lean_addMacroScope(x_1223, x_1137, x_1220); +lean_inc(x_1217); +x_1302 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1302, 0, x_1217); +lean_ctor_set(x_1302, 1, x_1139); +lean_ctor_set(x_1302, 2, x_1301); +lean_ctor_set(x_1302, 3, x_1140); +x_1303 = lean_array_push(x_1125, x_1302); +x_1304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1304, 0, x_1144); +lean_ctor_set(x_1304, 1, x_1303); +lean_inc(x_1300); +x_1305 = lean_array_push(x_1300, x_1304); +lean_inc(x_1217); +x_1306 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1306, 0, x_1217); +lean_ctor_set(x_1306, 1, x_1169); +lean_inc(x_1306); +x_1307 = lean_array_push(x_1305, x_1306); +x_1308 = l_Lean_Meta_mkPure___closed__4; +lean_inc(x_1220); +lean_inc(x_1223); +x_1309 = l_Lean_addMacroScope(x_1223, x_1308, x_1220); +x_1310 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__3; +x_1311 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__2; +lean_inc(x_1217); +x_1312 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1312, 0, x_1217); +lean_ctor_set(x_1312, 1, x_1310); +lean_ctor_set(x_1312, 2, x_1309); +lean_ctor_set(x_1312, 3, x_1311); +x_1313 = lean_array_push(x_1125, x_1312); +lean_inc(x_1217); +x_1314 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1314, 0, x_1217); +lean_ctor_set(x_1314, 1, x_1128); +x_1315 = lean_array_push(x_1125, x_1314); +x_1316 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__1; +lean_inc(x_1217); +x_1317 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1317, 0, x_1217); +lean_ctor_set(x_1317, 1, x_1316); +x_1318 = lean_array_push(x_1125, x_1317); +x_1319 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__2; +lean_inc(x_1217); +x_1320 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1320, 0, x_1217); +lean_ctor_set(x_1320, 1, x_1319); +x_1321 = lean_array_push(x_1125, x_1320); +x_1322 = l_Lean_strLitKind___closed__2; +x_1323 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1323, 0, x_1322); +lean_ctor_set(x_1323, 1, x_1321); +x_1324 = lean_array_push(x_1318, x_1323); +x_1325 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__6; +lean_inc(x_1220); +lean_inc(x_1223); +x_1326 = l_Lean_addMacroScope(x_1223, x_1325, x_1220); +x_1327 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__5; +x_1328 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkPureUnit___closed__8; +lean_inc(x_1217); +x_1329 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1329, 0, x_1217); +lean_ctor_set(x_1329, 1, x_1327); +lean_ctor_set(x_1329, 2, x_1326); +lean_ctor_set(x_1329, 3, x_1328); +lean_inc(x_1324); +x_1330 = lean_array_push(x_1324, x_1329); +x_1331 = l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__2; +x_1332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1332, 0, x_1331); +lean_ctor_set(x_1332, 1, x_1330); +x_1333 = lean_array_push(x_1125, x_1332); +x_1334 = lean_array_push(x_1333, x_1150); +x_1335 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1335, 0, x_1144); +lean_ctor_set(x_1335, 1, x_1334); +x_1336 = lean_array_push(x_1315, x_1335); +lean_inc(x_1217); +x_1337 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1337, 0, x_1217); +lean_ctor_set(x_1337, 1, x_1154); +x_1338 = lean_array_push(x_1336, x_1337); x_1339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1339, 0, x_1148); +lean_ctor_set(x_1339, 0, x_1157); lean_ctor_set(x_1339, 1, x_1338); -x_1340 = lean_array_push(x_1319, x_1339); -lean_inc(x_1221); -x_1341 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1341, 0, x_1221); -lean_ctor_set(x_1341, 1, x_1158); -x_1342 = lean_array_push(x_1340, x_1341); +x_1340 = lean_array_push(x_1125, x_1339); +x_1341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1341, 0, x_1144); +lean_ctor_set(x_1341, 1, x_1340); +x_1342 = lean_array_push(x_1313, x_1341); x_1343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1343, 0, x_1161); +lean_ctor_set(x_1343, 0, x_1147); lean_ctor_set(x_1343, 1, x_1342); -x_1344 = lean_array_push(x_1129, x_1343); +x_1344 = lean_array_push(x_1125, x_1343); x_1345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1345, 0, x_1148); +lean_ctor_set(x_1345, 0, x_1239); lean_ctor_set(x_1345, 1, x_1344); -x_1346 = lean_array_push(x_1317, x_1345); -x_1347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1347, 0, x_1151); -lean_ctor_set(x_1347, 1, x_1346); -x_1348 = lean_array_push(x_1129, x_1347); -x_1349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1349, 0, x_1243); -lean_ctor_set(x_1349, 1, x_1348); -x_1350 = lean_array_push(x_1129, x_1349); -x_1351 = lean_array_push(x_1350, x_1154); -x_1352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1352, 0, x_1256); -lean_ctor_set(x_1352, 1, x_1351); -x_1353 = lean_array_push(x_1129, x_1352); -x_1354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1354, 0, x_1148); -lean_ctor_set(x_1354, 1, x_1353); -x_1355 = lean_array_push(x_1129, x_1354); -x_1356 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; -x_1357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1357, 0, x_1356); -lean_ctor_set(x_1357, 1, x_1355); -x_1358 = lean_array_push(x_1311, x_1357); -x_1359 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1360, 0, x_1359); -lean_ctor_set(x_1360, 1, x_1358); -x_1361 = lean_array_push(x_1129, x_1360); -x_1362 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; -lean_inc(x_1224); -lean_inc(x_1227); -x_1363 = l_Lean_addMacroScope(x_1227, x_1362, x_1224); -x_1364 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; -x_1365 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_1221); -x_1366 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1366, 0, x_1221); -lean_ctor_set(x_1366, 1, x_1364); -lean_ctor_set(x_1366, 2, x_1363); -lean_ctor_set(x_1366, 3, x_1365); -x_1367 = lean_array_push(x_1129, x_1366); -x_1368 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__4; -x_1369 = l_Lean_addMacroScope(x_1227, x_1368, x_1224); -x_1370 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__3; -lean_inc(x_1221); -x_1371 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1371, 0, x_1221); +x_1346 = lean_array_push(x_1125, x_1345); +x_1347 = lean_array_push(x_1346, x_1150); +x_1348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1348, 0, x_1252); +lean_ctor_set(x_1348, 1, x_1347); +x_1349 = lean_array_push(x_1125, x_1348); +x_1350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1350, 0, x_1144); +lean_ctor_set(x_1350, 1, x_1349); +x_1351 = lean_array_push(x_1125, x_1350); +x_1352 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; +x_1353 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1353, 0, x_1352); +lean_ctor_set(x_1353, 1, x_1351); +x_1354 = lean_array_push(x_1307, x_1353); +x_1355 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; +x_1356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1356, 0, x_1355); +lean_ctor_set(x_1356, 1, x_1354); +x_1357 = lean_array_push(x_1125, x_1356); +x_1358 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; +lean_inc(x_1220); +lean_inc(x_1223); +x_1359 = l_Lean_addMacroScope(x_1223, x_1358, x_1220); +x_1360 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; +x_1361 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_1217); +x_1362 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1362, 0, x_1217); +lean_ctor_set(x_1362, 1, x_1360); +lean_ctor_set(x_1362, 2, x_1359); +lean_ctor_set(x_1362, 3, x_1361); +x_1363 = lean_array_push(x_1125, x_1362); +x_1364 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__4; +x_1365 = l_Lean_addMacroScope(x_1223, x_1364, x_1220); +x_1366 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_948____closed__3; +lean_inc(x_1217); +x_1367 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1367, 0, x_1217); +lean_ctor_set(x_1367, 1, x_1366); +lean_ctor_set(x_1367, 2, x_1365); +lean_ctor_set(x_1367, 3, x_1109); +lean_inc(x_1367); +x_1368 = lean_array_push(x_1125, x_1367); +x_1369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1369, 0, x_1144); +lean_ctor_set(x_1369, 1, x_1368); +x_1370 = lean_array_push(x_1363, x_1369); +x_1371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1371, 0, x_1147); lean_ctor_set(x_1371, 1, x_1370); -lean_ctor_set(x_1371, 2, x_1369); -lean_ctor_set(x_1371, 3, x_1113); -lean_inc(x_1371); -x_1372 = lean_array_push(x_1129, x_1371); +x_1372 = lean_array_push(x_1125, x_1371); x_1373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1373, 0, x_1148); +lean_ctor_set(x_1373, 0, x_1144); lean_ctor_set(x_1373, 1, x_1372); -x_1374 = lean_array_push(x_1367, x_1373); -x_1375 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1375, 0, x_1151); -lean_ctor_set(x_1375, 1, x_1374); -x_1376 = lean_array_push(x_1129, x_1375); -x_1377 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1377, 0, x_1148); +x_1374 = lean_array_push(x_1300, x_1373); +x_1375 = lean_array_push(x_1374, x_1306); +x_1376 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__4; +x_1377 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1377, 0, x_1217); lean_ctor_set(x_1377, 1, x_1376); -x_1378 = lean_array_push(x_1304, x_1377); -x_1379 = lean_array_push(x_1378, x_1310); -x_1380 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__4; -x_1381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1381, 0, x_1221); -lean_ctor_set(x_1381, 1, x_1380); -x_1382 = lean_array_push(x_1129, x_1381); -x_1383 = lean_array_push(x_1328, x_1371); -x_1384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1384, 0, x_1335); -lean_ctor_set(x_1384, 1, x_1383); -x_1385 = lean_array_push(x_1129, x_1384); -x_1386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1386, 0, x_1148); -lean_ctor_set(x_1386, 1, x_1385); -x_1387 = lean_array_push(x_1382, x_1386); -x_1388 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; -x_1389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1389, 0, x_1388); -lean_ctor_set(x_1389, 1, x_1387); -x_1390 = lean_array_push(x_1129, x_1389); -x_1391 = lean_array_push(x_1390, x_1154); +x_1378 = lean_array_push(x_1125, x_1377); +x_1379 = lean_array_push(x_1324, x_1367); +x_1380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1380, 0, x_1331); +lean_ctor_set(x_1380, 1, x_1379); +x_1381 = lean_array_push(x_1125, x_1380); +x_1382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1382, 0, x_1144); +lean_ctor_set(x_1382, 1, x_1381); +x_1383 = lean_array_push(x_1378, x_1382); +x_1384 = l_Lean_Parser_Term_doReturn___elambda__1___closed__2; +x_1385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1385, 0, x_1384); +lean_ctor_set(x_1385, 1, x_1383); +x_1386 = lean_array_push(x_1125, x_1385); +x_1387 = lean_array_push(x_1386, x_1150); +x_1388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1388, 0, x_1252); +lean_ctor_set(x_1388, 1, x_1387); +x_1389 = lean_array_push(x_1125, x_1388); +x_1390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1390, 0, x_1144); +lean_ctor_set(x_1390, 1, x_1389); +x_1391 = lean_array_push(x_1125, x_1390); x_1392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1392, 0, x_1256); +lean_ctor_set(x_1392, 0, x_1352); lean_ctor_set(x_1392, 1, x_1391); -x_1393 = lean_array_push(x_1129, x_1392); +x_1393 = lean_array_push(x_1375, x_1392); x_1394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1394, 0, x_1148); +lean_ctor_set(x_1394, 0, x_1355); lean_ctor_set(x_1394, 1, x_1393); -x_1395 = lean_array_push(x_1129, x_1394); +x_1395 = lean_array_push(x_1357, x_1394); x_1396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1396, 0, x_1356); +lean_ctor_set(x_1396, 0, x_1144); lean_ctor_set(x_1396, 1, x_1395); -x_1397 = lean_array_push(x_1379, x_1396); -x_1398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1398, 0, x_1359); -lean_ctor_set(x_1398, 1, x_1397); -x_1399 = lean_array_push(x_1361, x_1398); -x_1400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1400, 0, x_1148); -lean_ctor_set(x_1400, 1, x_1399); -x_1401 = lean_array_push(x_1129, x_1400); -x_1402 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; -x_1403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1403, 0, x_1402); -lean_ctor_set(x_1403, 1, x_1401); -x_1404 = lean_array_push(x_1301, x_1403); -x_1405 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; -x_1406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1406, 0, x_1405); -lean_ctor_set(x_1406, 1, x_1404); -x_1407 = lean_array_push(x_1129, x_1406); -x_1408 = lean_array_push(x_1407, x_1154); +x_1397 = lean_array_push(x_1125, x_1396); +x_1398 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1399, 0, x_1398); +lean_ctor_set(x_1399, 1, x_1397); +x_1400 = lean_array_push(x_1297, x_1399); +x_1401 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; +x_1402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1402, 0, x_1401); +lean_ctor_set(x_1402, 1, x_1400); +x_1403 = lean_array_push(x_1125, x_1402); +x_1404 = lean_array_push(x_1403, x_1150); +x_1405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1405, 0, x_1252); +lean_ctor_set(x_1405, 1, x_1404); +x_1406 = lean_array_push(x_1276, x_1405); +x_1407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1407, 0, x_1144); +lean_ctor_set(x_1407, 1, x_1406); +x_1408 = lean_array_push(x_1125, x_1407); x_1409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1409, 0, x_1256); +lean_ctor_set(x_1409, 0, x_1352); lean_ctor_set(x_1409, 1, x_1408); -x_1410 = lean_array_push(x_1280, x_1409); -x_1411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1411, 0, x_1148); -lean_ctor_set(x_1411, 1, x_1410); -x_1412 = lean_array_push(x_1129, x_1411); -x_1413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1413, 0, x_1356); -lean_ctor_set(x_1413, 1, x_1412); -x_1414 = lean_array_push(x_1231, x_1413); -x_1415 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; -x_1416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1416, 0, x_1415); -lean_ctor_set(x_1416, 1, x_1414); -x_1417 = l_Lean_Syntax_getArg(x_1416, x_11); -lean_dec(x_1416); -x_1418 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1417); -x_1419 = l_List_append___rarg(x_1418, x_2); -x_1420 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1419, x_3, x_4, x_5, x_6, x_7, x_795, x_9, x_1228); -return x_1420; +x_1410 = lean_array_push(x_1227, x_1409); +x_1411 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; +x_1412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1412, 0, x_1411); +lean_ctor_set(x_1412, 1, x_1410); +x_1413 = l_Lean_Syntax_getArg(x_1412, x_11); +lean_dec(x_1412); +x_1414 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1413); +x_1415 = l_List_append___rarg(x_1414, x_2); +x_1416 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1415, x_3, x_4, x_5, x_6, x_7, x_792, x_9, x_1224); +return x_1416; } } } else { -lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; -lean_dec(x_808); -lean_dec(x_807); -lean_dec(x_802); -lean_dec(x_795); -lean_dec(x_794); -lean_dec(x_790); -lean_dec(x_788); +lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; +lean_dec(x_805); +lean_dec(x_804); +lean_dec(x_799); +lean_dec(x_792); +lean_dec(x_791); lean_dec(x_787); +lean_dec(x_785); +lean_dec(x_784); lean_dec(x_21); lean_dec(x_19); lean_dec(x_9); @@ -61616,38 +61594,38 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1472 = lean_ctor_get(x_809, 0); -lean_inc(x_1472); -x_1473 = lean_ctor_get(x_809, 1); -lean_inc(x_1473); -if (lean_is_exclusive(x_809)) { - lean_ctor_release(x_809, 0); - lean_ctor_release(x_809, 1); - x_1474 = x_809; +x_1467 = lean_ctor_get(x_806, 0); +lean_inc(x_1467); +x_1468 = lean_ctor_get(x_806, 1); +lean_inc(x_1468); +if (lean_is_exclusive(x_806)) { + lean_ctor_release(x_806, 0); + lean_ctor_release(x_806, 1); + x_1469 = x_806; } else { - lean_dec_ref(x_809); - x_1474 = lean_box(0); + lean_dec_ref(x_806); + x_1469 = lean_box(0); } -if (lean_is_scalar(x_1474)) { - x_1475 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1469)) { + x_1470 = lean_alloc_ctor(1, 2, 0); } else { - x_1475 = x_1474; + x_1470 = x_1469; } -lean_ctor_set(x_1475, 0, x_1472); -lean_ctor_set(x_1475, 1, x_1473); -return x_1475; +lean_ctor_set(x_1470, 0, x_1467); +lean_ctor_set(x_1470, 1, x_1468); +return x_1470; } } } else { -lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; -lean_dec(x_802); -lean_dec(x_795); -lean_dec(x_794); -lean_dec(x_790); -lean_dec(x_788); +lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; +lean_dec(x_799); +lean_dec(x_792); +lean_dec(x_791); lean_dec(x_787); +lean_dec(x_785); +lean_dec(x_784); lean_dec(x_21); lean_dec(x_19); lean_dec(x_9); @@ -61657,1075 +61635,1075 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1531 = lean_ctor_get(x_804, 0); -lean_inc(x_1531); -x_1532 = lean_ctor_get(x_804, 1); -lean_inc(x_1532); -if (lean_is_exclusive(x_804)) { - lean_ctor_release(x_804, 0); - lean_ctor_release(x_804, 1); - x_1533 = x_804; -} else { - lean_dec_ref(x_804); - x_1533 = lean_box(0); -} -if (lean_is_scalar(x_1533)) { - x_1534 = lean_alloc_ctor(1, 2, 0); -} else { - x_1534 = x_1533; -} -lean_ctor_set(x_1534, 0, x_1531); -lean_ctor_set(x_1534, 1, x_1532); -return x_1534; -} -} -else -{ -lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; -lean_dec(x_795); -lean_dec(x_794); -lean_dec(x_790); -lean_dec(x_788); -lean_dec(x_787); -lean_dec(x_21); -lean_dec(x_19); -lean_dec(x_9); -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_1535 = lean_ctor_get(x_801, 0); -lean_inc(x_1535); -x_1536 = lean_ctor_get(x_801, 1); -lean_inc(x_1536); +x_1525 = lean_ctor_get(x_801, 0); +lean_inc(x_1525); +x_1526 = lean_ctor_get(x_801, 1); +lean_inc(x_1526); if (lean_is_exclusive(x_801)) { lean_ctor_release(x_801, 0); lean_ctor_release(x_801, 1); - x_1537 = x_801; + x_1527 = x_801; } else { lean_dec_ref(x_801); - x_1537 = lean_box(0); + x_1527 = lean_box(0); } -if (lean_is_scalar(x_1537)) { - x_1538 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1527)) { + x_1528 = lean_alloc_ctor(1, 2, 0); } else { - x_1538 = x_1537; + x_1528 = x_1527; } -lean_ctor_set(x_1538, 0, x_1535); -lean_ctor_set(x_1538, 1, x_1536); -return x_1538; +lean_ctor_set(x_1528, 0, x_1525); +lean_ctor_set(x_1528, 1, x_1526); +return x_1528; +} +} +else +{ +lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; +lean_dec(x_792); +lean_dec(x_791); +lean_dec(x_787); +lean_dec(x_785); +lean_dec(x_784); +lean_dec(x_21); +lean_dec(x_19); +lean_dec(x_9); +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_1529 = lean_ctor_get(x_798, 0); +lean_inc(x_1529); +x_1530 = lean_ctor_get(x_798, 1); +lean_inc(x_1530); +if (lean_is_exclusive(x_798)) { + lean_ctor_release(x_798, 0); + lean_ctor_release(x_798, 1); + x_1531 = x_798; +} else { + lean_dec_ref(x_798); + x_1531 = lean_box(0); +} +if (lean_is_scalar(x_1531)) { + x_1532 = lean_alloc_ctor(1, 2, 0); +} else { + x_1532 = x_1531; +} +lean_ctor_set(x_1532, 0, x_1529); +lean_ctor_set(x_1532, 1, x_1530); +return x_1532; } } } else { -lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; uint8_t x_1551; -x_1539 = l_Lean_instInhabitedSyntax; -x_1540 = lean_array_get(x_1539, x_13, x_11); -x_1541 = lean_unsigned_to_nat(0u); -x_1542 = l_Lean_Syntax_getArg(x_1540, x_1541); -x_1543 = lean_unsigned_to_nat(2u); -x_1544 = l_Lean_Syntax_getArg(x_1540, x_1543); -lean_dec(x_1540); -x_1545 = l_Array_eraseIdx___rarg(x_13, x_11); -x_1546 = lean_unsigned_to_nat(3u); -x_1547 = l_Lean_Syntax_getArg(x_1, x_1546); -x_1548 = lean_st_ref_take(x_9, x_10); -x_1549 = lean_ctor_get(x_1548, 0); +lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; uint8_t x_1545; +x_1533 = l_Lean_instInhabitedSyntax; +x_1534 = lean_array_get(x_1533, x_13, x_11); +x_1535 = lean_unsigned_to_nat(0u); +x_1536 = l_Lean_Syntax_getArg(x_1534, x_1535); +x_1537 = lean_unsigned_to_nat(2u); +x_1538 = l_Lean_Syntax_getArg(x_1534, x_1537); +lean_dec(x_1534); +x_1539 = l_Array_eraseIdx___rarg(x_13, x_11); +x_1540 = lean_unsigned_to_nat(3u); +x_1541 = l_Lean_Syntax_getArg(x_1, x_1540); +x_1542 = lean_st_ref_take(x_9, x_10); +x_1543 = lean_ctor_get(x_1542, 0); +lean_inc(x_1543); +x_1544 = lean_ctor_get(x_1542, 1); +lean_inc(x_1544); +lean_dec(x_1542); +x_1545 = !lean_is_exclusive(x_1543); +if (x_1545 == 0) +{ +lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; uint8_t x_1550; +x_1546 = lean_ctor_get(x_1543, 1); +x_1547 = lean_nat_add(x_1546, x_11); +lean_ctor_set(x_1543, 1, x_1547); +x_1548 = lean_st_ref_set(x_9, x_1543, x_1544); +x_1549 = lean_ctor_get(x_1548, 1); lean_inc(x_1549); -x_1550 = lean_ctor_get(x_1548, 1); -lean_inc(x_1550); lean_dec(x_1548); -x_1551 = !lean_is_exclusive(x_1549); -if (x_1551 == 0) +x_1550 = !lean_is_exclusive(x_4); +if (x_1550 == 0) { -lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; uint8_t x_1556; -x_1552 = lean_ctor_get(x_1549, 1); -x_1553 = lean_nat_add(x_1552, x_11); -lean_ctor_set(x_1549, 1, x_1553); -x_1554 = lean_st_ref_set(x_9, x_1549, x_1550); -x_1555 = lean_ctor_get(x_1554, 1); +lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; +x_1551 = lean_ctor_get(x_4, 4); +lean_dec(x_1551); +lean_ctor_set(x_4, 4, x_1546); +x_1552 = lean_ctor_get(x_8, 0); +lean_inc(x_1552); +x_1553 = lean_ctor_get(x_8, 1); +lean_inc(x_1553); +x_1554 = lean_ctor_get(x_8, 2); +lean_inc(x_1554); +x_1555 = lean_ctor_get(x_8, 3); lean_inc(x_1555); -lean_dec(x_1554); -x_1556 = !lean_is_exclusive(x_4); -if (x_1556 == 0) -{ -lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; -x_1557 = lean_ctor_get(x_4, 4); -lean_dec(x_1557); -lean_ctor_set(x_4, 4, x_1552); -x_1558 = lean_ctor_get(x_8, 0); +x_1556 = lean_ctor_get(x_8, 4); +lean_inc(x_1556); +x_1557 = lean_ctor_get(x_8, 5); +lean_inc(x_1557); +x_1558 = lean_ctor_get(x_8, 6); lean_inc(x_1558); -x_1559 = lean_ctor_get(x_8, 1); +x_1559 = lean_ctor_get(x_8, 7); lean_inc(x_1559); -x_1560 = lean_ctor_get(x_8, 2); -lean_inc(x_1560); -x_1561 = lean_ctor_get(x_8, 3); -lean_inc(x_1561); -x_1562 = lean_ctor_get(x_8, 4); -lean_inc(x_1562); -x_1563 = lean_ctor_get(x_8, 5); +x_1560 = l_Lean_replaceRef(x_1538, x_1555); +lean_dec(x_1555); +x_1561 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1561, 0, x_1552); +lean_ctor_set(x_1561, 1, x_1553); +lean_ctor_set(x_1561, 2, x_1554); +lean_ctor_set(x_1561, 3, x_1560); +lean_ctor_set(x_1561, 4, x_1556); +lean_ctor_set(x_1561, 5, x_1557); +lean_ctor_set(x_1561, 6, x_1558); +lean_ctor_set(x_1561, 7, x_1559); +x_1562 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_1561, x_9, x_1549); +x_1563 = lean_ctor_get(x_1562, 0); lean_inc(x_1563); -x_1564 = lean_ctor_get(x_8, 6); +x_1564 = lean_ctor_get(x_1562, 1); lean_inc(x_1564); -x_1565 = lean_ctor_get(x_8, 7); -lean_inc(x_1565); -x_1566 = l_Lean_replaceRef(x_1544, x_1561); +lean_dec(x_1562); +x_1565 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1561, x_9, x_1564); lean_dec(x_1561); -x_1567 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1567, 0, x_1558); -lean_ctor_set(x_1567, 1, x_1559); -lean_ctor_set(x_1567, 2, x_1560); -lean_ctor_set(x_1567, 3, x_1566); -lean_ctor_set(x_1567, 4, x_1562); -lean_ctor_set(x_1567, 5, x_1563); -lean_ctor_set(x_1567, 6, x_1564); -lean_ctor_set(x_1567, 7, x_1565); -x_1568 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_1567, x_9, x_1555); +x_1566 = lean_ctor_get(x_1565, 0); +lean_inc(x_1566); +x_1567 = lean_ctor_get(x_1565, 1); +lean_inc(x_1567); +lean_dec(x_1565); +x_1568 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1567); x_1569 = lean_ctor_get(x_1568, 0); lean_inc(x_1569); x_1570 = lean_ctor_get(x_1568, 1); lean_inc(x_1570); lean_dec(x_1568); -x_1571 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1567, x_9, x_1570); -lean_dec(x_1567); -x_1572 = lean_ctor_get(x_1571, 0); -lean_inc(x_1572); -x_1573 = lean_ctor_get(x_1571, 1); -lean_inc(x_1573); -lean_dec(x_1571); -x_1574 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1573); -x_1575 = lean_ctor_get(x_1574, 0); -lean_inc(x_1575); -x_1576 = lean_ctor_get(x_1574, 1); -lean_inc(x_1576); -lean_dec(x_1574); -x_1577 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; -x_1578 = l_Lean_addMacroScope(x_1575, x_1577, x_1572); -x_1579 = lean_box(0); -x_1580 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; -x_1581 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_1582 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1582, 0, x_1569); -lean_ctor_set(x_1582, 1, x_1580); -lean_ctor_set(x_1582, 2, x_1578); -lean_ctor_set(x_1582, 3, x_1581); -x_1583 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_1576); +x_1571 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_1572 = l_Lean_addMacroScope(x_1569, x_1571, x_1566); +x_1573 = lean_box(0); +x_1574 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; +x_1575 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; +x_1576 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1576, 0, x_1563); +lean_ctor_set(x_1576, 1, x_1574); +lean_ctor_set(x_1576, 2, x_1572); +lean_ctor_set(x_1576, 3, x_1575); +x_1577 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_1570); +x_1578 = lean_ctor_get(x_1577, 0); +lean_inc(x_1578); +x_1579 = lean_ctor_get(x_1577, 1); +lean_inc(x_1579); +lean_dec(x_1577); +x_1580 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1579); +x_1581 = lean_ctor_get(x_1580, 0); +lean_inc(x_1581); +x_1582 = lean_ctor_get(x_1580, 1); +lean_inc(x_1582); +lean_dec(x_1580); +x_1583 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1582); x_1584 = lean_ctor_get(x_1583, 0); lean_inc(x_1584); x_1585 = lean_ctor_get(x_1583, 1); lean_inc(x_1585); lean_dec(x_1583); -x_1586 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1585); -x_1587 = lean_ctor_get(x_1586, 0); +x_1586 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +lean_inc(x_1578); +x_1587 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1587, 0, x_1578); +lean_ctor_set(x_1587, 1, x_1586); +x_1588 = l_Array_empty___closed__1; lean_inc(x_1587); -x_1588 = lean_ctor_get(x_1586, 1); -lean_inc(x_1588); -lean_dec(x_1586); -x_1589 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1588); -x_1590 = lean_ctor_get(x_1589, 0); -lean_inc(x_1590); -x_1591 = lean_ctor_get(x_1589, 1); -lean_inc(x_1591); -lean_dec(x_1589); -x_1592 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +x_1589 = lean_array_push(x_1588, x_1587); +x_1590 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_1578); +x_1591 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1591, 0, x_1578); +lean_ctor_set(x_1591, 1, x_1590); +x_1592 = lean_array_push(x_1588, x_1591); +x_1593 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; +lean_inc(x_1578); +x_1594 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1594, 0, x_1578); +lean_ctor_set(x_1594, 1, x_1593); +x_1595 = lean_array_push(x_1588, x_1594); +x_1596 = l_Lean_nullKind___closed__2; +x_1597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1597, 0, x_1596); +lean_ctor_set(x_1597, 1, x_1595); +x_1598 = lean_array_push(x_1592, x_1597); +x_1599 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +lean_inc(x_1581); lean_inc(x_1584); -x_1593 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1593, 0, x_1584); -lean_ctor_set(x_1593, 1, x_1592); -x_1594 = l_Array_empty___closed__1; -lean_inc(x_1593); -x_1595 = lean_array_push(x_1594, x_1593); -x_1596 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; -lean_inc(x_1584); -x_1597 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1597, 0, x_1584); -lean_ctor_set(x_1597, 1, x_1596); -x_1598 = lean_array_push(x_1594, x_1597); -x_1599 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; -lean_inc(x_1584); -x_1600 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1600, 0, x_1584); -lean_ctor_set(x_1600, 1, x_1599); -x_1601 = lean_array_push(x_1594, x_1600); -x_1602 = l_Lean_nullKind___closed__2; -x_1603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1603, 0, x_1602); -lean_ctor_set(x_1603, 1, x_1601); -x_1604 = lean_array_push(x_1598, x_1603); -x_1605 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; -lean_inc(x_1587); -lean_inc(x_1590); -x_1606 = l_Lean_addMacroScope(x_1590, x_1605, x_1587); -x_1607 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_1584); -x_1608 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1608, 0, x_1584); +x_1600 = l_Lean_addMacroScope(x_1584, x_1599, x_1581); +x_1601 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; +lean_inc(x_1578); +x_1602 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1602, 0, x_1578); +lean_ctor_set(x_1602, 1, x_1601); +lean_ctor_set(x_1602, 2, x_1600); +lean_ctor_set(x_1602, 3, x_1573); +x_1603 = lean_array_push(x_1588, x_1602); +x_1604 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +lean_inc(x_1603); +x_1605 = lean_array_push(x_1603, x_1604); +x_1606 = lean_array_push(x_1605, x_1604); +x_1607 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1578); +x_1608 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1608, 0, x_1578); lean_ctor_set(x_1608, 1, x_1607); -lean_ctor_set(x_1608, 2, x_1606); -lean_ctor_set(x_1608, 3, x_1579); -x_1609 = lean_array_push(x_1594, x_1608); -x_1610 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1609 = lean_array_push(x_1606, x_1608); +x_1610 = lean_array_push(x_1588, x_1576); +x_1611 = lean_array_push(x_1588, x_1538); +x_1612 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1612, 0, x_1596); +lean_ctor_set(x_1612, 1, x_1611); +x_1613 = lean_array_push(x_1610, x_1612); +x_1614 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +x_1615 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1615, 0, x_1614); +lean_ctor_set(x_1615, 1, x_1613); lean_inc(x_1609); -x_1611 = lean_array_push(x_1609, x_1610); -x_1612 = lean_array_push(x_1611, x_1610); -x_1613 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_1584); -x_1614 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1614, 0, x_1584); -lean_ctor_set(x_1614, 1, x_1613); -x_1615 = lean_array_push(x_1612, x_1614); -x_1616 = lean_array_push(x_1594, x_1582); -x_1617 = lean_array_push(x_1594, x_1544); +x_1616 = lean_array_push(x_1609, x_1615); +x_1617 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; x_1618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1618, 0, x_1602); -lean_ctor_set(x_1618, 1, x_1617); -x_1619 = lean_array_push(x_1616, x_1618); -x_1620 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +lean_ctor_set(x_1618, 0, x_1617); +lean_ctor_set(x_1618, 1, x_1616); +x_1619 = lean_array_push(x_1588, x_1618); +x_1620 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; x_1621 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1621, 0, x_1620); lean_ctor_set(x_1621, 1, x_1619); -lean_inc(x_1615); -x_1622 = lean_array_push(x_1615, x_1621); -x_1623 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; +x_1622 = lean_array_push(x_1598, x_1621); +x_1623 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; x_1624 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1624, 0, x_1623); lean_ctor_set(x_1624, 1, x_1622); -x_1625 = lean_array_push(x_1594, x_1624); -x_1626 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; -x_1627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1627, 0, x_1626); -lean_ctor_set(x_1627, 1, x_1625); -x_1628 = lean_array_push(x_1604, x_1627); -x_1629 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; -x_1630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1630, 0, x_1629); -lean_ctor_set(x_1630, 1, x_1628); -x_1631 = lean_array_push(x_1594, x_1630); -x_1632 = lean_array_push(x_1631, x_1610); -x_1633 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; -x_1634 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1634, 0, x_1633); -lean_ctor_set(x_1634, 1, x_1632); -x_1635 = lean_array_push(x_1594, x_1634); -x_1636 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__14; +x_1625 = lean_array_push(x_1588, x_1624); +x_1626 = lean_array_push(x_1625, x_1604); +x_1627 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; +x_1628 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1628, 0, x_1627); +lean_ctor_set(x_1628, 1, x_1626); +x_1629 = lean_array_push(x_1588, x_1628); +x_1630 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__14; +lean_inc(x_1578); +x_1631 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1631, 0, x_1578); +lean_ctor_set(x_1631, 1, x_1630); +x_1632 = lean_array_push(x_1588, x_1631); +x_1633 = l_myMacro____x40_Init_Notation___hyg_1346____closed__7; +x_1634 = l_Lean_Syntax_SepArray_ofElems(x_1633, x_1539); +lean_dec(x_1539); +x_1635 = l_Array_appendCore___rarg(x_1588, x_1634); +lean_dec(x_1634); +x_1636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1636, 0, x_1596); +lean_ctor_set(x_1636, 1, x_1635); +x_1637 = lean_array_push(x_1632, x_1636); +x_1638 = lean_array_push(x_1637, x_1587); +x_1639 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; +lean_inc(x_1578); +x_1640 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1640, 0, x_1578); +lean_ctor_set(x_1640, 1, x_1639); +x_1641 = lean_array_push(x_1588, x_1640); +x_1642 = lean_array_push(x_1641, x_1604); +x_1643 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; +lean_inc(x_1581); lean_inc(x_1584); -x_1637 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1637, 0, x_1584); -lean_ctor_set(x_1637, 1, x_1636); -x_1638 = lean_array_push(x_1594, x_1637); -x_1639 = l_myMacro____x40_Init_Notation___hyg_1346____closed__7; -x_1640 = l_Lean_Syntax_SepArray_ofElems(x_1639, x_1545); -lean_dec(x_1545); -x_1641 = l_Array_appendCore___rarg(x_1594, x_1640); -lean_dec(x_1640); -x_1642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1642, 0, x_1602); -lean_ctor_set(x_1642, 1, x_1641); -x_1643 = lean_array_push(x_1638, x_1642); -x_1644 = lean_array_push(x_1643, x_1593); -x_1645 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; -lean_inc(x_1584); -x_1646 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1646, 0, x_1584); -lean_ctor_set(x_1646, 1, x_1645); -x_1647 = lean_array_push(x_1594, x_1646); -x_1648 = lean_array_push(x_1647, x_1610); -x_1649 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; -lean_inc(x_1587); -lean_inc(x_1590); -x_1650 = l_Lean_addMacroScope(x_1590, x_1649, x_1587); -x_1651 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; -x_1652 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; -lean_inc(x_1584); -x_1653 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1653, 0, x_1584); -lean_ctor_set(x_1653, 1, x_1651); -lean_ctor_set(x_1653, 2, x_1650); -lean_ctor_set(x_1653, 3, x_1652); -x_1654 = lean_array_push(x_1594, x_1653); +x_1644 = l_Lean_addMacroScope(x_1584, x_1643, x_1581); +x_1645 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; +x_1646 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; +lean_inc(x_1578); +x_1647 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1647, 0, x_1578); +lean_ctor_set(x_1647, 1, x_1645); +lean_ctor_set(x_1647, 2, x_1644); +lean_ctor_set(x_1647, 3, x_1646); +x_1648 = lean_array_push(x_1588, x_1647); +x_1649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1649, 0, x_1596); +lean_ctor_set(x_1649, 1, x_1603); +x_1650 = lean_array_push(x_1648, x_1649); +x_1651 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1651, 0, x_1614); +lean_ctor_set(x_1651, 1, x_1650); +x_1652 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1653 = lean_array_push(x_1652, x_1651); +x_1654 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; x_1655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1655, 0, x_1602); -lean_ctor_set(x_1655, 1, x_1609); -x_1656 = lean_array_push(x_1654, x_1655); +lean_ctor_set(x_1655, 0, x_1654); +lean_ctor_set(x_1655, 1, x_1653); +x_1656 = lean_array_push(x_1588, x_1655); x_1657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1657, 0, x_1620); +lean_ctor_set(x_1657, 0, x_1596); lean_ctor_set(x_1657, 1, x_1656); -x_1658 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1659 = lean_array_push(x_1658, x_1657); -x_1660 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; -x_1661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1661, 0, x_1660); -lean_ctor_set(x_1661, 1, x_1659); -x_1662 = lean_array_push(x_1594, x_1661); -x_1663 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1663, 0, x_1602); -lean_ctor_set(x_1663, 1, x_1662); -x_1664 = lean_array_push(x_1648, x_1663); -x_1665 = lean_array_push(x_1664, x_1610); -x_1666 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +x_1658 = lean_array_push(x_1642, x_1657); +x_1659 = lean_array_push(x_1658, x_1604); +x_1660 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +lean_inc(x_1578); +x_1661 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1661, 0, x_1578); +lean_ctor_set(x_1661, 1, x_1660); +x_1662 = lean_array_push(x_1659, x_1661); +x_1663 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1578); +x_1664 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1664, 0, x_1578); +lean_ctor_set(x_1664, 1, x_1663); +x_1665 = lean_array_push(x_1588, x_1664); +x_1666 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +lean_inc(x_1581); lean_inc(x_1584); -x_1667 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1667, 0, x_1584); -lean_ctor_set(x_1667, 1, x_1666); -x_1668 = lean_array_push(x_1665, x_1667); -x_1669 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_1584); -x_1670 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1670, 0, x_1584); -lean_ctor_set(x_1670, 1, x_1669); -x_1671 = lean_array_push(x_1594, x_1670); -x_1672 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -lean_inc(x_1587); -lean_inc(x_1590); -x_1673 = l_Lean_addMacroScope(x_1590, x_1672, x_1587); -x_1674 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; -x_1675 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; -lean_inc(x_1584); -x_1676 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1676, 0, x_1584); -lean_ctor_set(x_1676, 1, x_1674); -lean_ctor_set(x_1676, 2, x_1673); -lean_ctor_set(x_1676, 3, x_1675); -x_1677 = lean_array_push(x_1594, x_1676); -x_1678 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1678, 0, x_1602); +x_1667 = l_Lean_addMacroScope(x_1584, x_1666, x_1581); +x_1668 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; +x_1669 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; +lean_inc(x_1578); +x_1670 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1670, 0, x_1578); +lean_ctor_set(x_1670, 1, x_1668); +lean_ctor_set(x_1670, 2, x_1667); +lean_ctor_set(x_1670, 3, x_1669); +x_1671 = lean_array_push(x_1588, x_1670); +x_1672 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1672, 0, x_1596); +lean_ctor_set(x_1672, 1, x_1671); +lean_inc(x_1665); +x_1673 = lean_array_push(x_1665, x_1672); +x_1674 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1578); +x_1675 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1675, 0, x_1578); +lean_ctor_set(x_1675, 1, x_1674); +lean_inc(x_1675); +x_1676 = lean_array_push(x_1673, x_1675); +x_1677 = l_Lean_Parser_Term_doBreak___elambda__1___closed__5; +lean_inc(x_1578); +x_1678 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1678, 0, x_1578); lean_ctor_set(x_1678, 1, x_1677); -lean_inc(x_1671); -x_1679 = lean_array_push(x_1671, x_1678); -x_1680 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_1584); -x_1681 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1681, 0, x_1584); -lean_ctor_set(x_1681, 1, x_1680); -lean_inc(x_1681); -x_1682 = lean_array_push(x_1679, x_1681); -x_1683 = l_Lean_Parser_Term_doBreak___elambda__1___closed__5; -lean_inc(x_1584); -x_1684 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1684, 0, x_1584); +x_1679 = lean_array_push(x_1588, x_1678); +x_1680 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; +x_1681 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1681, 0, x_1680); +lean_ctor_set(x_1681, 1, x_1679); +x_1682 = lean_array_push(x_1588, x_1681); +x_1683 = lean_array_push(x_1682, x_1604); +x_1684 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1684, 0, x_1627); lean_ctor_set(x_1684, 1, x_1683); -x_1685 = lean_array_push(x_1594, x_1684); -x_1686 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; -x_1687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1687, 0, x_1686); -lean_ctor_set(x_1687, 1, x_1685); -x_1688 = lean_array_push(x_1594, x_1687); -x_1689 = lean_array_push(x_1688, x_1610); -x_1690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1690, 0, x_1633); -lean_ctor_set(x_1690, 1, x_1689); -x_1691 = lean_array_push(x_1594, x_1690); +x_1685 = lean_array_push(x_1588, x_1684); +x_1686 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1686, 0, x_1596); +lean_ctor_set(x_1686, 1, x_1685); +x_1687 = lean_array_push(x_1588, x_1686); +x_1688 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; +x_1689 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1689, 0, x_1688); +lean_ctor_set(x_1689, 1, x_1687); +x_1690 = lean_array_push(x_1676, x_1689); +x_1691 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; x_1692 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1692, 0, x_1602); -lean_ctor_set(x_1692, 1, x_1691); -x_1693 = lean_array_push(x_1594, x_1692); -x_1694 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; -x_1695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1695, 0, x_1694); -lean_ctor_set(x_1695, 1, x_1693); -x_1696 = lean_array_push(x_1682, x_1695); -x_1697 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1698, 0, x_1697); +lean_ctor_set(x_1692, 0, x_1691); +lean_ctor_set(x_1692, 1, x_1690); +x_1693 = lean_array_push(x_1588, x_1692); +x_1694 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; +lean_inc(x_1581); +lean_inc(x_1584); +x_1695 = l_Lean_addMacroScope(x_1584, x_1694, x_1581); +x_1696 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; +x_1697 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_1578); +x_1698 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1698, 0, x_1578); lean_ctor_set(x_1698, 1, x_1696); -x_1699 = lean_array_push(x_1594, x_1698); -x_1700 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; -lean_inc(x_1587); -lean_inc(x_1590); -x_1701 = l_Lean_addMacroScope(x_1590, x_1700, x_1587); -x_1702 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; -x_1703 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_1584); -x_1704 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1704, 0, x_1584); -lean_ctor_set(x_1704, 1, x_1702); -lean_ctor_set(x_1704, 2, x_1701); -lean_ctor_set(x_1704, 3, x_1703); -x_1705 = lean_array_push(x_1594, x_1704); -x_1706 = l_prec_x28___x29___closed__3; -lean_inc(x_1584); -x_1707 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1707, 0, x_1584); -lean_ctor_set(x_1707, 1, x_1706); -x_1708 = lean_array_push(x_1594, x_1707); -x_1709 = lean_array_push(x_1594, x_1542); -lean_inc(x_1584); -x_1710 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1710, 0, x_1584); -lean_ctor_set(x_1710, 1, x_1639); -x_1711 = lean_array_push(x_1594, x_1710); -x_1712 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; -x_1713 = l_Lean_addMacroScope(x_1590, x_1712, x_1587); -x_1714 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -lean_inc(x_1584); -x_1715 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1715, 0, x_1584); -lean_ctor_set(x_1715, 1, x_1714); -lean_ctor_set(x_1715, 2, x_1713); -lean_ctor_set(x_1715, 3, x_1579); -lean_inc(x_1715); -x_1716 = lean_array_push(x_1594, x_1715); -x_1717 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1717, 0, x_1602); -lean_ctor_set(x_1717, 1, x_1716); -x_1718 = lean_array_push(x_1711, x_1717); -x_1719 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; -x_1720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1720, 0, x_1719); -lean_ctor_set(x_1720, 1, x_1718); -x_1721 = lean_array_push(x_1594, x_1720); -x_1722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1722, 0, x_1602); -lean_ctor_set(x_1722, 1, x_1721); -x_1723 = lean_array_push(x_1709, x_1722); +lean_ctor_set(x_1698, 2, x_1695); +lean_ctor_set(x_1698, 3, x_1697); +x_1699 = lean_array_push(x_1588, x_1698); +x_1700 = l_prec_x28___x29___closed__3; +lean_inc(x_1578); +x_1701 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1701, 0, x_1578); +lean_ctor_set(x_1701, 1, x_1700); +x_1702 = lean_array_push(x_1588, x_1701); +x_1703 = lean_array_push(x_1588, x_1536); +lean_inc(x_1578); +x_1704 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1704, 0, x_1578); +lean_ctor_set(x_1704, 1, x_1633); +x_1705 = lean_array_push(x_1588, x_1704); +x_1706 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; +x_1707 = l_Lean_addMacroScope(x_1584, x_1706, x_1581); +x_1708 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; +lean_inc(x_1578); +x_1709 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1709, 0, x_1578); +lean_ctor_set(x_1709, 1, x_1708); +lean_ctor_set(x_1709, 2, x_1707); +lean_ctor_set(x_1709, 3, x_1573); +lean_inc(x_1709); +x_1710 = lean_array_push(x_1588, x_1709); +x_1711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1711, 0, x_1596); +lean_ctor_set(x_1711, 1, x_1710); +x_1712 = lean_array_push(x_1705, x_1711); +x_1713 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; +x_1714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1714, 0, x_1713); +lean_ctor_set(x_1714, 1, x_1712); +x_1715 = lean_array_push(x_1588, x_1714); +x_1716 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1716, 0, x_1596); +lean_ctor_set(x_1716, 1, x_1715); +x_1717 = lean_array_push(x_1703, x_1716); +x_1718 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1718, 0, x_1596); +lean_ctor_set(x_1718, 1, x_1717); +x_1719 = lean_array_push(x_1702, x_1718); +x_1720 = l_prec_x28___x29___closed__7; +x_1721 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1721, 0, x_1578); +lean_ctor_set(x_1721, 1, x_1720); +x_1722 = lean_array_push(x_1719, x_1721); +x_1723 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; x_1724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1724, 0, x_1602); -lean_ctor_set(x_1724, 1, x_1723); -x_1725 = lean_array_push(x_1708, x_1724); -x_1726 = l_prec_x28___x29___closed__7; -x_1727 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1727, 0, x_1584); -lean_ctor_set(x_1727, 1, x_1726); -x_1728 = lean_array_push(x_1725, x_1727); -x_1729 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +lean_ctor_set(x_1724, 0, x_1723); +lean_ctor_set(x_1724, 1, x_1722); +x_1725 = lean_array_push(x_1588, x_1724); +x_1726 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1726, 0, x_1596); +lean_ctor_set(x_1726, 1, x_1725); +x_1727 = lean_array_push(x_1699, x_1726); +x_1728 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1728, 0, x_1614); +lean_ctor_set(x_1728, 1, x_1727); +x_1729 = lean_array_push(x_1588, x_1728); x_1730 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1730, 0, x_1729); -lean_ctor_set(x_1730, 1, x_1728); -x_1731 = lean_array_push(x_1594, x_1730); -x_1732 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1732, 0, x_1602); -lean_ctor_set(x_1732, 1, x_1731); -x_1733 = lean_array_push(x_1705, x_1732); +lean_ctor_set(x_1730, 0, x_1596); +lean_ctor_set(x_1730, 1, x_1729); +x_1731 = lean_array_push(x_1665, x_1730); +x_1732 = lean_array_push(x_1731, x_1675); +x_1733 = lean_array_push(x_1609, x_1709); x_1734 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1734, 0, x_1620); +lean_ctor_set(x_1734, 0, x_1617); lean_ctor_set(x_1734, 1, x_1733); -x_1735 = lean_array_push(x_1594, x_1734); -x_1736 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1736, 0, x_1602); -lean_ctor_set(x_1736, 1, x_1735); -x_1737 = lean_array_push(x_1671, x_1736); -x_1738 = lean_array_push(x_1737, x_1681); -x_1739 = lean_array_push(x_1615, x_1715); +x_1735 = lean_array_push(x_1588, x_1734); +x_1736 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_1737 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1737, 0, x_1736); +lean_ctor_set(x_1737, 1, x_1735); +x_1738 = lean_array_push(x_1588, x_1737); +x_1739 = lean_array_push(x_1738, x_1604); x_1740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1740, 0, x_1623); +lean_ctor_set(x_1740, 0, x_1627); lean_ctor_set(x_1740, 1, x_1739); -x_1741 = lean_array_push(x_1594, x_1740); -x_1742 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_1743 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1743, 0, x_1742); -lean_ctor_set(x_1743, 1, x_1741); -x_1744 = lean_array_push(x_1594, x_1743); -x_1745 = lean_array_push(x_1744, x_1610); -x_1746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1746, 0, x_1633); -lean_ctor_set(x_1746, 1, x_1745); -x_1747 = lean_array_push(x_1594, x_1746); -lean_inc(x_1595); -x_1748 = lean_array_push(x_1595, x_1547); -x_1749 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; -x_1750 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1750, 0, x_1749); -lean_ctor_set(x_1750, 1, x_1748); -x_1751 = lean_array_push(x_1594, x_1750); -x_1752 = lean_array_push(x_1751, x_1610); +x_1741 = lean_array_push(x_1588, x_1740); +lean_inc(x_1589); +x_1742 = lean_array_push(x_1589, x_1541); +x_1743 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; +x_1744 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1744, 0, x_1743); +lean_ctor_set(x_1744, 1, x_1742); +x_1745 = lean_array_push(x_1588, x_1744); +x_1746 = lean_array_push(x_1745, x_1604); +x_1747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1747, 0, x_1627); +lean_ctor_set(x_1747, 1, x_1746); +x_1748 = lean_array_push(x_1741, x_1747); +x_1749 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1749, 0, x_1596); +lean_ctor_set(x_1749, 1, x_1748); +x_1750 = lean_array_push(x_1588, x_1749); +x_1751 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1751, 0, x_1688); +lean_ctor_set(x_1751, 1, x_1750); +x_1752 = lean_array_push(x_1732, x_1751); x_1753 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1753, 0, x_1633); +lean_ctor_set(x_1753, 0, x_1691); lean_ctor_set(x_1753, 1, x_1752); -x_1754 = lean_array_push(x_1747, x_1753); +x_1754 = lean_array_push(x_1693, x_1753); x_1755 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1755, 0, x_1602); +lean_ctor_set(x_1755, 0, x_1596); lean_ctor_set(x_1755, 1, x_1754); -x_1756 = lean_array_push(x_1594, x_1755); -x_1757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1757, 0, x_1694); -lean_ctor_set(x_1757, 1, x_1756); -x_1758 = lean_array_push(x_1738, x_1757); -x_1759 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1759, 0, x_1697); -lean_ctor_set(x_1759, 1, x_1758); -x_1760 = lean_array_push(x_1699, x_1759); +x_1756 = lean_array_push(x_1588, x_1755); +x_1757 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_1758 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1758, 0, x_1757); +lean_ctor_set(x_1758, 1, x_1756); +x_1759 = lean_array_push(x_1662, x_1758); +x_1760 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; x_1761 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1761, 0, x_1602); -lean_ctor_set(x_1761, 1, x_1760); -x_1762 = lean_array_push(x_1594, x_1761); -x_1763 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +lean_ctor_set(x_1761, 0, x_1760); +lean_ctor_set(x_1761, 1, x_1759); +x_1762 = lean_array_push(x_1588, x_1761); +x_1763 = lean_array_push(x_1762, x_1604); x_1764 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1764, 0, x_1763); -lean_ctor_set(x_1764, 1, x_1762); -x_1765 = lean_array_push(x_1668, x_1764); -x_1766 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; -x_1767 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1767, 0, x_1766); -lean_ctor_set(x_1767, 1, x_1765); -x_1768 = lean_array_push(x_1594, x_1767); -x_1769 = lean_array_push(x_1768, x_1610); -x_1770 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1770, 0, x_1633); -lean_ctor_set(x_1770, 1, x_1769); -x_1771 = lean_array_push(x_1594, x_1770); -x_1772 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1772, 0, x_1602); -lean_ctor_set(x_1772, 1, x_1771); -x_1773 = lean_array_push(x_1594, x_1772); +lean_ctor_set(x_1764, 0, x_1627); +lean_ctor_set(x_1764, 1, x_1763); +x_1765 = lean_array_push(x_1588, x_1764); +x_1766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1766, 0, x_1596); +lean_ctor_set(x_1766, 1, x_1765); +x_1767 = lean_array_push(x_1588, x_1766); +x_1768 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1768, 0, x_1688); +lean_ctor_set(x_1768, 1, x_1767); +x_1769 = lean_array_push(x_1638, x_1768); +x_1770 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; +x_1771 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1771, 0, x_1770); +lean_ctor_set(x_1771, 1, x_1769); +x_1772 = lean_array_push(x_1588, x_1771); +x_1773 = lean_array_push(x_1772, x_1604); x_1774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1774, 0, x_1694); +lean_ctor_set(x_1774, 0, x_1627); lean_ctor_set(x_1774, 1, x_1773); -x_1775 = lean_array_push(x_1644, x_1774); -x_1776 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; -x_1777 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1777, 0, x_1776); -lean_ctor_set(x_1777, 1, x_1775); -x_1778 = lean_array_push(x_1594, x_1777); -x_1779 = lean_array_push(x_1778, x_1610); -x_1780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1780, 0, x_1633); -lean_ctor_set(x_1780, 1, x_1779); -x_1781 = lean_array_push(x_1635, x_1780); -x_1782 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1782, 0, x_1602); -lean_ctor_set(x_1782, 1, x_1781); -x_1783 = lean_array_push(x_1594, x_1782); -x_1784 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1784, 0, x_1694); -lean_ctor_set(x_1784, 1, x_1783); -x_1785 = lean_array_push(x_1595, x_1784); -x_1786 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; -x_1787 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1787, 0, x_1786); -lean_ctor_set(x_1787, 1, x_1785); -x_1788 = l_Lean_Syntax_getArg(x_1787, x_11); -lean_dec(x_1787); -x_1789 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1788); -x_1790 = l_List_append___rarg(x_1789, x_2); -x_1791 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1790, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1591); -return x_1791; +x_1775 = lean_array_push(x_1629, x_1774); +x_1776 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1776, 0, x_1596); +lean_ctor_set(x_1776, 1, x_1775); +x_1777 = lean_array_push(x_1588, x_1776); +x_1778 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1778, 0, x_1688); +lean_ctor_set(x_1778, 1, x_1777); +x_1779 = lean_array_push(x_1589, x_1778); +x_1780 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; +x_1781 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1781, 0, x_1780); +lean_ctor_set(x_1781, 1, x_1779); +x_1782 = l_Lean_Syntax_getArg(x_1781, x_11); +lean_dec(x_1781); +x_1783 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_1782); +x_1784 = l_List_append___rarg(x_1783, x_2); +x_1785 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_1784, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1585); +return x_1785; } else { -lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; uint8_t x_1796; uint8_t x_1797; uint8_t x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; uint8_t x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; -x_1792 = lean_ctor_get(x_4, 0); -x_1793 = lean_ctor_get(x_4, 1); -x_1794 = lean_ctor_get(x_4, 2); -x_1795 = lean_ctor_get(x_4, 3); -x_1796 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_1797 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_1798 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_1799 = lean_ctor_get(x_4, 5); -x_1800 = lean_ctor_get(x_4, 6); -x_1801 = lean_ctor_get(x_4, 7); -x_1802 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); -lean_inc(x_1801); -lean_inc(x_1800); -lean_inc(x_1799); +lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; uint8_t x_1790; uint8_t x_1791; uint8_t x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; uint8_t x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; +x_1786 = lean_ctor_get(x_4, 0); +x_1787 = lean_ctor_get(x_4, 1); +x_1788 = lean_ctor_get(x_4, 2); +x_1789 = lean_ctor_get(x_4, 3); +x_1790 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_1791 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_1792 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_1793 = lean_ctor_get(x_4, 5); +x_1794 = lean_ctor_get(x_4, 6); +x_1795 = lean_ctor_get(x_4, 7); +x_1796 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); lean_inc(x_1795); lean_inc(x_1794); lean_inc(x_1793); -lean_inc(x_1792); +lean_inc(x_1789); +lean_inc(x_1788); +lean_inc(x_1787); +lean_inc(x_1786); lean_dec(x_4); -x_1803 = lean_alloc_ctor(0, 8, 4); -lean_ctor_set(x_1803, 0, x_1792); -lean_ctor_set(x_1803, 1, x_1793); -lean_ctor_set(x_1803, 2, x_1794); -lean_ctor_set(x_1803, 3, x_1795); -lean_ctor_set(x_1803, 4, x_1552); -lean_ctor_set(x_1803, 5, x_1799); -lean_ctor_set(x_1803, 6, x_1800); -lean_ctor_set(x_1803, 7, x_1801); -lean_ctor_set_uint8(x_1803, sizeof(void*)*8, x_1796); -lean_ctor_set_uint8(x_1803, sizeof(void*)*8 + 1, x_1797); -lean_ctor_set_uint8(x_1803, sizeof(void*)*8 + 2, x_1798); -lean_ctor_set_uint8(x_1803, sizeof(void*)*8 + 3, x_1802); -x_1804 = lean_ctor_get(x_8, 0); +x_1797 = lean_alloc_ctor(0, 8, 4); +lean_ctor_set(x_1797, 0, x_1786); +lean_ctor_set(x_1797, 1, x_1787); +lean_ctor_set(x_1797, 2, x_1788); +lean_ctor_set(x_1797, 3, x_1789); +lean_ctor_set(x_1797, 4, x_1546); +lean_ctor_set(x_1797, 5, x_1793); +lean_ctor_set(x_1797, 6, x_1794); +lean_ctor_set(x_1797, 7, x_1795); +lean_ctor_set_uint8(x_1797, sizeof(void*)*8, x_1790); +lean_ctor_set_uint8(x_1797, sizeof(void*)*8 + 1, x_1791); +lean_ctor_set_uint8(x_1797, sizeof(void*)*8 + 2, x_1792); +lean_ctor_set_uint8(x_1797, sizeof(void*)*8 + 3, x_1796); +x_1798 = lean_ctor_get(x_8, 0); +lean_inc(x_1798); +x_1799 = lean_ctor_get(x_8, 1); +lean_inc(x_1799); +x_1800 = lean_ctor_get(x_8, 2); +lean_inc(x_1800); +x_1801 = lean_ctor_get(x_8, 3); +lean_inc(x_1801); +x_1802 = lean_ctor_get(x_8, 4); +lean_inc(x_1802); +x_1803 = lean_ctor_get(x_8, 5); +lean_inc(x_1803); +x_1804 = lean_ctor_get(x_8, 6); lean_inc(x_1804); -x_1805 = lean_ctor_get(x_8, 1); +x_1805 = lean_ctor_get(x_8, 7); lean_inc(x_1805); -x_1806 = lean_ctor_get(x_8, 2); -lean_inc(x_1806); -x_1807 = lean_ctor_get(x_8, 3); -lean_inc(x_1807); -x_1808 = lean_ctor_get(x_8, 4); -lean_inc(x_1808); -x_1809 = lean_ctor_get(x_8, 5); +x_1806 = l_Lean_replaceRef(x_1538, x_1801); +lean_dec(x_1801); +x_1807 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_1807, 0, x_1798); +lean_ctor_set(x_1807, 1, x_1799); +lean_ctor_set(x_1807, 2, x_1800); +lean_ctor_set(x_1807, 3, x_1806); +lean_ctor_set(x_1807, 4, x_1802); +lean_ctor_set(x_1807, 5, x_1803); +lean_ctor_set(x_1807, 6, x_1804); +lean_ctor_set(x_1807, 7, x_1805); +x_1808 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_1807, x_9, x_1549); +x_1809 = lean_ctor_get(x_1808, 0); lean_inc(x_1809); -x_1810 = lean_ctor_get(x_8, 6); +x_1810 = lean_ctor_get(x_1808, 1); lean_inc(x_1810); -x_1811 = lean_ctor_get(x_8, 7); -lean_inc(x_1811); -x_1812 = l_Lean_replaceRef(x_1544, x_1807); +lean_dec(x_1808); +x_1811 = l_Lean_Elab_Term_getCurrMacroScope(x_1797, x_5, x_6, x_7, x_1807, x_9, x_1810); lean_dec(x_1807); -x_1813 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1813, 0, x_1804); -lean_ctor_set(x_1813, 1, x_1805); -lean_ctor_set(x_1813, 2, x_1806); -lean_ctor_set(x_1813, 3, x_1812); -lean_ctor_set(x_1813, 4, x_1808); -lean_ctor_set(x_1813, 5, x_1809); -lean_ctor_set(x_1813, 6, x_1810); -lean_ctor_set(x_1813, 7, x_1811); -x_1814 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_1813, x_9, x_1555); +x_1812 = lean_ctor_get(x_1811, 0); +lean_inc(x_1812); +x_1813 = lean_ctor_get(x_1811, 1); +lean_inc(x_1813); +lean_dec(x_1811); +x_1814 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1813); x_1815 = lean_ctor_get(x_1814, 0); lean_inc(x_1815); x_1816 = lean_ctor_get(x_1814, 1); lean_inc(x_1816); lean_dec(x_1814); -x_1817 = l_Lean_Elab_Term_getCurrMacroScope(x_1803, x_5, x_6, x_7, x_1813, x_9, x_1816); -lean_dec(x_1813); -x_1818 = lean_ctor_get(x_1817, 0); -lean_inc(x_1818); -x_1819 = lean_ctor_get(x_1817, 1); -lean_inc(x_1819); -lean_dec(x_1817); -x_1820 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1819); -x_1821 = lean_ctor_get(x_1820, 0); -lean_inc(x_1821); -x_1822 = lean_ctor_get(x_1820, 1); -lean_inc(x_1822); -lean_dec(x_1820); -x_1823 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; -x_1824 = l_Lean_addMacroScope(x_1821, x_1823, x_1818); -x_1825 = lean_box(0); -x_1826 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; -x_1827 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_1828 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1828, 0, x_1815); -lean_ctor_set(x_1828, 1, x_1826); -lean_ctor_set(x_1828, 2, x_1824); -lean_ctor_set(x_1828, 3, x_1827); -x_1829 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_1822); +x_1817 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_1818 = l_Lean_addMacroScope(x_1815, x_1817, x_1812); +x_1819 = lean_box(0); +x_1820 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; +x_1821 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; +x_1822 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1822, 0, x_1809); +lean_ctor_set(x_1822, 1, x_1820); +lean_ctor_set(x_1822, 2, x_1818); +lean_ctor_set(x_1822, 3, x_1821); +x_1823 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_1816); +x_1824 = lean_ctor_get(x_1823, 0); +lean_inc(x_1824); +x_1825 = lean_ctor_get(x_1823, 1); +lean_inc(x_1825); +lean_dec(x_1823); +x_1826 = l_Lean_Elab_Term_getCurrMacroScope(x_1797, x_5, x_6, x_7, x_8, x_9, x_1825); +x_1827 = lean_ctor_get(x_1826, 0); +lean_inc(x_1827); +x_1828 = lean_ctor_get(x_1826, 1); +lean_inc(x_1828); +lean_dec(x_1826); +x_1829 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1828); x_1830 = lean_ctor_get(x_1829, 0); lean_inc(x_1830); x_1831 = lean_ctor_get(x_1829, 1); lean_inc(x_1831); lean_dec(x_1829); -x_1832 = l_Lean_Elab_Term_getCurrMacroScope(x_1803, x_5, x_6, x_7, x_8, x_9, x_1831); -x_1833 = lean_ctor_get(x_1832, 0); +x_1832 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +lean_inc(x_1824); +x_1833 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1833, 0, x_1824); +lean_ctor_set(x_1833, 1, x_1832); +x_1834 = l_Array_empty___closed__1; lean_inc(x_1833); -x_1834 = lean_ctor_get(x_1832, 1); -lean_inc(x_1834); -lean_dec(x_1832); -x_1835 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1834); -x_1836 = lean_ctor_get(x_1835, 0); -lean_inc(x_1836); -x_1837 = lean_ctor_get(x_1835, 1); -lean_inc(x_1837); -lean_dec(x_1835); -x_1838 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +x_1835 = lean_array_push(x_1834, x_1833); +x_1836 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_1824); +x_1837 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1837, 0, x_1824); +lean_ctor_set(x_1837, 1, x_1836); +x_1838 = lean_array_push(x_1834, x_1837); +x_1839 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; +lean_inc(x_1824); +x_1840 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1840, 0, x_1824); +lean_ctor_set(x_1840, 1, x_1839); +x_1841 = lean_array_push(x_1834, x_1840); +x_1842 = l_Lean_nullKind___closed__2; +x_1843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1843, 0, x_1842); +lean_ctor_set(x_1843, 1, x_1841); +x_1844 = lean_array_push(x_1838, x_1843); +x_1845 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +lean_inc(x_1827); lean_inc(x_1830); -x_1839 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1839, 0, x_1830); -lean_ctor_set(x_1839, 1, x_1838); -x_1840 = l_Array_empty___closed__1; -lean_inc(x_1839); -x_1841 = lean_array_push(x_1840, x_1839); -x_1842 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; -lean_inc(x_1830); -x_1843 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1843, 0, x_1830); -lean_ctor_set(x_1843, 1, x_1842); -x_1844 = lean_array_push(x_1840, x_1843); -x_1845 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; -lean_inc(x_1830); -x_1846 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1846, 0, x_1830); -lean_ctor_set(x_1846, 1, x_1845); -x_1847 = lean_array_push(x_1840, x_1846); -x_1848 = l_Lean_nullKind___closed__2; -x_1849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1849, 0, x_1848); -lean_ctor_set(x_1849, 1, x_1847); -x_1850 = lean_array_push(x_1844, x_1849); -x_1851 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; -lean_inc(x_1833); -lean_inc(x_1836); -x_1852 = l_Lean_addMacroScope(x_1836, x_1851, x_1833); -x_1853 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_1830); -x_1854 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1854, 0, x_1830); +x_1846 = l_Lean_addMacroScope(x_1830, x_1845, x_1827); +x_1847 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; +lean_inc(x_1824); +x_1848 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1848, 0, x_1824); +lean_ctor_set(x_1848, 1, x_1847); +lean_ctor_set(x_1848, 2, x_1846); +lean_ctor_set(x_1848, 3, x_1819); +x_1849 = lean_array_push(x_1834, x_1848); +x_1850 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +lean_inc(x_1849); +x_1851 = lean_array_push(x_1849, x_1850); +x_1852 = lean_array_push(x_1851, x_1850); +x_1853 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_1824); +x_1854 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1854, 0, x_1824); lean_ctor_set(x_1854, 1, x_1853); -lean_ctor_set(x_1854, 2, x_1852); -lean_ctor_set(x_1854, 3, x_1825); -x_1855 = lean_array_push(x_1840, x_1854); -x_1856 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_1855 = lean_array_push(x_1852, x_1854); +x_1856 = lean_array_push(x_1834, x_1822); +x_1857 = lean_array_push(x_1834, x_1538); +x_1858 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1858, 0, x_1842); +lean_ctor_set(x_1858, 1, x_1857); +x_1859 = lean_array_push(x_1856, x_1858); +x_1860 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +x_1861 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1861, 0, x_1860); +lean_ctor_set(x_1861, 1, x_1859); lean_inc(x_1855); -x_1857 = lean_array_push(x_1855, x_1856); -x_1858 = lean_array_push(x_1857, x_1856); -x_1859 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_1830); -x_1860 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1860, 0, x_1830); -lean_ctor_set(x_1860, 1, x_1859); -x_1861 = lean_array_push(x_1858, x_1860); -x_1862 = lean_array_push(x_1840, x_1828); -x_1863 = lean_array_push(x_1840, x_1544); +x_1862 = lean_array_push(x_1855, x_1861); +x_1863 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; x_1864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1864, 0, x_1848); -lean_ctor_set(x_1864, 1, x_1863); -x_1865 = lean_array_push(x_1862, x_1864); -x_1866 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +lean_ctor_set(x_1864, 0, x_1863); +lean_ctor_set(x_1864, 1, x_1862); +x_1865 = lean_array_push(x_1834, x_1864); +x_1866 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; x_1867 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1867, 0, x_1866); lean_ctor_set(x_1867, 1, x_1865); -lean_inc(x_1861); -x_1868 = lean_array_push(x_1861, x_1867); -x_1869 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; +x_1868 = lean_array_push(x_1844, x_1867); +x_1869 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; x_1870 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1870, 0, x_1869); lean_ctor_set(x_1870, 1, x_1868); -x_1871 = lean_array_push(x_1840, x_1870); -x_1872 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; -x_1873 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1873, 0, x_1872); -lean_ctor_set(x_1873, 1, x_1871); -x_1874 = lean_array_push(x_1850, x_1873); -x_1875 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; -x_1876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1876, 0, x_1875); -lean_ctor_set(x_1876, 1, x_1874); -x_1877 = lean_array_push(x_1840, x_1876); -x_1878 = lean_array_push(x_1877, x_1856); -x_1879 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; -x_1880 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1880, 0, x_1879); -lean_ctor_set(x_1880, 1, x_1878); -x_1881 = lean_array_push(x_1840, x_1880); -x_1882 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__14; +x_1871 = lean_array_push(x_1834, x_1870); +x_1872 = lean_array_push(x_1871, x_1850); +x_1873 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; +x_1874 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1874, 0, x_1873); +lean_ctor_set(x_1874, 1, x_1872); +x_1875 = lean_array_push(x_1834, x_1874); +x_1876 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__14; +lean_inc(x_1824); +x_1877 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1877, 0, x_1824); +lean_ctor_set(x_1877, 1, x_1876); +x_1878 = lean_array_push(x_1834, x_1877); +x_1879 = l_myMacro____x40_Init_Notation___hyg_1346____closed__7; +x_1880 = l_Lean_Syntax_SepArray_ofElems(x_1879, x_1539); +lean_dec(x_1539); +x_1881 = l_Array_appendCore___rarg(x_1834, x_1880); +lean_dec(x_1880); +x_1882 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1882, 0, x_1842); +lean_ctor_set(x_1882, 1, x_1881); +x_1883 = lean_array_push(x_1878, x_1882); +x_1884 = lean_array_push(x_1883, x_1833); +x_1885 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; +lean_inc(x_1824); +x_1886 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1886, 0, x_1824); +lean_ctor_set(x_1886, 1, x_1885); +x_1887 = lean_array_push(x_1834, x_1886); +x_1888 = lean_array_push(x_1887, x_1850); +x_1889 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; +lean_inc(x_1827); lean_inc(x_1830); -x_1883 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1883, 0, x_1830); -lean_ctor_set(x_1883, 1, x_1882); -x_1884 = lean_array_push(x_1840, x_1883); -x_1885 = l_myMacro____x40_Init_Notation___hyg_1346____closed__7; -x_1886 = l_Lean_Syntax_SepArray_ofElems(x_1885, x_1545); -lean_dec(x_1545); -x_1887 = l_Array_appendCore___rarg(x_1840, x_1886); -lean_dec(x_1886); -x_1888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1888, 0, x_1848); -lean_ctor_set(x_1888, 1, x_1887); -x_1889 = lean_array_push(x_1884, x_1888); -x_1890 = lean_array_push(x_1889, x_1839); -x_1891 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; -lean_inc(x_1830); -x_1892 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1892, 0, x_1830); -lean_ctor_set(x_1892, 1, x_1891); -x_1893 = lean_array_push(x_1840, x_1892); -x_1894 = lean_array_push(x_1893, x_1856); -x_1895 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; -lean_inc(x_1833); -lean_inc(x_1836); -x_1896 = l_Lean_addMacroScope(x_1836, x_1895, x_1833); -x_1897 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; -x_1898 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; -lean_inc(x_1830); -x_1899 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1899, 0, x_1830); -lean_ctor_set(x_1899, 1, x_1897); -lean_ctor_set(x_1899, 2, x_1896); -lean_ctor_set(x_1899, 3, x_1898); -x_1900 = lean_array_push(x_1840, x_1899); +x_1890 = l_Lean_addMacroScope(x_1830, x_1889, x_1827); +x_1891 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; +x_1892 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; +lean_inc(x_1824); +x_1893 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1893, 0, x_1824); +lean_ctor_set(x_1893, 1, x_1891); +lean_ctor_set(x_1893, 2, x_1890); +lean_ctor_set(x_1893, 3, x_1892); +x_1894 = lean_array_push(x_1834, x_1893); +x_1895 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1895, 0, x_1842); +lean_ctor_set(x_1895, 1, x_1849); +x_1896 = lean_array_push(x_1894, x_1895); +x_1897 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1897, 0, x_1860); +lean_ctor_set(x_1897, 1, x_1896); +x_1898 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_1899 = lean_array_push(x_1898, x_1897); +x_1900 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; x_1901 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1901, 0, x_1848); -lean_ctor_set(x_1901, 1, x_1855); -x_1902 = lean_array_push(x_1900, x_1901); +lean_ctor_set(x_1901, 0, x_1900); +lean_ctor_set(x_1901, 1, x_1899); +x_1902 = lean_array_push(x_1834, x_1901); x_1903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1903, 0, x_1866); +lean_ctor_set(x_1903, 0, x_1842); lean_ctor_set(x_1903, 1, x_1902); -x_1904 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_1905 = lean_array_push(x_1904, x_1903); -x_1906 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; -x_1907 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1907, 0, x_1906); -lean_ctor_set(x_1907, 1, x_1905); -x_1908 = lean_array_push(x_1840, x_1907); -x_1909 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1909, 0, x_1848); -lean_ctor_set(x_1909, 1, x_1908); -x_1910 = lean_array_push(x_1894, x_1909); -x_1911 = lean_array_push(x_1910, x_1856); -x_1912 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +x_1904 = lean_array_push(x_1888, x_1903); +x_1905 = lean_array_push(x_1904, x_1850); +x_1906 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +lean_inc(x_1824); +x_1907 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1907, 0, x_1824); +lean_ctor_set(x_1907, 1, x_1906); +x_1908 = lean_array_push(x_1905, x_1907); +x_1909 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_1824); +x_1910 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1910, 0, x_1824); +lean_ctor_set(x_1910, 1, x_1909); +x_1911 = lean_array_push(x_1834, x_1910); +x_1912 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +lean_inc(x_1827); lean_inc(x_1830); -x_1913 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1913, 0, x_1830); -lean_ctor_set(x_1913, 1, x_1912); -x_1914 = lean_array_push(x_1911, x_1913); -x_1915 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_1830); -x_1916 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1916, 0, x_1830); -lean_ctor_set(x_1916, 1, x_1915); -x_1917 = lean_array_push(x_1840, x_1916); -x_1918 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -lean_inc(x_1833); -lean_inc(x_1836); -x_1919 = l_Lean_addMacroScope(x_1836, x_1918, x_1833); -x_1920 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; -x_1921 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; -lean_inc(x_1830); -x_1922 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1922, 0, x_1830); -lean_ctor_set(x_1922, 1, x_1920); -lean_ctor_set(x_1922, 2, x_1919); -lean_ctor_set(x_1922, 3, x_1921); -x_1923 = lean_array_push(x_1840, x_1922); -x_1924 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1924, 0, x_1848); +x_1913 = l_Lean_addMacroScope(x_1830, x_1912, x_1827); +x_1914 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; +x_1915 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; +lean_inc(x_1824); +x_1916 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1916, 0, x_1824); +lean_ctor_set(x_1916, 1, x_1914); +lean_ctor_set(x_1916, 2, x_1913); +lean_ctor_set(x_1916, 3, x_1915); +x_1917 = lean_array_push(x_1834, x_1916); +x_1918 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1918, 0, x_1842); +lean_ctor_set(x_1918, 1, x_1917); +lean_inc(x_1911); +x_1919 = lean_array_push(x_1911, x_1918); +x_1920 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_1824); +x_1921 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1921, 0, x_1824); +lean_ctor_set(x_1921, 1, x_1920); +lean_inc(x_1921); +x_1922 = lean_array_push(x_1919, x_1921); +x_1923 = l_Lean_Parser_Term_doBreak___elambda__1___closed__5; +lean_inc(x_1824); +x_1924 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1924, 0, x_1824); lean_ctor_set(x_1924, 1, x_1923); -lean_inc(x_1917); -x_1925 = lean_array_push(x_1917, x_1924); -x_1926 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_1830); -x_1927 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1927, 0, x_1830); -lean_ctor_set(x_1927, 1, x_1926); -lean_inc(x_1927); -x_1928 = lean_array_push(x_1925, x_1927); -x_1929 = l_Lean_Parser_Term_doBreak___elambda__1___closed__5; -lean_inc(x_1830); -x_1930 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1930, 0, x_1830); +x_1925 = lean_array_push(x_1834, x_1924); +x_1926 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; +x_1927 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1927, 0, x_1926); +lean_ctor_set(x_1927, 1, x_1925); +x_1928 = lean_array_push(x_1834, x_1927); +x_1929 = lean_array_push(x_1928, x_1850); +x_1930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1930, 0, x_1873); lean_ctor_set(x_1930, 1, x_1929); -x_1931 = lean_array_push(x_1840, x_1930); -x_1932 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; -x_1933 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1933, 0, x_1932); -lean_ctor_set(x_1933, 1, x_1931); -x_1934 = lean_array_push(x_1840, x_1933); -x_1935 = lean_array_push(x_1934, x_1856); -x_1936 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1936, 0, x_1879); -lean_ctor_set(x_1936, 1, x_1935); -x_1937 = lean_array_push(x_1840, x_1936); +x_1931 = lean_array_push(x_1834, x_1930); +x_1932 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1932, 0, x_1842); +lean_ctor_set(x_1932, 1, x_1931); +x_1933 = lean_array_push(x_1834, x_1932); +x_1934 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; +x_1935 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1935, 0, x_1934); +lean_ctor_set(x_1935, 1, x_1933); +x_1936 = lean_array_push(x_1922, x_1935); +x_1937 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; x_1938 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1938, 0, x_1848); -lean_ctor_set(x_1938, 1, x_1937); -x_1939 = lean_array_push(x_1840, x_1938); -x_1940 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; -x_1941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1941, 0, x_1940); -lean_ctor_set(x_1941, 1, x_1939); -x_1942 = lean_array_push(x_1928, x_1941); -x_1943 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_1944 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1944, 0, x_1943); +lean_ctor_set(x_1938, 0, x_1937); +lean_ctor_set(x_1938, 1, x_1936); +x_1939 = lean_array_push(x_1834, x_1938); +x_1940 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; +lean_inc(x_1827); +lean_inc(x_1830); +x_1941 = l_Lean_addMacroScope(x_1830, x_1940, x_1827); +x_1942 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; +x_1943 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_1824); +x_1944 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1944, 0, x_1824); lean_ctor_set(x_1944, 1, x_1942); -x_1945 = lean_array_push(x_1840, x_1944); -x_1946 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; -lean_inc(x_1833); -lean_inc(x_1836); -x_1947 = l_Lean_addMacroScope(x_1836, x_1946, x_1833); -x_1948 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; -x_1949 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_1830); -x_1950 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1950, 0, x_1830); -lean_ctor_set(x_1950, 1, x_1948); -lean_ctor_set(x_1950, 2, x_1947); -lean_ctor_set(x_1950, 3, x_1949); -x_1951 = lean_array_push(x_1840, x_1950); -x_1952 = l_prec_x28___x29___closed__3; -lean_inc(x_1830); -x_1953 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1953, 0, x_1830); -lean_ctor_set(x_1953, 1, x_1952); -x_1954 = lean_array_push(x_1840, x_1953); -x_1955 = lean_array_push(x_1840, x_1542); -lean_inc(x_1830); -x_1956 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1956, 0, x_1830); -lean_ctor_set(x_1956, 1, x_1885); -x_1957 = lean_array_push(x_1840, x_1956); -x_1958 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; -x_1959 = l_Lean_addMacroScope(x_1836, x_1958, x_1833); -x_1960 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -lean_inc(x_1830); -x_1961 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1961, 0, x_1830); -lean_ctor_set(x_1961, 1, x_1960); -lean_ctor_set(x_1961, 2, x_1959); -lean_ctor_set(x_1961, 3, x_1825); -lean_inc(x_1961); -x_1962 = lean_array_push(x_1840, x_1961); -x_1963 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1963, 0, x_1848); -lean_ctor_set(x_1963, 1, x_1962); -x_1964 = lean_array_push(x_1957, x_1963); -x_1965 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; -x_1966 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1966, 0, x_1965); -lean_ctor_set(x_1966, 1, x_1964); -x_1967 = lean_array_push(x_1840, x_1966); -x_1968 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1968, 0, x_1848); -lean_ctor_set(x_1968, 1, x_1967); -x_1969 = lean_array_push(x_1955, x_1968); +lean_ctor_set(x_1944, 2, x_1941); +lean_ctor_set(x_1944, 3, x_1943); +x_1945 = lean_array_push(x_1834, x_1944); +x_1946 = l_prec_x28___x29___closed__3; +lean_inc(x_1824); +x_1947 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1947, 0, x_1824); +lean_ctor_set(x_1947, 1, x_1946); +x_1948 = lean_array_push(x_1834, x_1947); +x_1949 = lean_array_push(x_1834, x_1536); +lean_inc(x_1824); +x_1950 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1950, 0, x_1824); +lean_ctor_set(x_1950, 1, x_1879); +x_1951 = lean_array_push(x_1834, x_1950); +x_1952 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; +x_1953 = l_Lean_addMacroScope(x_1830, x_1952, x_1827); +x_1954 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; +lean_inc(x_1824); +x_1955 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1955, 0, x_1824); +lean_ctor_set(x_1955, 1, x_1954); +lean_ctor_set(x_1955, 2, x_1953); +lean_ctor_set(x_1955, 3, x_1819); +lean_inc(x_1955); +x_1956 = lean_array_push(x_1834, x_1955); +x_1957 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1957, 0, x_1842); +lean_ctor_set(x_1957, 1, x_1956); +x_1958 = lean_array_push(x_1951, x_1957); +x_1959 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; +x_1960 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1960, 0, x_1959); +lean_ctor_set(x_1960, 1, x_1958); +x_1961 = lean_array_push(x_1834, x_1960); +x_1962 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1962, 0, x_1842); +lean_ctor_set(x_1962, 1, x_1961); +x_1963 = lean_array_push(x_1949, x_1962); +x_1964 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1964, 0, x_1842); +lean_ctor_set(x_1964, 1, x_1963); +x_1965 = lean_array_push(x_1948, x_1964); +x_1966 = l_prec_x28___x29___closed__7; +x_1967 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1967, 0, x_1824); +lean_ctor_set(x_1967, 1, x_1966); +x_1968 = lean_array_push(x_1965, x_1967); +x_1969 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; x_1970 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1970, 0, x_1848); -lean_ctor_set(x_1970, 1, x_1969); -x_1971 = lean_array_push(x_1954, x_1970); -x_1972 = l_prec_x28___x29___closed__7; -x_1973 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1973, 0, x_1830); -lean_ctor_set(x_1973, 1, x_1972); -x_1974 = lean_array_push(x_1971, x_1973); -x_1975 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +lean_ctor_set(x_1970, 0, x_1969); +lean_ctor_set(x_1970, 1, x_1968); +x_1971 = lean_array_push(x_1834, x_1970); +x_1972 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1972, 0, x_1842); +lean_ctor_set(x_1972, 1, x_1971); +x_1973 = lean_array_push(x_1945, x_1972); +x_1974 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1974, 0, x_1860); +lean_ctor_set(x_1974, 1, x_1973); +x_1975 = lean_array_push(x_1834, x_1974); x_1976 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1976, 0, x_1975); -lean_ctor_set(x_1976, 1, x_1974); -x_1977 = lean_array_push(x_1840, x_1976); -x_1978 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1978, 0, x_1848); -lean_ctor_set(x_1978, 1, x_1977); -x_1979 = lean_array_push(x_1951, x_1978); +lean_ctor_set(x_1976, 0, x_1842); +lean_ctor_set(x_1976, 1, x_1975); +x_1977 = lean_array_push(x_1911, x_1976); +x_1978 = lean_array_push(x_1977, x_1921); +x_1979 = lean_array_push(x_1855, x_1955); x_1980 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1980, 0, x_1866); +lean_ctor_set(x_1980, 0, x_1863); lean_ctor_set(x_1980, 1, x_1979); -x_1981 = lean_array_push(x_1840, x_1980); -x_1982 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1982, 0, x_1848); -lean_ctor_set(x_1982, 1, x_1981); -x_1983 = lean_array_push(x_1917, x_1982); -x_1984 = lean_array_push(x_1983, x_1927); -x_1985 = lean_array_push(x_1861, x_1961); +x_1981 = lean_array_push(x_1834, x_1980); +x_1982 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_1983 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1983, 0, x_1982); +lean_ctor_set(x_1983, 1, x_1981); +x_1984 = lean_array_push(x_1834, x_1983); +x_1985 = lean_array_push(x_1984, x_1850); x_1986 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1986, 0, x_1869); +lean_ctor_set(x_1986, 0, x_1873); lean_ctor_set(x_1986, 1, x_1985); -x_1987 = lean_array_push(x_1840, x_1986); -x_1988 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_1989 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1989, 0, x_1988); -lean_ctor_set(x_1989, 1, x_1987); -x_1990 = lean_array_push(x_1840, x_1989); -x_1991 = lean_array_push(x_1990, x_1856); -x_1992 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1992, 0, x_1879); -lean_ctor_set(x_1992, 1, x_1991); -x_1993 = lean_array_push(x_1840, x_1992); -lean_inc(x_1841); -x_1994 = lean_array_push(x_1841, x_1547); -x_1995 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; -x_1996 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1996, 0, x_1995); -lean_ctor_set(x_1996, 1, x_1994); -x_1997 = lean_array_push(x_1840, x_1996); -x_1998 = lean_array_push(x_1997, x_1856); +x_1987 = lean_array_push(x_1834, x_1986); +lean_inc(x_1835); +x_1988 = lean_array_push(x_1835, x_1541); +x_1989 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; +x_1990 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1990, 0, x_1989); +lean_ctor_set(x_1990, 1, x_1988); +x_1991 = lean_array_push(x_1834, x_1990); +x_1992 = lean_array_push(x_1991, x_1850); +x_1993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1993, 0, x_1873); +lean_ctor_set(x_1993, 1, x_1992); +x_1994 = lean_array_push(x_1987, x_1993); +x_1995 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1995, 0, x_1842); +lean_ctor_set(x_1995, 1, x_1994); +x_1996 = lean_array_push(x_1834, x_1995); +x_1997 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1997, 0, x_1934); +lean_ctor_set(x_1997, 1, x_1996); +x_1998 = lean_array_push(x_1978, x_1997); x_1999 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1999, 0, x_1879); +lean_ctor_set(x_1999, 0, x_1937); lean_ctor_set(x_1999, 1, x_1998); -x_2000 = lean_array_push(x_1993, x_1999); +x_2000 = lean_array_push(x_1939, x_1999); x_2001 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2001, 0, x_1848); +lean_ctor_set(x_2001, 0, x_1842); lean_ctor_set(x_2001, 1, x_2000); -x_2002 = lean_array_push(x_1840, x_2001); -x_2003 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2003, 0, x_1940); -lean_ctor_set(x_2003, 1, x_2002); -x_2004 = lean_array_push(x_1984, x_2003); -x_2005 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2005, 0, x_1943); -lean_ctor_set(x_2005, 1, x_2004); -x_2006 = lean_array_push(x_1945, x_2005); +x_2002 = lean_array_push(x_1834, x_2001); +x_2003 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_2004 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2004, 0, x_2003); +lean_ctor_set(x_2004, 1, x_2002); +x_2005 = lean_array_push(x_1908, x_2004); +x_2006 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; x_2007 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2007, 0, x_1848); -lean_ctor_set(x_2007, 1, x_2006); -x_2008 = lean_array_push(x_1840, x_2007); -x_2009 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +lean_ctor_set(x_2007, 0, x_2006); +lean_ctor_set(x_2007, 1, x_2005); +x_2008 = lean_array_push(x_1834, x_2007); +x_2009 = lean_array_push(x_2008, x_1850); x_2010 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2010, 0, x_2009); -lean_ctor_set(x_2010, 1, x_2008); -x_2011 = lean_array_push(x_1914, x_2010); -x_2012 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; -x_2013 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2013, 0, x_2012); -lean_ctor_set(x_2013, 1, x_2011); -x_2014 = lean_array_push(x_1840, x_2013); -x_2015 = lean_array_push(x_2014, x_1856); -x_2016 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2016, 0, x_1879); -lean_ctor_set(x_2016, 1, x_2015); -x_2017 = lean_array_push(x_1840, x_2016); -x_2018 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2018, 0, x_1848); -lean_ctor_set(x_2018, 1, x_2017); -x_2019 = lean_array_push(x_1840, x_2018); +lean_ctor_set(x_2010, 0, x_1873); +lean_ctor_set(x_2010, 1, x_2009); +x_2011 = lean_array_push(x_1834, x_2010); +x_2012 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2012, 0, x_1842); +lean_ctor_set(x_2012, 1, x_2011); +x_2013 = lean_array_push(x_1834, x_2012); +x_2014 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2014, 0, x_1934); +lean_ctor_set(x_2014, 1, x_2013); +x_2015 = lean_array_push(x_1884, x_2014); +x_2016 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; +x_2017 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2017, 0, x_2016); +lean_ctor_set(x_2017, 1, x_2015); +x_2018 = lean_array_push(x_1834, x_2017); +x_2019 = lean_array_push(x_2018, x_1850); x_2020 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2020, 0, x_1940); +lean_ctor_set(x_2020, 0, x_1873); lean_ctor_set(x_2020, 1, x_2019); -x_2021 = lean_array_push(x_1890, x_2020); -x_2022 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; -x_2023 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2023, 0, x_2022); -lean_ctor_set(x_2023, 1, x_2021); -x_2024 = lean_array_push(x_1840, x_2023); -x_2025 = lean_array_push(x_2024, x_1856); -x_2026 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2026, 0, x_1879); -lean_ctor_set(x_2026, 1, x_2025); -x_2027 = lean_array_push(x_1881, x_2026); -x_2028 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2028, 0, x_1848); -lean_ctor_set(x_2028, 1, x_2027); -x_2029 = lean_array_push(x_1840, x_2028); -x_2030 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2030, 0, x_1940); -lean_ctor_set(x_2030, 1, x_2029); -x_2031 = lean_array_push(x_1841, x_2030); -x_2032 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; -x_2033 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2033, 0, x_2032); -lean_ctor_set(x_2033, 1, x_2031); -x_2034 = l_Lean_Syntax_getArg(x_2033, x_11); -lean_dec(x_2033); -x_2035 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2034); -x_2036 = l_List_append___rarg(x_2035, x_2); -x_2037 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2036, x_3, x_1803, x_5, x_6, x_7, x_8, x_9, x_1837); -return x_2037; +x_2021 = lean_array_push(x_1875, x_2020); +x_2022 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2022, 0, x_1842); +lean_ctor_set(x_2022, 1, x_2021); +x_2023 = lean_array_push(x_1834, x_2022); +x_2024 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2024, 0, x_1934); +lean_ctor_set(x_2024, 1, x_2023); +x_2025 = lean_array_push(x_1835, x_2024); +x_2026 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; +x_2027 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2027, 0, x_2026); +lean_ctor_set(x_2027, 1, x_2025); +x_2028 = l_Lean_Syntax_getArg(x_2027, x_11); +lean_dec(x_2027); +x_2029 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2028); +x_2030 = l_List_append___rarg(x_2029, x_2); +x_2031 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2030, x_3, x_1797, x_5, x_6, x_7, x_8, x_9, x_1831); +return x_2031; } } else { -lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; uint8_t x_2050; uint8_t x_2051; uint8_t x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; uint8_t x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; -x_2038 = lean_ctor_get(x_1549, 0); -x_2039 = lean_ctor_get(x_1549, 1); -x_2040 = lean_ctor_get(x_1549, 2); -x_2041 = lean_ctor_get(x_1549, 3); -lean_inc(x_2041); -lean_inc(x_2040); +lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; uint8_t x_2044; uint8_t x_2045; uint8_t x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; uint8_t x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; +x_2032 = lean_ctor_get(x_1543, 0); +x_2033 = lean_ctor_get(x_1543, 1); +x_2034 = lean_ctor_get(x_1543, 2); +x_2035 = lean_ctor_get(x_1543, 3); +lean_inc(x_2035); +lean_inc(x_2034); +lean_inc(x_2033); +lean_inc(x_2032); +lean_dec(x_1543); +x_2036 = lean_nat_add(x_2033, x_11); +x_2037 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_2037, 0, x_2032); +lean_ctor_set(x_2037, 1, x_2036); +lean_ctor_set(x_2037, 2, x_2034); +lean_ctor_set(x_2037, 3, x_2035); +x_2038 = lean_st_ref_set(x_9, x_2037, x_1544); +x_2039 = lean_ctor_get(x_2038, 1); lean_inc(x_2039); -lean_inc(x_2038); -lean_dec(x_1549); -x_2042 = lean_nat_add(x_2039, x_11); -x_2043 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_2043, 0, x_2038); -lean_ctor_set(x_2043, 1, x_2042); -lean_ctor_set(x_2043, 2, x_2040); -lean_ctor_set(x_2043, 3, x_2041); -x_2044 = lean_st_ref_set(x_9, x_2043, x_1550); -x_2045 = lean_ctor_get(x_2044, 1); -lean_inc(x_2045); -lean_dec(x_2044); -x_2046 = lean_ctor_get(x_4, 0); -lean_inc(x_2046); -x_2047 = lean_ctor_get(x_4, 1); +lean_dec(x_2038); +x_2040 = lean_ctor_get(x_4, 0); +lean_inc(x_2040); +x_2041 = lean_ctor_get(x_4, 1); +lean_inc(x_2041); +x_2042 = lean_ctor_get(x_4, 2); +lean_inc(x_2042); +x_2043 = lean_ctor_get(x_4, 3); +lean_inc(x_2043); +x_2044 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); +x_2045 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); +x_2046 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); +x_2047 = lean_ctor_get(x_4, 5); lean_inc(x_2047); -x_2048 = lean_ctor_get(x_4, 2); +x_2048 = lean_ctor_get(x_4, 6); lean_inc(x_2048); -x_2049 = lean_ctor_get(x_4, 3); +x_2049 = lean_ctor_get(x_4, 7); lean_inc(x_2049); -x_2050 = lean_ctor_get_uint8(x_4, sizeof(void*)*8); -x_2051 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1); -x_2052 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 2); -x_2053 = lean_ctor_get(x_4, 5); -lean_inc(x_2053); -x_2054 = lean_ctor_get(x_4, 6); -lean_inc(x_2054); -x_2055 = lean_ctor_get(x_4, 7); -lean_inc(x_2055); -x_2056 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); +x_2050 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 3); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); @@ -62735,474 +62713,474 @@ if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 5); lean_ctor_release(x_4, 6); lean_ctor_release(x_4, 7); - x_2057 = x_4; + x_2051 = x_4; } else { lean_dec_ref(x_4); - x_2057 = lean_box(0); + x_2051 = lean_box(0); } -if (lean_is_scalar(x_2057)) { - x_2058 = lean_alloc_ctor(0, 8, 4); +if (lean_is_scalar(x_2051)) { + x_2052 = lean_alloc_ctor(0, 8, 4); } else { - x_2058 = x_2057; + x_2052 = x_2051; } -lean_ctor_set(x_2058, 0, x_2046); -lean_ctor_set(x_2058, 1, x_2047); -lean_ctor_set(x_2058, 2, x_2048); -lean_ctor_set(x_2058, 3, x_2049); -lean_ctor_set(x_2058, 4, x_2039); -lean_ctor_set(x_2058, 5, x_2053); -lean_ctor_set(x_2058, 6, x_2054); -lean_ctor_set(x_2058, 7, x_2055); -lean_ctor_set_uint8(x_2058, sizeof(void*)*8, x_2050); -lean_ctor_set_uint8(x_2058, sizeof(void*)*8 + 1, x_2051); -lean_ctor_set_uint8(x_2058, sizeof(void*)*8 + 2, x_2052); -lean_ctor_set_uint8(x_2058, sizeof(void*)*8 + 3, x_2056); -x_2059 = lean_ctor_get(x_8, 0); +lean_ctor_set(x_2052, 0, x_2040); +lean_ctor_set(x_2052, 1, x_2041); +lean_ctor_set(x_2052, 2, x_2042); +lean_ctor_set(x_2052, 3, x_2043); +lean_ctor_set(x_2052, 4, x_2033); +lean_ctor_set(x_2052, 5, x_2047); +lean_ctor_set(x_2052, 6, x_2048); +lean_ctor_set(x_2052, 7, x_2049); +lean_ctor_set_uint8(x_2052, sizeof(void*)*8, x_2044); +lean_ctor_set_uint8(x_2052, sizeof(void*)*8 + 1, x_2045); +lean_ctor_set_uint8(x_2052, sizeof(void*)*8 + 2, x_2046); +lean_ctor_set_uint8(x_2052, sizeof(void*)*8 + 3, x_2050); +x_2053 = lean_ctor_get(x_8, 0); +lean_inc(x_2053); +x_2054 = lean_ctor_get(x_8, 1); +lean_inc(x_2054); +x_2055 = lean_ctor_get(x_8, 2); +lean_inc(x_2055); +x_2056 = lean_ctor_get(x_8, 3); +lean_inc(x_2056); +x_2057 = lean_ctor_get(x_8, 4); +lean_inc(x_2057); +x_2058 = lean_ctor_get(x_8, 5); +lean_inc(x_2058); +x_2059 = lean_ctor_get(x_8, 6); lean_inc(x_2059); -x_2060 = lean_ctor_get(x_8, 1); +x_2060 = lean_ctor_get(x_8, 7); lean_inc(x_2060); -x_2061 = lean_ctor_get(x_8, 2); -lean_inc(x_2061); -x_2062 = lean_ctor_get(x_8, 3); -lean_inc(x_2062); -x_2063 = lean_ctor_get(x_8, 4); -lean_inc(x_2063); -x_2064 = lean_ctor_get(x_8, 5); +x_2061 = l_Lean_replaceRef(x_1538, x_2056); +lean_dec(x_2056); +x_2062 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_2062, 0, x_2053); +lean_ctor_set(x_2062, 1, x_2054); +lean_ctor_set(x_2062, 2, x_2055); +lean_ctor_set(x_2062, 3, x_2061); +lean_ctor_set(x_2062, 4, x_2057); +lean_ctor_set(x_2062, 5, x_2058); +lean_ctor_set(x_2062, 6, x_2059); +lean_ctor_set(x_2062, 7, x_2060); +x_2063 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_2062, x_9, x_2039); +x_2064 = lean_ctor_get(x_2063, 0); lean_inc(x_2064); -x_2065 = lean_ctor_get(x_8, 6); +x_2065 = lean_ctor_get(x_2063, 1); lean_inc(x_2065); -x_2066 = lean_ctor_get(x_8, 7); -lean_inc(x_2066); -x_2067 = l_Lean_replaceRef(x_1544, x_2062); +lean_dec(x_2063); +x_2066 = l_Lean_Elab_Term_getCurrMacroScope(x_2052, x_5, x_6, x_7, x_2062, x_9, x_2065); lean_dec(x_2062); -x_2068 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_2068, 0, x_2059); -lean_ctor_set(x_2068, 1, x_2060); -lean_ctor_set(x_2068, 2, x_2061); -lean_ctor_set(x_2068, 3, x_2067); -lean_ctor_set(x_2068, 4, x_2063); -lean_ctor_set(x_2068, 5, x_2064); -lean_ctor_set(x_2068, 6, x_2065); -lean_ctor_set(x_2068, 7, x_2066); -x_2069 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_2068, x_9, x_2045); +x_2067 = lean_ctor_get(x_2066, 0); +lean_inc(x_2067); +x_2068 = lean_ctor_get(x_2066, 1); +lean_inc(x_2068); +lean_dec(x_2066); +x_2069 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2068); x_2070 = lean_ctor_get(x_2069, 0); lean_inc(x_2070); x_2071 = lean_ctor_get(x_2069, 1); lean_inc(x_2071); lean_dec(x_2069); -x_2072 = l_Lean_Elab_Term_getCurrMacroScope(x_2058, x_5, x_6, x_7, x_2068, x_9, x_2071); -lean_dec(x_2068); -x_2073 = lean_ctor_get(x_2072, 0); -lean_inc(x_2073); -x_2074 = lean_ctor_get(x_2072, 1); -lean_inc(x_2074); -lean_dec(x_2072); -x_2075 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2074); -x_2076 = lean_ctor_get(x_2075, 0); -lean_inc(x_2076); -x_2077 = lean_ctor_get(x_2075, 1); -lean_inc(x_2077); -lean_dec(x_2075); -x_2078 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; -x_2079 = l_Lean_addMacroScope(x_2076, x_2078, x_2073); -x_2080 = lean_box(0); -x_2081 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; -x_2082 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; -x_2083 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2083, 0, x_2070); -lean_ctor_set(x_2083, 1, x_2081); -lean_ctor_set(x_2083, 2, x_2079); -lean_ctor_set(x_2083, 3, x_2082); -x_2084 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_2077); +x_2072 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__6; +x_2073 = l_Lean_addMacroScope(x_2070, x_2072, x_2067); +x_2074 = lean_box(0); +x_2075 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__5; +x_2076 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; +x_2077 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2077, 0, x_2064); +lean_ctor_set(x_2077, 1, x_2075); +lean_ctor_set(x_2077, 2, x_2073); +lean_ctor_set(x_2077, 3, x_2076); +x_2078 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_8, x_9, x_2071); +x_2079 = lean_ctor_get(x_2078, 0); +lean_inc(x_2079); +x_2080 = lean_ctor_get(x_2078, 1); +lean_inc(x_2080); +lean_dec(x_2078); +x_2081 = l_Lean_Elab_Term_getCurrMacroScope(x_2052, x_5, x_6, x_7, x_8, x_9, x_2080); +x_2082 = lean_ctor_get(x_2081, 0); +lean_inc(x_2082); +x_2083 = lean_ctor_get(x_2081, 1); +lean_inc(x_2083); +lean_dec(x_2081); +x_2084 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2083); x_2085 = lean_ctor_get(x_2084, 0); lean_inc(x_2085); x_2086 = lean_ctor_get(x_2084, 1); lean_inc(x_2086); lean_dec(x_2084); -x_2087 = l_Lean_Elab_Term_getCurrMacroScope(x_2058, x_5, x_6, x_7, x_8, x_9, x_2086); -x_2088 = lean_ctor_get(x_2087, 0); +x_2087 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +lean_inc(x_2079); +x_2088 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2088, 0, x_2079); +lean_ctor_set(x_2088, 1, x_2087); +x_2089 = l_Array_empty___closed__1; lean_inc(x_2088); -x_2089 = lean_ctor_get(x_2087, 1); -lean_inc(x_2089); -lean_dec(x_2087); -x_2090 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2089); -x_2091 = lean_ctor_get(x_2090, 0); -lean_inc(x_2091); -x_2092 = lean_ctor_get(x_2090, 1); -lean_inc(x_2092); -lean_dec(x_2090); -x_2093 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__1; +x_2090 = lean_array_push(x_2089, x_2088); +x_2091 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; +lean_inc(x_2079); +x_2092 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2092, 0, x_2079); +lean_ctor_set(x_2092, 1, x_2091); +x_2093 = lean_array_push(x_2089, x_2092); +x_2094 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; +lean_inc(x_2079); +x_2095 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2095, 0, x_2079); +lean_ctor_set(x_2095, 1, x_2094); +x_2096 = lean_array_push(x_2089, x_2095); +x_2097 = l_Lean_nullKind___closed__2; +x_2098 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2098, 0, x_2097); +lean_ctor_set(x_2098, 1, x_2096); +x_2099 = lean_array_push(x_2093, x_2098); +x_2100 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; +lean_inc(x_2082); lean_inc(x_2085); -x_2094 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2094, 0, x_2085); -lean_ctor_set(x_2094, 1, x_2093); -x_2095 = l_Array_empty___closed__1; -lean_inc(x_2094); -x_2096 = lean_array_push(x_2095, x_2094); -x_2097 = l_myMacro____x40_Init_Notation___hyg_15449____closed__1; -lean_inc(x_2085); -x_2098 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2098, 0, x_2085); -lean_ctor_set(x_2098, 1, x_2097); -x_2099 = lean_array_push(x_2095, x_2098); -x_2100 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__12; -lean_inc(x_2085); -x_2101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2101, 0, x_2085); -lean_ctor_set(x_2101, 1, x_2100); -x_2102 = lean_array_push(x_2095, x_2101); -x_2103 = l_Lean_nullKind___closed__2; -x_2104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2104, 0, x_2103); -lean_ctor_set(x_2104, 1, x_2102); -x_2105 = lean_array_push(x_2099, x_2104); -x_2106 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__16; -lean_inc(x_2088); -lean_inc(x_2091); -x_2107 = l_Lean_addMacroScope(x_2091, x_2106, x_2088); -x_2108 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; -lean_inc(x_2085); -x_2109 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2109, 0, x_2085); +x_2101 = l_Lean_addMacroScope(x_2085, x_2100, x_2082); +x_2102 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__15; +lean_inc(x_2079); +x_2103 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2103, 0, x_2079); +lean_ctor_set(x_2103, 1, x_2102); +lean_ctor_set(x_2103, 2, x_2101); +lean_ctor_set(x_2103, 3, x_2074); +x_2104 = lean_array_push(x_2089, x_2103); +x_2105 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +lean_inc(x_2104); +x_2106 = lean_array_push(x_2104, x_2105); +x_2107 = lean_array_push(x_2106, x_2105); +x_2108 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; +lean_inc(x_2079); +x_2109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2109, 0, x_2079); lean_ctor_set(x_2109, 1, x_2108); -lean_ctor_set(x_2109, 2, x_2107); -lean_ctor_set(x_2109, 3, x_2080); -x_2110 = lean_array_push(x_2095, x_2109); -x_2111 = l_myMacro____x40_Init_Notation___hyg_1481____closed__8; +x_2110 = lean_array_push(x_2107, x_2109); +x_2111 = lean_array_push(x_2089, x_2077); +x_2112 = lean_array_push(x_2089, x_1538); +x_2113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2113, 0, x_2097); +lean_ctor_set(x_2113, 1, x_2112); +x_2114 = lean_array_push(x_2111, x_2113); +x_2115 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +x_2116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2116, 0, x_2115); +lean_ctor_set(x_2116, 1, x_2114); lean_inc(x_2110); -x_2112 = lean_array_push(x_2110, x_2111); -x_2113 = lean_array_push(x_2112, x_2111); -x_2114 = l_myMacro____x40_Init_Notation___hyg_15449____closed__11; -lean_inc(x_2085); -x_2115 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2115, 0, x_2085); -lean_ctor_set(x_2115, 1, x_2114); -x_2116 = lean_array_push(x_2113, x_2115); -x_2117 = lean_array_push(x_2095, x_2083); -x_2118 = lean_array_push(x_2095, x_1544); +x_2117 = lean_array_push(x_2110, x_2116); +x_2118 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; x_2119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2119, 0, x_2103); -lean_ctor_set(x_2119, 1, x_2118); -x_2120 = lean_array_push(x_2117, x_2119); -x_2121 = l_myMacro____x40_Init_Notation___hyg_2278____closed__4; +lean_ctor_set(x_2119, 0, x_2118); +lean_ctor_set(x_2119, 1, x_2117); +x_2120 = lean_array_push(x_2089, x_2119); +x_2121 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; x_2122 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2122, 0, x_2121); lean_ctor_set(x_2122, 1, x_2120); -lean_inc(x_2116); -x_2123 = lean_array_push(x_2116, x_2122); -x_2124 = l_myMacro____x40_Init_Notation___hyg_15449____closed__6; +x_2123 = lean_array_push(x_2099, x_2122); +x_2124 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; x_2125 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2125, 0, x_2124); lean_ctor_set(x_2125, 1, x_2123); -x_2126 = lean_array_push(x_2095, x_2125); -x_2127 = l_myMacro____x40_Init_Notation___hyg_15449____closed__4; -x_2128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2128, 0, x_2127); -lean_ctor_set(x_2128, 1, x_2126); -x_2129 = lean_array_push(x_2105, x_2128); -x_2130 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; -x_2131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2131, 0, x_2130); -lean_ctor_set(x_2131, 1, x_2129); -x_2132 = lean_array_push(x_2095, x_2131); -x_2133 = lean_array_push(x_2132, x_2111); -x_2134 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; -x_2135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2135, 0, x_2134); -lean_ctor_set(x_2135, 1, x_2133); -x_2136 = lean_array_push(x_2095, x_2135); -x_2137 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__14; +x_2126 = lean_array_push(x_2089, x_2125); +x_2127 = lean_array_push(x_2126, x_2105); +x_2128 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__11; +x_2129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2129, 0, x_2128); +lean_ctor_set(x_2129, 1, x_2127); +x_2130 = lean_array_push(x_2089, x_2129); +x_2131 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__14; +lean_inc(x_2079); +x_2132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2132, 0, x_2079); +lean_ctor_set(x_2132, 1, x_2131); +x_2133 = lean_array_push(x_2089, x_2132); +x_2134 = l_myMacro____x40_Init_Notation___hyg_1346____closed__7; +x_2135 = l_Lean_Syntax_SepArray_ofElems(x_2134, x_1539); +lean_dec(x_1539); +x_2136 = l_Array_appendCore___rarg(x_2089, x_2135); +lean_dec(x_2135); +x_2137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2137, 0, x_2097); +lean_ctor_set(x_2137, 1, x_2136); +x_2138 = lean_array_push(x_2133, x_2137); +x_2139 = lean_array_push(x_2138, x_2088); +x_2140 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; +lean_inc(x_2079); +x_2141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2141, 0, x_2079); +lean_ctor_set(x_2141, 1, x_2140); +x_2142 = lean_array_push(x_2089, x_2141); +x_2143 = lean_array_push(x_2142, x_2105); +x_2144 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; +lean_inc(x_2082); lean_inc(x_2085); -x_2138 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2138, 0, x_2085); -lean_ctor_set(x_2138, 1, x_2137); -x_2139 = lean_array_push(x_2095, x_2138); -x_2140 = l_myMacro____x40_Init_Notation___hyg_1346____closed__7; -x_2141 = l_Lean_Syntax_SepArray_ofElems(x_2140, x_1545); -lean_dec(x_1545); -x_2142 = l_Array_appendCore___rarg(x_2095, x_2141); -lean_dec(x_2141); -x_2143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2143, 0, x_2103); -lean_ctor_set(x_2143, 1, x_2142); -x_2144 = lean_array_push(x_2139, x_2143); -x_2145 = lean_array_push(x_2144, x_2094); -x_2146 = l_myMacro____x40_Init_Notation___hyg_13978____closed__1; -lean_inc(x_2085); -x_2147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2147, 0, x_2085); -lean_ctor_set(x_2147, 1, x_2146); -x_2148 = lean_array_push(x_2095, x_2147); -x_2149 = lean_array_push(x_2148, x_2111); -x_2150 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__23; -lean_inc(x_2088); -lean_inc(x_2091); -x_2151 = l_Lean_addMacroScope(x_2091, x_2150, x_2088); -x_2152 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; -x_2153 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; -lean_inc(x_2085); -x_2154 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2154, 0, x_2085); -lean_ctor_set(x_2154, 1, x_2152); -lean_ctor_set(x_2154, 2, x_2151); -lean_ctor_set(x_2154, 3, x_2153); -x_2155 = lean_array_push(x_2095, x_2154); +x_2145 = l_Lean_addMacroScope(x_2085, x_2144, x_2082); +x_2146 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__19; +x_2147 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__25; +lean_inc(x_2079); +x_2148 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2148, 0, x_2079); +lean_ctor_set(x_2148, 1, x_2146); +lean_ctor_set(x_2148, 2, x_2145); +lean_ctor_set(x_2148, 3, x_2147); +x_2149 = lean_array_push(x_2089, x_2148); +x_2150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2150, 0, x_2097); +lean_ctor_set(x_2150, 1, x_2104); +x_2151 = lean_array_push(x_2149, x_2150); +x_2152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2152, 0, x_2115); +lean_ctor_set(x_2152, 1, x_2151); +x_2153 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; +x_2154 = lean_array_push(x_2153, x_2152); +x_2155 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; x_2156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2156, 0, x_2103); -lean_ctor_set(x_2156, 1, x_2110); -x_2157 = lean_array_push(x_2155, x_2156); +lean_ctor_set(x_2156, 0, x_2155); +lean_ctor_set(x_2156, 1, x_2154); +x_2157 = lean_array_push(x_2089, x_2156); x_2158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2158, 0, x_2121); +lean_ctor_set(x_2158, 0, x_2097); lean_ctor_set(x_2158, 1, x_2157); -x_2159 = l_myMacro____x40_Init_Notation___hyg_13978____closed__5; -x_2160 = lean_array_push(x_2159, x_2158); -x_2161 = l_myMacro____x40_Init_Notation___hyg_13978____closed__4; -x_2162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2162, 0, x_2161); -lean_ctor_set(x_2162, 1, x_2160); -x_2163 = lean_array_push(x_2095, x_2162); -x_2164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2164, 0, x_2103); -lean_ctor_set(x_2164, 1, x_2163); -x_2165 = lean_array_push(x_2149, x_2164); -x_2166 = lean_array_push(x_2165, x_2111); -x_2167 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +x_2159 = lean_array_push(x_2143, x_2158); +x_2160 = lean_array_push(x_2159, x_2105); +x_2161 = l_myMacro____x40_Init_Notation___hyg_13978____closed__6; +lean_inc(x_2079); +x_2162 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2162, 0, x_2079); +lean_ctor_set(x_2162, 1, x_2161); +x_2163 = lean_array_push(x_2160, x_2162); +x_2164 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; +lean_inc(x_2079); +x_2165 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2165, 0, x_2079); +lean_ctor_set(x_2165, 1, x_2164); +x_2166 = lean_array_push(x_2089, x_2165); +x_2167 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; +lean_inc(x_2082); lean_inc(x_2085); -x_2168 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2168, 0, x_2085); -lean_ctor_set(x_2168, 1, x_2167); -x_2169 = lean_array_push(x_2166, x_2168); -x_2170 = l_myMacro____x40_Init_Notation___hyg_13978____closed__11; -lean_inc(x_2085); -x_2171 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2171, 0, x_2085); -lean_ctor_set(x_2171, 1, x_2170); -x_2172 = lean_array_push(x_2095, x_2171); -x_2173 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__12; -lean_inc(x_2088); -lean_inc(x_2091); -x_2174 = l_Lean_addMacroScope(x_2091, x_2173, x_2088); -x_2175 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; -x_2176 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; -lean_inc(x_2085); -x_2177 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2177, 0, x_2085); -lean_ctor_set(x_2177, 1, x_2175); -lean_ctor_set(x_2177, 2, x_2174); -lean_ctor_set(x_2177, 3, x_2176); -x_2178 = lean_array_push(x_2095, x_2177); -x_2179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2179, 0, x_2103); +x_2168 = l_Lean_addMacroScope(x_2085, x_2167, x_2082); +x_2169 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__11; +x_2170 = l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__14; +lean_inc(x_2079); +x_2171 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2171, 0, x_2079); +lean_ctor_set(x_2171, 1, x_2169); +lean_ctor_set(x_2171, 2, x_2168); +lean_ctor_set(x_2171, 3, x_2170); +x_2172 = lean_array_push(x_2089, x_2171); +x_2173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2173, 0, x_2097); +lean_ctor_set(x_2173, 1, x_2172); +lean_inc(x_2166); +x_2174 = lean_array_push(x_2166, x_2173); +x_2175 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; +lean_inc(x_2079); +x_2176 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2176, 0, x_2079); +lean_ctor_set(x_2176, 1, x_2175); +lean_inc(x_2176); +x_2177 = lean_array_push(x_2174, x_2176); +x_2178 = l_Lean_Parser_Term_doBreak___elambda__1___closed__5; +lean_inc(x_2079); +x_2179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2179, 0, x_2079); lean_ctor_set(x_2179, 1, x_2178); -lean_inc(x_2172); -x_2180 = lean_array_push(x_2172, x_2179); -x_2181 = l_myMacro____x40_Init_Notation___hyg_13376____closed__13; -lean_inc(x_2085); -x_2182 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2182, 0, x_2085); -lean_ctor_set(x_2182, 1, x_2181); -lean_inc(x_2182); -x_2183 = lean_array_push(x_2180, x_2182); -x_2184 = l_Lean_Parser_Term_doBreak___elambda__1___closed__5; -lean_inc(x_2085); -x_2185 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2185, 0, x_2085); +x_2180 = lean_array_push(x_2089, x_2179); +x_2181 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; +x_2182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2182, 0, x_2181); +lean_ctor_set(x_2182, 1, x_2180); +x_2183 = lean_array_push(x_2089, x_2182); +x_2184 = lean_array_push(x_2183, x_2105); +x_2185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2185, 0, x_2128); lean_ctor_set(x_2185, 1, x_2184); -x_2186 = lean_array_push(x_2095, x_2185); -x_2187 = l_Lean_Parser_Term_doBreak___elambda__1___closed__2; -x_2188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2188, 0, x_2187); -lean_ctor_set(x_2188, 1, x_2186); -x_2189 = lean_array_push(x_2095, x_2188); -x_2190 = lean_array_push(x_2189, x_2111); -x_2191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2191, 0, x_2134); -lean_ctor_set(x_2191, 1, x_2190); -x_2192 = lean_array_push(x_2095, x_2191); +x_2186 = lean_array_push(x_2089, x_2185); +x_2187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2187, 0, x_2097); +lean_ctor_set(x_2187, 1, x_2186); +x_2188 = lean_array_push(x_2089, x_2187); +x_2189 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; +x_2190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2190, 0, x_2189); +lean_ctor_set(x_2190, 1, x_2188); +x_2191 = lean_array_push(x_2177, x_2190); +x_2192 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; x_2193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2193, 0, x_2103); -lean_ctor_set(x_2193, 1, x_2192); -x_2194 = lean_array_push(x_2095, x_2193); -x_2195 = l_Lean_Option_myMacro____x40_Lean_Data_Options___hyg_897____closed__9; -x_2196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2196, 0, x_2195); -lean_ctor_set(x_2196, 1, x_2194); -x_2197 = lean_array_push(x_2183, x_2196); -x_2198 = l_myMacro____x40_Init_Notation___hyg_13978____closed__10; -x_2199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2199, 0, x_2198); +lean_ctor_set(x_2193, 0, x_2192); +lean_ctor_set(x_2193, 1, x_2191); +x_2194 = lean_array_push(x_2089, x_2193); +x_2195 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; +lean_inc(x_2082); +lean_inc(x_2085); +x_2196 = l_Lean_addMacroScope(x_2085, x_2195, x_2082); +x_2197 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; +x_2198 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; +lean_inc(x_2079); +x_2199 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2199, 0, x_2079); lean_ctor_set(x_2199, 1, x_2197); -x_2200 = lean_array_push(x_2095, x_2199); -x_2201 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__13; -lean_inc(x_2088); -lean_inc(x_2091); -x_2202 = l_Lean_addMacroScope(x_2091, x_2201, x_2088); -x_2203 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__12; -x_2204 = l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__15; -lean_inc(x_2085); -x_2205 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2205, 0, x_2085); -lean_ctor_set(x_2205, 1, x_2203); -lean_ctor_set(x_2205, 2, x_2202); -lean_ctor_set(x_2205, 3, x_2204); -x_2206 = lean_array_push(x_2095, x_2205); -x_2207 = l_prec_x28___x29___closed__3; -lean_inc(x_2085); -x_2208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2208, 0, x_2085); -lean_ctor_set(x_2208, 1, x_2207); -x_2209 = lean_array_push(x_2095, x_2208); -x_2210 = lean_array_push(x_2095, x_1542); -lean_inc(x_2085); -x_2211 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2211, 0, x_2085); -lean_ctor_set(x_2211, 1, x_2140); -x_2212 = lean_array_push(x_2095, x_2211); -x_2213 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; -x_2214 = l_Lean_addMacroScope(x_2091, x_2213, x_2088); -x_2215 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; -lean_inc(x_2085); -x_2216 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2216, 0, x_2085); -lean_ctor_set(x_2216, 1, x_2215); -lean_ctor_set(x_2216, 2, x_2214); -lean_ctor_set(x_2216, 3, x_2080); -lean_inc(x_2216); -x_2217 = lean_array_push(x_2095, x_2216); -x_2218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2218, 0, x_2103); -lean_ctor_set(x_2218, 1, x_2217); -x_2219 = lean_array_push(x_2212, x_2218); -x_2220 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; -x_2221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2221, 0, x_2220); -lean_ctor_set(x_2221, 1, x_2219); -x_2222 = lean_array_push(x_2095, x_2221); -x_2223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2223, 0, x_2103); -lean_ctor_set(x_2223, 1, x_2222); -x_2224 = lean_array_push(x_2210, x_2223); +lean_ctor_set(x_2199, 2, x_2196); +lean_ctor_set(x_2199, 3, x_2198); +x_2200 = lean_array_push(x_2089, x_2199); +x_2201 = l_prec_x28___x29___closed__3; +lean_inc(x_2079); +x_2202 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2202, 0, x_2079); +lean_ctor_set(x_2202, 1, x_2201); +x_2203 = lean_array_push(x_2089, x_2202); +x_2204 = lean_array_push(x_2089, x_1536); +lean_inc(x_2079); +x_2205 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2205, 0, x_2079); +lean_ctor_set(x_2205, 1, x_2134); +x_2206 = lean_array_push(x_2089, x_2205); +x_2207 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__29; +x_2208 = l_Lean_addMacroScope(x_2085, x_2207, x_2082); +x_2209 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__28; +lean_inc(x_2079); +x_2210 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2210, 0, x_2079); +lean_ctor_set(x_2210, 1, x_2209); +lean_ctor_set(x_2210, 2, x_2208); +lean_ctor_set(x_2210, 3, x_2074); +lean_inc(x_2210); +x_2211 = lean_array_push(x_2089, x_2210); +x_2212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2212, 0, x_2097); +lean_ctor_set(x_2212, 1, x_2211); +x_2213 = lean_array_push(x_2206, x_2212); +x_2214 = l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; +x_2215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2215, 0, x_2214); +lean_ctor_set(x_2215, 1, x_2213); +x_2216 = lean_array_push(x_2089, x_2215); +x_2217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2217, 0, x_2097); +lean_ctor_set(x_2217, 1, x_2216); +x_2218 = lean_array_push(x_2204, x_2217); +x_2219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2219, 0, x_2097); +lean_ctor_set(x_2219, 1, x_2218); +x_2220 = lean_array_push(x_2203, x_2219); +x_2221 = l_prec_x28___x29___closed__7; +x_2222 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2222, 0, x_2079); +lean_ctor_set(x_2222, 1, x_2221); +x_2223 = lean_array_push(x_2220, x_2222); +x_2224 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; x_2225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2225, 0, x_2103); -lean_ctor_set(x_2225, 1, x_2224); -x_2226 = lean_array_push(x_2209, x_2225); -x_2227 = l_prec_x28___x29___closed__7; -x_2228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2228, 0, x_2085); -lean_ctor_set(x_2228, 1, x_2227); -x_2229 = lean_array_push(x_2226, x_2228); -x_2230 = l_myMacro____x40_Init_Notation___hyg_13376____closed__8; +lean_ctor_set(x_2225, 0, x_2224); +lean_ctor_set(x_2225, 1, x_2223); +x_2226 = lean_array_push(x_2089, x_2225); +x_2227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2227, 0, x_2097); +lean_ctor_set(x_2227, 1, x_2226); +x_2228 = lean_array_push(x_2200, x_2227); +x_2229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2229, 0, x_2115); +lean_ctor_set(x_2229, 1, x_2228); +x_2230 = lean_array_push(x_2089, x_2229); x_2231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2231, 0, x_2230); -lean_ctor_set(x_2231, 1, x_2229); -x_2232 = lean_array_push(x_2095, x_2231); -x_2233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2233, 0, x_2103); -lean_ctor_set(x_2233, 1, x_2232); -x_2234 = lean_array_push(x_2206, x_2233); +lean_ctor_set(x_2231, 0, x_2097); +lean_ctor_set(x_2231, 1, x_2230); +x_2232 = lean_array_push(x_2166, x_2231); +x_2233 = lean_array_push(x_2232, x_2176); +x_2234 = lean_array_push(x_2110, x_2210); x_2235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2235, 0, x_2121); +lean_ctor_set(x_2235, 0, x_2118); lean_ctor_set(x_2235, 1, x_2234); -x_2236 = lean_array_push(x_2095, x_2235); -x_2237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2237, 0, x_2103); -lean_ctor_set(x_2237, 1, x_2236); -x_2238 = lean_array_push(x_2172, x_2237); -x_2239 = lean_array_push(x_2238, x_2182); -x_2240 = lean_array_push(x_2116, x_2216); +x_2236 = lean_array_push(x_2089, x_2235); +x_2237 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; +x_2238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2238, 0, x_2237); +lean_ctor_set(x_2238, 1, x_2236); +x_2239 = lean_array_push(x_2089, x_2238); +x_2240 = lean_array_push(x_2239, x_2105); x_2241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2241, 0, x_2124); +lean_ctor_set(x_2241, 0, x_2128); lean_ctor_set(x_2241, 1, x_2240); -x_2242 = lean_array_push(x_2095, x_2241); -x_2243 = l_Lean_Parser_Term_doReassign___elambda__1___closed__2; -x_2244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2244, 0, x_2243); -lean_ctor_set(x_2244, 1, x_2242); -x_2245 = lean_array_push(x_2095, x_2244); -x_2246 = lean_array_push(x_2245, x_2111); -x_2247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2247, 0, x_2134); -lean_ctor_set(x_2247, 1, x_2246); -x_2248 = lean_array_push(x_2095, x_2247); -lean_inc(x_2096); -x_2249 = lean_array_push(x_2096, x_1547); -x_2250 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; -x_2251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2251, 0, x_2250); -lean_ctor_set(x_2251, 1, x_2249); -x_2252 = lean_array_push(x_2095, x_2251); -x_2253 = lean_array_push(x_2252, x_2111); +x_2242 = lean_array_push(x_2089, x_2241); +lean_inc(x_2090); +x_2243 = lean_array_push(x_2090, x_1541); +x_2244 = l_Lean_Parser_Term_doNested___elambda__1___closed__2; +x_2245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2245, 0, x_2244); +lean_ctor_set(x_2245, 1, x_2243); +x_2246 = lean_array_push(x_2089, x_2245); +x_2247 = lean_array_push(x_2246, x_2105); +x_2248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2248, 0, x_2128); +lean_ctor_set(x_2248, 1, x_2247); +x_2249 = lean_array_push(x_2242, x_2248); +x_2250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2250, 0, x_2097); +lean_ctor_set(x_2250, 1, x_2249); +x_2251 = lean_array_push(x_2089, x_2250); +x_2252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2252, 0, x_2189); +lean_ctor_set(x_2252, 1, x_2251); +x_2253 = lean_array_push(x_2233, x_2252); x_2254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2254, 0, x_2134); +lean_ctor_set(x_2254, 0, x_2192); lean_ctor_set(x_2254, 1, x_2253); -x_2255 = lean_array_push(x_2248, x_2254); +x_2255 = lean_array_push(x_2194, x_2254); x_2256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2256, 0, x_2103); +lean_ctor_set(x_2256, 0, x_2097); lean_ctor_set(x_2256, 1, x_2255); -x_2257 = lean_array_push(x_2095, x_2256); -x_2258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2258, 0, x_2195); -lean_ctor_set(x_2258, 1, x_2257); -x_2259 = lean_array_push(x_2239, x_2258); -x_2260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2260, 0, x_2198); -lean_ctor_set(x_2260, 1, x_2259); -x_2261 = lean_array_push(x_2200, x_2260); +x_2257 = lean_array_push(x_2089, x_2256); +x_2258 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +x_2259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2259, 0, x_2258); +lean_ctor_set(x_2259, 1, x_2257); +x_2260 = lean_array_push(x_2163, x_2259); +x_2261 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; x_2262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2262, 0, x_2103); -lean_ctor_set(x_2262, 1, x_2261); -x_2263 = lean_array_push(x_2095, x_2262); -x_2264 = l_myMacro____x40_Init_Notation___hyg_13978____closed__8; +lean_ctor_set(x_2262, 0, x_2261); +lean_ctor_set(x_2262, 1, x_2260); +x_2263 = lean_array_push(x_2089, x_2262); +x_2264 = lean_array_push(x_2263, x_2105); x_2265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2265, 0, x_2264); -lean_ctor_set(x_2265, 1, x_2263); -x_2266 = lean_array_push(x_2169, x_2265); -x_2267 = l_Lean_Parser_Term_doMatch___elambda__1___closed__2; -x_2268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2268, 0, x_2267); -lean_ctor_set(x_2268, 1, x_2266); -x_2269 = lean_array_push(x_2095, x_2268); -x_2270 = lean_array_push(x_2269, x_2111); -x_2271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2271, 0, x_2134); -lean_ctor_set(x_2271, 1, x_2270); -x_2272 = lean_array_push(x_2095, x_2271); -x_2273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2273, 0, x_2103); -lean_ctor_set(x_2273, 1, x_2272); -x_2274 = lean_array_push(x_2095, x_2273); +lean_ctor_set(x_2265, 0, x_2128); +lean_ctor_set(x_2265, 1, x_2264); +x_2266 = lean_array_push(x_2089, x_2265); +x_2267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2267, 0, x_2097); +lean_ctor_set(x_2267, 1, x_2266); +x_2268 = lean_array_push(x_2089, x_2267); +x_2269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2269, 0, x_2189); +lean_ctor_set(x_2269, 1, x_2268); +x_2270 = lean_array_push(x_2139, x_2269); +x_2271 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; +x_2272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2272, 0, x_2271); +lean_ctor_set(x_2272, 1, x_2270); +x_2273 = lean_array_push(x_2089, x_2272); +x_2274 = lean_array_push(x_2273, x_2105); x_2275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2275, 0, x_2195); +lean_ctor_set(x_2275, 0, x_2128); lean_ctor_set(x_2275, 1, x_2274); -x_2276 = lean_array_push(x_2145, x_2275); -x_2277 = l_Lean_Parser_Term_doFor___elambda__1___closed__2; -x_2278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2278, 0, x_2277); -lean_ctor_set(x_2278, 1, x_2276); -x_2279 = lean_array_push(x_2095, x_2278); -x_2280 = lean_array_push(x_2279, x_2111); -x_2281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2281, 0, x_2134); -lean_ctor_set(x_2281, 1, x_2280); -x_2282 = lean_array_push(x_2136, x_2281); -x_2283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2283, 0, x_2103); -lean_ctor_set(x_2283, 1, x_2282); -x_2284 = lean_array_push(x_2095, x_2283); -x_2285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2285, 0, x_2195); -lean_ctor_set(x_2285, 1, x_2284); -x_2286 = lean_array_push(x_2096, x_2285); -x_2287 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; -x_2288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2288, 0, x_2287); -lean_ctor_set(x_2288, 1, x_2286); -x_2289 = l_Lean_Syntax_getArg(x_2288, x_11); -lean_dec(x_2288); -x_2290 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2289); -x_2291 = l_List_append___rarg(x_2290, x_2); -x_2292 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2291, x_3, x_2058, x_5, x_6, x_7, x_8, x_9, x_2092); -return x_2292; +x_2276 = lean_array_push(x_2130, x_2275); +x_2277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2277, 0, x_2097); +lean_ctor_set(x_2277, 1, x_2276); +x_2278 = lean_array_push(x_2089, x_2277); +x_2279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2279, 0, x_2189); +lean_ctor_set(x_2279, 1, x_2278); +x_2280 = lean_array_push(x_2090, x_2279); +x_2281 = l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_276____closed__2; +x_2282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2282, 0, x_2281); +lean_ctor_set(x_2282, 1, x_2280); +x_2283 = l_Lean_Syntax_getArg(x_2282, x_11); +lean_dec(x_2282); +x_2284 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_2283); +x_2285 = l_List_append___rarg(x_2284, x_2); +x_2286 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_2285, x_3, x_2052, x_5, x_6, x_7, x_8, x_9, x_2086); +return x_2286; } } } @@ -63351,7 +63329,7 @@ lean_inc(x_3); x_22 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 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; uint8_t x_52; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -63366,104 +63344,103 @@ lean_dec(x_25); x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); lean_dec(x_26); -x_29 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_27); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_st_ref_get(x_9, x_31); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_28); +x_29 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_29, 0, x_28); +x_30 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_30, 0, x_20); +lean_inc(x_28); +x_31 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_31, 0, x_28); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +lean_ctor_set(x_32, 2, x_31); +x_33 = x_32; +x_34 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_27); +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -lean_inc(x_28); -x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_36, 0, x_28); +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -x_37 = x_36; -lean_inc(x_28); -x_38 = lean_environment_main_module(x_28); -x_39 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_39, 0, x_20); -x_40 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_40, 0, x_28); -x_41 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_39); -lean_ctor_set(x_41, 2, x_40); -x_42 = x_41; -x_43 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_43, 0, x_37); -lean_ctor_set(x_43, 1, x_38); -lean_ctor_set(x_43, 2, x_30); -lean_ctor_set(x_43, 3, x_17); -lean_ctor_set(x_43, 4, x_18); -lean_ctor_set(x_43, 5, x_21); -lean_ctor_set(x_43, 6, x_42); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_45, 0, x_35); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Term_Do_mkUnless(x_12, x_23, x_43, x_45); -x_47 = lean_ctor_get(x_46, 0); +lean_dec(x_34); +x_37 = lean_st_ref_get(x_9, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_environment_main_module(x_28); +lean_inc(x_33); +x_42 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_42, 0, x_33); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_35); +lean_ctor_set(x_42, 3, x_17); +lean_ctor_set(x_42, 4, x_18); +lean_ctor_set(x_42, 5, x_21); +lean_ctor_set(x_42, 6, x_33); +x_43 = lean_box(0); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Elab_Term_Do_mkUnless(x_12, x_23, x_42, x_44); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); +lean_dec(x_45); +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_st_ref_take(x_9, x_34); -x_51 = lean_ctor_get(x_50, 0); +lean_dec(x_47); +x_49 = lean_st_ref_take(x_9, x_39); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = !lean_is_exclusive(x_51); -if (x_53 == 0) +lean_dec(x_49); +x_52 = !lean_is_exclusive(x_50); +if (x_52 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = lean_ctor_get(x_51, 1); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_50, 1); +lean_dec(x_53); +lean_ctor_set(x_50, 1, x_48); +x_54 = lean_st_ref_set(x_9, x_50, x_51); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); lean_dec(x_54); -lean_ctor_set(x_51, 1, x_49); -x_55 = lean_st_ref_set(x_9, x_51, x_52); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -x_57 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_56); -return x_57; +x_56 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_55); +return x_56; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_58 = lean_ctor_get(x_51, 0); -x_59 = lean_ctor_get(x_51, 2); -x_60 = lean_ctor_get(x_51, 3); -lean_inc(x_60); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_57 = lean_ctor_get(x_50, 0); +x_58 = lean_ctor_get(x_50, 2); +x_59 = lean_ctor_get(x_50, 3); lean_inc(x_59); lean_inc(x_58); -lean_dec(x_51); -x_61 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_61, 0, x_58); -lean_ctor_set(x_61, 1, x_49); -lean_ctor_set(x_61, 2, x_59); -lean_ctor_set(x_61, 3, x_60); -x_62 = lean_st_ref_set(x_9, x_61, x_52); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_63); -return x_64; +lean_inc(x_57); +lean_dec(x_50); +x_60 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_48); +lean_ctor_set(x_60, 2, x_58); +lean_ctor_set(x_60, 3, x_59); +x_61 = lean_st_ref_set(x_9, x_60, x_51); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_62); +return x_63; } } else { -uint8_t x_65; +uint8_t x_64; lean_dec(x_8); lean_dec(x_21); lean_dec(x_20); @@ -63477,38 +63454,37 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_65 = !lean_is_exclusive(x_22); -if (x_65 == 0) +x_64 = !lean_is_exclusive(x_22); +if (x_64 == 0) { return x_22; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_22, 0); -x_67 = lean_ctor_get(x_22, 1); -lean_inc(x_67); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_22, 0); +x_66 = lean_ctor_get(x_22, 1); lean_inc(x_66); +lean_inc(x_65); lean_dec(x_22); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +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 { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_69 = lean_ctor_get(x_8, 0); -x_70 = lean_ctor_get(x_8, 1); -x_71 = lean_ctor_get(x_8, 2); -x_72 = lean_ctor_get(x_8, 3); -x_73 = lean_ctor_get(x_8, 4); -x_74 = lean_ctor_get(x_8, 5); -x_75 = lean_ctor_get(x_8, 6); -x_76 = lean_ctor_get(x_8, 7); -lean_inc(x_76); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_68 = lean_ctor_get(x_8, 0); +x_69 = lean_ctor_get(x_8, 1); +x_70 = lean_ctor_get(x_8, 2); +x_71 = lean_ctor_get(x_8, 3); +x_72 = lean_ctor_get(x_8, 4); +x_73 = lean_ctor_get(x_8, 5); +x_74 = lean_ctor_get(x_8, 6); +x_75 = lean_ctor_get(x_8, 7); lean_inc(x_75); lean_inc(x_74); lean_inc(x_73); @@ -63516,145 +63492,145 @@ lean_inc(x_72); lean_inc(x_71); lean_inc(x_70); lean_inc(x_69); +lean_inc(x_68); lean_dec(x_8); -x_77 = l_Lean_replaceRef(x_1, x_72); -lean_dec(x_72); -lean_inc(x_73); -lean_inc(x_77); -lean_inc(x_71); +x_76 = l_Lean_replaceRef(x_1, x_71); +lean_dec(x_71); +lean_inc(x_72); +lean_inc(x_76); lean_inc(x_70); -x_78 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_78, 0, x_69); -lean_ctor_set(x_78, 1, x_70); -lean_ctor_set(x_78, 2, x_71); -lean_ctor_set(x_78, 3, x_77); -lean_ctor_set(x_78, 4, x_73); -lean_ctor_set(x_78, 5, x_74); -lean_ctor_set(x_78, 6, x_75); -lean_ctor_set(x_78, 7, x_76); +lean_inc(x_69); +x_77 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_69); +lean_ctor_set(x_77, 2, x_70); +lean_ctor_set(x_77, 3, x_76); +lean_ctor_set(x_77, 4, x_72); +lean_ctor_set(x_77, 5, x_73); +lean_ctor_set(x_77, 6, x_74); +lean_ctor_set(x_77, 7, x_75); lean_inc(x_9); -lean_inc(x_78); +lean_inc(x_77); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_79 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_15, x_3, x_4, x_5, x_6, x_7, x_78, x_9, x_10); -if (lean_obj_tag(x_79) == 0) +x_78 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_15, x_3, x_4, x_5, x_6, x_7, x_77, x_9, x_10); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_80 = lean_ctor_get(x_79, 0); +lean_object* 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; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_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_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_st_ref_get(x_9, x_81); -x_83 = lean_ctor_get(x_82, 0); +lean_dec(x_78); +x_81 = lean_st_ref_get(x_9, x_80); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); +lean_dec(x_81); +x_84 = lean_ctor_get(x_82, 0); lean_inc(x_84); lean_dec(x_82); -x_85 = lean_ctor_get(x_83, 0); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_78, x_9, x_84); -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = lean_st_ref_get(x_9, x_88); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_84); +x_85 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_85, 0, x_84); +x_86 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_86, 0, x_72); +lean_inc(x_84); +x_87 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_87, 0, x_84); +x_88 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +lean_ctor_set(x_88, 2, x_87); +x_89 = x_88; +x_90 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_77, x_9, x_83); +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); -lean_dec(x_89); x_92 = lean_ctor_get(x_90, 1); lean_inc(x_92); lean_dec(x_90); -lean_inc(x_85); -x_93 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_93, 0, x_85); -lean_inc(x_93); -x_94 = x_93; -lean_inc(x_85); -x_95 = lean_environment_main_module(x_85); -x_96 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_96, 0, x_73); -x_97 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_97, 0, x_85); -x_98 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_98, 0, x_93); -lean_ctor_set(x_98, 1, x_96); -lean_ctor_set(x_98, 2, x_97); -x_99 = x_98; -x_100 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_100, 0, x_94); -lean_ctor_set(x_100, 1, x_95); -lean_ctor_set(x_100, 2, x_87); -lean_ctor_set(x_100, 3, x_70); -lean_ctor_set(x_100, 4, x_71); -lean_ctor_set(x_100, 5, x_77); -lean_ctor_set(x_100, 6, x_99); -x_101 = lean_box(0); -x_102 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_102, 0, x_92); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Term_Do_mkUnless(x_12, x_80, x_100, x_102); +x_93 = lean_st_ref_get(x_9, x_92); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_environment_main_module(x_84); +lean_inc(x_89); +x_98 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_98, 0, x_89); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_91); +lean_ctor_set(x_98, 3, x_69); +lean_ctor_set(x_98, 4, x_70); +lean_ctor_set(x_98, 5, x_76); +lean_ctor_set(x_98, 6, x_89); +x_99 = lean_box(0); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_96); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Elab_Term_Do_mkUnless(x_12, x_79, x_98, x_100); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); x_104 = lean_ctor_get(x_103, 0); lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); lean_dec(x_103); +x_105 = lean_st_ref_take(x_9, x_95); x_106 = lean_ctor_get(x_105, 0); lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); lean_dec(x_105); -x_107 = lean_st_ref_take(x_9, x_91); -x_108 = lean_ctor_get(x_107, 0); +x_108 = lean_ctor_get(x_106, 0); lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +x_109 = lean_ctor_get(x_106, 2); lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_ctor_get(x_108, 0); +x_110 = lean_ctor_get(x_106, 3); lean_inc(x_110); -x_111 = lean_ctor_get(x_108, 2); -lean_inc(x_111); -x_112 = lean_ctor_get(x_108, 3); -lean_inc(x_112); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - lean_ctor_release(x_108, 1); - lean_ctor_release(x_108, 2); - lean_ctor_release(x_108, 3); - x_113 = x_108; +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + lean_ctor_release(x_106, 2); + lean_ctor_release(x_106, 3); + x_111 = x_106; } else { - lean_dec_ref(x_108); - x_113 = lean_box(0); + lean_dec_ref(x_106); + x_111 = lean_box(0); } -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(0, 4, 0); } else { - x_114 = x_113; + x_112 = x_111; } -lean_ctor_set(x_114, 0, x_110); -lean_ctor_set(x_114, 1, x_106); -lean_ctor_set(x_114, 2, x_111); -lean_ctor_set(x_114, 3, x_112); -x_115 = lean_st_ref_set(x_9, x_114, x_109); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_104, x_2, x_3, x_4, x_5, x_6, x_7, x_78, x_9, x_116); -return x_117; +lean_ctor_set(x_112, 0, x_108); +lean_ctor_set(x_112, 1, x_104); +lean_ctor_set(x_112, 2, x_109); +lean_ctor_set(x_112, 3, x_110); +x_113 = lean_st_ref_set(x_9, x_112, x_107); +x_114 = lean_ctor_get(x_113, 1); +lean_inc(x_114); +lean_dec(x_113); +x_115 = l_Lean_Elab_Term_Do_ToCodeBlock_concatWith(x_102, x_2, x_3, x_4, x_5, x_6, x_7, x_77, x_9, x_114); +return x_115; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -lean_dec(x_78); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_dec(x_77); -lean_dec(x_73); -lean_dec(x_71); +lean_dec(x_76); +lean_dec(x_72); lean_dec(x_70); +lean_dec(x_69); lean_dec(x_12); lean_dec(x_9); lean_dec(x_7); @@ -63663,26 +63639,26 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_118 = lean_ctor_get(x_79, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_79, 1); -lean_inc(x_119); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_120 = x_79; +x_116 = lean_ctor_get(x_78, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_78, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_78)) { + lean_ctor_release(x_78, 0); + lean_ctor_release(x_78, 1); + x_118 = x_78; } else { - lean_dec_ref(x_79); - x_120 = lean_box(0); + lean_dec_ref(x_78); + x_118 = lean_box(0); } -if (lean_is_scalar(x_120)) { - x_121 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); } else { - x_121 = x_120; + x_119 = x_118; } -lean_ctor_set(x_121, 0, x_118); -lean_ctor_set(x_121, 1, x_119); -return x_121; +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_117); +return x_119; } } } @@ -63800,7 +63776,7 @@ return x_8; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doIfToCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_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; uint8_t x_75; +lean_object* x_11; lean_object* x_12; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_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; uint8_t x_74; x_43 = lean_st_ref_get(x_9, x_10); x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); @@ -63812,107 +63788,106 @@ lean_inc(x_46); lean_dec(x_44); x_47 = lean_ctor_get(x_8, 4); lean_inc(x_47); -x_48 = lean_ctor_get(x_8, 3); -lean_inc(x_48); -x_49 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_45); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_8, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_8, 2); +lean_inc(x_46); +x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_48, 0, x_46); +x_49 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_49, 0, x_47); +lean_inc(x_46); +x_50 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_50, 0, x_46); +x_51 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +x_52 = x_51; +x_53 = lean_ctor_get(x_8, 3); lean_inc(x_53); -x_54 = lean_st_ref_get(x_9, x_51); +x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_45); x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); x_56 = lean_ctor_get(x_54, 1); lean_inc(x_56); lean_dec(x_54); -x_57 = lean_ctor_get(x_55, 1); +x_57 = lean_ctor_get(x_8, 1); lean_inc(x_57); -lean_dec(x_55); -lean_inc(x_46); -x_58 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_58, 0, x_46); +x_58 = lean_ctor_get(x_8, 2); lean_inc(x_58); -x_59 = x_58; -lean_inc(x_46); -x_60 = lean_environment_main_module(x_46); -x_61 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_61, 0, x_47); -x_62 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_62, 0, x_46); -x_63 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_63, 0, x_58); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_62); -x_64 = x_63; -x_65 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_65, 0, x_59); -lean_ctor_set(x_65, 1, x_60); -lean_ctor_set(x_65, 2, x_50); -lean_ctor_set(x_65, 3, x_52); -lean_ctor_set(x_65, 4, x_53); -lean_ctor_set(x_65, 5, x_48); -lean_ctor_set(x_65, 6, x_64); -x_66 = lean_box(0); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_57); -lean_ctor_set(x_67, 1, x_66); -x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView(x_1, x_65, x_67); -lean_dec(x_65); -x_69 = lean_ctor_get(x_68, 0); +x_59 = lean_st_ref_get(x_9, x_56); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_environment_main_module(x_46); +lean_inc(x_52); +x_64 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_64, 0, x_52); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_55); +lean_ctor_set(x_64, 3, x_57); +lean_ctor_set(x_64, 4, x_58); +lean_ctor_set(x_64, 5, x_53); +lean_ctor_set(x_64, 6, x_52); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_62); +lean_ctor_set(x_66, 1, x_65); +x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView(x_1, x_64, x_66); +lean_dec(x_64); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_dec(x_67); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_take(x_9, x_56); -x_73 = lean_ctor_get(x_72, 0); +lean_dec(x_69); +x_71 = lean_st_ref_take(x_9, x_61); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = !lean_is_exclusive(x_73); -if (x_75 == 0) +lean_dec(x_71); +x_74 = !lean_is_exclusive(x_72); +if (x_74 == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_72, 1); +lean_dec(x_75); +lean_ctor_set(x_72, 1, x_70); +x_76 = lean_st_ref_set(x_9, x_72, x_73); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); lean_dec(x_76); -lean_ctor_set(x_73, 1, x_71); -x_77 = lean_st_ref_set(x_9, x_73, x_74); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_11 = x_69; -x_12 = x_78; +x_11 = x_68; +x_12 = x_77; goto block_42; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_79 = lean_ctor_get(x_73, 0); -x_80 = lean_ctor_get(x_73, 2); -x_81 = lean_ctor_get(x_73, 3); -lean_inc(x_81); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_78 = lean_ctor_get(x_72, 0); +x_79 = lean_ctor_get(x_72, 2); +x_80 = lean_ctor_get(x_72, 3); lean_inc(x_80); lean_inc(x_79); -lean_dec(x_73); -x_82 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_82, 0, x_79); -lean_ctor_set(x_82, 1, x_71); -lean_ctor_set(x_82, 2, x_80); -lean_ctor_set(x_82, 3, x_81); -x_83 = lean_st_ref_set(x_9, x_82, x_74); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_11 = x_69; -x_12 = x_84; +lean_inc(x_78); +lean_dec(x_72); +x_81 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_70); +lean_ctor_set(x_81, 2, x_79); +lean_ctor_set(x_81, 3, x_80); +x_82 = lean_st_ref_set(x_9, x_81, x_73); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_11 = x_68; +x_12 = x_83; goto block_42; } block_42: @@ -67904,7 +67879,7 @@ lean_inc(x_1); x_19 = l_Lean_Elab_Term_Do_ToCodeBlock_run(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_18); 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_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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; uint8_t x_74; lean_object* x_75; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -67924,186 +67899,185 @@ lean_inc(x_51); lean_dec(x_49); x_52 = lean_ctor_get(x_7, 4); lean_inc(x_52); -x_53 = lean_ctor_get(x_7, 3); -lean_inc(x_53); -x_54 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_50); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_7, 1); -lean_inc(x_57); -x_58 = lean_ctor_get(x_7, 2); +lean_inc(x_51); +x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_53, 0, x_51); +x_54 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_54, 0, x_52); +lean_inc(x_51); +x_55 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_55, 0, x_51); +x_56 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +lean_ctor_set(x_56, 2, x_55); +x_57 = x_56; +x_58 = lean_ctor_get(x_7, 3); lean_inc(x_58); -x_59 = lean_st_ref_get(x_8, x_56); +x_59 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_50); x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); lean_dec(x_59); -x_62 = lean_ctor_get(x_60, 1); +x_62 = lean_ctor_get(x_7, 1); lean_inc(x_62); -lean_dec(x_60); -lean_inc(x_51); -x_63 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_63, 0, x_51); +x_63 = lean_ctor_get(x_7, 2); lean_inc(x_63); -x_64 = x_63; -lean_inc(x_51); -x_65 = lean_environment_main_module(x_51); -x_66 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_66, 0, x_52); -x_67 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_67, 0, x_51); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_63); -lean_ctor_set(x_68, 1, x_66); -lean_ctor_set(x_68, 2, x_67); -x_69 = x_68; -x_70 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_70, 0, x_64); -lean_ctor_set(x_70, 1, x_65); -lean_ctor_set(x_70, 2, x_55); -lean_ctor_set(x_70, 3, x_57); -lean_ctor_set(x_70, 4, x_58); -lean_ctor_set(x_70, 5, x_53); -lean_ctor_set(x_70, 6, x_69); -x_71 = lean_box(0); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_62); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Array_empty___closed__1; -x_74 = 0; -x_75 = l_Lean_Elab_Term_Do_ToTerm_run(x_47, x_17, x_73, x_74, x_70, x_72); -if (lean_obj_tag(x_75) == 0) +x_64 = lean_st_ref_get(x_8, x_61); +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_environment_main_module(x_51); +lean_inc(x_57); +x_69 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_69, 0, x_57); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_60); +lean_ctor_set(x_69, 3, x_62); +lean_ctor_set(x_69, 4, x_63); +lean_ctor_set(x_69, 5, x_58); +lean_ctor_set(x_69, 6, x_57); +x_70 = lean_box(0); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_67); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Array_empty___closed__1; +x_73 = 0; +x_74 = l_Lean_Elab_Term_Do_ToTerm_run(x_47, x_17, x_72, x_73, x_69, x_71); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_76 = lean_ctor_get(x_75, 0); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); +lean_dec(x_74); +x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_st_ref_take(x_8, x_61); -x_80 = lean_ctor_get(x_79, 0); +lean_dec(x_76); +x_78 = lean_st_ref_take(x_8, x_66); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = !lean_is_exclusive(x_80); -if (x_82 == 0) +lean_dec(x_78); +x_81 = !lean_is_exclusive(x_79); +if (x_81 == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_80, 1); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_79, 1); +lean_dec(x_82); +lean_ctor_set(x_79, 1, x_77); +x_83 = lean_st_ref_set(x_8, x_79, x_80); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); lean_dec(x_83); -lean_ctor_set(x_80, 1, x_78); -x_84 = lean_st_ref_set(x_8, x_80, x_81); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -lean_dec(x_84); -x_22 = x_76; -x_23 = x_85; +x_22 = x_75; +x_23 = x_84; goto block_46; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_86 = lean_ctor_get(x_80, 0); -x_87 = lean_ctor_get(x_80, 2); -x_88 = lean_ctor_get(x_80, 3); -lean_inc(x_88); +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_85 = lean_ctor_get(x_79, 0); +x_86 = lean_ctor_get(x_79, 2); +x_87 = lean_ctor_get(x_79, 3); lean_inc(x_87); lean_inc(x_86); -lean_dec(x_80); -x_89 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_78); -lean_ctor_set(x_89, 2, x_87); -lean_ctor_set(x_89, 3, x_88); -x_90 = lean_st_ref_set(x_8, x_89, x_81); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_22 = x_76; -x_23 = x_91; +lean_inc(x_85); +lean_dec(x_79); +x_88 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_77); +lean_ctor_set(x_88, 2, x_86); +lean_ctor_set(x_88, 3, x_87); +x_89 = lean_st_ref_set(x_8, x_88, x_80); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); +lean_dec(x_89); +x_22 = x_75; +x_23 = x_90; goto block_46; } } else { -lean_object* x_92; +lean_object* x_91; lean_dec(x_13); lean_dec(x_1); -x_92 = lean_ctor_get(x_75, 0); -lean_inc(x_92); -lean_dec(x_75); -if (lean_obj_tag(x_92) == 0) +x_91 = lean_ctor_get(x_74, 0); +lean_inc(x_91); +lean_dec(x_74); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_93 = lean_ctor_get(x_92, 0); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_91); +x_94 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_94, 0, x_93); +x_95 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_95, 0, x_94); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_97 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_93, x_96, x_3, x_4, x_5, x_6, x_7, x_8, x_61); +x_96 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_92, x_95, x_3, x_4, x_5, x_6, x_7, x_8, x_66); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_93); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) +lean_dec(x_92); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) { -return x_97; +return x_96; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_96, 0); +x_99 = lean_ctor_get(x_96, 1); lean_inc(x_99); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; +lean_inc(x_98); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } else { -lean_object* x_102; uint8_t x_103; +lean_object* x_101; uint8_t x_102; 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_102 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_61); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) +x_101 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_66); +x_102 = !lean_is_exclusive(x_101); +if (x_102 == 0) { -return x_102; +return x_101; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_101, 0); +x_104 = lean_ctor_get(x_101, 1); lean_inc(x_104); -lean_dec(x_102); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; +lean_inc(x_103); +lean_dec(x_101); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; } } } @@ -68188,7 +68162,7 @@ return x_29; } else { -uint8_t x_107; +uint8_t x_106; lean_dec(x_17); lean_dec(x_13); lean_dec(x_8); @@ -68198,29 +68172,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_107 = !lean_is_exclusive(x_19); -if (x_107 == 0) +x_106 = !lean_is_exclusive(x_19); +if (x_106 == 0) { return x_19; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_19, 0); -x_109 = lean_ctor_get(x_19, 1); -lean_inc(x_109); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_19, 0); +x_108 = lean_ctor_get(x_19, 1); lean_inc(x_108); +lean_inc(x_107); lean_dec(x_19); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } } else { -uint8_t x_111; +uint8_t x_110; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); @@ -68229,29 +68203,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_111 = !lean_is_exclusive(x_16); -if (x_111 == 0) +x_110 = !lean_is_exclusive(x_16); +if (x_110 == 0) { return x_16; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_16, 0); -x_113 = lean_ctor_get(x_16, 1); -lean_inc(x_113); +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_16, 0); +x_112 = lean_ctor_get(x_16, 1); lean_inc(x_112); +lean_inc(x_111); lean_dec(x_16); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; } } } else { -uint8_t x_115; +uint8_t x_114; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -68259,29 +68233,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_115 = !lean_is_exclusive(x_12); -if (x_115 == 0) +x_114 = !lean_is_exclusive(x_12); +if (x_114 == 0) { return x_12; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_12, 0); -x_117 = lean_ctor_get(x_12, 1); -lean_inc(x_117); +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_12, 0); +x_116 = lean_ctor_get(x_12, 1); lean_inc(x_116); +lean_inc(x_115); lean_dec(x_12); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +return x_117; } } } else { -uint8_t x_119; +uint8_t x_118; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -68290,23 +68264,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_119 = !lean_is_exclusive(x_10); -if (x_119 == 0) +x_118 = !lean_is_exclusive(x_10); +if (x_118 == 0) { return x_10; } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -x_120 = lean_ctor_get(x_10, 0); -x_121 = lean_ctor_get(x_10, 1); -lean_inc(x_121); +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_10, 0); +x_120 = lean_ctor_get(x_10, 1); lean_inc(x_120); +lean_inc(x_119); lean_dec(x_10); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_120); -lean_ctor_set(x_122, 1, x_121); -return x_122; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; } } } diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index 72e09baf37..ecd8fa2ab0 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -1385,7 +1385,7 @@ x_11 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_LetRec_0__Lean_Elab_ lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -1404,183 +1404,182 @@ lean_inc(x_41); lean_dec(x_39); x_42 = lean_ctor_get(x_6, 4); lean_inc(x_42); -x_43 = lean_ctor_get(x_6, 3); -lean_inc(x_43); -x_44 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_40); -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 = lean_ctor_get(x_6, 1); -lean_inc(x_47); -x_48 = lean_ctor_get(x_6, 2); +lean_inc(x_41); +x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_43, 0, x_41); +x_44 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_44, 0, x_42); +lean_inc(x_41); +x_45 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_45, 0, x_41); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_46, 2, x_45); +x_47 = x_46; +x_48 = lean_ctor_get(x_6, 3); lean_inc(x_48); -x_49 = lean_st_ref_get(x_7, x_46); +x_49 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_40); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); lean_dec(x_49); -x_52 = lean_ctor_get(x_50, 1); +x_52 = lean_ctor_get(x_6, 1); lean_inc(x_52); -lean_dec(x_50); -lean_inc(x_41); -x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_53, 0, x_41); +x_53 = lean_ctor_get(x_6, 2); lean_inc(x_53); -x_54 = x_53; -lean_inc(x_41); -x_55 = lean_environment_main_module(x_41); -x_56 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_56, 0, x_42); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_57, 0, x_41); -x_58 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_57); -x_59 = x_58; -x_60 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_60, 0, x_54); -lean_ctor_set(x_60, 1, x_55); -lean_ctor_set(x_60, 2, x_45); -lean_ctor_set(x_60, 3, x_47); -lean_ctor_set(x_60, 4, x_48); -lean_ctor_set(x_60, 5, x_43); -lean_ctor_set(x_60, 6, x_59); -x_61 = lean_box(0); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_52); -lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_expandMacros(x_37, x_60, x_62); -if (lean_obj_tag(x_63) == 0) +x_54 = lean_st_ref_get(x_7, x_51); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_environment_main_module(x_41); +lean_inc(x_47); +x_59 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_59, 0, x_47); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_50); +lean_ctor_set(x_59, 3, x_52); +lean_ctor_set(x_59, 4, x_53); +lean_ctor_set(x_59, 5, x_48); +lean_ctor_set(x_59, 6, x_47); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_57); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_expandMacros(x_37, x_59, x_61); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_64 = lean_ctor_get(x_63, 0); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); +lean_dec(x_62); +x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_st_ref_take(x_7, x_51); -x_68 = lean_ctor_get(x_67, 0); +lean_dec(x_64); +x_66 = lean_st_ref_take(x_7, x_56); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = !lean_is_exclusive(x_68); -if (x_70 == 0) +lean_dec(x_66); +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_68, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_67, 1); +lean_dec(x_70); +lean_ctor_set(x_67, 1, x_65); +x_71 = lean_st_ref_set(x_7, x_67, x_68); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); lean_dec(x_71); -lean_ctor_set(x_68, 1, x_66); -x_72 = lean_st_ref_set(x_7, x_68, x_69); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_14 = x_64; -x_15 = x_73; +x_14 = x_63; +x_15 = x_72; goto block_35; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_74 = lean_ctor_get(x_68, 0); -x_75 = lean_ctor_get(x_68, 2); -x_76 = lean_ctor_get(x_68, 3); -lean_inc(x_76); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_73 = lean_ctor_get(x_67, 0); +x_74 = lean_ctor_get(x_67, 2); +x_75 = lean_ctor_get(x_67, 3); lean_inc(x_75); lean_inc(x_74); -lean_dec(x_68); -x_77 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_66); -lean_ctor_set(x_77, 2, x_75); -lean_ctor_set(x_77, 3, x_76); -x_78 = lean_st_ref_set(x_7, x_77, x_69); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_14 = x_64; -x_15 = x_79; +lean_inc(x_73); +lean_dec(x_67); +x_76 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_65); +lean_ctor_set(x_76, 2, x_74); +lean_ctor_set(x_76, 3, x_75); +x_77 = lean_st_ref_set(x_7, x_76, x_68); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_14 = x_63; +x_15 = x_78; goto block_35; } } else { -lean_object* x_80; +lean_object* x_79; lean_dec(x_12); -x_80 = lean_ctor_get(x_63, 0); -lean_inc(x_80); -lean_dec(x_63); -if (lean_obj_tag(x_80) == 0) +x_79 = lean_ctor_get(x_62, 0); +lean_inc(x_79); +lean_dec(x_62); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_81 = lean_ctor_get(x_80, 0); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_79); +x_82 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_83, 0, x_82); -x_84 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_85 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_81, x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_51); +x_84 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_80, x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_56); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_81); -x_86 = !lean_is_exclusive(x_85); -if (x_86 == 0) +lean_dec(x_80); +x_85 = !lean_is_exclusive(x_84); +if (x_85 == 0) { -return x_85; +return x_84; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_85, 0); -x_88 = lean_ctor_get(x_85, 1); -lean_inc(x_88); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_84, 0); +x_87 = lean_ctor_get(x_84, 1); lean_inc(x_87); -lean_dec(x_85); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_inc(x_86); +lean_dec(x_84); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } else { -lean_object* x_90; uint8_t x_91; +lean_object* x_89; uint8_t x_90; 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_90 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_51); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) +x_89 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_56); +x_90 = !lean_is_exclusive(x_89); +if (x_90 == 0) { -return x_90; +return x_89; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); +x_92 = lean_ctor_get(x_89, 1); lean_inc(x_92); -lean_dec(x_90); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +lean_inc(x_91); +lean_dec(x_89); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } @@ -1665,30 +1664,30 @@ return x_34; } else { -uint8_t x_95; +uint8_t x_94; 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_95 = !lean_is_exclusive(x_11); -if (x_95 == 0) +x_94 = !lean_is_exclusive(x_11); +if (x_94 == 0) { return x_11; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_11, 0); -x_97 = lean_ctor_get(x_11, 1); -lean_inc(x_97); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_11, 0); +x_96 = lean_ctor_get(x_11, 1); lean_inc(x_96); +lean_inc(x_95); lean_dec(x_11); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } @@ -2050,13 +2049,13 @@ lean_inc(x_14); x_18 = l_Lean_Syntax_isOfKind(x_14, x_17); if (x_18 == 0) { -lean_object* x_121; uint8_t x_122; -x_121 = l_Lean_Parser_Term_letEqnsDecl___closed__2; +lean_object* x_120; uint8_t x_121; +x_120 = l_Lean_Parser_Term_letEqnsDecl___closed__2; lean_inc(x_14); -x_122 = l_Lean_Syntax_isOfKind(x_14, x_121); -if (x_122 == 0) +x_121 = l_Lean_Syntax_isOfKind(x_14, x_120); +if (x_121 == 0) { -lean_object* x_123; +lean_object* x_122; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); @@ -2066,25 +2065,25 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_123 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___rarg(x_10); -return x_123; +x_122 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__10___rarg(x_10); +return x_122; +} +else +{ +lean_object* x_123; +x_123 = lean_box(0); +x_19 = x_123; +goto block_119; +} } else { lean_object* x_124; x_124 = lean_box(0); x_19 = x_124; -goto block_120; +goto block_119; } -} -else -{ -lean_object* x_125; -x_125 = lean_box(0); -x_19 = x_125; -goto block_120; -} -block_120: +block_119: { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_dec(x_19); @@ -2098,21 +2097,21 @@ lean_inc(x_24); lean_dec(x_22); if (lean_obj_tag(x_23) == 0) { -lean_object* x_118; -x_118 = lean_box(0); -x_25 = x_118; -goto block_117; +lean_object* x_117; +x_117 = lean_box(0); +x_25 = x_117; +goto block_116; } else { -lean_object* x_119; -x_119 = lean_ctor_get(x_23, 0); -lean_inc(x_119); +lean_object* x_118; +x_118 = lean_ctor_get(x_23, 0); +lean_inc(x_118); lean_dec(x_23); -x_25 = x_119; -goto block_117; +x_25 = x_118; +goto block_116; } -block_117: +block_116: { lean_object* x_26; lean_object* x_27; lean_inc(x_21); @@ -2188,7 +2187,7 @@ lean_inc(x_6); x_50 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_47, x_48, x_49, x_6, x_7, x_8, x_9, x_44); if (x_18 == 0) { -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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; +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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; 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; uint8_t x_87; x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); @@ -2207,143 +2206,142 @@ lean_inc(x_58); lean_dec(x_56); x_59 = lean_ctor_get(x_8, 4); lean_inc(x_59); -x_60 = lean_ctor_get(x_8, 3); -lean_inc(x_60); -x_61 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_57); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_8, 1); -lean_inc(x_64); -x_65 = lean_ctor_get(x_8, 2); +lean_inc(x_58); +x_60 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_60, 0, x_58); +x_61 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_61, 0, x_59); +lean_inc(x_58); +x_62 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_62, 0, x_58); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_63, 2, x_62); +x_64 = x_63; +x_65 = lean_ctor_get(x_8, 3); lean_inc(x_65); -x_66 = lean_st_ref_get(x_9, x_63); +x_66 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_57); x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); lean_dec(x_66); -x_69 = lean_ctor_get(x_67, 1); +x_69 = lean_ctor_get(x_8, 1); lean_inc(x_69); -lean_dec(x_67); -lean_inc(x_58); -x_70 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_70, 0, x_58); +x_70 = lean_ctor_get(x_8, 2); lean_inc(x_70); -x_71 = x_70; -lean_inc(x_58); -x_72 = lean_environment_main_module(x_58); -x_73 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_73, 0, x_59); -x_74 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_74, 0, x_58); -x_75 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_75, 2, x_74); -x_76 = x_75; -x_77 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_77, 0, x_71); -lean_ctor_set(x_77, 1, x_72); -lean_ctor_set(x_77, 2, x_62); -lean_ctor_set(x_77, 3, x_64); -lean_ctor_set(x_77, 4, x_65); -lean_ctor_set(x_77, 5, x_60); -lean_ctor_set(x_77, 6, x_76); -x_78 = lean_box(0); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_69); -lean_ctor_set(x_79, 1, x_78); -x_80 = 0; -x_81 = l_Lean_Elab_Term_expandMatchAltsIntoMatch(x_14, x_54, x_80, x_77, x_79); -x_82 = lean_ctor_get(x_81, 0); +x_71 = lean_st_ref_get(x_9, x_68); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_environment_main_module(x_58); +lean_inc(x_64); +x_76 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_76, 0, x_64); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set(x_76, 2, x_67); +lean_ctor_set(x_76, 3, x_69); +lean_ctor_set(x_76, 4, x_70); +lean_ctor_set(x_76, 5, x_65); +lean_ctor_set(x_76, 6, x_64); +x_77 = lean_box(0); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_74); +lean_ctor_set(x_78, 1, x_77); +x_79 = 0; +x_80 = l_Lean_Elab_Term_expandMatchAltsIntoMatch(x_14, x_54, x_79, x_76, x_78); +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +x_82 = lean_ctor_get(x_80, 1); lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); +lean_dec(x_80); +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -lean_dec(x_83); -x_85 = lean_st_ref_take(x_9, x_68); -x_86 = lean_ctor_get(x_85, 0); +lean_dec(x_82); +x_84 = lean_st_ref_take(x_9, x_73); +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_84, 1); lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = !lean_is_exclusive(x_86); -if (x_88 == 0) +lean_dec(x_84); +x_87 = !lean_is_exclusive(x_85); +if (x_87 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_89 = lean_ctor_get(x_86, 1); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_88 = lean_ctor_get(x_85, 1); +lean_dec(x_88); +lean_ctor_set(x_85, 1, x_83); +x_89 = lean_st_ref_set(x_9, x_85, x_86); +x_90 = lean_ctor_get(x_89, 1); +lean_inc(x_90); lean_dec(x_89); -lean_ctor_set(x_86, 1, x_84); -x_90 = lean_st_ref_set(x_9, x_86, x_87); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_92 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_82, x_4, x_5, x_6, x_7, x_8, x_9, x_91); +x_91 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_81, x_4, x_5, x_6, x_7, x_8, x_9, x_90); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_92; +return x_91; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_93 = lean_ctor_get(x_86, 0); -x_94 = lean_ctor_get(x_86, 2); -x_95 = lean_ctor_get(x_86, 3); -lean_inc(x_95); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_92 = lean_ctor_get(x_85, 0); +x_93 = lean_ctor_get(x_85, 2); +x_94 = lean_ctor_get(x_85, 3); lean_inc(x_94); lean_inc(x_93); -lean_dec(x_86); -x_96 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_96, 0, x_93); -lean_ctor_set(x_96, 1, x_84); -lean_ctor_set(x_96, 2, x_94); -lean_ctor_set(x_96, 3, x_95); -x_97 = lean_st_ref_set(x_9, x_96, x_87); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_82, x_4, x_5, x_6, x_7, x_8, x_9, x_98); +lean_inc(x_92); +lean_dec(x_85); +x_95 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_95, 0, x_92); +lean_ctor_set(x_95, 1, x_83); +lean_ctor_set(x_95, 2, x_93); +lean_ctor_set(x_95, 3, x_94); +x_96 = lean_st_ref_set(x_9, x_95, x_86); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); +x_98 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_51, x_81, x_4, x_5, x_6, x_7, x_8, x_9, x_97); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_99; +return x_98; } } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_100 = lean_ctor_get(x_50, 0); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_99 = lean_ctor_get(x_50, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_50, 1); lean_inc(x_100); -x_101 = lean_ctor_get(x_50, 1); -lean_inc(x_101); lean_dec(x_50); -x_102 = lean_unsigned_to_nat(4u); -x_103 = l_Lean_Syntax_getArg(x_14, x_102); -x_104 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_100, x_103, x_4, x_5, x_6, x_7, x_8, x_9, x_101); +x_101 = lean_unsigned_to_nat(4u); +x_102 = l_Lean_Syntax_getArg(x_14, x_101); +x_103 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__2(x_14, x_3, x_21, x_26, x_46, x_45, x_99, x_102, x_4, x_5, x_6, x_7, x_8, x_9, x_100); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_104; +return x_103; } } else { -uint8_t x_105; +uint8_t x_104; lean_dec(x_26); lean_dec(x_21); lean_dec(x_14); @@ -2354,29 +2352,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_105 = !lean_is_exclusive(x_42); -if (x_105 == 0) +x_104 = !lean_is_exclusive(x_42); +if (x_104 == 0) { return x_42; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_42, 0); -x_107 = lean_ctor_get(x_42, 1); -lean_inc(x_107); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_42, 0); +x_106 = lean_ctor_get(x_42, 1); lean_inc(x_106); +lean_inc(x_105); lean_dec(x_42); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; } } } else { -uint8_t x_109; +uint8_t x_108; lean_dec(x_26); lean_dec(x_21); lean_dec(x_20); @@ -2389,29 +2387,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_109 = !lean_is_exclusive(x_30); -if (x_109 == 0) +x_108 = !lean_is_exclusive(x_30); +if (x_108 == 0) { return x_30; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_30, 0); -x_111 = lean_ctor_get(x_30, 1); -lean_inc(x_111); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_30, 0); +x_110 = lean_ctor_get(x_30, 1); lean_inc(x_110); +lean_inc(x_109); lean_dec(x_30); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } else { -uint8_t x_113; +uint8_t x_112; lean_dec(x_26); lean_dec(x_21); lean_dec(x_20); @@ -2424,23 +2422,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_113 = !lean_is_exclusive(x_27); -if (x_113 == 0) +x_112 = !lean_is_exclusive(x_27); +if (x_112 == 0) { return x_27; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_27, 0); -x_115 = lean_ctor_get(x_27, 1); -lean_inc(x_115); +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_27, 0); +x_114 = lean_ctor_get(x_27, 1); lean_inc(x_114); +lean_inc(x_113); lean_dec(x_27); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } @@ -2448,17 +2446,17 @@ return x_116; } else { -lean_object* x_126; lean_object* x_127; +lean_object* x_125; lean_object* x_126; lean_dec(x_3); lean_dec(x_2); -x_126 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2; -x_127 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__11(x_14, x_126, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_125 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__19___lambda__3___closed__2; +x_126 = l_Lean_throwErrorAt___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__11(x_14, x_125, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_14); -return x_127; +return x_126; } } } diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 5a897a8632..e884f33451 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -15801,7 +15801,7 @@ return x_2; lean_object* l_Lean_Elab_Term_getPatternVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_object* x_9; lean_object* x_10; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; x_34 = lean_st_ref_get(x_7, x_8); x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); @@ -15813,182 +15813,181 @@ lean_inc(x_37); lean_dec(x_35); x_38 = lean_ctor_get(x_6, 4); lean_inc(x_38); -x_39 = lean_ctor_get(x_6, 3); -lean_inc(x_39); -x_40 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_36); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_6, 1); -lean_inc(x_43); -x_44 = lean_ctor_get(x_6, 2); +lean_inc(x_37); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_39, 0, x_37); +x_40 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_40, 0, x_38); +lean_inc(x_37); +x_41 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_41, 0, x_37); +x_42 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_40); +lean_ctor_set(x_42, 2, x_41); +x_43 = x_42; +x_44 = lean_ctor_get(x_6, 3); lean_inc(x_44); -x_45 = lean_st_ref_get(x_7, x_42); +x_45 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_36); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 1); +x_48 = lean_ctor_get(x_6, 1); lean_inc(x_48); -lean_dec(x_46); -lean_inc(x_37); -x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_49, 0, x_37); +x_49 = lean_ctor_get(x_6, 2); lean_inc(x_49); -x_50 = x_49; -lean_inc(x_37); -x_51 = lean_environment_main_module(x_37); -x_52 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_52, 0, x_38); -x_53 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_53, 0, x_37); -x_54 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_52); -lean_ctor_set(x_54, 2, x_53); -x_55 = x_54; -x_56 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_56, 0, x_50); -lean_ctor_set(x_56, 1, x_51); -lean_ctor_set(x_56, 2, x_41); -lean_ctor_set(x_56, 3, x_43); -lean_ctor_set(x_56, 4, x_44); -lean_ctor_set(x_56, 5, x_39); -lean_ctor_set(x_56, 6, x_55); -x_57 = lean_box(0); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_48); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_expandMacros(x_1, x_56, x_58); -if (lean_obj_tag(x_59) == 0) +x_50 = lean_st_ref_get(x_7, x_47); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_environment_main_module(x_37); +lean_inc(x_43); +x_55 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_55, 0, x_43); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_46); +lean_ctor_set(x_55, 3, x_48); +lean_ctor_set(x_55, 4, x_49); +lean_ctor_set(x_55, 5, x_44); +lean_ctor_set(x_55, 6, x_43); +x_56 = lean_box(0); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_expandMacros(x_1, x_55, x_57); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_60 = lean_ctor_get(x_59, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); +lean_dec(x_58); +x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_st_ref_take(x_7, x_47); -x_64 = lean_ctor_get(x_63, 0); +lean_dec(x_60); +x_62 = lean_st_ref_take(x_7, x_52); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) +lean_dec(x_62); +x_65 = !lean_is_exclusive(x_63); +if (x_65 == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_64, 1); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_63, 1); +lean_dec(x_66); +lean_ctor_set(x_63, 1, x_61); +x_67 = lean_st_ref_set(x_7, x_63, x_64); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); lean_dec(x_67); -lean_ctor_set(x_64, 1, x_62); -x_68 = lean_st_ref_set(x_7, x_64, x_65); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_9 = x_60; -x_10 = x_69; +x_9 = x_59; +x_10 = x_68; goto block_33; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = lean_ctor_get(x_64, 0); -x_71 = lean_ctor_get(x_64, 2); -x_72 = lean_ctor_get(x_64, 3); -lean_inc(x_72); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_63, 0); +x_70 = lean_ctor_get(x_63, 2); +x_71 = lean_ctor_get(x_63, 3); lean_inc(x_71); lean_inc(x_70); -lean_dec(x_64); -x_73 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_62); -lean_ctor_set(x_73, 2, x_71); -lean_ctor_set(x_73, 3, x_72); -x_74 = lean_st_ref_set(x_7, x_73, x_65); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_9 = x_60; -x_10 = x_75; +lean_inc(x_69); +lean_dec(x_63); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_61); +lean_ctor_set(x_72, 2, x_70); +lean_ctor_set(x_72, 3, x_71); +x_73 = lean_st_ref_set(x_7, x_72, x_64); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_9 = x_59; +x_10 = x_74; goto block_33; } } else { -lean_object* x_76; -x_76 = lean_ctor_get(x_59, 0); -lean_inc(x_76); -lean_dec(x_59); -if (lean_obj_tag(x_76) == 0) +lean_object* x_75; +x_75 = lean_ctor_get(x_58, 0); +lean_inc(x_75); +lean_dec(x_58); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_77 = lean_ctor_get(x_76, 0); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_75); +x_78 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_79, 0, x_78); -x_80 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_80, 0, x_79); -x_81 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_77, x_80, x_2, x_3, x_4, x_5, x_6, x_7, x_47); +x_80 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_76, x_79, x_2, x_3, x_4, x_5, x_6, x_7, x_52); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_77); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) +lean_dec(x_76); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -return x_81; +return x_80; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_80, 1); lean_inc(x_83); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_inc(x_82); +lean_dec(x_80); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } else { -lean_object* x_86; uint8_t x_87; +lean_object* x_85; uint8_t x_86; 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_86 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_47); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) +x_85 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_52); +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) { -return x_86; +return x_85; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 0); -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_85, 0); +x_88 = lean_ctor_get(x_85, 1); lean_inc(x_88); -lean_dec(x_86); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +lean_inc(x_87); +lean_dec(x_85); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } @@ -16230,7 +16229,7 @@ return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 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_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec(x_4); x_28 = lean_array_uget(x_1, x_3); x_29 = lean_st_ref_get(x_11, x_12); @@ -16244,160 +16243,159 @@ lean_inc(x_32); lean_dec(x_30); x_33 = lean_ctor_get(x_10, 4); lean_inc(x_33); -x_34 = lean_ctor_get(x_10, 3); -lean_inc(x_34); -x_35 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_31); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_10, 1); -lean_inc(x_38); -x_39 = lean_ctor_get(x_10, 2); +lean_inc(x_32); +x_34 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_34, 0, x_32); +x_35 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_35, 0, x_33); +lean_inc(x_32); +x_36 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_36, 0, x_32); +x_37 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_35); +lean_ctor_set(x_37, 2, x_36); +x_38 = x_37; +x_39 = lean_ctor_get(x_10, 3); lean_inc(x_39); -x_40 = lean_st_ref_get(x_11, x_37); +x_40 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_31); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 1); +x_43 = lean_ctor_get(x_10, 1); lean_inc(x_43); -lean_dec(x_41); -lean_inc(x_32); -x_44 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_44, 0, x_32); +x_44 = lean_ctor_get(x_10, 2); lean_inc(x_44); -x_45 = x_44; -lean_inc(x_32); -x_46 = lean_environment_main_module(x_32); -x_47 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_47, 0, x_33); -x_48 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_48, 0, x_32); -x_49 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_49, 0, x_44); -lean_ctor_set(x_49, 1, x_47); -lean_ctor_set(x_49, 2, x_48); -x_50 = x_49; -x_51 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_51, 1, x_46); -lean_ctor_set(x_51, 2, x_36); -lean_ctor_set(x_51, 3, x_38); -lean_ctor_set(x_51, 4, x_39); -lean_ctor_set(x_51, 5, x_34); -lean_ctor_set(x_51, 6, x_50); -x_52 = lean_box(0); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_43); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_expandMacros(x_28, x_51, x_53); -if (lean_obj_tag(x_54) == 0) +x_45 = lean_st_ref_get(x_11, x_42); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_environment_main_module(x_32); +lean_inc(x_38); +x_50 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_41); +lean_ctor_set(x_50, 3, x_43); +lean_ctor_set(x_50, 4, x_44); +lean_ctor_set(x_50, 5, x_39); +lean_ctor_set(x_50, 6, x_38); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_48); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_expandMacros(x_28, x_50, x_52); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_55 = lean_ctor_get(x_54, 0); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); +lean_dec(x_53); +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_st_ref_take(x_11, x_42); -x_59 = lean_ctor_get(x_58, 0); +lean_dec(x_55); +x_57 = lean_st_ref_take(x_11, x_47); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); -lean_inc(x_60); -lean_dec(x_58); -x_61 = !lean_is_exclusive(x_59); -if (x_61 == 0) +lean_dec(x_57); +x_60 = !lean_is_exclusive(x_58); +if (x_60 == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_59, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_58, 1); +lean_dec(x_61); +lean_ctor_set(x_58, 1, x_56); +x_62 = lean_st_ref_set(x_11, x_58, x_59); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); lean_dec(x_62); -lean_ctor_set(x_59, 1, x_57); -x_63 = lean_st_ref_set(x_11, x_59, x_60); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -lean_dec(x_63); -x_13 = x_55; -x_14 = x_64; +x_13 = x_54; +x_14 = x_63; goto block_25; } 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; -x_65 = lean_ctor_get(x_59, 0); -x_66 = lean_ctor_get(x_59, 2); -x_67 = lean_ctor_get(x_59, 3); -lean_inc(x_67); +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_64 = lean_ctor_get(x_58, 0); +x_65 = lean_ctor_get(x_58, 2); +x_66 = lean_ctor_get(x_58, 3); lean_inc(x_66); lean_inc(x_65); -lean_dec(x_59); -x_68 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_57); -lean_ctor_set(x_68, 2, x_66); -lean_ctor_set(x_68, 3, x_67); -x_69 = lean_st_ref_set(x_11, x_68, x_60); -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -x_13 = x_55; -x_14 = x_70; +lean_inc(x_64); +lean_dec(x_58); +x_67 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_56); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_67, 3, x_66); +x_68 = lean_st_ref_set(x_11, x_67, x_59); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_13 = x_54; +x_14 = x_69; goto block_25; } } else { -lean_object* x_71; -x_71 = lean_ctor_get(x_54, 0); -lean_inc(x_71); -lean_dec(x_54); -if (lean_obj_tag(x_71) == 0) +lean_object* x_70; +x_70 = lean_ctor_get(x_53, 0); +lean_inc(x_70); +lean_dec(x_53); +if (lean_obj_tag(x_70) == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_72 = lean_ctor_get(x_71, 0); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_70); +x_73 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_74 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_74, 0, x_73); -x_75 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_76 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__1(x_72, x_75, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +x_75 = l_Lean_throwErrorAt___at_Lean_Elab_Term_getPatternsVars___spec__1(x_71, x_74, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_47); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_72); -x_77 = !lean_is_exclusive(x_76); -if (x_77 == 0) +lean_dec(x_71); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) { -return x_76; +return x_75; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_76, 0); -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_75, 0); +x_78 = lean_ctor_get(x_75, 1); lean_inc(x_78); -lean_dec(x_76); -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; +lean_inc(x_77); +lean_dec(x_75); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } else { -lean_object* x_81; uint8_t x_82; +lean_object* x_80; uint8_t x_81; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -16405,24 +16403,24 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_81 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__3___rarg(x_42); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) +x_80 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_getPatternsVars___spec__3___rarg(x_47); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -return x_81; +return x_80; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_80, 1); lean_inc(x_83); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_inc(x_82); +lean_dec(x_80); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } @@ -31668,23 +31666,23 @@ if (lean_is_exclusive(x_17)) { } if (x_12 == 0) { -uint8_t x_171; -x_171 = lean_unbox(x_22); +uint8_t x_170; +x_170 = lean_unbox(x_22); lean_dec(x_22); -x_24 = x_171; -goto block_170; +x_24 = x_170; +goto block_169; } else { -uint8_t x_172; +uint8_t x_171; lean_dec(x_22); -x_172 = 1; -x_24 = x_172; -goto block_170; +x_171 = 1; +x_24 = x_171; +goto block_169; } -block_170: +block_169: { -lean_object* x_25; lean_object* x_26; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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_25; lean_object* x_26; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; x_113 = lean_st_ref_get(x_8, x_18); x_114 = lean_ctor_get(x_113, 0); lean_inc(x_114); @@ -31696,185 +31694,184 @@ lean_inc(x_116); lean_dec(x_114); x_117 = lean_ctor_get(x_7, 4); lean_inc(x_117); -x_118 = lean_ctor_get(x_7, 3); -lean_inc(x_118); -x_119 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_115); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_ctor_get(x_7, 1); -lean_inc(x_122); -x_123 = lean_ctor_get(x_7, 2); +lean_inc(x_116); +x_118 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_118, 0, x_116); +x_119 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_119, 0, x_117); +lean_inc(x_116); +x_120 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_120, 0, x_116); +x_121 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +lean_ctor_set(x_121, 2, x_120); +x_122 = x_121; +x_123 = lean_ctor_get(x_7, 3); lean_inc(x_123); -x_124 = lean_st_ref_get(x_8, x_121); +x_124 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_115); x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); x_126 = lean_ctor_get(x_124, 1); lean_inc(x_126); lean_dec(x_124); -x_127 = lean_ctor_get(x_125, 1); +x_127 = lean_ctor_get(x_7, 1); lean_inc(x_127); -lean_dec(x_125); -lean_inc(x_116); -x_128 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_128, 0, x_116); +x_128 = lean_ctor_get(x_7, 2); lean_inc(x_128); -x_129 = x_128; -lean_inc(x_116); -x_130 = lean_environment_main_module(x_116); -x_131 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_131, 0, x_117); -x_132 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_132, 0, x_116); -x_133 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_133, 0, x_128); -lean_ctor_set(x_133, 1, x_131); -lean_ctor_set(x_133, 2, x_132); -x_134 = x_133; -x_135 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_135, 0, x_129); -lean_ctor_set(x_135, 1, x_130); -lean_ctor_set(x_135, 2, x_120); -lean_ctor_set(x_135, 3, x_122); -lean_ctor_set(x_135, 4, x_123); -lean_ctor_set(x_135, 5, x_118); -lean_ctor_set(x_135, 6, x_134); -x_136 = lean_box(0); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_127); -lean_ctor_set(x_137, 1, x_136); -x_138 = l_Lean_Elab_Term_expandMacrosInPatterns(x_21, x_135, x_137); -if (lean_obj_tag(x_138) == 0) +x_129 = lean_st_ref_get(x_8, x_126); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = lean_environment_main_module(x_116); +lean_inc(x_122); +x_134 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_134, 0, x_122); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_125); +lean_ctor_set(x_134, 3, x_127); +lean_ctor_set(x_134, 4, x_128); +lean_ctor_set(x_134, 5, x_123); +lean_ctor_set(x_134, 6, x_122); +x_135 = lean_box(0); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_132); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_Elab_Term_expandMacrosInPatterns(x_21, x_134, x_136); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -x_139 = lean_ctor_get(x_138, 0); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); +lean_dec(x_137); +x_140 = lean_ctor_get(x_139, 0); lean_inc(x_140); -lean_dec(x_138); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -lean_dec(x_140); -x_142 = lean_st_ref_take(x_8, x_126); -x_143 = lean_ctor_get(x_142, 0); +lean_dec(x_139); +x_141 = lean_st_ref_take(x_8, x_131); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -x_145 = !lean_is_exclusive(x_143); -if (x_145 == 0) +lean_dec(x_141); +x_144 = !lean_is_exclusive(x_142); +if (x_144 == 0) { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_143, 1); +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_142, 1); +lean_dec(x_145); +lean_ctor_set(x_142, 1, x_140); +x_146 = lean_st_ref_set(x_8, x_142, x_143); +x_147 = lean_ctor_get(x_146, 1); +lean_inc(x_147); lean_dec(x_146); -lean_ctor_set(x_143, 1, x_141); -x_147 = lean_st_ref_set(x_8, x_143, x_144); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_25 = x_139; -x_26 = x_148; +x_25 = x_138; +x_26 = x_147; goto block_112; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_149 = lean_ctor_get(x_143, 0); -x_150 = lean_ctor_get(x_143, 2); -x_151 = lean_ctor_get(x_143, 3); -lean_inc(x_151); +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_148 = lean_ctor_get(x_142, 0); +x_149 = lean_ctor_get(x_142, 2); +x_150 = lean_ctor_get(x_142, 3); lean_inc(x_150); lean_inc(x_149); -lean_dec(x_143); -x_152 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_152, 0, x_149); -lean_ctor_set(x_152, 1, x_141); -lean_ctor_set(x_152, 2, x_150); -lean_ctor_set(x_152, 3, x_151); -x_153 = lean_st_ref_set(x_8, x_152, x_144); -x_154 = lean_ctor_get(x_153, 1); -lean_inc(x_154); -lean_dec(x_153); -x_25 = x_139; -x_26 = x_154; +lean_inc(x_148); +lean_dec(x_142); +x_151 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_140); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_150); +x_152 = lean_st_ref_set(x_8, x_151, x_143); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +lean_dec(x_152); +x_25 = x_138; +x_26 = x_153; goto block_112; } } else { -lean_object* x_155; +lean_object* x_154; lean_dec(x_23); lean_dec(x_20); lean_dec(x_19); -x_155 = lean_ctor_get(x_138, 0); -lean_inc(x_155); -lean_dec(x_138); -if (lean_obj_tag(x_155) == 0) +x_154 = lean_ctor_get(x_137, 0); +lean_inc(x_154); +lean_dec(x_137); +if (lean_obj_tag(x_154) == 0) { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; -x_156 = lean_ctor_get(x_155, 0); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_154); +x_157 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_157, 0, x_156); +x_158 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_158, 0, x_157); -x_159 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_159, 0, x_158); -x_160 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(x_156, x_159, x_3, x_4, x_5, x_6, x_7, x_8, x_126); +x_159 = l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6(x_155, x_158, x_3, x_4, x_5, x_6, x_7, x_8, x_131); lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_156); -x_161 = !lean_is_exclusive(x_160); -if (x_161 == 0) +lean_dec(x_155); +x_160 = !lean_is_exclusive(x_159); +if (x_160 == 0) { -return x_160; +return x_159; } else { -lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_162 = lean_ctor_get(x_160, 0); -x_163 = lean_ctor_get(x_160, 1); -lean_inc(x_163); +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_159, 0); +x_162 = lean_ctor_get(x_159, 1); lean_inc(x_162); -lean_dec(x_160); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -return x_164; +lean_inc(x_161); +lean_dec(x_159); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_161); +lean_ctor_set(x_163, 1, x_162); +return x_163; } } else { -lean_object* x_165; uint8_t x_166; +lean_object* x_164; uint8_t x_165; 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_165 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___rarg(x_126); -x_166 = !lean_is_exclusive(x_165); -if (x_166 == 0) +x_164 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___rarg(x_131); +x_165 = !lean_is_exclusive(x_164); +if (x_165 == 0) { -return x_165; +return x_164; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_165, 0); -x_168 = lean_ctor_get(x_165, 1); -lean_inc(x_168); +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = lean_ctor_get(x_164, 0); +x_167 = lean_ctor_get(x_164, 1); lean_inc(x_167); -lean_dec(x_165); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -return x_169; +lean_inc(x_166); +lean_dec(x_164); +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +return x_168; } } } @@ -32279,30 +32276,30 @@ goto block_88; } else { -uint8_t x_173; +uint8_t x_172; 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_173 = !lean_is_exclusive(x_14); -if (x_173 == 0) +x_172 = !lean_is_exclusive(x_14); +if (x_172 == 0) { return x_14; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_14, 0); -x_175 = lean_ctor_get(x_14, 1); -lean_inc(x_175); +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_14, 0); +x_174 = lean_ctor_get(x_14, 1); lean_inc(x_174); +lean_inc(x_173); lean_dec(x_14); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_174); -lean_ctor_set(x_176, 1, x_175); -return x_176; +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; } } } diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 462bb2694d..f8b0e10479 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -6639,172 +6639,171 @@ return x_15; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2___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) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_10 = lean_ctor_get(x_7, 4); lean_inc(x_10); -x_11 = lean_ctor_get(x_7, 3); -lean_inc(x_11); -x_12 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -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); -x_15 = lean_ctor_get(x_7, 1); -lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 2); +lean_inc(x_2); +x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_11, 0, x_2); +x_12 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_12, 0, x_10); +lean_inc(x_2); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_13, 0, x_2); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_11); +lean_ctor_set(x_14, 1, x_12); +lean_ctor_set(x_14, 2, x_13); +x_15 = x_14; +x_16 = lean_ctor_get(x_7, 3); lean_inc(x_16); -x_17 = lean_st_ref_get(x_8, x_14); +x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_9); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 1); +x_20 = lean_ctor_get(x_7, 1); lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_2); -x_21 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_21, 0, x_2); +x_21 = lean_ctor_get(x_7, 2); lean_inc(x_21); -x_22 = x_21; -lean_inc(x_2); -x_23 = lean_environment_main_module(x_2); -x_24 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_24, 0, x_10); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_25, 0, x_2); -x_26 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_24); -lean_ctor_set(x_26, 2, x_25); -x_27 = x_26; -x_28 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_28, 0, x_22); -lean_ctor_set(x_28, 1, x_23); -lean_ctor_set(x_28, 2, x_13); -lean_ctor_set(x_28, 3, x_15); -lean_ctor_set(x_28, 4, x_16); -lean_ctor_set(x_28, 5, x_11); -lean_ctor_set(x_28, 6, x_27); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_20); -lean_ctor_set(x_30, 1, x_29); -x_31 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm(x_1, x_28, x_30); -if (lean_obj_tag(x_31) == 0) +x_22 = lean_st_ref_get(x_8, x_19); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_environment_main_module(x_2); +lean_inc(x_15); +x_27 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_27, 0, x_15); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_18); +lean_ctor_set(x_27, 3, x_20); +lean_ctor_set(x_27, 4, x_21); +lean_ctor_set(x_27, 5, x_16); +lean_ctor_set(x_27, 6, x_15); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_25); +lean_ctor_set(x_29, 1, x_28); +x_30 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm(x_1, x_27, x_29); +if (lean_obj_tag(x_30) == 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; uint8_t x_38; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_dec(x_7); lean_dec(x_3); -x_32 = lean_ctor_get(x_31, 0); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_dec(x_30); +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_st_ref_take(x_8, x_19); -x_36 = lean_ctor_get(x_35, 0); +lean_dec(x_32); +x_34 = lean_st_ref_take(x_8, x_24); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = !lean_is_exclusive(x_36); -if (x_38 == 0) +lean_dec(x_34); +x_37 = !lean_is_exclusive(x_35); +if (x_37 == 0) { -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_36, 1); +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_35, 1); +lean_dec(x_38); +lean_ctor_set(x_35, 1, x_33); +x_39 = lean_st_ref_set(x_8, x_35, x_36); +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_31); +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); -lean_ctor_set(x_36, 1, x_34); -x_40 = lean_st_ref_set(x_8, x_36, x_37); -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) -{ -lean_object* x_42; -x_42 = lean_ctor_get(x_40, 0); -lean_dec(x_42); -lean_ctor_set(x_40, 0, x_32); -return x_40; -} -else -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_dec(x_40); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_32); -lean_ctor_set(x_44, 1, x_43); -return x_44; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_31); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_45 = lean_ctor_get(x_36, 0); -x_46 = lean_ctor_get(x_36, 2); -x_47 = lean_ctor_get(x_36, 3); -lean_inc(x_47); +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_44 = lean_ctor_get(x_35, 0); +x_45 = lean_ctor_get(x_35, 2); +x_46 = lean_ctor_get(x_35, 3); lean_inc(x_46); lean_inc(x_45); -lean_dec(x_36); -x_48 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_34); -lean_ctor_set(x_48, 2, x_46); -lean_ctor_set(x_48, 3, x_47); -x_49 = lean_st_ref_set(x_8, x_48, x_37); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - x_51 = x_49; +lean_inc(x_44); +lean_dec(x_35); +x_47 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_45); +lean_ctor_set(x_47, 3, x_46); +x_48 = lean_st_ref_set(x_8, x_47, x_36); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_50 = x_48; } else { - lean_dec_ref(x_49); - x_51 = lean_box(0); + lean_dec_ref(x_48); + x_50 = lean_box(0); } -if (lean_is_scalar(x_51)) { - x_52 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(0, 2, 0); } else { - x_52 = x_51; + x_51 = x_50; } -lean_ctor_set(x_52, 0, x_32); -lean_ctor_set(x_52, 1, x_50); -return x_52; +lean_ctor_set(x_51, 0, x_31); +lean_ctor_set(x_51, 1, x_49); +return x_51; } } else { -lean_object* x_53; -x_53 = lean_ctor_get(x_31, 0); +lean_object* x_52; +x_52 = lean_ctor_get(x_30, 0); +lean_inc(x_52); +lean_dec(x_30); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -lean_dec(x_31); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = lean_ctor_get(x_53, 0); +x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_52); +x_55 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_56, 0, x_55); -x_57 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_57, 0, x_56); -x_58 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_54, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -lean_dec(x_54); -return x_58; +x_57 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_53, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_24); +lean_dec(x_53); +return x_57; } else { -lean_object* x_59; +lean_object* x_58; lean_dec(x_7); lean_dec(x_3); -x_59 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_19); -return x_59; +x_58 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_24); +return x_58; } } } @@ -19172,7 +19171,7 @@ x_7 = l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_mkDefViewOfInstance___s lean_dec(x_6); if (lean_obj_tag(x_7) == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); @@ -19198,199 +19197,198 @@ lean_dec(x_38); x_41 = lean_ctor_get(x_39, 2); lean_inc(x_41); lean_dec(x_39); -x_42 = l_Lean_Elab_Command_getRef(x_2, x_3, x_40); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_44); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_2, 2); +lean_inc(x_37); +x_42 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_42, 0, x_37); +x_43 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_43, 0, x_41); +lean_inc(x_37); +x_44 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_44, 0, x_37); +x_45 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_45, 2, x_44); +x_46 = x_45; +x_47 = l_Lean_Elab_Command_getRef(x_2, x_3, x_40); +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -x_49 = lean_st_ref_get(x_3, x_47); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_49); +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_ctor_get(x_50, 4); +x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); lean_dec(x_50); -x_53 = lean_st_ref_get(x_3, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); +x_53 = lean_ctor_get(x_2, 2); +lean_inc(x_53); +x_54 = lean_st_ref_get(x_3, x_52); +x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_54, 3); +x_56 = lean_ctor_get(x_54, 1); lean_inc(x_56); lean_dec(x_54); -lean_inc(x_37); -x_57 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_57, 0, x_37); +x_57 = lean_ctor_get(x_55, 4); lean_inc(x_57); -x_58 = x_57; -lean_inc(x_37); -x_59 = lean_environment_main_module(x_37); -x_60 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_60, 0, x_41); -x_61 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_61, 0, x_37); -x_62 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_62, 0, x_57); -lean_ctor_set(x_62, 1, x_60); -lean_ctor_set(x_62, 2, x_61); -x_63 = x_62; -x_64 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_64, 0, x_58); -lean_ctor_set(x_64, 1, x_59); -lean_ctor_set(x_64, 2, x_46); -lean_ctor_set(x_64, 3, x_48); -lean_ctor_set(x_64, 4, x_52); -lean_ctor_set(x_64, 5, x_43); -lean_ctor_set(x_64, 6, x_63); -x_65 = lean_box(0); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_56); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_expandMacros(x_33, x_64, x_66); -if (lean_obj_tag(x_67) == 0) +lean_dec(x_55); +x_58 = lean_st_ref_get(x_3, x_56); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = lean_ctor_get(x_59, 3); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_environment_main_module(x_37); +lean_inc(x_46); +x_63 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_63, 0, x_46); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_51); +lean_ctor_set(x_63, 3, x_53); +lean_ctor_set(x_63, 4, x_57); +lean_ctor_set(x_63, 5, x_48); +lean_ctor_set(x_63, 6, x_46); +x_64 = lean_box(0); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_61); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_expandMacros(x_33, x_63, x_65); +if (lean_obj_tag(x_66) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_68 = lean_ctor_get(x_67, 0); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); +lean_dec(x_66); +x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -lean_dec(x_69); -x_71 = lean_st_ref_take(x_3, x_55); -x_72 = lean_ctor_get(x_71, 0); +lean_dec(x_68); +x_70 = lean_st_ref_take(x_3, x_60); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = !lean_is_exclusive(x_72); -if (x_74 == 0) +lean_dec(x_70); +x_73 = !lean_is_exclusive(x_71); +if (x_73 == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_72, 3); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_71, 3); +lean_dec(x_74); +lean_ctor_set(x_71, 3, x_69); +x_75 = lean_st_ref_set(x_3, x_71, x_72); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); lean_dec(x_75); -lean_ctor_set(x_72, 3, x_70); -x_76 = lean_st_ref_set(x_3, x_72, x_73); -x_77 = lean_ctor_get(x_76, 1); -lean_inc(x_77); -lean_dec(x_76); -x_10 = x_68; -x_11 = x_77; +x_10 = x_67; +x_11 = x_76; goto block_31; } else { -lean_object* x_78; lean_object* 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; lean_object* x_87; -x_78 = lean_ctor_get(x_72, 0); -x_79 = lean_ctor_get(x_72, 1); -x_80 = lean_ctor_get(x_72, 2); -x_81 = lean_ctor_get(x_72, 4); -x_82 = lean_ctor_get(x_72, 5); -x_83 = lean_ctor_get(x_72, 6); -x_84 = lean_ctor_get(x_72, 7); -lean_inc(x_84); +lean_object* x_77; lean_object* x_78; lean_object* 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_77 = lean_ctor_get(x_71, 0); +x_78 = lean_ctor_get(x_71, 1); +x_79 = lean_ctor_get(x_71, 2); +x_80 = lean_ctor_get(x_71, 4); +x_81 = lean_ctor_get(x_71, 5); +x_82 = lean_ctor_get(x_71, 6); +x_83 = lean_ctor_get(x_71, 7); lean_inc(x_83); lean_inc(x_82); lean_inc(x_81); lean_inc(x_80); lean_inc(x_79); lean_inc(x_78); -lean_dec(x_72); -x_85 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_85, 0, x_78); -lean_ctor_set(x_85, 1, x_79); -lean_ctor_set(x_85, 2, x_80); -lean_ctor_set(x_85, 3, x_70); -lean_ctor_set(x_85, 4, x_81); -lean_ctor_set(x_85, 5, x_82); -lean_ctor_set(x_85, 6, x_83); -lean_ctor_set(x_85, 7, x_84); -x_86 = lean_st_ref_set(x_3, x_85, x_73); -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); -x_10 = x_68; -x_11 = x_87; +lean_inc(x_77); +lean_dec(x_71); +x_84 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_84, 0, x_77); +lean_ctor_set(x_84, 1, x_78); +lean_ctor_set(x_84, 2, x_79); +lean_ctor_set(x_84, 3, x_69); +lean_ctor_set(x_84, 4, x_80); +lean_ctor_set(x_84, 5, x_81); +lean_ctor_set(x_84, 6, x_82); +lean_ctor_set(x_84, 7, x_83); +x_85 = lean_st_ref_set(x_3, x_84, x_72); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_10 = x_67; +x_11 = x_86; goto block_31; } } else { -lean_object* x_88; +lean_object* x_87; lean_dec(x_8); -x_88 = lean_ctor_get(x_67, 0); +x_87 = lean_ctor_get(x_66, 0); +lean_inc(x_87); +lean_dec(x_66); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); -lean_dec(x_67); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_89 = lean_ctor_get(x_88, 0); +x_89 = lean_ctor_get(x_87, 1); lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_87); +x_90 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_91, 0, x_90); -x_92 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_93 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_89, x_92, x_2, x_3, x_55); +x_92 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_88, x_91, x_2, x_3, x_60); lean_dec(x_3); -lean_dec(x_89); -x_94 = !lean_is_exclusive(x_93); -if (x_94 == 0) +lean_dec(x_88); +x_93 = !lean_is_exclusive(x_92); +if (x_93 == 0) { -return x_93; +return x_92; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_93, 0); -x_96 = lean_ctor_get(x_93, 1); -lean_inc(x_96); +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_92, 0); +x_95 = lean_ctor_get(x_92, 1); lean_inc(x_95); -lean_dec(x_93); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; +lean_inc(x_94); +lean_dec(x_92); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; } } else { -lean_object* x_98; uint8_t x_99; +lean_object* x_97; uint8_t x_98; lean_dec(x_3); lean_dec(x_2); -x_98 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_55); -x_99 = !lean_is_exclusive(x_98); -if (x_99 == 0) +x_97 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_60); +x_98 = !lean_is_exclusive(x_97); +if (x_98 == 0) { -return x_98; +return x_97; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_98, 0); -x_101 = lean_ctor_get(x_98, 1); -lean_inc(x_101); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_97, 0); +x_100 = lean_ctor_get(x_97, 1); lean_inc(x_100); -lean_dec(x_98); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; +lean_inc(x_99); +lean_dec(x_97); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } @@ -19464,26 +19462,26 @@ return x_30; } else { -uint8_t x_103; +uint8_t x_102; lean_dec(x_3); lean_dec(x_2); -x_103 = !lean_is_exclusive(x_7); -if (x_103 == 0) +x_102 = !lean_is_exclusive(x_7); +if (x_102 == 0) { return x_7; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_7, 0); -x_105 = lean_ctor_get(x_7, 1); -lean_inc(x_105); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_7, 0); +x_104 = lean_ctor_get(x_7, 1); lean_inc(x_104); +lean_inc(x_103); lean_dec(x_7); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; } } } diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 14018d79e5..d37bdb2243 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -1132,7 +1132,7 @@ x_11 = l_Lean_Elab_toAttributeKind___at___private_Lean_Elab_Structure_0__Lean_El lean_dec(x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -1151,183 +1151,182 @@ lean_inc(x_41); lean_dec(x_39); x_42 = lean_ctor_get(x_6, 4); lean_inc(x_42); -x_43 = lean_ctor_get(x_6, 3); -lean_inc(x_43); -x_44 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_40); -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 = lean_ctor_get(x_6, 1); -lean_inc(x_47); -x_48 = lean_ctor_get(x_6, 2); +lean_inc(x_41); +x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_43, 0, x_41); +x_44 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_44, 0, x_42); +lean_inc(x_41); +x_45 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_45, 0, x_41); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_46, 2, x_45); +x_47 = x_46; +x_48 = lean_ctor_get(x_6, 3); lean_inc(x_48); -x_49 = lean_st_ref_get(x_7, x_46); +x_49 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3, x_4, x_5, x_6, x_7, x_40); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); lean_dec(x_49); -x_52 = lean_ctor_get(x_50, 1); +x_52 = lean_ctor_get(x_6, 1); lean_inc(x_52); -lean_dec(x_50); -lean_inc(x_41); -x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_53, 0, x_41); +x_53 = lean_ctor_get(x_6, 2); lean_inc(x_53); -x_54 = x_53; -lean_inc(x_41); -x_55 = lean_environment_main_module(x_41); -x_56 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_56, 0, x_42); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_57, 0, x_41); -x_58 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_57); -x_59 = x_58; -x_60 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_60, 0, x_54); -lean_ctor_set(x_60, 1, x_55); -lean_ctor_set(x_60, 2, x_45); -lean_ctor_set(x_60, 3, x_47); -lean_ctor_set(x_60, 4, x_48); -lean_ctor_set(x_60, 5, x_43); -lean_ctor_set(x_60, 6, x_59); -x_61 = lean_box(0); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_52); -lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_expandMacros(x_37, x_60, x_62); -if (lean_obj_tag(x_63) == 0) +x_54 = lean_st_ref_get(x_7, x_51); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_environment_main_module(x_41); +lean_inc(x_47); +x_59 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_59, 0, x_47); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_50); +lean_ctor_set(x_59, 3, x_52); +lean_ctor_set(x_59, 4, x_53); +lean_ctor_set(x_59, 5, x_48); +lean_ctor_set(x_59, 6, x_47); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_57); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_expandMacros(x_37, x_59, x_61); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_64 = lean_ctor_get(x_63, 0); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); +lean_dec(x_62); +x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_st_ref_take(x_7, x_51); -x_68 = lean_ctor_get(x_67, 0); +lean_dec(x_64); +x_66 = lean_st_ref_take(x_7, x_56); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = !lean_is_exclusive(x_68); -if (x_70 == 0) +lean_dec(x_66); +x_69 = !lean_is_exclusive(x_67); +if (x_69 == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_68, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_67, 1); +lean_dec(x_70); +lean_ctor_set(x_67, 1, x_65); +x_71 = lean_st_ref_set(x_7, x_67, x_68); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); lean_dec(x_71); -lean_ctor_set(x_68, 1, x_66); -x_72 = lean_st_ref_set(x_7, x_68, x_69); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_14 = x_64; -x_15 = x_73; +x_14 = x_63; +x_15 = x_72; goto block_35; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_74 = lean_ctor_get(x_68, 0); -x_75 = lean_ctor_get(x_68, 2); -x_76 = lean_ctor_get(x_68, 3); -lean_inc(x_76); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_73 = lean_ctor_get(x_67, 0); +x_74 = lean_ctor_get(x_67, 2); +x_75 = lean_ctor_get(x_67, 3); lean_inc(x_75); lean_inc(x_74); -lean_dec(x_68); -x_77 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_66); -lean_ctor_set(x_77, 2, x_75); -lean_ctor_set(x_77, 3, x_76); -x_78 = lean_st_ref_set(x_7, x_77, x_69); -x_79 = lean_ctor_get(x_78, 1); -lean_inc(x_79); -lean_dec(x_78); -x_14 = x_64; -x_15 = x_79; +lean_inc(x_73); +lean_dec(x_67); +x_76 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_65); +lean_ctor_set(x_76, 2, x_74); +lean_ctor_set(x_76, 3, x_75); +x_77 = lean_st_ref_set(x_7, x_76, x_68); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_14 = x_63; +x_15 = x_78; goto block_35; } } else { -lean_object* x_80; +lean_object* x_79; lean_dec(x_12); -x_80 = lean_ctor_get(x_63, 0); -lean_inc(x_80); -lean_dec(x_63); -if (lean_obj_tag(x_80) == 0) +x_79 = lean_ctor_get(x_62, 0); +lean_inc(x_79); +lean_dec(x_62); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_81 = lean_ctor_get(x_80, 0); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_79); +x_82 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_82, 0, x_81); +x_83 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_83, 0, x_82); -x_84 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_85 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_81, x_84, x_2, x_3, x_4, x_5, x_6, x_7, x_51); +x_84 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_80, x_83, x_2, x_3, x_4, x_5, x_6, x_7, x_56); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_81); -x_86 = !lean_is_exclusive(x_85); -if (x_86 == 0) +lean_dec(x_80); +x_85 = !lean_is_exclusive(x_84); +if (x_85 == 0) { -return x_85; +return x_84; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_85, 0); -x_88 = lean_ctor_get(x_85, 1); -lean_inc(x_88); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_84, 0); +x_87 = lean_ctor_get(x_84, 1); lean_inc(x_87); -lean_dec(x_85); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_inc(x_86); +lean_dec(x_84); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } else { -lean_object* x_90; uint8_t x_91; +lean_object* x_89; uint8_t x_90; 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_90 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_51); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) +x_89 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_56); +x_90 = !lean_is_exclusive(x_89); +if (x_90 == 0) { -return x_90; +return x_89; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_89, 0); +x_92 = lean_ctor_get(x_89, 1); lean_inc(x_92); -lean_dec(x_90); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +lean_inc(x_91); +lean_dec(x_89); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } @@ -1412,30 +1411,30 @@ return x_34; } else { -uint8_t x_95; +uint8_t x_94; 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_95 = !lean_is_exclusive(x_11); -if (x_95 == 0) +x_94 = !lean_is_exclusive(x_11); +if (x_94 == 0) { return x_11; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_11, 0); -x_97 = lean_ctor_get(x_11, 1); -lean_inc(x_97); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_11, 0); +x_96 = lean_ctor_get(x_11, 1); lean_inc(x_96); +lean_inc(x_95); lean_dec(x_11); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 0758219849..6a9155c67e 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -1811,7 +1811,7 @@ return x_2; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_object* x_14; lean_object* x_15; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; x_32 = lean_unsigned_to_nat(1u); x_33 = l_Lean_Syntax_getArg(x_2, x_32); x_34 = lean_st_ref_get(x_12, x_13); @@ -1825,175 +1825,174 @@ lean_inc(x_37); lean_dec(x_35); x_38 = lean_ctor_get(x_11, 4); lean_inc(x_38); -x_39 = lean_ctor_get(x_11, 3); -lean_inc(x_39); -x_40 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_36); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_11, 1); -lean_inc(x_43); -x_44 = lean_ctor_get(x_11, 2); +lean_inc(x_37); +x_39 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_39, 0, x_37); +x_40 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_40, 0, x_38); +lean_inc(x_37); +x_41 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_41, 0, x_37); +x_42 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_40); +lean_ctor_set(x_42, 2, x_41); +x_43 = x_42; +x_44 = lean_ctor_get(x_11, 3); lean_inc(x_44); -x_45 = lean_st_ref_get(x_12, x_42); +x_45 = l_Lean_Elab_Term_getCurrMacroScope(x_7, x_8, x_9, x_10, x_11, x_12, x_36); x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); x_47 = lean_ctor_get(x_45, 1); lean_inc(x_47); lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 1); +x_48 = lean_ctor_get(x_11, 1); lean_inc(x_48); -lean_dec(x_46); -lean_inc(x_37); -x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_49, 0, x_37); +x_49 = lean_ctor_get(x_11, 2); lean_inc(x_49); -x_50 = x_49; -lean_inc(x_37); -x_51 = lean_environment_main_module(x_37); -x_52 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_52, 0, x_38); -x_53 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_53, 0, x_37); -x_54 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_52); -lean_ctor_set(x_54, 2, x_53); -x_55 = x_54; -x_56 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_56, 0, x_50); -lean_ctor_set(x_56, 1, x_51); -lean_ctor_set(x_56, 2, x_41); -lean_ctor_set(x_56, 3, x_43); -lean_ctor_set(x_56, 4, x_44); -lean_ctor_set(x_56, 5, x_39); -lean_ctor_set(x_56, 6, x_55); -x_57 = lean_box(0); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_48); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_expandOptPrecedence(x_33, x_56, x_58); +x_50 = lean_st_ref_get(x_12, x_47); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_environment_main_module(x_37); +lean_inc(x_43); +x_55 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_55, 0, x_43); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_46); +lean_ctor_set(x_55, 3, x_48); +lean_ctor_set(x_55, 4, x_49); +lean_ctor_set(x_55, 5, x_44); +lean_ctor_set(x_55, 6, x_43); +x_56 = lean_box(0); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_53); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Lean_Elab_Term_expandOptPrecedence(x_33, x_55, x_57); lean_dec(x_33); -if (lean_obj_tag(x_59) == 0) +if (lean_obj_tag(x_58) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_60 = lean_ctor_get(x_59, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); +lean_dec(x_58); +x_61 = lean_ctor_get(x_60, 0); lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -lean_dec(x_61); -x_63 = lean_st_ref_take(x_12, x_47); -x_64 = lean_ctor_get(x_63, 0); +lean_dec(x_60); +x_62 = lean_st_ref_take(x_12, x_52); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = !lean_is_exclusive(x_64); -if (x_66 == 0) +lean_dec(x_62); +x_65 = !lean_is_exclusive(x_63); +if (x_65 == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_64, 1); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_63, 1); +lean_dec(x_66); +lean_ctor_set(x_63, 1, x_61); +x_67 = lean_st_ref_set(x_12, x_63, x_64); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); lean_dec(x_67); -lean_ctor_set(x_64, 1, x_62); -x_68 = lean_st_ref_set(x_12, x_64, x_65); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_14 = x_60; -x_15 = x_69; +x_14 = x_59; +x_15 = x_68; goto block_31; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = lean_ctor_get(x_64, 0); -x_71 = lean_ctor_get(x_64, 2); -x_72 = lean_ctor_get(x_64, 3); -lean_inc(x_72); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_63, 0); +x_70 = lean_ctor_get(x_63, 2); +x_71 = lean_ctor_get(x_63, 3); lean_inc(x_71); lean_inc(x_70); -lean_dec(x_64); -x_73 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_73, 0, x_70); -lean_ctor_set(x_73, 1, x_62); -lean_ctor_set(x_73, 2, x_71); -lean_ctor_set(x_73, 3, x_72); -x_74 = lean_st_ref_set(x_12, x_73, x_65); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_14 = x_60; -x_15 = x_75; +lean_inc(x_69); +lean_dec(x_63); +x_72 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_61); +lean_ctor_set(x_72, 2, x_70); +lean_ctor_set(x_72, 3, x_71); +x_73 = lean_st_ref_set(x_12, x_72, x_64); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_14 = x_59; +x_15 = x_74; goto block_31; } } else { -lean_object* x_76; +lean_object* x_75; lean_dec(x_3); -x_76 = lean_ctor_get(x_59, 0); +x_75 = lean_ctor_get(x_58, 0); +lean_inc(x_75); +lean_dec(x_58); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -lean_dec(x_59); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_77 = lean_ctor_get(x_76, 0); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_75); +x_78 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_79, 0, x_78); -x_80 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_80, 0, x_79); -x_81 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(x_77, x_80, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_47); -lean_dec(x_77); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) +x_80 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(x_76, x_79, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_52); +lean_dec(x_76); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -return x_81; +return x_80; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_80, 1); lean_inc(x_83); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); +lean_inc(x_82); +lean_dec(x_80); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +else +{ +lean_object* x_85; uint8_t x_86; +lean_dec(x_11); +x_85 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__5___rarg(x_52); +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) +{ return x_85; } -} else { -lean_object* x_86; uint8_t x_87; -lean_dec(x_11); -x_86 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__5___rarg(x_47); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) -{ -return x_86; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 0); -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_85, 0); +x_88 = lean_ctor_get(x_85, 1); lean_inc(x_88); -lean_dec(x_86); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +lean_inc(x_87); +lean_dec(x_85); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } @@ -4410,7 +4409,7 @@ return x_3; lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___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: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_64; lean_object* x_65; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_64; lean_object* x_65; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; x_74 = lean_unsigned_to_nat(1u); x_75 = l_Lean_Syntax_getArg(x_2, x_74); x_76 = lean_st_ref_get(x_11, x_12); @@ -4424,175 +4423,174 @@ lean_inc(x_79); lean_dec(x_77); x_80 = lean_ctor_get(x_10, 4); lean_inc(x_80); -x_81 = lean_ctor_get(x_10, 3); -lean_inc(x_81); -x_82 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_78); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_ctor_get(x_10, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_10, 2); +lean_inc(x_79); +x_81 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_81, 0, x_79); +x_82 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_82, 0, x_80); +lean_inc(x_79); +x_83 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_83, 0, x_79); +x_84 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_84, 0, x_81); +lean_ctor_set(x_84, 1, x_82); +lean_ctor_set(x_84, 2, x_83); +x_85 = x_84; +x_86 = lean_ctor_get(x_10, 3); lean_inc(x_86); -x_87 = lean_st_ref_get(x_11, x_84); +x_87 = l_Lean_Elab_Term_getCurrMacroScope(x_6, x_7, x_8, x_9, x_10, x_11, x_78); x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); x_89 = lean_ctor_get(x_87, 1); lean_inc(x_89); lean_dec(x_87); -x_90 = lean_ctor_get(x_88, 1); +x_90 = lean_ctor_get(x_10, 1); lean_inc(x_90); -lean_dec(x_88); -lean_inc(x_79); -x_91 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_91, 0, x_79); +x_91 = lean_ctor_get(x_10, 2); lean_inc(x_91); -x_92 = x_91; -lean_inc(x_79); -x_93 = lean_environment_main_module(x_79); -x_94 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_94, 0, x_80); -x_95 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_95, 0, x_79); -x_96 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_96, 0, x_91); -lean_ctor_set(x_96, 1, x_94); -lean_ctor_set(x_96, 2, x_95); -x_97 = x_96; -x_98 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_98, 0, x_92); -lean_ctor_set(x_98, 1, x_93); -lean_ctor_set(x_98, 2, x_83); -lean_ctor_set(x_98, 3, x_85); -lean_ctor_set(x_98, 4, x_86); -lean_ctor_set(x_98, 5, x_81); -lean_ctor_set(x_98, 6, x_97); -x_99 = lean_box(0); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_90); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_Elab_Term_expandOptPrecedence(x_75, x_98, x_100); +x_92 = lean_st_ref_get(x_11, x_89); +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = lean_environment_main_module(x_79); +lean_inc(x_85); +x_97 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_97, 0, x_85); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set(x_97, 2, x_88); +lean_ctor_set(x_97, 3, x_90); +lean_ctor_set(x_97, 4, x_91); +lean_ctor_set(x_97, 5, x_86); +lean_ctor_set(x_97, 6, x_85); +x_98 = lean_box(0); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_95); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_Elab_Term_expandOptPrecedence(x_75, x_97, x_99); lean_dec(x_75); -if (lean_obj_tag(x_101) == 0) +if (lean_obj_tag(x_100) == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_102 = lean_ctor_get(x_101, 0); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); +lean_dec(x_100); +x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); -lean_dec(x_101); -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -lean_dec(x_103); -x_105 = lean_st_ref_take(x_11, x_89); -x_106 = lean_ctor_get(x_105, 0); +lean_dec(x_102); +x_104 = lean_st_ref_take(x_11, x_94); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = !lean_is_exclusive(x_106); -if (x_108 == 0) +lean_dec(x_104); +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_106, 1); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_105, 1); +lean_dec(x_108); +lean_ctor_set(x_105, 1, x_103); +x_109 = lean_st_ref_set(x_11, x_105, x_106); +x_110 = lean_ctor_get(x_109, 1); +lean_inc(x_110); lean_dec(x_109); -lean_ctor_set(x_106, 1, x_104); -x_110 = lean_st_ref_set(x_11, x_106, x_107); -x_111 = lean_ctor_get(x_110, 1); -lean_inc(x_111); -lean_dec(x_110); -x_64 = x_102; -x_65 = x_111; +x_64 = x_101; +x_65 = x_110; goto block_73; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_112 = lean_ctor_get(x_106, 0); -x_113 = lean_ctor_get(x_106, 2); -x_114 = lean_ctor_get(x_106, 3); -lean_inc(x_114); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_111 = lean_ctor_get(x_105, 0); +x_112 = lean_ctor_get(x_105, 2); +x_113 = lean_ctor_get(x_105, 3); lean_inc(x_113); lean_inc(x_112); -lean_dec(x_106); -x_115 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_115, 0, x_112); -lean_ctor_set(x_115, 1, x_104); -lean_ctor_set(x_115, 2, x_113); -lean_ctor_set(x_115, 3, x_114); -x_116 = lean_st_ref_set(x_11, x_115, x_107); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_64 = x_102; -x_65 = x_117; +lean_inc(x_111); +lean_dec(x_105); +x_114 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_103); +lean_ctor_set(x_114, 2, x_112); +lean_ctor_set(x_114, 3, x_113); +x_115 = lean_st_ref_set(x_11, x_114, x_106); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +x_64 = x_101; +x_65 = x_116; goto block_73; } } else { -lean_object* x_118; +lean_object* x_117; lean_dec(x_1); -x_118 = lean_ctor_get(x_101, 0); +x_117 = lean_ctor_get(x_100, 0); +lean_inc(x_117); +lean_dec(x_100); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); -lean_dec(x_101); -if (lean_obj_tag(x_118) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_119 = lean_ctor_get(x_118, 0); +x_119 = lean_ctor_get(x_117, 1); lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_117); +x_120 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_120, 0, x_119); +x_121 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_121, 0, x_120); -x_122 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_122, 0, x_121); -x_123 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(x_119, x_122, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_89); -lean_dec(x_119); -x_124 = !lean_is_exclusive(x_123); -if (x_124 == 0) +x_122 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(x_118, x_121, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_94); +lean_dec(x_118); +x_123 = !lean_is_exclusive(x_122); +if (x_123 == 0) { -return x_123; +return x_122; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_123, 0); -x_126 = lean_ctor_get(x_123, 1); -lean_inc(x_126); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_122, 0); +x_125 = lean_ctor_get(x_122, 1); lean_inc(x_125); -lean_dec(x_123); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); +lean_inc(x_124); +lean_dec(x_122); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; +} +} +else +{ +lean_object* x_127; uint8_t x_128; +lean_dec(x_10); +x_127 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__5___rarg(x_94); +x_128 = !lean_is_exclusive(x_127); +if (x_128 == 0) +{ return x_127; } -} else { -lean_object* x_128; uint8_t x_129; -lean_dec(x_10); -x_128 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_checkLeftRec___spec__5___rarg(x_89); -x_129 = !lean_is_exclusive(x_128); -if (x_129 == 0) -{ -return x_128; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_128, 0); -x_131 = lean_ctor_get(x_128, 1); -lean_inc(x_131); +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_127, 0); +x_130 = lean_ctor_get(x_127, 1); lean_inc(x_130); -lean_dec(x_128); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; +lean_inc(x_129); +lean_dec(x_127); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; } } } @@ -7646,7 +7644,7 @@ x_36 = l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__2; x_37 = lean_name_eq(x_11, x_36); if (x_37 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_38; lean_object* x_39; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; x_49 = lean_st_ref_get(x_9, x_10); x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); @@ -7656,181 +7654,180 @@ lean_dec(x_49); x_52 = lean_ctor_get(x_50, 0); lean_inc(x_52); lean_dec(x_50); -x_53 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_st_ref_get(x_9, x_55); -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 = lean_ctor_get(x_57, 1); +lean_inc(x_52); +x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_53, 0, x_52); +x_54 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_54, 0, x_18); +lean_inc(x_52); +x_55 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_55, 0, x_52); +x_56 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +lean_ctor_set(x_56, 2, x_55); +x_57 = x_56; +x_58 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_51); +x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -lean_dec(x_57); -lean_inc(x_52); -x_60 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_60, 0, x_52); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -x_61 = x_60; -lean_inc(x_52); -x_62 = lean_environment_main_module(x_52); -x_63 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_63, 0, x_18); -x_64 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_64, 0, x_52); -x_65 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_65, 0, x_60); -lean_ctor_set(x_65, 1, x_63); -lean_ctor_set(x_65, 2, x_64); -x_66 = x_65; -x_67 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_67, 0, x_61); -lean_ctor_set(x_67, 1, x_62); -lean_ctor_set(x_67, 2, x_54); -lean_ctor_set(x_67, 3, x_15); -lean_ctor_set(x_67, 4, x_16); -lean_ctor_set(x_67, 5, x_19); -lean_ctor_set(x_67, 6, x_66); -x_68 = lean_box(0); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_59); -lean_ctor_set(x_69, 1, x_68); +lean_dec(x_58); +x_61 = lean_st_ref_get(x_9, x_60); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = lean_environment_main_module(x_52); +lean_inc(x_57); +x_66 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_66, 0, x_57); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_59); +lean_ctor_set(x_66, 3, x_15); +lean_ctor_set(x_66, 4, x_16); +lean_ctor_set(x_66, 5, x_19); +lean_ctor_set(x_66, 6, x_57); +x_67 = lean_box(0); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_64); +lean_ctor_set(x_68, 1, x_67); lean_inc(x_1); -x_70 = l_Lean_Macro_expandMacro_x3f(x_1, x_67, x_69); -if (lean_obj_tag(x_70) == 0) +x_69 = l_Lean_Macro_expandMacro_x3f(x_1, x_66, x_68); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_71 = lean_ctor_get(x_70, 0); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +lean_dec(x_69); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec(x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_st_ref_take(x_9, x_58); -x_75 = lean_ctor_get(x_74, 0); +lean_dec(x_71); +x_73 = lean_st_ref_take(x_9, x_63); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = !lean_is_exclusive(x_75); -if (x_77 == 0) +lean_dec(x_73); +x_76 = !lean_is_exclusive(x_74); +if (x_76 == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_75, 1); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_74, 1); +lean_dec(x_77); +lean_ctor_set(x_74, 1, x_72); +x_78 = lean_st_ref_set(x_9, x_74, x_75); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); lean_dec(x_78); -lean_ctor_set(x_75, 1, x_73); -x_79 = lean_st_ref_set(x_9, x_75, x_76); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_38 = x_71; -x_39 = x_80; +x_38 = x_70; +x_39 = x_79; goto block_48; } else { -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_81 = lean_ctor_get(x_75, 0); -x_82 = lean_ctor_get(x_75, 2); -x_83 = lean_ctor_get(x_75, 3); -lean_inc(x_83); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_80 = lean_ctor_get(x_74, 0); +x_81 = lean_ctor_get(x_74, 2); +x_82 = lean_ctor_get(x_74, 3); lean_inc(x_82); lean_inc(x_81); -lean_dec(x_75); -x_84 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_84, 0, x_81); -lean_ctor_set(x_84, 1, x_73); -lean_ctor_set(x_84, 2, x_82); -lean_ctor_set(x_84, 3, x_83); -x_85 = lean_st_ref_set(x_9, x_84, x_76); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_38 = x_71; -x_39 = x_86; +lean_inc(x_80); +lean_dec(x_74); +x_83 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_83, 0, x_80); +lean_ctor_set(x_83, 1, x_72); +lean_ctor_set(x_83, 2, x_81); +lean_ctor_set(x_83, 3, x_82); +x_84 = lean_st_ref_set(x_9, x_83, x_75); +x_85 = lean_ctor_get(x_84, 1); +lean_inc(x_85); +lean_dec(x_84); +x_38 = x_70; +x_39 = x_85; goto block_48; } } else { -lean_object* x_87; +lean_object* x_86; lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_87 = lean_ctor_get(x_70, 0); -lean_inc(x_87); -lean_dec(x_70); -if (lean_obj_tag(x_87) == 0) +x_86 = lean_ctor_get(x_69, 0); +lean_inc(x_86); +lean_dec(x_69); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_88 = lean_ctor_get(x_87, 0); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_86); +x_89 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_90, 0, x_89); -x_91 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(x_88, x_91, x_4, x_5, x_6, x_7, x_8, x_9, x_58); +x_91 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(x_87, x_90, x_4, x_5, x_6, x_7, x_8, x_9, x_63); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_88); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) +lean_dec(x_87); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) { -return x_92; +return x_91; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); -x_95 = lean_ctor_get(x_92, 1); -lean_inc(x_95); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_91, 1); lean_inc(x_94); -lean_dec(x_92); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +lean_inc(x_93); +lean_dec(x_91); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } else { -lean_object* x_97; uint8_t x_98; +lean_object* x_96; uint8_t x_97; lean_dec(x_8); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_97 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(x_58); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) +x_96 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(x_63); +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) { -return x_97; +return x_96; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_97, 0); -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_96, 0); +x_99 = lean_ctor_get(x_96, 1); lean_inc(x_99); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; +lean_inc(x_98); +lean_dec(x_96); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } @@ -7876,13 +7873,34 @@ goto _start; } else { +lean_object* x_101; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_11); +x_101 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_101; +} +} +else +{ lean_object* x_102; lean_dec(x_19); lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_102 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_102 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7903,15 +7921,7 @@ lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_103 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +x_103 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_103; } @@ -7924,7 +7934,7 @@ lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_104 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_104 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_104; } @@ -7937,7 +7947,7 @@ lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_105 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_105 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_105; } @@ -7950,7 +7960,7 @@ lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_106 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_106 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_106; } @@ -7963,20 +7973,7 @@ lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_107 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_1); -return x_107; -} -} -else -{ -lean_object* x_108; -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_11); -x_108 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_107 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -7985,64 +7982,63 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_108; +return x_107; } } else { -lean_object* x_109; lean_object* x_110; +lean_object* x_108; lean_object* x_109; lean_dec(x_19); lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_109 = lean_unsigned_to_nat(1u); -x_110 = l_Lean_Syntax_getArg(x_1, x_109); +x_108 = lean_unsigned_to_nat(1u); +x_109 = l_Lean_Syntax_getArg(x_1, x_108); lean_dec(x_1); -x_1 = x_110; +x_1 = x_109; goto _start; } } else { -lean_object* x_112; lean_object* x_113; +lean_object* x_111; lean_object* x_112; lean_dec(x_19); lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_112 = lean_unsigned_to_nat(0u); -x_113 = l_Lean_Syntax_getArg(x_1, x_112); +x_111 = lean_unsigned_to_nat(0u); +x_112 = l_Lean_Syntax_getArg(x_1, x_111); lean_dec(x_1); -x_1 = x_113; +x_1 = x_112; goto _start; } } else { -lean_object* x_115; +lean_object* x_114; lean_dec(x_19); lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_11); -x_115 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_114 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); -return x_115; +return x_114; } } 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; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_116 = lean_ctor_get(x_8, 0); -x_117 = lean_ctor_get(x_8, 1); -x_118 = lean_ctor_get(x_8, 2); -x_119 = lean_ctor_get(x_8, 3); -x_120 = lean_ctor_get(x_8, 4); -x_121 = lean_ctor_get(x_8, 5); -x_122 = lean_ctor_get(x_8, 6); -x_123 = lean_ctor_get(x_8, 7); -lean_inc(x_123); +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; lean_object* x_124; +x_115 = lean_ctor_get(x_8, 0); +x_116 = lean_ctor_get(x_8, 1); +x_117 = lean_ctor_get(x_8, 2); +x_118 = lean_ctor_get(x_8, 3); +x_119 = lean_ctor_get(x_8, 4); +x_120 = lean_ctor_get(x_8, 5); +x_121 = lean_ctor_get(x_8, 6); +x_122 = lean_ctor_get(x_8, 7); lean_inc(x_122); lean_inc(x_121); lean_inc(x_120); @@ -8050,271 +8046,271 @@ lean_inc(x_119); lean_inc(x_118); lean_inc(x_117); lean_inc(x_116); +lean_inc(x_115); lean_dec(x_8); -x_124 = l_Lean_replaceRef(x_1, x_119); -lean_dec(x_119); -lean_inc(x_120); -lean_inc(x_124); -lean_inc(x_118); +x_123 = l_Lean_replaceRef(x_1, x_118); +lean_dec(x_118); +lean_inc(x_119); +lean_inc(x_123); lean_inc(x_117); -x_125 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_125, 0, x_116); -lean_ctor_set(x_125, 1, x_117); -lean_ctor_set(x_125, 2, x_118); -lean_ctor_set(x_125, 3, x_124); -lean_ctor_set(x_125, 4, x_120); -lean_ctor_set(x_125, 5, x_121); -lean_ctor_set(x_125, 6, x_122); -lean_ctor_set(x_125, 7, x_123); +lean_inc(x_116); +x_124 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_124, 0, x_115); +lean_ctor_set(x_124, 1, x_116); +lean_ctor_set(x_124, 2, x_117); +lean_ctor_set(x_124, 3, x_123); +lean_ctor_set(x_124, 4, x_119); +lean_ctor_set(x_124, 5, x_120); +lean_ctor_set(x_124, 6, x_121); +lean_ctor_set(x_124, 7, x_122); if (x_13 == 0) { -lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_choiceKind; -x_127 = lean_name_eq(x_11, x_126); -if (x_127 == 0) +lean_object* x_125; uint8_t x_126; +x_125 = l_Lean_choiceKind; +x_126 = lean_name_eq(x_11, x_125); +if (x_126 == 0) { -lean_object* x_128; uint8_t x_129; -x_128 = l_Lean_Parser_Syntax_paren___elambda__1___closed__1; -x_129 = lean_name_eq(x_11, x_128); -if (x_129 == 0) +lean_object* x_127; uint8_t x_128; +x_127 = l_Lean_Parser_Syntax_paren___elambda__1___closed__1; +x_128 = lean_name_eq(x_11, x_127); +if (x_128 == 0) { -lean_object* x_130; uint8_t x_131; -x_130 = l_Lean_Parser_Syntax_cat___elambda__1___closed__2; -x_131 = lean_name_eq(x_11, x_130); -if (x_131 == 0) +lean_object* x_129; uint8_t x_130; +x_129 = l_Lean_Parser_Syntax_cat___elambda__1___closed__2; +x_130 = lean_name_eq(x_11, x_129); +if (x_130 == 0) { -lean_object* x_132; uint8_t x_133; -x_132 = l_myMacro____x40_Init_Notation___hyg_1040____closed__2; -x_133 = lean_name_eq(x_11, x_132); -if (x_133 == 0) +lean_object* x_131; uint8_t x_132; +x_131 = l_myMacro____x40_Init_Notation___hyg_1040____closed__2; +x_132 = lean_name_eq(x_11, x_131); +if (x_132 == 0) { -lean_object* x_134; uint8_t x_135; -x_134 = l_myMacro____x40_Init_Notation___hyg_1346____closed__2; -x_135 = lean_name_eq(x_11, x_134); -if (x_135 == 0) +lean_object* x_133; uint8_t x_134; +x_133 = l_myMacro____x40_Init_Notation___hyg_1346____closed__2; +x_134 = lean_name_eq(x_11, x_133); +if (x_134 == 0) { -lean_object* x_136; uint8_t x_137; -x_136 = l_myMacro____x40_Init_Notation___hyg_1481____closed__2; -x_137 = lean_name_eq(x_11, x_136); -if (x_137 == 0) +lean_object* x_135; uint8_t x_136; +x_135 = l_myMacro____x40_Init_Notation___hyg_1481____closed__2; +x_136 = lean_name_eq(x_11, x_135); +if (x_136 == 0) { -lean_object* x_138; uint8_t x_139; -x_138 = l_myMacro____x40_Init_Notation___hyg_1640____closed__2; -x_139 = lean_name_eq(x_11, x_138); -if (x_139 == 0) +lean_object* x_137; uint8_t x_138; +x_137 = l_myMacro____x40_Init_Notation___hyg_1640____closed__2; +x_138 = lean_name_eq(x_11, x_137); +if (x_138 == 0) { -lean_object* x_140; uint8_t x_141; -x_140 = l_myMacro____x40_Init_Notation___hyg_1481____closed__6; -x_141 = lean_name_eq(x_11, x_140); -if (x_141 == 0) +lean_object* x_139; uint8_t x_140; +x_139 = l_myMacro____x40_Init_Notation___hyg_1481____closed__6; +x_140 = lean_name_eq(x_11, x_139); +if (x_140 == 0) { -lean_object* x_142; uint8_t x_143; -x_142 = l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__2; -x_143 = lean_name_eq(x_11, x_142); -if (x_143 == 0) +lean_object* x_141; uint8_t x_142; +x_141 = l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__2; +x_142 = lean_name_eq(x_11, x_141); +if (x_142 == 0) { -lean_object* x_144; lean_object* x_145; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_155 = lean_st_ref_get(x_9, x_10); -x_156 = lean_ctor_get(x_155, 0); +lean_object* x_143; lean_object* x_144; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_154 = lean_st_ref_get(x_9, x_10); +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); +lean_dec(x_154); +x_157 = lean_ctor_get(x_155, 0); lean_inc(x_157); lean_dec(x_155); -x_158 = lean_ctor_get(x_156, 0); -lean_inc(x_158); -lean_dec(x_156); -x_159 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_125, x_9, x_157); -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -lean_dec(x_159); -x_162 = lean_st_ref_get(x_9, x_161); -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_157); +x_158 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_158, 0, x_157); +x_159 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_159, 0, x_119); +lean_inc(x_157); +x_160 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_160, 0, x_157); +x_161 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_161, 0, x_158); +lean_ctor_set(x_161, 1, x_159); +lean_ctor_set(x_161, 2, x_160); +x_162 = x_161; +x_163 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_124, x_9, x_156); +x_164 = lean_ctor_get(x_163, 0); lean_inc(x_164); -lean_dec(x_162); x_165 = lean_ctor_get(x_163, 1); lean_inc(x_165); lean_dec(x_163); -lean_inc(x_158); -x_166 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_166, 0, x_158); -lean_inc(x_166); -x_167 = x_166; -lean_inc(x_158); -x_168 = lean_environment_main_module(x_158); -x_169 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_169, 0, x_120); -x_170 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_170, 0, x_158); -x_171 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_171, 0, x_166); -lean_ctor_set(x_171, 1, x_169); -lean_ctor_set(x_171, 2, x_170); -x_172 = x_171; -x_173 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_173, 0, x_167); -lean_ctor_set(x_173, 1, x_168); -lean_ctor_set(x_173, 2, x_160); -lean_ctor_set(x_173, 3, x_117); -lean_ctor_set(x_173, 4, x_118); -lean_ctor_set(x_173, 5, x_124); -lean_ctor_set(x_173, 6, x_172); -x_174 = lean_box(0); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_165); -lean_ctor_set(x_175, 1, x_174); +x_166 = lean_st_ref_get(x_9, x_165); +x_167 = lean_ctor_get(x_166, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_166, 1); +lean_inc(x_168); +lean_dec(x_166); +x_169 = lean_ctor_get(x_167, 1); +lean_inc(x_169); +lean_dec(x_167); +x_170 = lean_environment_main_module(x_157); +lean_inc(x_162); +x_171 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_171, 0, x_162); +lean_ctor_set(x_171, 1, x_170); +lean_ctor_set(x_171, 2, x_164); +lean_ctor_set(x_171, 3, x_116); +lean_ctor_set(x_171, 4, x_117); +lean_ctor_set(x_171, 5, x_123); +lean_ctor_set(x_171, 6, x_162); +x_172 = lean_box(0); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_169); +lean_ctor_set(x_173, 1, x_172); lean_inc(x_1); -x_176 = l_Lean_Macro_expandMacro_x3f(x_1, x_173, x_175); -if (lean_obj_tag(x_176) == 0) +x_174 = l_Lean_Macro_expandMacro_x3f(x_1, x_171, x_173); +if (lean_obj_tag(x_174) == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); x_177 = lean_ctor_get(x_176, 0); lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); lean_dec(x_176); +x_178 = lean_st_ref_take(x_9, x_168); x_179 = lean_ctor_get(x_178, 0); lean_inc(x_179); +x_180 = lean_ctor_get(x_178, 1); +lean_inc(x_180); lean_dec(x_178); -x_180 = lean_st_ref_take(x_9, x_164); -x_181 = lean_ctor_get(x_180, 0); +x_181 = lean_ctor_get(x_179, 0); lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); +x_182 = lean_ctor_get(x_179, 2); lean_inc(x_182); -lean_dec(x_180); -x_183 = lean_ctor_get(x_181, 0); +x_183 = lean_ctor_get(x_179, 3); lean_inc(x_183); -x_184 = lean_ctor_get(x_181, 2); -lean_inc(x_184); -x_185 = lean_ctor_get(x_181, 3); -lean_inc(x_185); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - lean_ctor_release(x_181, 2); - lean_ctor_release(x_181, 3); - x_186 = x_181; +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + lean_ctor_release(x_179, 1); + lean_ctor_release(x_179, 2); + lean_ctor_release(x_179, 3); + x_184 = x_179; } else { - lean_dec_ref(x_181); - x_186 = lean_box(0); + lean_dec_ref(x_179); + x_184 = lean_box(0); } -if (lean_is_scalar(x_186)) { - x_187 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_184)) { + x_185 = lean_alloc_ctor(0, 4, 0); } else { - x_187 = x_186; + x_185 = x_184; } -lean_ctor_set(x_187, 0, x_183); -lean_ctor_set(x_187, 1, x_179); -lean_ctor_set(x_187, 2, x_184); -lean_ctor_set(x_187, 3, x_185); -x_188 = lean_st_ref_set(x_9, x_187, x_182); -x_189 = lean_ctor_get(x_188, 1); +lean_ctor_set(x_185, 0, x_181); +lean_ctor_set(x_185, 1, x_177); +lean_ctor_set(x_185, 2, x_182); +lean_ctor_set(x_185, 3, x_183); +x_186 = lean_st_ref_set(x_9, x_185, x_180); +x_187 = lean_ctor_get(x_186, 1); +lean_inc(x_187); +lean_dec(x_186); +x_143 = x_175; +x_144 = x_187; +goto block_153; +} +else +{ +lean_object* x_188; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_188 = lean_ctor_get(x_174, 0); +lean_inc(x_188); +lean_dec(x_174); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_189 = lean_ctor_get(x_188, 0); lean_inc(x_189); -lean_dec(x_188); -x_144 = x_177; -x_145 = x_189; -goto block_154; -} -else -{ -lean_object* x_190; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_190 = lean_ctor_get(x_176, 0); +x_190 = lean_ctor_get(x_188, 1); lean_inc(x_190); -lean_dec(x_176); -if (lean_obj_tag(x_190) == 0) -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_193, 0, x_192); -x_194 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_194, 0, x_193); -x_195 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(x_191, x_194, x_4, x_5, x_6, x_7, x_125, x_9, x_164); +lean_dec(x_188); +x_191 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_191, 0, x_190); +x_192 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_192, 0, x_191); +x_193 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__2(x_189, x_192, x_4, x_5, x_6, x_7, x_124, x_9, x_168); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_191); -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -if (lean_is_exclusive(x_195)) { - lean_ctor_release(x_195, 0); - lean_ctor_release(x_195, 1); - x_198 = x_195; +lean_dec(x_189); +x_194 = lean_ctor_get(x_193, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_193, 1); +lean_inc(x_195); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + x_196 = x_193; } else { - lean_dec_ref(x_195); - x_198 = lean_box(0); + lean_dec_ref(x_193); + x_196 = lean_box(0); } -if (lean_is_scalar(x_198)) { - x_199 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_196)) { + x_197 = lean_alloc_ctor(1, 2, 0); } else { - x_199 = x_198; + x_197 = x_196; } -lean_ctor_set(x_199, 0, x_196); -lean_ctor_set(x_199, 1, x_197); -return x_199; +lean_ctor_set(x_197, 0, x_194); +lean_ctor_set(x_197, 1, x_195); +return x_197; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -lean_dec(x_125); +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_124); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_200 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(x_164); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - x_203 = x_200; +x_198 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_process___spec__4___rarg(x_168); +x_199 = lean_ctor_get(x_198, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_198, 1); +lean_inc(x_200); +if (lean_is_exclusive(x_198)) { + lean_ctor_release(x_198, 0); + lean_ctor_release(x_198, 1); + x_201 = x_198; } else { - lean_dec_ref(x_200); - x_203 = lean_box(0); + lean_dec_ref(x_198); + x_201 = lean_box(0); } -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_201)) { + x_202 = lean_alloc_ctor(1, 2, 0); } else { - x_204 = x_203; + x_202 = x_201; } -lean_ctor_set(x_204, 0, x_201); -lean_ctor_set(x_204, 1, x_202); -return x_204; +lean_ctor_set(x_202, 0, x_199); +lean_ctor_set(x_202, 1, x_200); +return x_202; } } -block_154: +block_153: { -if (lean_obj_tag(x_144) == 0) +if (lean_obj_tag(x_143) == 0) { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_146 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_146, 0, x_11); -x_147 = l_Lean_Elab_Term_toParserDescr_process___closed__2; -x_148 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_146); -x_149 = l_Lean_KernelException_toMessageData___closed__15; -x_150 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -x_151 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_1, x_150, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_145); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_145 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_145, 0, x_11); +x_146 = l_Lean_Elab_Term_toParserDescr_process___closed__2; +x_147 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = l_Lean_KernelException_toMessageData___closed__15; +x_149 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Lean_throwErrorAt___at_Lean_Elab_Term_toParserDescr_process___spec__1(x_1, x_149, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_144); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -8323,34 +8319,34 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_151; +return x_150; } else { -lean_object* x_152; +lean_object* x_151; lean_dec(x_11); lean_dec(x_1); -x_152 = lean_ctor_get(x_144, 0); -lean_inc(x_152); -lean_dec(x_144); -x_1 = x_152; -x_8 = x_125; -x_10 = x_145; +x_151 = lean_ctor_get(x_143, 0); +lean_inc(x_151); +lean_dec(x_143); +x_1 = x_151; +x_8 = x_124; +x_10 = x_144; goto _start; } } } else { -lean_object* x_205; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_object* x_203; +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_205 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); +x_203 = l_Lean_Elab_Term_toParserDescr_processNonReserved(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); lean_dec(x_9); -lean_dec(x_125); +lean_dec(x_124); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -8358,26 +8354,52 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); +return x_203; +} +} +else +{ +lean_object* x_204; +lean_dec(x_123); +lean_dec(x_119); +lean_dec(x_117); +lean_dec(x_116); +lean_dec(x_11); +x_204 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); +lean_dec(x_9); +lean_dec(x_124); +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); +return x_204; +} +} +else +{ +lean_object* x_205; +lean_dec(x_123); +lean_dec(x_119); +lean_dec(x_117); +lean_dec(x_116); +lean_dec(x_11); +x_205 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); +lean_dec(x_1); return x_205; } } else { lean_object* x_206; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_206 = l_Lean_Elab_Term_toParserDescr_processAtom(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); -lean_dec(x_9); -lean_dec(x_125); -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_206 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); lean_dec(x_1); return x_206; } @@ -8385,12 +8407,12 @@ return x_206; else { lean_object* x_207; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_207 = l_Lean_Elab_Term_toParserDescr_processSepBy1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); +x_207 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); lean_dec(x_1); return x_207; } @@ -8398,12 +8420,12 @@ return x_207; else { lean_object* x_208; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_208 = l_Lean_Elab_Term_toParserDescr_processSepBy(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); +x_208 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); lean_dec(x_1); return x_208; } @@ -8411,38 +8433,12 @@ return x_208; else { lean_object* x_209; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_209 = l_Lean_Elab_Term_toParserDescr_processBinary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); -lean_dec(x_1); -return x_209; -} -} -else -{ -lean_object* x_210; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); -lean_dec(x_117); -lean_dec(x_11); -x_210 = l_Lean_Elab_Term_toParserDescr_processUnary(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); -lean_dec(x_1); -return x_210; -} -} -else -{ -lean_object* x_211; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); -lean_dec(x_117); -lean_dec(x_11); -x_211 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); +x_209 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -8451,52 +8447,52 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_211; +return x_209; } } else { -lean_object* x_212; lean_object* x_213; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_object* x_210; lean_object* x_211; +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_212 = lean_unsigned_to_nat(1u); -x_213 = l_Lean_Syntax_getArg(x_1, x_212); +x_210 = lean_unsigned_to_nat(1u); +x_211 = l_Lean_Syntax_getArg(x_1, x_210); lean_dec(x_1); -x_1 = x_213; -x_8 = x_125; +x_1 = x_211; +x_8 = x_124; goto _start; } } else { -lean_object* x_215; lean_object* x_216; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_object* x_213; lean_object* x_214; +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_215 = lean_unsigned_to_nat(0u); -x_216 = l_Lean_Syntax_getArg(x_1, x_215); +x_213 = lean_unsigned_to_nat(0u); +x_214 = l_Lean_Syntax_getArg(x_1, x_213); lean_dec(x_1); -x_1 = x_216; -x_8 = x_125; +x_1 = x_214; +x_8 = x_124; goto _start; } } else { -lean_object* x_218; -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_118); +lean_object* x_216; +lean_dec(x_123); +lean_dec(x_119); lean_dec(x_117); +lean_dec(x_116); lean_dec(x_11); -x_218 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_125, x_9, x_10); +x_216 = l_Lean_Elab_Term_toParserDescr_processSeq(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_124, x_9, x_10); lean_dec(x_1); -return x_218; +return x_216; } } } @@ -13250,7 +13246,7 @@ return x_3; lean_object* l_Lean_Elab_Command_elabSyntax___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) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +lean_object* x_15; lean_object* x_16; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; x_522 = lean_st_ref_get(x_13, x_14); x_523 = lean_ctor_get(x_522, 0); lean_inc(x_523); @@ -13269,138 +13265,137 @@ lean_dec(x_526); x_529 = lean_ctor_get(x_527, 2); lean_inc(x_529); lean_dec(x_527); -x_530 = l_Lean_Elab_Command_getRef(x_12, x_13, x_528); -x_531 = lean_ctor_get(x_530, 0); -lean_inc(x_531); -x_532 = lean_ctor_get(x_530, 1); -lean_inc(x_532); -lean_dec(x_530); -x_533 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_532); -x_534 = lean_ctor_get(x_533, 0); -lean_inc(x_534); -x_535 = lean_ctor_get(x_533, 1); -lean_inc(x_535); -lean_dec(x_533); -x_536 = lean_ctor_get(x_12, 2); +lean_inc(x_525); +x_530 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_530, 0, x_525); +x_531 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_531, 0, x_529); +lean_inc(x_525); +x_532 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_532, 0, x_525); +x_533 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_533, 0, x_530); +lean_ctor_set(x_533, 1, x_531); +lean_ctor_set(x_533, 2, x_532); +x_534 = x_533; +x_535 = l_Lean_Elab_Command_getRef(x_12, x_13, x_528); +x_536 = lean_ctor_get(x_535, 0); lean_inc(x_536); -x_537 = lean_st_ref_get(x_13, x_535); -x_538 = lean_ctor_get(x_537, 0); -lean_inc(x_538); -x_539 = lean_ctor_get(x_537, 1); +x_537 = lean_ctor_get(x_535, 1); +lean_inc(x_537); +lean_dec(x_535); +x_538 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_537); +x_539 = lean_ctor_get(x_538, 0); lean_inc(x_539); -lean_dec(x_537); -x_540 = lean_ctor_get(x_538, 4); +x_540 = lean_ctor_get(x_538, 1); lean_inc(x_540); lean_dec(x_538); -x_541 = lean_st_ref_get(x_13, x_539); -x_542 = lean_ctor_get(x_541, 0); -lean_inc(x_542); -x_543 = lean_ctor_get(x_541, 1); +x_541 = lean_ctor_get(x_12, 2); +lean_inc(x_541); +x_542 = lean_st_ref_get(x_13, x_540); +x_543 = lean_ctor_get(x_542, 0); lean_inc(x_543); -lean_dec(x_541); -x_544 = lean_ctor_get(x_542, 3); +x_544 = lean_ctor_get(x_542, 1); lean_inc(x_544); lean_dec(x_542); -lean_inc(x_525); -x_545 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_545, 0, x_525); +x_545 = lean_ctor_get(x_543, 4); lean_inc(x_545); -x_546 = x_545; -lean_inc(x_525); -x_547 = lean_environment_main_module(x_525); -x_548 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_548, 0, x_529); -x_549 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_549, 0, x_525); -x_550 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_550, 0, x_545); -lean_ctor_set(x_550, 1, x_548); -lean_ctor_set(x_550, 2, x_549); -x_551 = x_550; -x_552 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_552, 0, x_546); -lean_ctor_set(x_552, 1, x_547); -lean_ctor_set(x_552, 2, x_534); -lean_ctor_set(x_552, 3, x_536); -lean_ctor_set(x_552, 4, x_540); -lean_ctor_set(x_552, 5, x_531); -lean_ctor_set(x_552, 6, x_551); -x_553 = lean_box(0); -x_554 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_554, 0, x_544); -lean_ctor_set(x_554, 1, x_553); -x_555 = l_Lean_evalOptPrio(x_10, x_552, x_554); -if (lean_obj_tag(x_555) == 0) +lean_dec(x_543); +x_546 = lean_st_ref_get(x_13, x_544); +x_547 = lean_ctor_get(x_546, 0); +lean_inc(x_547); +x_548 = lean_ctor_get(x_546, 1); +lean_inc(x_548); +lean_dec(x_546); +x_549 = lean_ctor_get(x_547, 3); +lean_inc(x_549); +lean_dec(x_547); +x_550 = lean_environment_main_module(x_525); +lean_inc(x_534); +x_551 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_551, 0, x_534); +lean_ctor_set(x_551, 1, x_550); +lean_ctor_set(x_551, 2, x_539); +lean_ctor_set(x_551, 3, x_541); +lean_ctor_set(x_551, 4, x_545); +lean_ctor_set(x_551, 5, x_536); +lean_ctor_set(x_551, 6, x_534); +x_552 = lean_box(0); +x_553 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_553, 0, x_549); +lean_ctor_set(x_553, 1, x_552); +x_554 = l_Lean_evalOptPrio(x_10, x_551, x_553); +if (lean_obj_tag(x_554) == 0) { -lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; uint8_t x_562; -x_556 = lean_ctor_get(x_555, 0); +lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; uint8_t x_561; +x_555 = lean_ctor_get(x_554, 0); +lean_inc(x_555); +x_556 = lean_ctor_get(x_554, 1); lean_inc(x_556); -x_557 = lean_ctor_get(x_555, 1); +lean_dec(x_554); +x_557 = lean_ctor_get(x_556, 0); lean_inc(x_557); -lean_dec(x_555); -x_558 = lean_ctor_get(x_557, 0); -lean_inc(x_558); -lean_dec(x_557); -x_559 = lean_st_ref_take(x_13, x_543); -x_560 = lean_ctor_get(x_559, 0); +lean_dec(x_556); +x_558 = lean_st_ref_take(x_13, x_548); +x_559 = lean_ctor_get(x_558, 0); +lean_inc(x_559); +x_560 = lean_ctor_get(x_558, 1); lean_inc(x_560); -x_561 = lean_ctor_get(x_559, 1); -lean_inc(x_561); -lean_dec(x_559); -x_562 = !lean_is_exclusive(x_560); -if (x_562 == 0) +lean_dec(x_558); +x_561 = !lean_is_exclusive(x_559); +if (x_561 == 0) { -lean_object* x_563; lean_object* x_564; lean_object* x_565; -x_563 = lean_ctor_get(x_560, 3); +lean_object* x_562; lean_object* x_563; lean_object* x_564; +x_562 = lean_ctor_get(x_559, 3); +lean_dec(x_562); +lean_ctor_set(x_559, 3, x_557); +x_563 = lean_st_ref_set(x_13, x_559, x_560); +x_564 = lean_ctor_get(x_563, 1); +lean_inc(x_564); lean_dec(x_563); -lean_ctor_set(x_560, 3, x_558); -x_564 = lean_st_ref_set(x_13, x_560, x_561); -x_565 = lean_ctor_get(x_564, 1); -lean_inc(x_565); -lean_dec(x_564); -x_15 = x_556; -x_16 = x_565; +x_15 = x_555; +x_16 = x_564; goto block_521; } else { -lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; -x_566 = lean_ctor_get(x_560, 0); -x_567 = lean_ctor_get(x_560, 1); -x_568 = lean_ctor_get(x_560, 2); -x_569 = lean_ctor_get(x_560, 4); -x_570 = lean_ctor_get(x_560, 5); -x_571 = lean_ctor_get(x_560, 6); -x_572 = lean_ctor_get(x_560, 7); -lean_inc(x_572); +lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; +x_565 = lean_ctor_get(x_559, 0); +x_566 = lean_ctor_get(x_559, 1); +x_567 = lean_ctor_get(x_559, 2); +x_568 = lean_ctor_get(x_559, 4); +x_569 = lean_ctor_get(x_559, 5); +x_570 = lean_ctor_get(x_559, 6); +x_571 = lean_ctor_get(x_559, 7); lean_inc(x_571); lean_inc(x_570); lean_inc(x_569); lean_inc(x_568); lean_inc(x_567); lean_inc(x_566); -lean_dec(x_560); -x_573 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_573, 0, x_566); -lean_ctor_set(x_573, 1, x_567); -lean_ctor_set(x_573, 2, x_568); -lean_ctor_set(x_573, 3, x_558); -lean_ctor_set(x_573, 4, x_569); -lean_ctor_set(x_573, 5, x_570); -lean_ctor_set(x_573, 6, x_571); -lean_ctor_set(x_573, 7, x_572); -x_574 = lean_st_ref_set(x_13, x_573, x_561); -x_575 = lean_ctor_get(x_574, 1); -lean_inc(x_575); -lean_dec(x_574); -x_15 = x_556; -x_16 = x_575; +lean_inc(x_565); +lean_dec(x_559); +x_572 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_572, 0, x_565); +lean_ctor_set(x_572, 1, x_566); +lean_ctor_set(x_572, 2, x_567); +lean_ctor_set(x_572, 3, x_557); +lean_ctor_set(x_572, 4, x_568); +lean_ctor_set(x_572, 5, x_569); +lean_ctor_set(x_572, 6, x_570); +lean_ctor_set(x_572, 7, x_571); +x_573 = lean_st_ref_set(x_13, x_572, x_560); +x_574 = lean_ctor_get(x_573, 1); +lean_inc(x_574); +lean_dec(x_573); +x_15 = x_555; +x_16 = x_574; goto block_521; } } else { -lean_object* x_576; +lean_object* x_575; lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -13411,66 +13406,66 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_576 = lean_ctor_get(x_555, 0); +x_575 = lean_ctor_get(x_554, 0); +lean_inc(x_575); +lean_dec(x_554); +if (lean_obj_tag(x_575) == 0) +{ +lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; uint8_t x_581; +x_576 = lean_ctor_get(x_575, 0); lean_inc(x_576); -lean_dec(x_555); -if (lean_obj_tag(x_576) == 0) -{ -lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; uint8_t x_582; -x_577 = lean_ctor_get(x_576, 0); +x_577 = lean_ctor_get(x_575, 1); lean_inc(x_577); -x_578 = lean_ctor_get(x_576, 1); -lean_inc(x_578); -lean_dec(x_576); -x_579 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_575); +x_578 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_578, 0, x_577); +x_579 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_579, 0, x_578); -x_580 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_580, 0, x_579); -x_581 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_577, x_580, x_12, x_13, x_543); +x_580 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_576, x_579, x_12, x_13, x_548); lean_dec(x_13); -lean_dec(x_577); -x_582 = !lean_is_exclusive(x_581); -if (x_582 == 0) +lean_dec(x_576); +x_581 = !lean_is_exclusive(x_580); +if (x_581 == 0) { -return x_581; +return x_580; } else { -lean_object* x_583; lean_object* x_584; lean_object* x_585; -x_583 = lean_ctor_get(x_581, 0); -x_584 = lean_ctor_get(x_581, 1); -lean_inc(x_584); +lean_object* x_582; lean_object* x_583; lean_object* x_584; +x_582 = lean_ctor_get(x_580, 0); +x_583 = lean_ctor_get(x_580, 1); lean_inc(x_583); -lean_dec(x_581); -x_585 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_585, 0, x_583); -lean_ctor_set(x_585, 1, x_584); -return x_585; +lean_inc(x_582); +lean_dec(x_580); +x_584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_584, 0, x_582); +lean_ctor_set(x_584, 1, x_583); +return x_584; } } else { -lean_object* x_586; uint8_t x_587; +lean_object* x_585; uint8_t x_586; lean_dec(x_13); lean_dec(x_12); -x_586 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_543); -x_587 = !lean_is_exclusive(x_586); -if (x_587 == 0) +x_585 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_548); +x_586 = !lean_is_exclusive(x_585); +if (x_586 == 0) { -return x_586; +return x_585; } else { -lean_object* x_588; lean_object* x_589; lean_object* x_590; -x_588 = lean_ctor_get(x_586, 0); -x_589 = lean_ctor_get(x_586, 1); -lean_inc(x_589); +lean_object* x_587; lean_object* x_588; lean_object* x_589; +x_587 = lean_ctor_get(x_585, 0); +x_588 = lean_ctor_get(x_585, 1); lean_inc(x_588); -lean_dec(x_586); -x_590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_590, 0, x_588); -lean_ctor_set(x_590, 1, x_589); -return x_590; +lean_inc(x_587); +lean_dec(x_585); +x_589 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_589, 0, x_587); +lean_ctor_set(x_589, 1, x_588); +return x_589; } } } @@ -14444,43 +14439,43 @@ if (x_18 == 0) { if (lean_obj_tag(x_11) == 0) { -lean_object* x_92; lean_object* x_93; -x_92 = l_Lean_Parser_leadPrec; -x_93 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_92, x_13, x_14, x_15); -return x_93; +lean_object* x_91; lean_object* x_92; +x_91 = l_Lean_Parser_leadPrec; +x_92 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_91, x_13, x_14, x_15); +return x_92; } else { -lean_object* x_94; -x_94 = lean_ctor_get(x_11, 0); -lean_inc(x_94); +lean_object* x_93; +x_93 = lean_ctor_get(x_11, 0); +lean_inc(x_93); lean_dec(x_11); -x_19 = x_94; -goto block_91; +x_19 = x_93; +goto block_90; } } else { if (lean_obj_tag(x_11) == 0) { -lean_object* x_95; lean_object* x_96; -x_95 = l_Lean_Parser_maxPrec; -x_96 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_95, x_13, x_14, x_15); -return x_96; +lean_object* x_94; lean_object* x_95; +x_94 = l_Lean_Parser_maxPrec; +x_95 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_94, x_13, x_14, x_15); +return x_95; } else { -lean_object* x_97; -x_97 = lean_ctor_get(x_11, 0); -lean_inc(x_97); +lean_object* x_96; +x_96 = lean_ctor_get(x_11, 0); +lean_inc(x_96); lean_dec(x_11); -x_19 = x_97; -goto block_91; +x_19 = x_96; +goto block_90; } } -block_91: +block_90: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; x_20 = lean_st_ref_get(x_14, x_15); x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); @@ -14499,136 +14494,135 @@ lean_dec(x_24); x_27 = lean_ctor_get(x_25, 2); lean_inc(x_27); lean_dec(x_25); -x_28 = l_Lean_Elab_Command_getRef(x_13, x_14, x_26); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_Elab_Command_getCurrMacroScope(x_13, x_14, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_ctor_get(x_13, 2); +lean_inc(x_23); +x_28 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_28, 0, x_23); +x_29 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_29, 0, x_27); +lean_inc(x_23); +x_30 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_30, 0, x_23); +x_31 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_31, 0, x_28); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_30); +x_32 = x_31; +x_33 = l_Lean_Elab_Command_getRef(x_13, x_14, x_26); +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -x_35 = lean_st_ref_get(x_14, x_33); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Elab_Command_getCurrMacroScope(x_13, x_14, x_35); +x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_36, 4); +x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = lean_st_ref_get(x_14, x_37); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +x_39 = lean_ctor_get(x_13, 2); +lean_inc(x_39); +x_40 = lean_st_ref_get(x_14, x_38); +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_40, 3); +x_42 = lean_ctor_get(x_40, 1); lean_inc(x_42); lean_dec(x_40); -lean_inc(x_23); -x_43 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_43, 0, x_23); +x_43 = lean_ctor_get(x_41, 4); lean_inc(x_43); -x_44 = x_43; -lean_inc(x_23); -x_45 = lean_environment_main_module(x_23); -x_46 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_46, 0, x_27); -x_47 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_47, 0, x_23); -x_48 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_48, 0, x_43); -lean_ctor_set(x_48, 1, x_46); -lean_ctor_set(x_48, 2, x_47); -x_49 = x_48; -x_50 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_50, 0, x_44); -lean_ctor_set(x_50, 1, x_45); -lean_ctor_set(x_50, 2, x_32); -lean_ctor_set(x_50, 3, x_34); -lean_ctor_set(x_50, 4, x_38); -lean_ctor_set(x_50, 5, x_29); -lean_ctor_set(x_50, 6, x_49); -x_51 = lean_box(0); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_42); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_evalPrec(x_19, x_50, x_52); -if (lean_obj_tag(x_53) == 0) +lean_dec(x_41); +x_44 = lean_st_ref_get(x_14, x_42); +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 = lean_ctor_get(x_45, 3); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_environment_main_module(x_23); +lean_inc(x_32); +x_49 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_49, 0, x_32); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_49, 2, x_37); +lean_ctor_set(x_49, 3, x_39); +lean_ctor_set(x_49, 4, x_43); +lean_ctor_set(x_49, 5, x_34); +lean_ctor_set(x_49, 6, x_32); +x_50 = lean_box(0); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_47); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_evalPrec(x_19, x_49, x_51); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_54 = lean_ctor_get(x_53, 0); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); +lean_dec(x_52); +x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_ctor_get(x_55, 0); -lean_inc(x_56); -lean_dec(x_55); -x_57 = lean_st_ref_take(x_14, x_41); -x_58 = lean_ctor_get(x_57, 0); +lean_dec(x_54); +x_56 = lean_st_ref_take(x_14, x_46); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = !lean_is_exclusive(x_58); -if (x_60 == 0) +lean_dec(x_56); +x_59 = !lean_is_exclusive(x_57); +if (x_59 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_61 = lean_ctor_get(x_58, 3); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_57, 3); +lean_dec(x_60); +lean_ctor_set(x_57, 3, x_55); +x_61 = lean_st_ref_set(x_14, x_57, x_58); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); lean_dec(x_61); -lean_ctor_set(x_58, 3, x_56); -x_62 = lean_st_ref_set(x_14, x_58, x_59); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_54, x_13, x_14, x_63); -return x_64; +x_63 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_53, x_13, x_14, x_62); +return x_63; } 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; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_65 = lean_ctor_get(x_58, 0); -x_66 = lean_ctor_get(x_58, 1); -x_67 = lean_ctor_get(x_58, 2); -x_68 = lean_ctor_get(x_58, 4); -x_69 = lean_ctor_get(x_58, 5); -x_70 = lean_ctor_get(x_58, 6); -x_71 = lean_ctor_get(x_58, 7); -lean_inc(x_71); +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; +x_64 = lean_ctor_get(x_57, 0); +x_65 = lean_ctor_get(x_57, 1); +x_66 = lean_ctor_get(x_57, 2); +x_67 = lean_ctor_get(x_57, 4); +x_68 = lean_ctor_get(x_57, 5); +x_69 = lean_ctor_get(x_57, 6); +x_70 = lean_ctor_get(x_57, 7); lean_inc(x_70); lean_inc(x_69); lean_inc(x_68); lean_inc(x_67); lean_inc(x_66); lean_inc(x_65); -lean_dec(x_58); -x_72 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_72, 0, x_65); -lean_ctor_set(x_72, 1, x_66); -lean_ctor_set(x_72, 2, x_67); -lean_ctor_set(x_72, 3, x_56); -lean_ctor_set(x_72, 4, x_68); -lean_ctor_set(x_72, 5, x_69); -lean_ctor_set(x_72, 6, x_70); -lean_ctor_set(x_72, 7, x_71); -x_73 = lean_st_ref_set(x_14, x_72, x_59); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_54, x_13, x_14, x_74); -return x_75; +lean_inc(x_64); +lean_dec(x_57); +x_71 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_71, 0, x_64); +lean_ctor_set(x_71, 1, x_65); +lean_ctor_set(x_71, 2, x_66); +lean_ctor_set(x_71, 3, x_55); +lean_ctor_set(x_71, 4, x_67); +lean_ctor_set(x_71, 5, x_68); +lean_ctor_set(x_71, 6, x_69); +lean_ctor_set(x_71, 7, x_70); +x_72 = lean_st_ref_set(x_14, x_71, x_58); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = l_Lean_Elab_Command_elabSyntax___lambda__4(x_2, x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_53, x_13, x_14, x_73); +return x_74; } } else { -lean_object* x_76; +lean_object* x_75; lean_dec(x_17); lean_dec(x_9); lean_dec(x_8); @@ -14638,66 +14632,66 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_76 = lean_ctor_get(x_53, 0); +x_75 = lean_ctor_get(x_52, 0); +lean_inc(x_75); +lean_dec(x_52); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -lean_dec(x_53); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_77 = lean_ctor_get(x_76, 0); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_75); +x_78 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_79, 0, x_78); -x_80 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_80, 0, x_79); -x_81 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_77, x_80, x_13, x_14, x_41); +x_80 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_76, x_79, x_13, x_14, x_46); lean_dec(x_14); -lean_dec(x_77); -x_82 = !lean_is_exclusive(x_81); -if (x_82 == 0) +lean_dec(x_76); +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -return x_81; +return x_80; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); -x_84 = lean_ctor_get(x_81, 1); -lean_inc(x_84); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_80, 1); lean_inc(x_83); -lean_dec(x_81); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_inc(x_82); +lean_dec(x_80); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } else { -lean_object* x_86; uint8_t x_87; +lean_object* x_85; uint8_t x_86; lean_dec(x_14); lean_dec(x_13); -x_86 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_41); -x_87 = !lean_is_exclusive(x_86); -if (x_87 == 0) +x_85 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_46); +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) { -return x_86; +return x_85; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_86, 0); -x_89 = lean_ctor_get(x_86, 1); -lean_inc(x_89); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_85, 0); +x_88 = lean_ctor_get(x_85, 1); lean_inc(x_88); -lean_dec(x_86); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +lean_inc(x_87); +lean_dec(x_85); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } @@ -22737,7 +22731,7 @@ return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; x_11 = lean_st_ref_get(x_3, x_4); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -22756,186 +22750,185 @@ lean_dec(x_15); x_18 = lean_ctor_get(x_16, 2); lean_inc(x_18); lean_dec(x_16); -x_19 = l_Lean_Elab_Command_getRef(x_2, x_3, x_17); -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_Command_getCurrMacroScope(x_2, x_3, x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_2, 2); -x_26 = lean_st_ref_get(x_3, x_24); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_14); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_19, 0, x_14); +x_20 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_20, 0, x_18); +lean_inc(x_14); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_21, 0, x_14); +x_22 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_22, 0, x_19); +lean_ctor_set(x_22, 1, x_20); +lean_ctor_set(x_22, 2, x_21); +x_23 = x_22; +x_24 = l_Lean_Elab_Command_getRef(x_2, x_3, x_17); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_26); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_ctor_get(x_27, 4); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_st_ref_get(x_3, x_28); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +x_30 = lean_ctor_get(x_2, 2); +x_31 = lean_st_ref_get(x_3, x_29); +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_ctor_get(x_31, 3); +x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); lean_dec(x_31); -lean_inc(x_14); -x_34 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_34, 0, x_14); +x_34 = lean_ctor_get(x_32, 4); lean_inc(x_34); -x_35 = x_34; -lean_inc(x_14); -x_36 = lean_environment_main_module(x_14); -x_37 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_37, 0, x_18); -x_38 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_38, 0, x_14); -x_39 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_39, 0, x_34); -lean_ctor_set(x_39, 1, x_37); -lean_ctor_set(x_39, 2, x_38); -x_40 = x_39; -lean_inc(x_25); -x_41 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_36); -lean_ctor_set(x_41, 2, x_23); -lean_ctor_set(x_41, 3, x_25); -lean_ctor_set(x_41, 4, x_29); -lean_ctor_set(x_41, 5, x_20); -lean_ctor_set(x_41, 6, x_40); -x_42 = lean_box(0); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_33); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Elab_Command_strLitToPattern(x_1, x_41, x_43); -lean_dec(x_41); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_3, x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 3); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_environment_main_module(x_14); +lean_inc(x_30); +lean_inc(x_23); +x_40 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_30); +lean_ctor_set(x_40, 4, x_34); +lean_ctor_set(x_40, 5, x_25); +lean_ctor_set(x_40, 6, x_23); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Command_strLitToPattern(x_1, x_40, x_42); +lean_dec(x_40); lean_dec(x_1); -if (lean_obj_tag(x_44) == 0) +if (lean_obj_tag(x_43) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_45 = lean_ctor_get(x_44, 0); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); +lean_dec(x_43); +x_46 = lean_ctor_get(x_45, 0); lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_st_ref_take(x_3, x_32); -x_49 = lean_ctor_get(x_48, 0); +lean_dec(x_45); +x_47 = lean_st_ref_take(x_3, x_37); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = !lean_is_exclusive(x_49); -if (x_51 == 0) +lean_dec(x_47); +x_50 = !lean_is_exclusive(x_48); +if (x_50 == 0) { -lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_52 = lean_ctor_get(x_49, 3); +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_48, 3); +lean_dec(x_51); +lean_ctor_set(x_48, 3, x_46); +x_52 = lean_st_ref_set(x_3, x_48, x_49); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) +{ +lean_object* x_54; +x_54 = lean_ctor_get(x_52, 0); +lean_dec(x_54); +lean_ctor_set(x_52, 0, x_44); +return x_52; +} +else +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); lean_dec(x_52); -lean_ctor_set(x_49, 3, x_47); -x_53 = lean_st_ref_set(x_3, x_49, x_50); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_ctor_get(x_53, 0); -lean_dec(x_55); -lean_ctor_set(x_53, 0, x_45); -return x_53; -} -else -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -lean_dec(x_53); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_45); -lean_ctor_set(x_57, 1, x_56); -return x_57; +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_44); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_58 = lean_ctor_get(x_49, 0); -x_59 = lean_ctor_get(x_49, 1); -x_60 = lean_ctor_get(x_49, 2); -x_61 = lean_ctor_get(x_49, 4); -x_62 = lean_ctor_get(x_49, 5); -x_63 = lean_ctor_get(x_49, 6); -x_64 = lean_ctor_get(x_49, 7); -lean_inc(x_64); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_57 = lean_ctor_get(x_48, 0); +x_58 = lean_ctor_get(x_48, 1); +x_59 = lean_ctor_get(x_48, 2); +x_60 = lean_ctor_get(x_48, 4); +x_61 = lean_ctor_get(x_48, 5); +x_62 = lean_ctor_get(x_48, 6); +x_63 = lean_ctor_get(x_48, 7); lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); lean_inc(x_60); lean_inc(x_59); lean_inc(x_58); -lean_dec(x_49); -x_65 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_65, 0, x_58); -lean_ctor_set(x_65, 1, x_59); -lean_ctor_set(x_65, 2, x_60); -lean_ctor_set(x_65, 3, x_47); -lean_ctor_set(x_65, 4, x_61); -lean_ctor_set(x_65, 5, x_62); -lean_ctor_set(x_65, 6, x_63); -lean_ctor_set(x_65, 7, x_64); -x_66 = lean_st_ref_set(x_3, x_65, x_50); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_68 = x_66; +lean_inc(x_57); +lean_dec(x_48); +x_64 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_64, 0, x_57); +lean_ctor_set(x_64, 1, x_58); +lean_ctor_set(x_64, 2, x_59); +lean_ctor_set(x_64, 3, x_46); +lean_ctor_set(x_64, 4, x_60); +lean_ctor_set(x_64, 5, x_61); +lean_ctor_set(x_64, 6, x_62); +lean_ctor_set(x_64, 7, x_63); +x_65 = lean_st_ref_set(x_3, x_64, x_49); +x_66 = lean_ctor_get(x_65, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_67 = x_65; } else { - lean_dec_ref(x_66); - x_68 = lean_box(0); + lean_dec_ref(x_65); + x_67 = lean_box(0); } -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(0, 2, 0); } else { - x_69 = x_68; + x_68 = x_67; } -lean_ctor_set(x_69, 0, x_45); -lean_ctor_set(x_69, 1, x_67); +lean_ctor_set(x_68, 0, x_44); +lean_ctor_set(x_68, 1, x_66); +return x_68; +} +} +else +{ +lean_object* x_69; +lean_dec(x_43); +x_69 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_37); return x_69; } } -else -{ -lean_object* x_70; -lean_dec(x_44); -x_70 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___rarg(x_32); -return x_70; -} -} } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_dec(x_5); -x_71 = lean_unsigned_to_nat(0u); -x_72 = l_Lean_Syntax_getArg(x_1, x_71); +x_70 = lean_unsigned_to_nat(0u); +x_71 = l_Lean_Syntax_getArg(x_1, x_70); lean_dec(x_1); +x_72 = lean_box(0); x_73 = lean_box(0); -x_74 = lean_box(0); -x_75 = l_Lean_Syntax_mkAntiquotNode(x_72, x_71, x_73, x_74); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_4); -return x_76; +x_74 = l_Lean_Syntax_mkAntiquotNode(x_71, x_70, x_72, x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_4); +return x_75; } } } @@ -29631,7 +29624,7 @@ return x_2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_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_12; lean_object* x_13; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_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; x_41 = lean_st_ref_get(x_10, x_11); x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); @@ -29650,202 +29643,201 @@ lean_dec(x_45); x_48 = lean_ctor_get(x_46, 2); lean_inc(x_48); lean_dec(x_46); -x_49 = l_Lean_Elab_Command_getRef(x_9, x_10, x_47); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -x_52 = l_Lean_Elab_Command_getCurrMacroScope(x_9, x_10, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_ctor_get(x_9, 2); +lean_inc(x_44); +x_49 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_49, 0, x_44); +x_50 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_50, 0, x_48); +lean_inc(x_44); +x_51 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_51, 0, x_44); +x_52 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +lean_ctor_set(x_52, 2, x_51); +x_53 = x_52; +x_54 = l_Lean_Elab_Command_getRef(x_9, x_10, x_47); +x_55 = lean_ctor_get(x_54, 0); lean_inc(x_55); -x_56 = lean_st_ref_get(x_10, x_54); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = l_Lean_Elab_Command_getCurrMacroScope(x_9, x_10, x_56); +x_58 = lean_ctor_get(x_57, 0); lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_ctor_get(x_57, 4); +x_59 = lean_ctor_get(x_57, 1); lean_inc(x_59); lean_dec(x_57); -x_60 = lean_st_ref_get(x_10, x_58); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); +x_60 = lean_ctor_get(x_9, 2); +lean_inc(x_60); +x_61 = lean_st_ref_get(x_10, x_59); +x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_ctor_get(x_61, 3); +x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); lean_dec(x_61); -lean_inc(x_44); -x_64 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_64, 0, x_44); +x_64 = lean_ctor_get(x_62, 4); lean_inc(x_64); -x_65 = x_64; -lean_inc(x_44); -x_66 = lean_environment_main_module(x_44); -x_67 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_67, 0, x_48); -x_68 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_68, 0, x_44); -x_69 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_69, 0, x_64); -lean_ctor_set(x_69, 1, x_67); -lean_ctor_set(x_69, 2, x_68); -x_70 = x_69; -x_71 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_71, 0, x_65); -lean_ctor_set(x_71, 1, x_66); -lean_ctor_set(x_71, 2, x_53); -lean_ctor_set(x_71, 3, x_55); -lean_ctor_set(x_71, 4, x_59); -lean_ctor_set(x_71, 5, x_50); -lean_ctor_set(x_71, 6, x_70); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_63); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_evalOptPrio(x_6, x_71, x_73); -if (lean_obj_tag(x_74) == 0) +lean_dec(x_62); +x_65 = lean_st_ref_get(x_10, x_63); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_ctor_get(x_66, 3); +lean_inc(x_68); +lean_dec(x_66); +x_69 = lean_environment_main_module(x_44); +lean_inc(x_53); +x_70 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_70, 0, x_53); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_70, 2, x_58); +lean_ctor_set(x_70, 3, x_60); +lean_ctor_set(x_70, 4, x_64); +lean_ctor_set(x_70, 5, x_55); +lean_ctor_set(x_70, 6, x_53); +x_71 = lean_box(0); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_68); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_evalOptPrio(x_6, x_70, x_72); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_75 = lean_ctor_get(x_74, 0); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); +lean_dec(x_73); +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -lean_dec(x_76); -x_78 = lean_st_ref_take(x_10, x_62); -x_79 = lean_ctor_get(x_78, 0); +lean_dec(x_75); +x_77 = lean_st_ref_take(x_10, x_67); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = !lean_is_exclusive(x_79); -if (x_81 == 0) +lean_dec(x_77); +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_79, 3); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_78, 3); +lean_dec(x_81); +lean_ctor_set(x_78, 3, x_76); +x_82 = lean_st_ref_set(x_10, x_78, x_79); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); lean_dec(x_82); -lean_ctor_set(x_79, 3, x_77); -x_83 = lean_st_ref_set(x_10, x_79, x_80); -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_12 = x_75; -x_13 = x_84; +x_12 = x_74; +x_13 = x_83; goto block_40; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_85 = lean_ctor_get(x_79, 0); -x_86 = lean_ctor_get(x_79, 1); -x_87 = lean_ctor_get(x_79, 2); -x_88 = lean_ctor_get(x_79, 4); -x_89 = lean_ctor_get(x_79, 5); -x_90 = lean_ctor_get(x_79, 6); -x_91 = lean_ctor_get(x_79, 7); -lean_inc(x_91); +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_84 = lean_ctor_get(x_78, 0); +x_85 = lean_ctor_get(x_78, 1); +x_86 = lean_ctor_get(x_78, 2); +x_87 = lean_ctor_get(x_78, 4); +x_88 = lean_ctor_get(x_78, 5); +x_89 = lean_ctor_get(x_78, 6); +x_90 = lean_ctor_get(x_78, 7); lean_inc(x_90); lean_inc(x_89); lean_inc(x_88); lean_inc(x_87); lean_inc(x_86); lean_inc(x_85); -lean_dec(x_79); -x_92 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_92, 0, x_85); -lean_ctor_set(x_92, 1, x_86); -lean_ctor_set(x_92, 2, x_87); -lean_ctor_set(x_92, 3, x_77); -lean_ctor_set(x_92, 4, x_88); -lean_ctor_set(x_92, 5, x_89); -lean_ctor_set(x_92, 6, x_90); -lean_ctor_set(x_92, 7, x_91); -x_93 = lean_st_ref_set(x_10, x_92, x_80); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_12 = x_75; -x_13 = x_94; +lean_inc(x_84); +lean_dec(x_78); +x_91 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_91, 0, x_84); +lean_ctor_set(x_91, 1, x_85); +lean_ctor_set(x_91, 2, x_86); +lean_ctor_set(x_91, 3, x_76); +lean_ctor_set(x_91, 4, x_87); +lean_ctor_set(x_91, 5, x_88); +lean_ctor_set(x_91, 6, x_89); +lean_ctor_set(x_91, 7, x_90); +x_92 = lean_st_ref_set(x_10, x_91, x_79); +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); +x_12 = x_74; +x_13 = x_93; goto block_40; } } else { -lean_object* x_95; +lean_object* x_94; lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_95 = lean_ctor_get(x_74, 0); +x_94 = lean_ctor_get(x_73, 0); +lean_inc(x_94); +lean_dec(x_73); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_95 = lean_ctor_get(x_94, 0); lean_inc(x_95); -lean_dec(x_74); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; -x_96 = lean_ctor_get(x_95, 0); +x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_98 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_94); +x_97 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_97, 0, x_96); +x_98 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_98, 0, x_97); -x_99 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_96, x_99, x_9, x_10, x_62); +x_99 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_95, x_98, x_9, x_10, x_67); lean_dec(x_10); -lean_dec(x_96); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +lean_dec(x_95); +x_100 = !lean_is_exclusive(x_99); +if (x_100 == 0) { -return x_100; +return x_99; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_99, 0); +x_102 = lean_ctor_get(x_99, 1); lean_inc(x_102); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +lean_inc(x_101); +lean_dec(x_99); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } else { -lean_object* x_105; uint8_t x_106; +lean_object* x_104; uint8_t x_105; lean_dec(x_10); lean_dec(x_9); -x_105 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_62); -x_106 = !lean_is_exclusive(x_105); -if (x_106 == 0) +x_104 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_67); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) { -return x_105; +return x_104; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_105, 0); -x_108 = lean_ctor_get(x_105, 1); -lean_inc(x_108); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_104, 0); +x_107 = lean_ctor_get(x_104, 1); lean_inc(x_107); -lean_dec(x_105); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; +lean_inc(x_106); +lean_dec(x_104); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } @@ -32396,157 +32388,156 @@ return x_2; lean_object* l_Lean_Elab_Command_expandMacro___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, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -x_456 = lean_st_ref_get(x_13, x_14); -x_457 = lean_ctor_get(x_456, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; +x_455 = lean_st_ref_get(x_13, x_14); +x_456 = lean_ctor_get(x_455, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_455, 1); lean_inc(x_457); -x_458 = lean_ctor_get(x_456, 1); +lean_dec(x_455); +x_458 = lean_ctor_get(x_456, 0); lean_inc(x_458); lean_dec(x_456); -x_459 = lean_ctor_get(x_457, 0); -lean_inc(x_459); -lean_dec(x_457); -x_460 = l_Lean_Elab_Command_getScope___rarg(x_13, x_458); -x_461 = lean_ctor_get(x_460, 0); +x_459 = l_Lean_Elab_Command_getScope___rarg(x_13, x_457); +x_460 = lean_ctor_get(x_459, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_459, 1); lean_inc(x_461); -x_462 = lean_ctor_get(x_460, 1); +lean_dec(x_459); +x_462 = lean_ctor_get(x_460, 2); lean_inc(x_462); lean_dec(x_460); -x_463 = lean_ctor_get(x_461, 2); -lean_inc(x_463); -lean_dec(x_461); -x_464 = l_Lean_Elab_Command_getRef(x_12, x_13, x_462); -x_465 = lean_ctor_get(x_464, 0); -lean_inc(x_465); -x_466 = lean_ctor_get(x_464, 1); -lean_inc(x_466); -lean_dec(x_464); -x_467 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_466); -x_468 = lean_ctor_get(x_467, 0); -lean_inc(x_468); -x_469 = lean_ctor_get(x_467, 1); +lean_inc(x_458); +x_463 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_463, 0, x_458); +x_464 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_464, 0, x_462); +lean_inc(x_458); +x_465 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_465, 0, x_458); +x_466 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_466, 0, x_463); +lean_ctor_set(x_466, 1, x_464); +lean_ctor_set(x_466, 2, x_465); +x_467 = x_466; +x_468 = l_Lean_Elab_Command_getRef(x_12, x_13, x_461); +x_469 = lean_ctor_get(x_468, 0); lean_inc(x_469); -lean_dec(x_467); -x_470 = lean_ctor_get(x_12, 2); +x_470 = lean_ctor_get(x_468, 1); lean_inc(x_470); -x_471 = lean_st_ref_get(x_13, x_469); +lean_dec(x_468); +x_471 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_470); x_472 = lean_ctor_get(x_471, 0); lean_inc(x_472); x_473 = lean_ctor_get(x_471, 1); lean_inc(x_473); lean_dec(x_471); -x_474 = lean_ctor_get(x_472, 4); +x_474 = lean_ctor_get(x_12, 2); lean_inc(x_474); -lean_dec(x_472); x_475 = lean_st_ref_get(x_13, x_473); x_476 = lean_ctor_get(x_475, 0); lean_inc(x_476); x_477 = lean_ctor_get(x_475, 1); lean_inc(x_477); lean_dec(x_475); -x_478 = lean_ctor_get(x_476, 3); +x_478 = lean_ctor_get(x_476, 4); lean_inc(x_478); lean_dec(x_476); -lean_inc(x_459); -x_479 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_479, 0, x_459); -lean_inc(x_479); -x_480 = x_479; -lean_inc(x_459); -x_481 = lean_environment_main_module(x_459); -x_482 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_482, 0, x_463); -x_483 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_483, 0, x_459); -x_484 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_484, 0, x_479); -lean_ctor_set(x_484, 1, x_482); -lean_ctor_set(x_484, 2, x_483); -x_485 = x_484; -x_486 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_486, 0, x_480); -lean_ctor_set(x_486, 1, x_481); -lean_ctor_set(x_486, 2, x_468); -lean_ctor_set(x_486, 3, x_470); -lean_ctor_set(x_486, 4, x_474); -lean_ctor_set(x_486, 5, x_465); -lean_ctor_set(x_486, 6, x_485); -x_487 = lean_box(0); -x_488 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_488, 0, x_478); -lean_ctor_set(x_488, 1, x_487); -x_489 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_10, x_486, x_488); -if (lean_obj_tag(x_489) == 0) +x_479 = lean_st_ref_get(x_13, x_477); +x_480 = lean_ctor_get(x_479, 0); +lean_inc(x_480); +x_481 = lean_ctor_get(x_479, 1); +lean_inc(x_481); +lean_dec(x_479); +x_482 = lean_ctor_get(x_480, 3); +lean_inc(x_482); +lean_dec(x_480); +x_483 = lean_environment_main_module(x_458); +lean_inc(x_467); +x_484 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_484, 0, x_467); +lean_ctor_set(x_484, 1, x_483); +lean_ctor_set(x_484, 2, x_472); +lean_ctor_set(x_484, 3, x_474); +lean_ctor_set(x_484, 4, x_478); +lean_ctor_set(x_484, 5, x_469); +lean_ctor_set(x_484, 6, x_467); +x_485 = lean_box(0); +x_486 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_486, 0, x_482); +lean_ctor_set(x_486, 1, x_485); +x_487 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_10, x_484, x_486); +if (lean_obj_tag(x_487) == 0) { -lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; uint8_t x_496; +lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; +x_488 = lean_ctor_get(x_487, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec(x_487); x_490 = lean_ctor_get(x_489, 0); lean_inc(x_490); -x_491 = lean_ctor_get(x_489, 1); -lean_inc(x_491); lean_dec(x_489); +x_491 = lean_st_ref_take(x_13, x_481); x_492 = lean_ctor_get(x_491, 0); lean_inc(x_492); +x_493 = lean_ctor_get(x_491, 1); +lean_inc(x_493); lean_dec(x_491); -x_493 = lean_st_ref_take(x_13, x_477); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); -lean_inc(x_495); -lean_dec(x_493); -x_496 = !lean_is_exclusive(x_494); -if (x_496 == 0) +x_494 = !lean_is_exclusive(x_492); +if (x_494 == 0) { -lean_object* x_497; lean_object* x_498; lean_object* x_499; -x_497 = lean_ctor_get(x_494, 3); -lean_dec(x_497); -lean_ctor_set(x_494, 3, x_492); -x_498 = lean_st_ref_set(x_13, x_494, x_495); -x_499 = lean_ctor_get(x_498, 1); -lean_inc(x_499); -lean_dec(x_498); -x_15 = x_490; -x_16 = x_499; -goto block_455; +lean_object* x_495; lean_object* x_496; lean_object* x_497; +x_495 = lean_ctor_get(x_492, 3); +lean_dec(x_495); +lean_ctor_set(x_492, 3, x_490); +x_496 = lean_st_ref_set(x_13, x_492, x_493); +x_497 = lean_ctor_get(x_496, 1); +lean_inc(x_497); +lean_dec(x_496); +x_15 = x_488; +x_16 = x_497; +goto block_454; } else { -lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; -x_500 = lean_ctor_get(x_494, 0); -x_501 = lean_ctor_get(x_494, 1); -x_502 = lean_ctor_get(x_494, 2); -x_503 = lean_ctor_get(x_494, 4); -x_504 = lean_ctor_get(x_494, 5); -x_505 = lean_ctor_get(x_494, 6); -x_506 = lean_ctor_get(x_494, 7); -lean_inc(x_506); -lean_inc(x_505); +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; +x_498 = lean_ctor_get(x_492, 0); +x_499 = lean_ctor_get(x_492, 1); +x_500 = lean_ctor_get(x_492, 2); +x_501 = lean_ctor_get(x_492, 4); +x_502 = lean_ctor_get(x_492, 5); +x_503 = lean_ctor_get(x_492, 6); +x_504 = lean_ctor_get(x_492, 7); lean_inc(x_504); lean_inc(x_503); lean_inc(x_502); lean_inc(x_501); lean_inc(x_500); -lean_dec(x_494); -x_507 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_507, 0, x_500); -lean_ctor_set(x_507, 1, x_501); -lean_ctor_set(x_507, 2, x_502); -lean_ctor_set(x_507, 3, x_492); -lean_ctor_set(x_507, 4, x_503); -lean_ctor_set(x_507, 5, x_504); -lean_ctor_set(x_507, 6, x_505); -lean_ctor_set(x_507, 7, x_506); -x_508 = lean_st_ref_set(x_13, x_507, x_495); -x_509 = lean_ctor_get(x_508, 1); -lean_inc(x_509); -lean_dec(x_508); -x_15 = x_490; -x_16 = x_509; -goto block_455; +lean_inc(x_499); +lean_inc(x_498); +lean_dec(x_492); +x_505 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_505, 0, x_498); +lean_ctor_set(x_505, 1, x_499); +lean_ctor_set(x_505, 2, x_500); +lean_ctor_set(x_505, 3, x_490); +lean_ctor_set(x_505, 4, x_501); +lean_ctor_set(x_505, 5, x_502); +lean_ctor_set(x_505, 6, x_503); +lean_ctor_set(x_505, 7, x_504); +x_506 = lean_st_ref_set(x_13, x_505, x_493); +x_507 = lean_ctor_get(x_506, 1); +lean_inc(x_507); +lean_dec(x_506); +x_15 = x_488; +x_16 = x_507; +goto block_454; } } else { -lean_object* x_510; +lean_object* x_508; lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -32555,70 +32546,70 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_510 = lean_ctor_get(x_489, 0); +x_508 = lean_ctor_get(x_487, 0); +lean_inc(x_508); +lean_dec(x_487); +if (lean_obj_tag(x_508) == 0) +{ +lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; uint8_t x_514; +x_509 = lean_ctor_get(x_508, 0); +lean_inc(x_509); +x_510 = lean_ctor_get(x_508, 1); lean_inc(x_510); -lean_dec(x_489); -if (lean_obj_tag(x_510) == 0) +lean_dec(x_508); +x_511 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_511, 0, x_510); +x_512 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_512, 0, x_511); +x_513 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_509, x_512, x_12, x_13, x_481); +lean_dec(x_509); +x_514 = !lean_is_exclusive(x_513); +if (x_514 == 0) { -lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; uint8_t x_516; -x_511 = lean_ctor_get(x_510, 0); -lean_inc(x_511); -x_512 = lean_ctor_get(x_510, 1); -lean_inc(x_512); -lean_dec(x_510); -x_513 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_513, 0, x_512); -x_514 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_514, 0, x_513); -x_515 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_511, x_514, x_12, x_13, x_477); -lean_dec(x_511); -x_516 = !lean_is_exclusive(x_515); -if (x_516 == 0) -{ -return x_515; +return x_513; } else { -lean_object* x_517; lean_object* x_518; lean_object* x_519; -x_517 = lean_ctor_get(x_515, 0); -x_518 = lean_ctor_get(x_515, 1); -lean_inc(x_518); -lean_inc(x_517); -lean_dec(x_515); -x_519 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_519, 0, x_517); -lean_ctor_set(x_519, 1, x_518); -return x_519; +lean_object* x_515; lean_object* x_516; lean_object* x_517; +x_515 = lean_ctor_get(x_513, 0); +x_516 = lean_ctor_get(x_513, 1); +lean_inc(x_516); +lean_inc(x_515); +lean_dec(x_513); +x_517 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_517, 0, x_515); +lean_ctor_set(x_517, 1, x_516); +return x_517; } } else { -lean_object* x_520; uint8_t x_521; +lean_object* x_518; uint8_t x_519; lean_dec(x_12); -x_520 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_477); -x_521 = !lean_is_exclusive(x_520); -if (x_521 == 0) +x_518 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_481); +x_519 = !lean_is_exclusive(x_518); +if (x_519 == 0) { -return x_520; +return x_518; } else { -lean_object* x_522; lean_object* x_523; lean_object* x_524; -x_522 = lean_ctor_get(x_520, 0); -x_523 = lean_ctor_get(x_520, 1); -lean_inc(x_523); -lean_inc(x_522); -lean_dec(x_520); -x_524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_524, 0, x_522); -lean_ctor_set(x_524, 1, x_523); -return x_524; +lean_object* x_520; lean_object* x_521; lean_object* x_522; +x_520 = lean_ctor_get(x_518, 0); +x_521 = lean_ctor_get(x_518, 1); +lean_inc(x_521); +lean_inc(x_520); +lean_dec(x_518); +x_522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_522, 0, x_520); +lean_ctor_set(x_522, 1, x_521); +return x_522; } } } -block_455: +block_454: { -lean_object* x_17; lean_object* x_18; lean_object* x_379; size_t x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +lean_object* x_17; lean_object* x_18; lean_object* x_379; size_t x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; x_379 = lean_array_get_size(x_9); x_380 = lean_usize_of_nat(x_379); lean_dec(x_379); @@ -32647,139 +32638,138 @@ lean_dec(x_389); x_392 = lean_ctor_get(x_390, 2); lean_inc(x_392); lean_dec(x_390); -x_393 = l_Lean_Elab_Command_getRef(x_12, x_13, x_391); -x_394 = lean_ctor_get(x_393, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_393, 1); -lean_inc(x_395); -lean_dec(x_393); -x_396 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_395); -x_397 = lean_ctor_get(x_396, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_396, 1); -lean_inc(x_398); -lean_dec(x_396); -x_399 = lean_ctor_get(x_12, 2); +lean_inc(x_388); +x_393 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_393, 0, x_388); +x_394 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_394, 0, x_392); +lean_inc(x_388); +x_395 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_395, 0, x_388); +x_396 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_396, 0, x_393); +lean_ctor_set(x_396, 1, x_394); +lean_ctor_set(x_396, 2, x_395); +x_397 = x_396; +x_398 = l_Lean_Elab_Command_getRef(x_12, x_13, x_391); +x_399 = lean_ctor_get(x_398, 0); lean_inc(x_399); -x_400 = lean_st_ref_get(x_13, x_398); -x_401 = lean_ctor_get(x_400, 0); -lean_inc(x_401); -x_402 = lean_ctor_get(x_400, 1); +x_400 = lean_ctor_get(x_398, 1); +lean_inc(x_400); +lean_dec(x_398); +x_401 = l_Lean_Elab_Command_getCurrMacroScope(x_12, x_13, x_400); +x_402 = lean_ctor_get(x_401, 0); lean_inc(x_402); -lean_dec(x_400); -x_403 = lean_ctor_get(x_401, 4); +x_403 = lean_ctor_get(x_401, 1); lean_inc(x_403); lean_dec(x_401); -x_404 = lean_st_ref_get(x_13, x_402); -x_405 = lean_ctor_get(x_404, 0); -lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); +x_404 = lean_ctor_get(x_12, 2); +lean_inc(x_404); +x_405 = lean_st_ref_get(x_13, x_403); +x_406 = lean_ctor_get(x_405, 0); lean_inc(x_406); -lean_dec(x_404); -x_407 = lean_ctor_get(x_405, 3); +x_407 = lean_ctor_get(x_405, 1); lean_inc(x_407); lean_dec(x_405); -lean_inc(x_388); -x_408 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_408, 0, x_388); +x_408 = lean_ctor_get(x_406, 4); lean_inc(x_408); -x_409 = x_408; -lean_inc(x_388); -x_410 = lean_environment_main_module(x_388); -x_411 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_411, 0, x_392); -x_412 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_412, 0, x_388); -x_413 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_413, 0, x_408); -lean_ctor_set(x_413, 1, x_411); -lean_ctor_set(x_413, 2, x_412); -x_414 = x_413; -x_415 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_415, 0, x_409); -lean_ctor_set(x_415, 1, x_410); -lean_ctor_set(x_415, 2, x_397); -lean_ctor_set(x_415, 3, x_399); -lean_ctor_set(x_415, 4, x_403); -lean_ctor_set(x_415, 5, x_394); -lean_ctor_set(x_415, 6, x_414); -x_416 = lean_box(0); -x_417 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_417, 0, x_407); -lean_ctor_set(x_417, 1, x_416); -x_418 = x_384; -x_419 = lean_apply_2(x_418, x_415, x_417); -if (lean_obj_tag(x_419) == 0) +lean_dec(x_406); +x_409 = lean_st_ref_get(x_13, x_407); +x_410 = lean_ctor_get(x_409, 0); +lean_inc(x_410); +x_411 = lean_ctor_get(x_409, 1); +lean_inc(x_411); +lean_dec(x_409); +x_412 = lean_ctor_get(x_410, 3); +lean_inc(x_412); +lean_dec(x_410); +x_413 = lean_environment_main_module(x_388); +lean_inc(x_397); +x_414 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_414, 0, x_397); +lean_ctor_set(x_414, 1, x_413); +lean_ctor_set(x_414, 2, x_402); +lean_ctor_set(x_414, 3, x_404); +lean_ctor_set(x_414, 4, x_408); +lean_ctor_set(x_414, 5, x_399); +lean_ctor_set(x_414, 6, x_397); +x_415 = lean_box(0); +x_416 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_416, 0, x_412); +lean_ctor_set(x_416, 1, x_415); +x_417 = x_384; +x_418 = lean_apply_2(x_417, x_414, x_416); +if (lean_obj_tag(x_418) == 0) { -lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; uint8_t x_426; -x_420 = lean_ctor_get(x_419, 0); +lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; +x_419 = lean_ctor_get(x_418, 0); +lean_inc(x_419); +x_420 = lean_ctor_get(x_418, 1); lean_inc(x_420); -x_421 = lean_ctor_get(x_419, 1); +lean_dec(x_418); +x_421 = lean_ctor_get(x_420, 0); lean_inc(x_421); -lean_dec(x_419); -x_422 = lean_ctor_get(x_421, 0); -lean_inc(x_422); -lean_dec(x_421); -x_423 = lean_st_ref_take(x_13, x_406); -x_424 = lean_ctor_get(x_423, 0); +lean_dec(x_420); +x_422 = lean_st_ref_take(x_13, x_411); +x_423 = lean_ctor_get(x_422, 0); +lean_inc(x_423); +x_424 = lean_ctor_get(x_422, 1); lean_inc(x_424); -x_425 = lean_ctor_get(x_423, 1); -lean_inc(x_425); -lean_dec(x_423); -x_426 = !lean_is_exclusive(x_424); -if (x_426 == 0) +lean_dec(x_422); +x_425 = !lean_is_exclusive(x_423); +if (x_425 == 0) { -lean_object* x_427; lean_object* x_428; lean_object* x_429; -x_427 = lean_ctor_get(x_424, 3); +lean_object* x_426; lean_object* x_427; lean_object* x_428; +x_426 = lean_ctor_get(x_423, 3); +lean_dec(x_426); +lean_ctor_set(x_423, 3, x_421); +x_427 = lean_st_ref_set(x_13, x_423, x_424); +x_428 = lean_ctor_get(x_427, 1); +lean_inc(x_428); lean_dec(x_427); -lean_ctor_set(x_424, 3, x_422); -x_428 = lean_st_ref_set(x_13, x_424, x_425); -x_429 = lean_ctor_get(x_428, 1); -lean_inc(x_429); -lean_dec(x_428); -x_17 = x_420; -x_18 = x_429; +x_17 = x_419; +x_18 = x_428; goto block_378; } else { -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; -x_430 = lean_ctor_get(x_424, 0); -x_431 = lean_ctor_get(x_424, 1); -x_432 = lean_ctor_get(x_424, 2); -x_433 = lean_ctor_get(x_424, 4); -x_434 = lean_ctor_get(x_424, 5); -x_435 = lean_ctor_get(x_424, 6); -x_436 = lean_ctor_get(x_424, 7); -lean_inc(x_436); +lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; +x_429 = lean_ctor_get(x_423, 0); +x_430 = lean_ctor_get(x_423, 1); +x_431 = lean_ctor_get(x_423, 2); +x_432 = lean_ctor_get(x_423, 4); +x_433 = lean_ctor_get(x_423, 5); +x_434 = lean_ctor_get(x_423, 6); +x_435 = lean_ctor_get(x_423, 7); lean_inc(x_435); lean_inc(x_434); lean_inc(x_433); lean_inc(x_432); lean_inc(x_431); lean_inc(x_430); -lean_dec(x_424); -x_437 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_437, 0, x_430); -lean_ctor_set(x_437, 1, x_431); -lean_ctor_set(x_437, 2, x_432); -lean_ctor_set(x_437, 3, x_422); -lean_ctor_set(x_437, 4, x_433); -lean_ctor_set(x_437, 5, x_434); -lean_ctor_set(x_437, 6, x_435); -lean_ctor_set(x_437, 7, x_436); -x_438 = lean_st_ref_set(x_13, x_437, x_425); -x_439 = lean_ctor_get(x_438, 1); -lean_inc(x_439); -lean_dec(x_438); -x_17 = x_420; -x_18 = x_439; +lean_inc(x_429); +lean_dec(x_423); +x_436 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_436, 0, x_429); +lean_ctor_set(x_436, 1, x_430); +lean_ctor_set(x_436, 2, x_431); +lean_ctor_set(x_436, 3, x_421); +lean_ctor_set(x_436, 4, x_432); +lean_ctor_set(x_436, 5, x_433); +lean_ctor_set(x_436, 6, x_434); +lean_ctor_set(x_436, 7, x_435); +x_437 = lean_st_ref_set(x_13, x_436, x_424); +x_438 = lean_ctor_get(x_437, 1); +lean_inc(x_438); +lean_dec(x_437); +x_17 = x_419; +x_18 = x_438; goto block_378; } } else { -lean_object* x_440; +lean_object* x_439; lean_dec(x_15); lean_dec(x_11); lean_dec(x_8); @@ -32788,64 +32778,64 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_440 = lean_ctor_get(x_419, 0); +x_439 = lean_ctor_get(x_418, 0); +lean_inc(x_439); +lean_dec(x_418); +if (lean_obj_tag(x_439) == 0) +{ +lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; uint8_t x_445; +x_440 = lean_ctor_get(x_439, 0); lean_inc(x_440); -lean_dec(x_419); -if (lean_obj_tag(x_440) == 0) -{ -lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; -x_441 = lean_ctor_get(x_440, 0); +x_441 = lean_ctor_get(x_439, 1); lean_inc(x_441); -x_442 = lean_ctor_get(x_440, 1); -lean_inc(x_442); -lean_dec(x_440); -x_443 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_439); +x_442 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_442, 0, x_441); +x_443 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_443, 0, x_442); -x_444 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_444, 0, x_443); -x_445 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_441, x_444, x_12, x_13, x_406); -lean_dec(x_441); -x_446 = !lean_is_exclusive(x_445); -if (x_446 == 0) +x_444 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_440, x_443, x_12, x_13, x_411); +lean_dec(x_440); +x_445 = !lean_is_exclusive(x_444); +if (x_445 == 0) { -return x_445; +return x_444; } else { -lean_object* x_447; lean_object* x_448; lean_object* x_449; -x_447 = lean_ctor_get(x_445, 0); -x_448 = lean_ctor_get(x_445, 1); -lean_inc(x_448); +lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_446 = lean_ctor_get(x_444, 0); +x_447 = lean_ctor_get(x_444, 1); lean_inc(x_447); -lean_dec(x_445); -x_449 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_449, 0, x_447); -lean_ctor_set(x_449, 1, x_448); +lean_inc(x_446); +lean_dec(x_444); +x_448 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_448, 0, x_446); +lean_ctor_set(x_448, 1, x_447); +return x_448; +} +} +else +{ +lean_object* x_449; uint8_t x_450; +lean_dec(x_12); +x_449 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_411); +x_450 = !lean_is_exclusive(x_449); +if (x_450 == 0) +{ return x_449; } -} else { -lean_object* x_450; uint8_t x_451; -lean_dec(x_12); -x_450 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_406); -x_451 = !lean_is_exclusive(x_450); -if (x_451 == 0) -{ -return x_450; -} -else -{ -lean_object* x_452; lean_object* x_453; lean_object* x_454; -x_452 = lean_ctor_get(x_450, 0); -x_453 = lean_ctor_get(x_450, 1); -lean_inc(x_453); +lean_object* x_451; lean_object* x_452; lean_object* x_453; +x_451 = lean_ctor_get(x_449, 0); +x_452 = lean_ctor_get(x_449, 1); lean_inc(x_452); -lean_dec(x_450); -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_452); -lean_ctor_set(x_454, 1, x_453); -return x_454; +lean_inc(x_451); +lean_dec(x_449); +x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_453, 0, x_451); +lean_ctor_set(x_453, 1, x_452); +return x_453; } } } @@ -33537,414 +33527,412 @@ return x_2; lean_object* l_Lean_Elab_Command_expandMacro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; +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_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; x_6 = lean_unsigned_to_nat(0u); x_7 = l_Lean_Syntax_getArg(x_2, x_6); x_8 = lean_unsigned_to_nat(2u); x_9 = l_Lean_Syntax_getArg(x_2, x_8); x_10 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_258 = lean_unsigned_to_nat(3u); -x_259 = l_Lean_Syntax_getArg(x_2, x_258); -x_260 = lean_st_ref_get(x_4, x_5); -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_260, 1); +x_255 = lean_unsigned_to_nat(3u); +x_256 = l_Lean_Syntax_getArg(x_2, x_255); +x_257 = lean_st_ref_get(x_4, x_5); +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); +x_260 = lean_ctor_get(x_258, 0); +lean_inc(x_260); +lean_dec(x_258); +x_261 = l_Lean_Elab_Command_getScope___rarg(x_4, x_259); +x_262 = lean_ctor_get(x_261, 0); lean_inc(x_262); -lean_dec(x_260); -x_263 = lean_ctor_get(x_261, 0); +x_263 = lean_ctor_get(x_261, 1); lean_inc(x_263); lean_dec(x_261); -x_264 = l_Lean_Elab_Command_getScope___rarg(x_4, x_262); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -lean_dec(x_264); -x_267 = lean_ctor_get(x_265, 2); -lean_inc(x_267); -lean_dec(x_265); -x_268 = l_Lean_Elab_Command_getRef(x_3, x_4, x_266); -x_269 = lean_ctor_get(x_268, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_268, 1); -lean_inc(x_270); -lean_dec(x_268); -x_271 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_270); -x_272 = lean_ctor_get(x_271, 0); +x_264 = lean_ctor_get(x_262, 2); +lean_inc(x_264); +lean_dec(x_262); +lean_inc(x_260); +x_265 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_265, 0, x_260); +x_266 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_266, 0, x_264); +lean_inc(x_260); +x_267 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_267, 0, x_260); +x_268 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_268, 0, x_265); +lean_ctor_set(x_268, 1, x_266); +lean_ctor_set(x_268, 2, x_267); +x_269 = x_268; +x_270 = l_Lean_Elab_Command_getRef(x_3, x_4, x_263); +x_271 = lean_ctor_get(x_270, 0); +lean_inc(x_271); +x_272 = lean_ctor_get(x_270, 1); lean_inc(x_272); -x_273 = lean_ctor_get(x_271, 1); -lean_inc(x_273); -lean_dec(x_271); -x_274 = lean_ctor_get(x_3, 2); +lean_dec(x_270); +x_273 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_272); +x_274 = lean_ctor_get(x_273, 0); lean_inc(x_274); -x_275 = lean_st_ref_get(x_4, x_273); -x_276 = lean_ctor_get(x_275, 0); +x_275 = lean_ctor_get(x_273, 1); +lean_inc(x_275); +lean_dec(x_273); +x_276 = lean_ctor_get(x_3, 2); lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); -x_278 = lean_ctor_get(x_276, 4); +x_277 = lean_st_ref_get(x_4, x_275); +x_278 = lean_ctor_get(x_277, 0); lean_inc(x_278); -lean_dec(x_276); -x_279 = lean_st_ref_get(x_4, x_277); -x_280 = lean_ctor_get(x_279, 0); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); +x_280 = lean_ctor_get(x_278, 4); lean_inc(x_280); -x_281 = lean_ctor_get(x_279, 1); -lean_inc(x_281); -lean_dec(x_279); -x_282 = lean_ctor_get(x_280, 3); +lean_dec(x_278); +x_281 = lean_st_ref_get(x_4, x_279); +x_282 = lean_ctor_get(x_281, 0); lean_inc(x_282); -lean_dec(x_280); -lean_inc(x_263); -x_283 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_283, 0, x_263); +x_283 = lean_ctor_get(x_281, 1); lean_inc(x_283); -x_284 = x_283; -lean_inc(x_263); -x_285 = lean_environment_main_module(x_263); -x_286 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_286, 0, x_267); -x_287 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_287, 0, x_263); -x_288 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_288, 0, x_283); -lean_ctor_set(x_288, 1, x_286); -lean_ctor_set(x_288, 2, x_287); -x_289 = x_288; -x_290 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_290, 0, x_284); -lean_ctor_set(x_290, 1, x_285); -lean_ctor_set(x_290, 2, x_272); -lean_ctor_set(x_290, 3, x_274); -lean_ctor_set(x_290, 4, x_278); -lean_ctor_set(x_290, 5, x_269); -lean_ctor_set(x_290, 6, x_289); -x_291 = lean_box(0); -x_292 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_292, 0, x_282); -lean_ctor_set(x_292, 1, x_291); -x_293 = l_Lean_Elab_expandOptNamedName(x_259, x_290, x_292); -lean_dec(x_290); -lean_dec(x_259); -if (lean_obj_tag(x_293) == 0) +lean_dec(x_281); +x_284 = lean_ctor_get(x_282, 3); +lean_inc(x_284); +lean_dec(x_282); +x_285 = lean_environment_main_module(x_260); +lean_inc(x_269); +x_286 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_286, 0, x_269); +lean_ctor_set(x_286, 1, x_285); +lean_ctor_set(x_286, 2, x_274); +lean_ctor_set(x_286, 3, x_276); +lean_ctor_set(x_286, 4, x_280); +lean_ctor_set(x_286, 5, x_271); +lean_ctor_set(x_286, 6, x_269); +x_287 = lean_box(0); +x_288 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_288, 0, x_284); +lean_ctor_set(x_288, 1, x_287); +x_289 = l_Lean_Elab_expandOptNamedName(x_256, x_286, x_288); +lean_dec(x_286); +lean_dec(x_256); +if (lean_obj_tag(x_289) == 0) { -lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; +lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; uint8_t x_296; +x_290 = lean_ctor_get(x_289, 0); +lean_inc(x_290); +x_291 = lean_ctor_get(x_289, 1); +lean_inc(x_291); +lean_dec(x_289); +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +lean_dec(x_291); +x_293 = lean_st_ref_take(x_4, x_283); x_294 = lean_ctor_get(x_293, 0); lean_inc(x_294); x_295 = lean_ctor_get(x_293, 1); lean_inc(x_295); lean_dec(x_293); -x_296 = lean_ctor_get(x_295, 0); -lean_inc(x_296); -lean_dec(x_295); -x_297 = lean_st_ref_take(x_4, x_281); -x_298 = lean_ctor_get(x_297, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_297, 1); -lean_inc(x_299); -lean_dec(x_297); -x_300 = !lean_is_exclusive(x_298); -if (x_300 == 0) +x_296 = !lean_is_exclusive(x_294); +if (x_296 == 0) { -lean_object* x_301; lean_object* x_302; lean_object* x_303; -x_301 = lean_ctor_get(x_298, 3); -lean_dec(x_301); -lean_ctor_set(x_298, 3, x_296); -x_302 = lean_st_ref_set(x_4, x_298, x_299); -x_303 = lean_ctor_get(x_302, 1); -lean_inc(x_303); -lean_dec(x_302); -x_11 = x_294; -x_12 = x_303; -goto block_257; +lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_297 = lean_ctor_get(x_294, 3); +lean_dec(x_297); +lean_ctor_set(x_294, 3, x_292); +x_298 = lean_st_ref_set(x_4, x_294, x_295); +x_299 = lean_ctor_get(x_298, 1); +lean_inc(x_299); +lean_dec(x_298); +x_11 = x_290; +x_12 = x_299; +goto block_254; } else { -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; -x_304 = lean_ctor_get(x_298, 0); -x_305 = lean_ctor_get(x_298, 1); -x_306 = lean_ctor_get(x_298, 2); -x_307 = lean_ctor_get(x_298, 4); -x_308 = lean_ctor_get(x_298, 5); -x_309 = lean_ctor_get(x_298, 6); -x_310 = lean_ctor_get(x_298, 7); -lean_inc(x_310); -lean_inc(x_309); -lean_inc(x_308); -lean_inc(x_307); +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_300 = lean_ctor_get(x_294, 0); +x_301 = lean_ctor_get(x_294, 1); +x_302 = lean_ctor_get(x_294, 2); +x_303 = lean_ctor_get(x_294, 4); +x_304 = lean_ctor_get(x_294, 5); +x_305 = lean_ctor_get(x_294, 6); +x_306 = lean_ctor_get(x_294, 7); lean_inc(x_306); lean_inc(x_305); lean_inc(x_304); -lean_dec(x_298); -x_311 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_311, 0, x_304); -lean_ctor_set(x_311, 1, x_305); -lean_ctor_set(x_311, 2, x_306); -lean_ctor_set(x_311, 3, x_296); -lean_ctor_set(x_311, 4, x_307); -lean_ctor_set(x_311, 5, x_308); -lean_ctor_set(x_311, 6, x_309); -lean_ctor_set(x_311, 7, x_310); -x_312 = lean_st_ref_set(x_4, x_311, x_299); -x_313 = lean_ctor_get(x_312, 1); -lean_inc(x_313); -lean_dec(x_312); -x_11 = x_294; -x_12 = x_313; -goto block_257; +lean_inc(x_303); +lean_inc(x_302); +lean_inc(x_301); +lean_inc(x_300); +lean_dec(x_294); +x_307 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_307, 0, x_300); +lean_ctor_set(x_307, 1, x_301); +lean_ctor_set(x_307, 2, x_302); +lean_ctor_set(x_307, 3, x_292); +lean_ctor_set(x_307, 4, x_303); +lean_ctor_set(x_307, 5, x_304); +lean_ctor_set(x_307, 6, x_305); +lean_ctor_set(x_307, 7, x_306); +x_308 = lean_st_ref_set(x_4, x_307, x_295); +x_309 = lean_ctor_get(x_308, 1); +lean_inc(x_309); +lean_dec(x_308); +x_11 = x_290; +x_12 = x_309; +goto block_254; } } else { -lean_object* x_314; uint8_t x_315; -lean_dec(x_293); +lean_object* x_310; uint8_t x_311; +lean_dec(x_289); lean_dec(x_10); lean_dec(x_7); lean_dec(x_3); -x_314 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(x_281); -x_315 = !lean_is_exclusive(x_314); -if (x_315 == 0) +x_310 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(x_283); +x_311 = !lean_is_exclusive(x_310); +if (x_311 == 0) { -return x_314; +return x_310; } else { -lean_object* x_316; lean_object* x_317; lean_object* x_318; -x_316 = lean_ctor_get(x_314, 0); -x_317 = lean_ctor_get(x_314, 1); -lean_inc(x_317); -lean_inc(x_316); -lean_dec(x_314); -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_316); -lean_ctor_set(x_318, 1, x_317); -return x_318; +lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_312 = lean_ctor_get(x_310, 0); +x_313 = lean_ctor_get(x_310, 1); +lean_inc(x_313); +lean_inc(x_312); +lean_dec(x_310); +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_312); +lean_ctor_set(x_314, 1, x_313); +return x_314; } } -block_257: +block_254: { -lean_object* x_13; lean_object* x_14; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_186 = lean_unsigned_to_nat(4u); -x_187 = l_Lean_Syntax_getArg(x_2, x_186); -x_188 = lean_st_ref_get(x_4, x_12); -x_189 = lean_ctor_get(x_188, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_184 = lean_unsigned_to_nat(4u); +x_185 = l_Lean_Syntax_getArg(x_2, x_184); +x_186 = lean_st_ref_get(x_4, x_12); +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_189 = lean_ctor_get(x_187, 0); lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 1); -lean_inc(x_190); -lean_dec(x_188); -x_191 = lean_ctor_get(x_189, 0); +lean_dec(x_187); +x_190 = l_Lean_Elab_Command_getScope___rarg(x_4, x_188); +x_191 = lean_ctor_get(x_190, 0); lean_inc(x_191); -lean_dec(x_189); -x_192 = l_Lean_Elab_Command_getScope___rarg(x_4, x_190); -x_193 = lean_ctor_get(x_192, 0); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +lean_dec(x_190); +x_193 = lean_ctor_get(x_191, 2); lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = lean_ctor_get(x_193, 2); -lean_inc(x_195); -lean_dec(x_193); -x_196 = l_Lean_Elab_Command_getRef(x_3, x_4, x_194); -x_197 = lean_ctor_get(x_196, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_199 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_198); +lean_dec(x_191); +lean_inc(x_189); +x_194 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_194, 0, x_189); +x_195 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_195, 0, x_193); +lean_inc(x_189); +x_196 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_196, 0, x_189); +x_197 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_197, 0, x_194); +lean_ctor_set(x_197, 1, x_195); +lean_ctor_set(x_197, 2, x_196); +x_198 = x_197; +x_199 = l_Lean_Elab_Command_getRef(x_3, x_4, x_192); x_200 = lean_ctor_get(x_199, 0); lean_inc(x_200); x_201 = lean_ctor_get(x_199, 1); lean_inc(x_201); lean_dec(x_199); -x_202 = lean_ctor_get(x_3, 2); -lean_inc(x_202); -x_203 = lean_st_ref_get(x_4, x_201); -x_204 = lean_ctor_get(x_203, 0); +x_202 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_201); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +x_204 = lean_ctor_get(x_202, 1); lean_inc(x_204); -x_205 = lean_ctor_get(x_203, 1); +lean_dec(x_202); +x_205 = lean_ctor_get(x_3, 2); lean_inc(x_205); -lean_dec(x_203); -x_206 = lean_ctor_get(x_204, 4); -lean_inc(x_206); -lean_dec(x_204); -x_207 = lean_st_ref_get(x_4, x_205); -x_208 = lean_ctor_get(x_207, 0); +x_206 = lean_st_ref_get(x_4, x_204); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); +lean_dec(x_206); +x_209 = lean_ctor_get(x_207, 4); lean_inc(x_209); lean_dec(x_207); -x_210 = lean_ctor_get(x_208, 3); -lean_inc(x_210); -lean_dec(x_208); -lean_inc(x_191); -x_211 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_211, 0, x_191); +x_210 = lean_st_ref_get(x_4, x_208); +x_211 = lean_ctor_get(x_210, 0); lean_inc(x_211); -x_212 = x_211; -lean_inc(x_191); -x_213 = lean_environment_main_module(x_191); -x_214 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_214, 0, x_195); -x_215 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_215, 0, x_191); -x_216 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_216, 0, x_211); -lean_ctor_set(x_216, 1, x_214); -lean_ctor_set(x_216, 2, x_215); -x_217 = x_216; -x_218 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_218, 0, x_212); -lean_ctor_set(x_218, 1, x_213); -lean_ctor_set(x_218, 2, x_200); -lean_ctor_set(x_218, 3, x_202); -lean_ctor_set(x_218, 4, x_206); -lean_ctor_set(x_218, 5, x_197); -lean_ctor_set(x_218, 6, x_217); -x_219 = lean_box(0); -x_220 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_220, 0, x_210); -lean_ctor_set(x_220, 1, x_219); -x_221 = l_Lean_Elab_expandOptNamedPrio(x_187, x_218, x_220); -lean_dec(x_187); -if (lean_obj_tag(x_221) == 0) +x_212 = lean_ctor_get(x_210, 1); +lean_inc(x_212); +lean_dec(x_210); +x_213 = lean_ctor_get(x_211, 3); +lean_inc(x_213); +lean_dec(x_211); +x_214 = lean_environment_main_module(x_189); +lean_inc(x_198); +x_215 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_215, 0, x_198); +lean_ctor_set(x_215, 1, x_214); +lean_ctor_set(x_215, 2, x_203); +lean_ctor_set(x_215, 3, x_205); +lean_ctor_set(x_215, 4, x_209); +lean_ctor_set(x_215, 5, x_200); +lean_ctor_set(x_215, 6, x_198); +x_216 = lean_box(0); +x_217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_217, 0, x_213); +lean_ctor_set(x_217, 1, x_216); +x_218 = l_Lean_Elab_expandOptNamedPrio(x_185, x_215, x_217); +lean_dec(x_185); +if (lean_obj_tag(x_218) == 0) { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +lean_dec(x_220); +x_222 = lean_st_ref_take(x_4, x_212); +x_223 = lean_ctor_get(x_222, 0); lean_inc(x_223); -lean_dec(x_221); -x_224 = lean_ctor_get(x_223, 0); +x_224 = lean_ctor_get(x_222, 1); lean_inc(x_224); -lean_dec(x_223); -x_225 = lean_st_ref_take(x_4, x_209); -x_226 = lean_ctor_get(x_225, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_225, 1); -lean_inc(x_227); -lean_dec(x_225); -x_228 = !lean_is_exclusive(x_226); -if (x_228 == 0) +lean_dec(x_222); +x_225 = !lean_is_exclusive(x_223); +if (x_225 == 0) { -lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_229 = lean_ctor_get(x_226, 3); -lean_dec(x_229); -lean_ctor_set(x_226, 3, x_224); -x_230 = lean_st_ref_set(x_4, x_226, x_227); -x_231 = lean_ctor_get(x_230, 1); -lean_inc(x_231); -lean_dec(x_230); -x_13 = x_222; -x_14 = x_231; -goto block_185; +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_223, 3); +lean_dec(x_226); +lean_ctor_set(x_223, 3, x_221); +x_227 = lean_st_ref_set(x_4, x_223, x_224); +x_228 = lean_ctor_get(x_227, 1); +lean_inc(x_228); +lean_dec(x_227); +x_13 = x_219; +x_14 = x_228; +goto block_183; } else { -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_232 = lean_ctor_get(x_226, 0); -x_233 = lean_ctor_get(x_226, 1); -x_234 = lean_ctor_get(x_226, 2); -x_235 = lean_ctor_get(x_226, 4); -x_236 = lean_ctor_get(x_226, 5); -x_237 = lean_ctor_get(x_226, 6); -x_238 = lean_ctor_get(x_226, 7); -lean_inc(x_238); -lean_inc(x_237); -lean_inc(x_236); +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_229 = lean_ctor_get(x_223, 0); +x_230 = lean_ctor_get(x_223, 1); +x_231 = lean_ctor_get(x_223, 2); +x_232 = lean_ctor_get(x_223, 4); +x_233 = lean_ctor_get(x_223, 5); +x_234 = lean_ctor_get(x_223, 6); +x_235 = lean_ctor_get(x_223, 7); lean_inc(x_235); lean_inc(x_234); lean_inc(x_233); lean_inc(x_232); -lean_dec(x_226); -x_239 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_239, 0, x_232); -lean_ctor_set(x_239, 1, x_233); -lean_ctor_set(x_239, 2, x_234); -lean_ctor_set(x_239, 3, x_224); -lean_ctor_set(x_239, 4, x_235); -lean_ctor_set(x_239, 5, x_236); -lean_ctor_set(x_239, 6, x_237); -lean_ctor_set(x_239, 7, x_238); -x_240 = lean_st_ref_set(x_4, x_239, x_227); -x_241 = lean_ctor_get(x_240, 1); -lean_inc(x_241); -lean_dec(x_240); -x_13 = x_222; -x_14 = x_241; -goto block_185; +lean_inc(x_231); +lean_inc(x_230); +lean_inc(x_229); +lean_dec(x_223); +x_236 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_236, 0, x_229); +lean_ctor_set(x_236, 1, x_230); +lean_ctor_set(x_236, 2, x_231); +lean_ctor_set(x_236, 3, x_221); +lean_ctor_set(x_236, 4, x_232); +lean_ctor_set(x_236, 5, x_233); +lean_ctor_set(x_236, 6, x_234); +lean_ctor_set(x_236, 7, x_235); +x_237 = lean_st_ref_set(x_4, x_236, x_224); +x_238 = lean_ctor_get(x_237, 1); +lean_inc(x_238); +lean_dec(x_237); +x_13 = x_219; +x_14 = x_238; +goto block_183; } } else { -lean_object* x_242; +lean_object* x_239; lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_242 = lean_ctor_get(x_221, 0); -lean_inc(x_242); -lean_dec(x_221); -if (lean_obj_tag(x_242) == 0) +x_239 = lean_ctor_get(x_218, 0); +lean_inc(x_239); +lean_dec(x_218); +if (lean_obj_tag(x_239) == 0) { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; -x_243 = lean_ctor_get(x_242, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_242, 1); -lean_inc(x_244); -lean_dec(x_242); -x_245 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_245, 0, x_244); -x_246 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_246, 0, x_245); -x_247 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_243, x_246, x_3, x_4, x_209); -lean_dec(x_243); -x_248 = !lean_is_exclusive(x_247); -if (x_248 == 0) +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; +x_240 = lean_ctor_get(x_239, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_239, 1); +lean_inc(x_241); +lean_dec(x_239); +x_242 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_242, 0, x_241); +x_243 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_243, 0, x_242); +x_244 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_240, x_243, x_3, x_4, x_212); +lean_dec(x_240); +x_245 = !lean_is_exclusive(x_244); +if (x_245 == 0) { -return x_247; +return x_244; } else { -lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_249 = lean_ctor_get(x_247, 0); -x_250 = lean_ctor_get(x_247, 1); -lean_inc(x_250); -lean_inc(x_249); -lean_dec(x_247); -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_249); -lean_ctor_set(x_251, 1, x_250); -return x_251; +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_244, 0); +x_247 = lean_ctor_get(x_244, 1); +lean_inc(x_247); +lean_inc(x_246); +lean_dec(x_244); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_247); +return x_248; } } else { -lean_object* x_252; uint8_t x_253; +lean_object* x_249; uint8_t x_250; lean_dec(x_3); -x_252 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_209); -x_253 = !lean_is_exclusive(x_252); -if (x_253 == 0) +x_249 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_212); +x_250 = !lean_is_exclusive(x_249); +if (x_250 == 0) { -return x_252; +return x_249; } else { -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_252, 0); -x_255 = lean_ctor_get(x_252, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_252); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_254); -lean_ctor_set(x_256, 1, x_255); -return x_256; +lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_251 = lean_ctor_get(x_249, 0); +x_252 = lean_ctor_get(x_249, 1); +lean_inc(x_252); +lean_inc(x_251); +lean_dec(x_249); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +return x_253; } } } -block_185: +block_183: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_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; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_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; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; x_15 = lean_unsigned_to_nat(5u); x_16 = l_Lean_Syntax_getArg(x_2, x_15); x_17 = lean_unsigned_to_nat(6u); @@ -33953,158 +33941,157 @@ x_19 = l_Lean_Syntax_getArgs(x_18); lean_dec(x_18); x_20 = lean_unsigned_to_nat(8u); x_21 = l_Lean_Syntax_getArg(x_2, x_20); -x_116 = lean_st_ref_get(x_4, x_14); -x_117 = lean_ctor_get(x_116, 0); +x_115 = lean_st_ref_get(x_4, x_14); +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); +lean_dec(x_115); +x_118 = lean_ctor_get(x_116, 0); lean_inc(x_118); lean_dec(x_116); -x_119 = lean_ctor_get(x_117, 0); -lean_inc(x_119); -lean_dec(x_117); -x_120 = l_Lean_Elab_Command_getScope___rarg(x_4, x_118); -x_121 = lean_ctor_get(x_120, 0); +x_119 = l_Lean_Elab_Command_getScope___rarg(x_4, x_117); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); +lean_dec(x_119); +x_122 = lean_ctor_get(x_120, 2); lean_inc(x_122); lean_dec(x_120); -x_123 = lean_ctor_get(x_121, 2); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_Elab_Command_getRef(x_3, x_4, x_122); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_126); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_118); +x_123 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_123, 0, x_118); +x_124 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_124, 0, x_122); +lean_inc(x_118); +x_125 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_125, 0, x_118); +x_126 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +lean_ctor_set(x_126, 2, x_125); +x_127 = x_126; +x_128 = l_Lean_Elab_Command_getRef(x_3, x_4, x_121); +x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); -lean_dec(x_127); -x_130 = lean_ctor_get(x_3, 2); +x_130 = lean_ctor_get(x_128, 1); lean_inc(x_130); -x_131 = lean_st_ref_get(x_4, x_129); +lean_dec(x_128); +x_131 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_130); x_132 = lean_ctor_get(x_131, 0); lean_inc(x_132); x_133 = lean_ctor_get(x_131, 1); lean_inc(x_133); lean_dec(x_131); -x_134 = lean_ctor_get(x_132, 4); +x_134 = lean_ctor_get(x_3, 2); lean_inc(x_134); -lean_dec(x_132); x_135 = lean_st_ref_get(x_4, x_133); x_136 = lean_ctor_get(x_135, 0); lean_inc(x_136); x_137 = lean_ctor_get(x_135, 1); lean_inc(x_137); lean_dec(x_135); -x_138 = lean_ctor_get(x_136, 3); +x_138 = lean_ctor_get(x_136, 4); lean_inc(x_138); lean_dec(x_136); -lean_inc(x_119); -x_139 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_139, 0, x_119); -lean_inc(x_139); -x_140 = x_139; -lean_inc(x_119); -x_141 = lean_environment_main_module(x_119); -x_142 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_142, 0, x_123); -x_143 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_143, 0, x_119); -x_144 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_144, 0, x_139); -lean_ctor_set(x_144, 1, x_142); -lean_ctor_set(x_144, 2, x_143); -x_145 = x_144; -x_146 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_146, 0, x_140); -lean_ctor_set(x_146, 1, x_141); -lean_ctor_set(x_146, 2, x_128); -lean_ctor_set(x_146, 3, x_130); -lean_ctor_set(x_146, 4, x_134); -lean_ctor_set(x_146, 5, x_125); -lean_ctor_set(x_146, 6, x_145); -x_147 = lean_box(0); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_138); -lean_ctor_set(x_148, 1, x_147); +x_139 = lean_st_ref_get(x_4, x_137); +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = lean_ctor_get(x_140, 3); +lean_inc(x_142); +lean_dec(x_140); +x_143 = lean_environment_main_module(x_118); +lean_inc(x_127); +x_144 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_144, 0, x_127); +lean_ctor_set(x_144, 1, x_143); +lean_ctor_set(x_144, 2, x_132); +lean_ctor_set(x_144, 3, x_134); +lean_ctor_set(x_144, 4, x_138); +lean_ctor_set(x_144, 5, x_129); +lean_ctor_set(x_144, 6, x_127); +x_145 = lean_box(0); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_142); +lean_ctor_set(x_146, 1, x_145); lean_inc(x_16); -x_149 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_16, x_146, x_148); -lean_dec(x_146); -if (lean_obj_tag(x_149) == 0) +x_147 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_16, x_144, x_146); +lean_dec(x_144); +if (lean_obj_tag(x_147) == 0) { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); x_150 = lean_ctor_get(x_149, 0); lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); -lean_inc(x_151); lean_dec(x_149); +x_151 = lean_st_ref_take(x_4, x_141); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); lean_dec(x_151); -x_153 = lean_st_ref_take(x_4, x_137); -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -x_156 = !lean_is_exclusive(x_154); -if (x_156 == 0) +x_154 = !lean_is_exclusive(x_152); +if (x_154 == 0) { -lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_154, 3); -lean_dec(x_157); -lean_ctor_set(x_154, 3, x_152); -x_158 = lean_st_ref_set(x_4, x_154, x_155); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -x_22 = x_150; -x_23 = x_159; -goto block_115; +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_152, 3); +lean_dec(x_155); +lean_ctor_set(x_152, 3, x_150); +x_156 = lean_st_ref_set(x_4, x_152, x_153); +x_157 = lean_ctor_get(x_156, 1); +lean_inc(x_157); +lean_dec(x_156); +x_22 = x_148; +x_23 = x_157; +goto block_114; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_160 = lean_ctor_get(x_154, 0); -x_161 = lean_ctor_get(x_154, 1); -x_162 = lean_ctor_get(x_154, 2); -x_163 = lean_ctor_get(x_154, 4); -x_164 = lean_ctor_get(x_154, 5); -x_165 = lean_ctor_get(x_154, 6); -x_166 = lean_ctor_get(x_154, 7); -lean_inc(x_166); -lean_inc(x_165); +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_158 = lean_ctor_get(x_152, 0); +x_159 = lean_ctor_get(x_152, 1); +x_160 = lean_ctor_get(x_152, 2); +x_161 = lean_ctor_get(x_152, 4); +x_162 = lean_ctor_get(x_152, 5); +x_163 = lean_ctor_get(x_152, 6); +x_164 = lean_ctor_get(x_152, 7); lean_inc(x_164); lean_inc(x_163); lean_inc(x_162); lean_inc(x_161); lean_inc(x_160); -lean_dec(x_154); -x_167 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_167, 0, x_160); -lean_ctor_set(x_167, 1, x_161); -lean_ctor_set(x_167, 2, x_162); -lean_ctor_set(x_167, 3, x_152); -lean_ctor_set(x_167, 4, x_163); -lean_ctor_set(x_167, 5, x_164); -lean_ctor_set(x_167, 6, x_165); -lean_ctor_set(x_167, 7, x_166); -x_168 = lean_st_ref_set(x_4, x_167, x_155); -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -lean_dec(x_168); -x_22 = x_150; -x_23 = x_169; -goto block_115; +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_152); +x_165 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_165, 0, x_158); +lean_ctor_set(x_165, 1, x_159); +lean_ctor_set(x_165, 2, x_160); +lean_ctor_set(x_165, 3, x_150); +lean_ctor_set(x_165, 4, x_161); +lean_ctor_set(x_165, 5, x_162); +lean_ctor_set(x_165, 6, x_163); +lean_ctor_set(x_165, 7, x_164); +x_166 = lean_st_ref_set(x_4, x_165, x_153); +x_167 = lean_ctor_get(x_166, 1); +lean_inc(x_167); +lean_dec(x_166); +x_22 = x_148; +x_23 = x_167; +goto block_114; } } else { -lean_object* x_170; +lean_object* x_168; lean_dec(x_21); lean_dec(x_19); lean_dec(x_16); @@ -34112,70 +34099,70 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_170 = lean_ctor_get(x_149, 0); +x_168 = lean_ctor_get(x_147, 0); +lean_inc(x_168); +lean_dec(x_147); +if (lean_obj_tag(x_168) == 0) +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); lean_inc(x_170); -lean_dec(x_149); -if (lean_obj_tag(x_170) == 0) +lean_dec(x_168); +x_171 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_171, 0, x_170); +x_172 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_172, 0, x_171); +x_173 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_169, x_172, x_3, x_4, x_141); +lean_dec(x_169); +x_174 = !lean_is_exclusive(x_173); +if (x_174 == 0) { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_173, 0, x_172); -x_174 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_174, 0, x_173); -x_175 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_171, x_174, x_3, x_4, x_137); -lean_dec(x_171); -x_176 = !lean_is_exclusive(x_175); -if (x_176 == 0) -{ -return x_175; +return x_173; } else { -lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_177 = lean_ctor_get(x_175, 0); -x_178 = lean_ctor_get(x_175, 1); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_175); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -return x_179; +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_173, 0); +x_176 = lean_ctor_get(x_173, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_173); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +return x_177; } } else { -lean_object* x_180; uint8_t x_181; +lean_object* x_178; uint8_t x_179; lean_dec(x_3); -x_180 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_137); -x_181 = !lean_is_exclusive(x_180); -if (x_181 == 0) +x_178 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_141); +x_179 = !lean_is_exclusive(x_178); +if (x_179 == 0) { -return x_180; +return x_178; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_182 = lean_ctor_get(x_180, 0); -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_180); -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_182); -lean_ctor_set(x_184, 1, x_183); -return x_184; +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_178, 0); +x_181 = lean_ctor_get(x_178, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_178); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; } } } -block_115: +block_114: { -lean_object* x_24; lean_object* x_25; lean_object* x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_object* x_24; lean_object* x_25; lean_object* x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; x_39 = lean_array_get_size(x_19); x_40 = lean_usize_of_nat(x_39); lean_dec(x_39); @@ -34205,139 +34192,138 @@ lean_dec(x_49); x_52 = lean_ctor_get(x_50, 2); lean_inc(x_52); lean_dec(x_50); -x_53 = l_Lean_Elab_Command_getRef(x_3, x_4, x_51); -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_55); -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 = lean_ctor_get(x_3, 2); +lean_inc(x_48); +x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_53, 0, x_48); +x_54 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_54, 0, x_52); +lean_inc(x_48); +x_55 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_55, 0, x_48); +x_56 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +lean_ctor_set(x_56, 2, x_55); +x_57 = x_56; +x_58 = l_Lean_Elab_Command_getRef(x_3, x_4, x_51); +x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -x_60 = lean_st_ref_get(x_4, x_58); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_60); +x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_ctor_get(x_61, 4); +x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); lean_dec(x_61); -x_64 = lean_st_ref_get(x_4, x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); +x_64 = lean_ctor_get(x_3, 2); +lean_inc(x_64); +x_65 = lean_st_ref_get(x_4, x_63); +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_65, 3); +x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -lean_inc(x_48); -x_68 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_68, 0, x_48); +x_68 = lean_ctor_get(x_66, 4); lean_inc(x_68); -x_69 = x_68; -lean_inc(x_48); -x_70 = lean_environment_main_module(x_48); -x_71 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_71, 0, x_52); -x_72 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_72, 0, x_48); -x_73 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_73, 0, x_68); -lean_ctor_set(x_73, 1, x_71); -lean_ctor_set(x_73, 2, x_72); -x_74 = x_73; -x_75 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_75, 0, x_69); -lean_ctor_set(x_75, 1, x_70); -lean_ctor_set(x_75, 2, x_57); -lean_ctor_set(x_75, 3, x_59); -lean_ctor_set(x_75, 4, x_63); -lean_ctor_set(x_75, 5, x_54); -lean_ctor_set(x_75, 6, x_74); -x_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_67); -lean_ctor_set(x_77, 1, x_76); -x_78 = x_44; -x_79 = lean_apply_2(x_78, x_75, x_77); -if (lean_obj_tag(x_79) == 0) +lean_dec(x_66); +x_69 = lean_st_ref_get(x_4, x_67); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_ctor_get(x_70, 3); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_environment_main_module(x_48); +lean_inc(x_57); +x_74 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_74, 0, x_57); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_62); +lean_ctor_set(x_74, 3, x_64); +lean_ctor_set(x_74, 4, x_68); +lean_ctor_set(x_74, 5, x_59); +lean_ctor_set(x_74, 6, x_57); +x_75 = lean_box(0); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_72); +lean_ctor_set(x_76, 1, x_75); +x_77 = x_44; +x_78 = lean_apply_2(x_77, x_74, x_76); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_80 = lean_ctor_get(x_79, 0); +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); +lean_dec(x_78); +x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); -lean_dec(x_79); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -lean_dec(x_81); -x_83 = lean_st_ref_take(x_4, x_66); -x_84 = lean_ctor_get(x_83, 0); +lean_dec(x_80); +x_82 = lean_st_ref_take(x_4, x_71); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = !lean_is_exclusive(x_84); -if (x_86 == 0) +lean_dec(x_82); +x_85 = !lean_is_exclusive(x_83); +if (x_85 == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_84, 3); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_83, 3); +lean_dec(x_86); +lean_ctor_set(x_83, 3, x_81); +x_87 = lean_st_ref_set(x_4, x_83, x_84); +x_88 = lean_ctor_get(x_87, 1); +lean_inc(x_88); lean_dec(x_87); -lean_ctor_set(x_84, 3, x_82); -x_88 = lean_st_ref_set(x_4, x_84, x_85); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_24 = x_80; -x_25 = x_89; +x_24 = x_79; +x_25 = x_88; goto block_38; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_90 = lean_ctor_get(x_84, 0); -x_91 = lean_ctor_get(x_84, 1); -x_92 = lean_ctor_get(x_84, 2); -x_93 = lean_ctor_get(x_84, 4); -x_94 = lean_ctor_get(x_84, 5); -x_95 = lean_ctor_get(x_84, 6); -x_96 = lean_ctor_get(x_84, 7); -lean_inc(x_96); +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_89 = lean_ctor_get(x_83, 0); +x_90 = lean_ctor_get(x_83, 1); +x_91 = lean_ctor_get(x_83, 2); +x_92 = lean_ctor_get(x_83, 4); +x_93 = lean_ctor_get(x_83, 5); +x_94 = lean_ctor_get(x_83, 6); +x_95 = lean_ctor_get(x_83, 7); lean_inc(x_95); lean_inc(x_94); lean_inc(x_93); lean_inc(x_92); lean_inc(x_91); lean_inc(x_90); -lean_dec(x_84); -x_97 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_97, 0, x_90); -lean_ctor_set(x_97, 1, x_91); -lean_ctor_set(x_97, 2, x_92); -lean_ctor_set(x_97, 3, x_82); -lean_ctor_set(x_97, 4, x_93); -lean_ctor_set(x_97, 5, x_94); -lean_ctor_set(x_97, 6, x_95); -lean_ctor_set(x_97, 7, x_96); -x_98 = lean_st_ref_set(x_4, x_97, x_85); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -lean_dec(x_98); -x_24 = x_80; -x_25 = x_99; +lean_inc(x_89); +lean_dec(x_83); +x_96 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_96, 0, x_89); +lean_ctor_set(x_96, 1, x_90); +lean_ctor_set(x_96, 2, x_91); +lean_ctor_set(x_96, 3, x_81); +lean_ctor_set(x_96, 4, x_92); +lean_ctor_set(x_96, 5, x_93); +lean_ctor_set(x_96, 6, x_94); +lean_ctor_set(x_96, 7, x_95); +x_97 = lean_st_ref_set(x_4, x_96, x_84); +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_24 = x_79; +x_25 = x_98; goto block_38; } } else { -lean_object* x_100; +lean_object* x_99; lean_dec(x_22); lean_dec(x_21); lean_dec(x_19); @@ -34346,64 +34332,64 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_100 = lean_ctor_get(x_79, 0); +x_99 = lean_ctor_get(x_78, 0); +lean_inc(x_99); +lean_dec(x_78); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +x_100 = lean_ctor_get(x_99, 0); lean_inc(x_100); -lean_dec(x_79); -if (lean_obj_tag(x_100) == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_101 = lean_ctor_get(x_100, 0); +x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_99); +x_102 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_102, 0, x_101); +x_103 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_103, 0, x_102); -x_104 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_104, 0, x_103); -x_105 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_101, x_104, x_3, x_4, x_66); -lean_dec(x_101); -x_106 = !lean_is_exclusive(x_105); -if (x_106 == 0) +x_104 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_100, x_103, x_3, x_4, x_71); +lean_dec(x_100); +x_105 = !lean_is_exclusive(x_104); +if (x_105 == 0) { -return x_105; +return x_104; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_105, 0); -x_108 = lean_ctor_get(x_105, 1); -lean_inc(x_108); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_104, 0); +x_107 = lean_ctor_get(x_104, 1); lean_inc(x_107); -lean_dec(x_105); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); +lean_inc(x_106); +lean_dec(x_104); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; +} +} +else +{ +lean_object* x_109; uint8_t x_110; +lean_dec(x_3); +x_109 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_71); +x_110 = !lean_is_exclusive(x_109); +if (x_110 == 0) +{ return x_109; } -} else { -lean_object* x_110; uint8_t x_111; -lean_dec(x_3); -x_110 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_66); -x_111 = !lean_is_exclusive(x_110); -if (x_111 == 0) -{ -return x_110; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_110, 0); -x_113 = lean_ctor_get(x_110, 1); -lean_inc(x_113); +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_109, 0); +x_112 = lean_ctor_get(x_109, 1); lean_inc(x_112); -lean_dec(x_110); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +lean_inc(x_111); +lean_dec(x_109); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; } } } @@ -35323,157 +35309,156 @@ return x_2; lean_object* l_Lean_Elab_Command_expandElab___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, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_18; lean_object* x_19; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; -x_863 = lean_st_ref_get(x_16, x_17); -x_864 = lean_ctor_get(x_863, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; +x_862 = lean_st_ref_get(x_16, x_17); +x_863 = lean_ctor_get(x_862, 0); +lean_inc(x_863); +x_864 = lean_ctor_get(x_862, 1); lean_inc(x_864); -x_865 = lean_ctor_get(x_863, 1); +lean_dec(x_862); +x_865 = lean_ctor_get(x_863, 0); lean_inc(x_865); lean_dec(x_863); -x_866 = lean_ctor_get(x_864, 0); -lean_inc(x_866); -lean_dec(x_864); -x_867 = l_Lean_Elab_Command_getScope___rarg(x_16, x_865); -x_868 = lean_ctor_get(x_867, 0); +x_866 = l_Lean_Elab_Command_getScope___rarg(x_16, x_864); +x_867 = lean_ctor_get(x_866, 0); +lean_inc(x_867); +x_868 = lean_ctor_get(x_866, 1); lean_inc(x_868); -x_869 = lean_ctor_get(x_867, 1); +lean_dec(x_866); +x_869 = lean_ctor_get(x_867, 2); lean_inc(x_869); lean_dec(x_867); -x_870 = lean_ctor_get(x_868, 2); -lean_inc(x_870); -lean_dec(x_868); -x_871 = l_Lean_Elab_Command_getRef(x_15, x_16, x_869); -x_872 = lean_ctor_get(x_871, 0); -lean_inc(x_872); -x_873 = lean_ctor_get(x_871, 1); -lean_inc(x_873); -lean_dec(x_871); -x_874 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_873); -x_875 = lean_ctor_get(x_874, 0); -lean_inc(x_875); -x_876 = lean_ctor_get(x_874, 1); +lean_inc(x_865); +x_870 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_870, 0, x_865); +x_871 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_871, 0, x_869); +lean_inc(x_865); +x_872 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_872, 0, x_865); +x_873 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_873, 0, x_870); +lean_ctor_set(x_873, 1, x_871); +lean_ctor_set(x_873, 2, x_872); +x_874 = x_873; +x_875 = l_Lean_Elab_Command_getRef(x_15, x_16, x_868); +x_876 = lean_ctor_get(x_875, 0); lean_inc(x_876); -lean_dec(x_874); -x_877 = lean_ctor_get(x_15, 2); +x_877 = lean_ctor_get(x_875, 1); lean_inc(x_877); -x_878 = lean_st_ref_get(x_16, x_876); +lean_dec(x_875); +x_878 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_877); x_879 = lean_ctor_get(x_878, 0); lean_inc(x_879); x_880 = lean_ctor_get(x_878, 1); lean_inc(x_880); lean_dec(x_878); -x_881 = lean_ctor_get(x_879, 4); +x_881 = lean_ctor_get(x_15, 2); lean_inc(x_881); -lean_dec(x_879); x_882 = lean_st_ref_get(x_16, x_880); x_883 = lean_ctor_get(x_882, 0); lean_inc(x_883); x_884 = lean_ctor_get(x_882, 1); lean_inc(x_884); lean_dec(x_882); -x_885 = lean_ctor_get(x_883, 3); +x_885 = lean_ctor_get(x_883, 4); lean_inc(x_885); lean_dec(x_883); -lean_inc(x_866); -x_886 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_886, 0, x_866); -lean_inc(x_886); -x_887 = x_886; -lean_inc(x_866); -x_888 = lean_environment_main_module(x_866); -x_889 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_889, 0, x_870); -x_890 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_890, 0, x_866); -x_891 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_891, 0, x_886); -lean_ctor_set(x_891, 1, x_889); -lean_ctor_set(x_891, 2, x_890); -x_892 = x_891; -x_893 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_893, 0, x_887); -lean_ctor_set(x_893, 1, x_888); -lean_ctor_set(x_893, 2, x_875); -lean_ctor_set(x_893, 3, x_877); -lean_ctor_set(x_893, 4, x_881); -lean_ctor_set(x_893, 5, x_872); -lean_ctor_set(x_893, 6, x_892); -x_894 = lean_box(0); -x_895 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_895, 0, x_885); -lean_ctor_set(x_895, 1, x_894); -x_896 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_13, x_893, x_895); -if (lean_obj_tag(x_896) == 0) +x_886 = lean_st_ref_get(x_16, x_884); +x_887 = lean_ctor_get(x_886, 0); +lean_inc(x_887); +x_888 = lean_ctor_get(x_886, 1); +lean_inc(x_888); +lean_dec(x_886); +x_889 = lean_ctor_get(x_887, 3); +lean_inc(x_889); +lean_dec(x_887); +x_890 = lean_environment_main_module(x_865); +lean_inc(x_874); +x_891 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_891, 0, x_874); +lean_ctor_set(x_891, 1, x_890); +lean_ctor_set(x_891, 2, x_879); +lean_ctor_set(x_891, 3, x_881); +lean_ctor_set(x_891, 4, x_885); +lean_ctor_set(x_891, 5, x_876); +lean_ctor_set(x_891, 6, x_874); +x_892 = lean_box(0); +x_893 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_893, 0, x_889); +lean_ctor_set(x_893, 1, x_892); +x_894 = l_Lean_Elab_Command_expandMacroArgIntoPattern(x_13, x_891, x_893); +if (lean_obj_tag(x_894) == 0) { -lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; uint8_t x_903; +lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; uint8_t x_901; +x_895 = lean_ctor_get(x_894, 0); +lean_inc(x_895); +x_896 = lean_ctor_get(x_894, 1); +lean_inc(x_896); +lean_dec(x_894); x_897 = lean_ctor_get(x_896, 0); lean_inc(x_897); -x_898 = lean_ctor_get(x_896, 1); -lean_inc(x_898); lean_dec(x_896); +x_898 = lean_st_ref_take(x_16, x_888); x_899 = lean_ctor_get(x_898, 0); lean_inc(x_899); +x_900 = lean_ctor_get(x_898, 1); +lean_inc(x_900); lean_dec(x_898); -x_900 = lean_st_ref_take(x_16, x_884); -x_901 = lean_ctor_get(x_900, 0); -lean_inc(x_901); -x_902 = lean_ctor_get(x_900, 1); -lean_inc(x_902); -lean_dec(x_900); -x_903 = !lean_is_exclusive(x_901); -if (x_903 == 0) +x_901 = !lean_is_exclusive(x_899); +if (x_901 == 0) { -lean_object* x_904; lean_object* x_905; lean_object* x_906; -x_904 = lean_ctor_get(x_901, 3); -lean_dec(x_904); -lean_ctor_set(x_901, 3, x_899); -x_905 = lean_st_ref_set(x_16, x_901, x_902); -x_906 = lean_ctor_get(x_905, 1); -lean_inc(x_906); -lean_dec(x_905); -x_18 = x_897; -x_19 = x_906; -goto block_862; +lean_object* x_902; lean_object* x_903; lean_object* x_904; +x_902 = lean_ctor_get(x_899, 3); +lean_dec(x_902); +lean_ctor_set(x_899, 3, x_897); +x_903 = lean_st_ref_set(x_16, x_899, x_900); +x_904 = lean_ctor_get(x_903, 1); +lean_inc(x_904); +lean_dec(x_903); +x_18 = x_895; +x_19 = x_904; +goto block_861; } else { -lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; -x_907 = lean_ctor_get(x_901, 0); -x_908 = lean_ctor_get(x_901, 1); -x_909 = lean_ctor_get(x_901, 2); -x_910 = lean_ctor_get(x_901, 4); -x_911 = lean_ctor_get(x_901, 5); -x_912 = lean_ctor_get(x_901, 6); -x_913 = lean_ctor_get(x_901, 7); -lean_inc(x_913); -lean_inc(x_912); +lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; +x_905 = lean_ctor_get(x_899, 0); +x_906 = lean_ctor_get(x_899, 1); +x_907 = lean_ctor_get(x_899, 2); +x_908 = lean_ctor_get(x_899, 4); +x_909 = lean_ctor_get(x_899, 5); +x_910 = lean_ctor_get(x_899, 6); +x_911 = lean_ctor_get(x_899, 7); lean_inc(x_911); lean_inc(x_910); lean_inc(x_909); lean_inc(x_908); lean_inc(x_907); -lean_dec(x_901); -x_914 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_914, 0, x_907); -lean_ctor_set(x_914, 1, x_908); -lean_ctor_set(x_914, 2, x_909); -lean_ctor_set(x_914, 3, x_899); -lean_ctor_set(x_914, 4, x_910); -lean_ctor_set(x_914, 5, x_911); -lean_ctor_set(x_914, 6, x_912); -lean_ctor_set(x_914, 7, x_913); -x_915 = lean_st_ref_set(x_16, x_914, x_902); -x_916 = lean_ctor_get(x_915, 1); -lean_inc(x_916); -lean_dec(x_915); -x_18 = x_897; -x_19 = x_916; -goto block_862; +lean_inc(x_906); +lean_inc(x_905); +lean_dec(x_899); +x_912 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_912, 0, x_905); +lean_ctor_set(x_912, 1, x_906); +lean_ctor_set(x_912, 2, x_907); +lean_ctor_set(x_912, 3, x_897); +lean_ctor_set(x_912, 4, x_908); +lean_ctor_set(x_912, 5, x_909); +lean_ctor_set(x_912, 6, x_910); +lean_ctor_set(x_912, 7, x_911); +x_913 = lean_st_ref_set(x_16, x_912, x_900); +x_914 = lean_ctor_get(x_913, 1); +lean_inc(x_914); +lean_dec(x_913); +x_18 = x_895; +x_19 = x_914; +goto block_861; } } else { -lean_object* x_917; +lean_object* x_915; lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); @@ -35484,70 +35469,70 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_917 = lean_ctor_get(x_896, 0); +x_915 = lean_ctor_get(x_894, 0); +lean_inc(x_915); +lean_dec(x_894); +if (lean_obj_tag(x_915) == 0) +{ +lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; uint8_t x_921; +x_916 = lean_ctor_get(x_915, 0); +lean_inc(x_916); +x_917 = lean_ctor_get(x_915, 1); lean_inc(x_917); -lean_dec(x_896); -if (lean_obj_tag(x_917) == 0) +lean_dec(x_915); +x_918 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_918, 0, x_917); +x_919 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_919, 0, x_918); +x_920 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_916, x_919, x_15, x_16, x_888); +lean_dec(x_916); +x_921 = !lean_is_exclusive(x_920); +if (x_921 == 0) { -lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; uint8_t x_923; -x_918 = lean_ctor_get(x_917, 0); -lean_inc(x_918); -x_919 = lean_ctor_get(x_917, 1); -lean_inc(x_919); -lean_dec(x_917); -x_920 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_920, 0, x_919); -x_921 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_921, 0, x_920); -x_922 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_918, x_921, x_15, x_16, x_884); -lean_dec(x_918); -x_923 = !lean_is_exclusive(x_922); -if (x_923 == 0) -{ -return x_922; +return x_920; } else { -lean_object* x_924; lean_object* x_925; lean_object* x_926; -x_924 = lean_ctor_get(x_922, 0); -x_925 = lean_ctor_get(x_922, 1); -lean_inc(x_925); -lean_inc(x_924); -lean_dec(x_922); -x_926 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_926, 0, x_924); -lean_ctor_set(x_926, 1, x_925); -return x_926; +lean_object* x_922; lean_object* x_923; lean_object* x_924; +x_922 = lean_ctor_get(x_920, 0); +x_923 = lean_ctor_get(x_920, 1); +lean_inc(x_923); +lean_inc(x_922); +lean_dec(x_920); +x_924 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_924, 0, x_922); +lean_ctor_set(x_924, 1, x_923); +return x_924; } } else { -lean_object* x_927; uint8_t x_928; +lean_object* x_925; uint8_t x_926; lean_dec(x_15); -x_927 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_884); -x_928 = !lean_is_exclusive(x_927); -if (x_928 == 0) +x_925 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_888); +x_926 = !lean_is_exclusive(x_925); +if (x_926 == 0) { -return x_927; +return x_925; } else { -lean_object* x_929; lean_object* x_930; lean_object* x_931; -x_929 = lean_ctor_get(x_927, 0); -x_930 = lean_ctor_get(x_927, 1); -lean_inc(x_930); -lean_inc(x_929); -lean_dec(x_927); -x_931 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_931, 0, x_929); -lean_ctor_set(x_931, 1, x_930); -return x_931; +lean_object* x_927; lean_object* x_928; lean_object* x_929; +x_927 = lean_ctor_get(x_925, 0); +x_928 = lean_ctor_get(x_925, 1); +lean_inc(x_928); +lean_inc(x_927); +lean_dec(x_925); +x_929 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_929, 0, x_927); +lean_ctor_set(x_929, 1, x_928); +return x_929; } } } -block_862: +block_861: { -lean_object* x_20; lean_object* x_21; lean_object* x_786; size_t x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; +lean_object* x_20; lean_object* x_21; lean_object* x_786; size_t x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; x_786 = lean_array_get_size(x_12); x_787 = lean_usize_of_nat(x_786); lean_dec(x_786); @@ -35576,139 +35561,138 @@ lean_dec(x_796); x_799 = lean_ctor_get(x_797, 2); lean_inc(x_799); lean_dec(x_797); -x_800 = l_Lean_Elab_Command_getRef(x_15, x_16, x_798); -x_801 = lean_ctor_get(x_800, 0); -lean_inc(x_801); -x_802 = lean_ctor_get(x_800, 1); -lean_inc(x_802); -lean_dec(x_800); -x_803 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_802); -x_804 = lean_ctor_get(x_803, 0); -lean_inc(x_804); -x_805 = lean_ctor_get(x_803, 1); -lean_inc(x_805); -lean_dec(x_803); -x_806 = lean_ctor_get(x_15, 2); +lean_inc(x_795); +x_800 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_800, 0, x_795); +x_801 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_801, 0, x_799); +lean_inc(x_795); +x_802 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_802, 0, x_795); +x_803 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_803, 0, x_800); +lean_ctor_set(x_803, 1, x_801); +lean_ctor_set(x_803, 2, x_802); +x_804 = x_803; +x_805 = l_Lean_Elab_Command_getRef(x_15, x_16, x_798); +x_806 = lean_ctor_get(x_805, 0); lean_inc(x_806); -x_807 = lean_st_ref_get(x_16, x_805); -x_808 = lean_ctor_get(x_807, 0); -lean_inc(x_808); -x_809 = lean_ctor_get(x_807, 1); +x_807 = lean_ctor_get(x_805, 1); +lean_inc(x_807); +lean_dec(x_805); +x_808 = l_Lean_Elab_Command_getCurrMacroScope(x_15, x_16, x_807); +x_809 = lean_ctor_get(x_808, 0); lean_inc(x_809); -lean_dec(x_807); -x_810 = lean_ctor_get(x_808, 4); +x_810 = lean_ctor_get(x_808, 1); lean_inc(x_810); lean_dec(x_808); -x_811 = lean_st_ref_get(x_16, x_809); -x_812 = lean_ctor_get(x_811, 0); -lean_inc(x_812); -x_813 = lean_ctor_get(x_811, 1); +x_811 = lean_ctor_get(x_15, 2); +lean_inc(x_811); +x_812 = lean_st_ref_get(x_16, x_810); +x_813 = lean_ctor_get(x_812, 0); lean_inc(x_813); -lean_dec(x_811); -x_814 = lean_ctor_get(x_812, 3); +x_814 = lean_ctor_get(x_812, 1); lean_inc(x_814); lean_dec(x_812); -lean_inc(x_795); -x_815 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_815, 0, x_795); +x_815 = lean_ctor_get(x_813, 4); lean_inc(x_815); -x_816 = x_815; -lean_inc(x_795); -x_817 = lean_environment_main_module(x_795); -x_818 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_818, 0, x_799); -x_819 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_819, 0, x_795); -x_820 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_820, 0, x_815); -lean_ctor_set(x_820, 1, x_818); -lean_ctor_set(x_820, 2, x_819); -x_821 = x_820; -x_822 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_822, 0, x_816); -lean_ctor_set(x_822, 1, x_817); -lean_ctor_set(x_822, 2, x_804); -lean_ctor_set(x_822, 3, x_806); -lean_ctor_set(x_822, 4, x_810); -lean_ctor_set(x_822, 5, x_801); -lean_ctor_set(x_822, 6, x_821); -x_823 = lean_box(0); -x_824 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_824, 0, x_814); -lean_ctor_set(x_824, 1, x_823); -x_825 = x_791; -x_826 = lean_apply_2(x_825, x_822, x_824); -if (lean_obj_tag(x_826) == 0) +lean_dec(x_813); +x_816 = lean_st_ref_get(x_16, x_814); +x_817 = lean_ctor_get(x_816, 0); +lean_inc(x_817); +x_818 = lean_ctor_get(x_816, 1); +lean_inc(x_818); +lean_dec(x_816); +x_819 = lean_ctor_get(x_817, 3); +lean_inc(x_819); +lean_dec(x_817); +x_820 = lean_environment_main_module(x_795); +lean_inc(x_804); +x_821 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_821, 0, x_804); +lean_ctor_set(x_821, 1, x_820); +lean_ctor_set(x_821, 2, x_809); +lean_ctor_set(x_821, 3, x_811); +lean_ctor_set(x_821, 4, x_815); +lean_ctor_set(x_821, 5, x_806); +lean_ctor_set(x_821, 6, x_804); +x_822 = lean_box(0); +x_823 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_823, 0, x_819); +lean_ctor_set(x_823, 1, x_822); +x_824 = x_791; +x_825 = lean_apply_2(x_824, x_821, x_823); +if (lean_obj_tag(x_825) == 0) { -lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; uint8_t x_833; -x_827 = lean_ctor_get(x_826, 0); +lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; uint8_t x_832; +x_826 = lean_ctor_get(x_825, 0); +lean_inc(x_826); +x_827 = lean_ctor_get(x_825, 1); lean_inc(x_827); -x_828 = lean_ctor_get(x_826, 1); +lean_dec(x_825); +x_828 = lean_ctor_get(x_827, 0); lean_inc(x_828); -lean_dec(x_826); -x_829 = lean_ctor_get(x_828, 0); -lean_inc(x_829); -lean_dec(x_828); -x_830 = lean_st_ref_take(x_16, x_813); -x_831 = lean_ctor_get(x_830, 0); +lean_dec(x_827); +x_829 = lean_st_ref_take(x_16, x_818); +x_830 = lean_ctor_get(x_829, 0); +lean_inc(x_830); +x_831 = lean_ctor_get(x_829, 1); lean_inc(x_831); -x_832 = lean_ctor_get(x_830, 1); -lean_inc(x_832); -lean_dec(x_830); -x_833 = !lean_is_exclusive(x_831); -if (x_833 == 0) +lean_dec(x_829); +x_832 = !lean_is_exclusive(x_830); +if (x_832 == 0) { -lean_object* x_834; lean_object* x_835; lean_object* x_836; -x_834 = lean_ctor_get(x_831, 3); +lean_object* x_833; lean_object* x_834; lean_object* x_835; +x_833 = lean_ctor_get(x_830, 3); +lean_dec(x_833); +lean_ctor_set(x_830, 3, x_828); +x_834 = lean_st_ref_set(x_16, x_830, x_831); +x_835 = lean_ctor_get(x_834, 1); +lean_inc(x_835); lean_dec(x_834); -lean_ctor_set(x_831, 3, x_829); -x_835 = lean_st_ref_set(x_16, x_831, x_832); -x_836 = lean_ctor_get(x_835, 1); -lean_inc(x_836); -lean_dec(x_835); -x_20 = x_827; -x_21 = x_836; +x_20 = x_826; +x_21 = x_835; goto block_785; } else { -lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; -x_837 = lean_ctor_get(x_831, 0); -x_838 = lean_ctor_get(x_831, 1); -x_839 = lean_ctor_get(x_831, 2); -x_840 = lean_ctor_get(x_831, 4); -x_841 = lean_ctor_get(x_831, 5); -x_842 = lean_ctor_get(x_831, 6); -x_843 = lean_ctor_get(x_831, 7); -lean_inc(x_843); +lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; +x_836 = lean_ctor_get(x_830, 0); +x_837 = lean_ctor_get(x_830, 1); +x_838 = lean_ctor_get(x_830, 2); +x_839 = lean_ctor_get(x_830, 4); +x_840 = lean_ctor_get(x_830, 5); +x_841 = lean_ctor_get(x_830, 6); +x_842 = lean_ctor_get(x_830, 7); lean_inc(x_842); lean_inc(x_841); lean_inc(x_840); lean_inc(x_839); lean_inc(x_838); lean_inc(x_837); -lean_dec(x_831); -x_844 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_844, 0, x_837); -lean_ctor_set(x_844, 1, x_838); -lean_ctor_set(x_844, 2, x_839); -lean_ctor_set(x_844, 3, x_829); -lean_ctor_set(x_844, 4, x_840); -lean_ctor_set(x_844, 5, x_841); -lean_ctor_set(x_844, 6, x_842); -lean_ctor_set(x_844, 7, x_843); -x_845 = lean_st_ref_set(x_16, x_844, x_832); -x_846 = lean_ctor_get(x_845, 1); -lean_inc(x_846); -lean_dec(x_845); -x_20 = x_827; -x_21 = x_846; +lean_inc(x_836); +lean_dec(x_830); +x_843 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_843, 0, x_836); +lean_ctor_set(x_843, 1, x_837); +lean_ctor_set(x_843, 2, x_838); +lean_ctor_set(x_843, 3, x_828); +lean_ctor_set(x_843, 4, x_839); +lean_ctor_set(x_843, 5, x_840); +lean_ctor_set(x_843, 6, x_841); +lean_ctor_set(x_843, 7, x_842); +x_844 = lean_st_ref_set(x_16, x_843, x_831); +x_845 = lean_ctor_get(x_844, 1); +lean_inc(x_845); +lean_dec(x_844); +x_20 = x_826; +x_21 = x_845; goto block_785; } } else { -lean_object* x_847; +lean_object* x_846; lean_dec(x_18); lean_dec(x_14); lean_dec(x_11); @@ -35719,64 +35703,64 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_847 = lean_ctor_get(x_826, 0); +x_846 = lean_ctor_get(x_825, 0); +lean_inc(x_846); +lean_dec(x_825); +if (lean_obj_tag(x_846) == 0) +{ +lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; uint8_t x_852; +x_847 = lean_ctor_get(x_846, 0); lean_inc(x_847); -lean_dec(x_826); -if (lean_obj_tag(x_847) == 0) -{ -lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; uint8_t x_853; -x_848 = lean_ctor_get(x_847, 0); +x_848 = lean_ctor_get(x_846, 1); lean_inc(x_848); -x_849 = lean_ctor_get(x_847, 1); -lean_inc(x_849); -lean_dec(x_847); -x_850 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_846); +x_849 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_849, 0, x_848); +x_850 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_850, 0, x_849); -x_851 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_851, 0, x_850); -x_852 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_848, x_851, x_15, x_16, x_813); -lean_dec(x_848); -x_853 = !lean_is_exclusive(x_852); -if (x_853 == 0) +x_851 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_847, x_850, x_15, x_16, x_818); +lean_dec(x_847); +x_852 = !lean_is_exclusive(x_851); +if (x_852 == 0) { -return x_852; +return x_851; } else { -lean_object* x_854; lean_object* x_855; lean_object* x_856; -x_854 = lean_ctor_get(x_852, 0); -x_855 = lean_ctor_get(x_852, 1); -lean_inc(x_855); +lean_object* x_853; lean_object* x_854; lean_object* x_855; +x_853 = lean_ctor_get(x_851, 0); +x_854 = lean_ctor_get(x_851, 1); lean_inc(x_854); -lean_dec(x_852); -x_856 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_856, 0, x_854); -lean_ctor_set(x_856, 1, x_855); +lean_inc(x_853); +lean_dec(x_851); +x_855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_855, 0, x_853); +lean_ctor_set(x_855, 1, x_854); +return x_855; +} +} +else +{ +lean_object* x_856; uint8_t x_857; +lean_dec(x_15); +x_856 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_818); +x_857 = !lean_is_exclusive(x_856); +if (x_857 == 0) +{ return x_856; } -} else { -lean_object* x_857; uint8_t x_858; -lean_dec(x_15); -x_857 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_813); -x_858 = !lean_is_exclusive(x_857); -if (x_858 == 0) -{ -return x_857; -} -else -{ -lean_object* x_859; lean_object* x_860; lean_object* x_861; -x_859 = lean_ctor_get(x_857, 0); -x_860 = lean_ctor_get(x_857, 1); -lean_inc(x_860); +lean_object* x_858; lean_object* x_859; lean_object* x_860; +x_858 = lean_ctor_get(x_856, 0); +x_859 = lean_ctor_get(x_856, 1); lean_inc(x_859); -lean_dec(x_857); -x_861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_861, 0, x_859); -lean_ctor_set(x_861, 1, x_860); -return x_861; +lean_inc(x_858); +lean_dec(x_856); +x_860 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_860, 0, x_858); +lean_ctor_set(x_860, 1, x_859); +return x_860; } } } @@ -37269,414 +37253,412 @@ return x_2; lean_object* l_Lean_Elab_Command_expandElab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +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_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; x_6 = lean_unsigned_to_nat(0u); x_7 = l_Lean_Syntax_getArg(x_2, x_6); x_8 = lean_unsigned_to_nat(2u); x_9 = l_Lean_Syntax_getArg(x_2, x_8); x_10 = l_Lean_Syntax_getOptional_x3f(x_9); lean_dec(x_9); -x_262 = lean_unsigned_to_nat(3u); -x_263 = l_Lean_Syntax_getArg(x_2, x_262); -x_264 = lean_st_ref_get(x_4, x_5); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); +x_259 = lean_unsigned_to_nat(3u); +x_260 = l_Lean_Syntax_getArg(x_2, x_259); +x_261 = lean_st_ref_get(x_4, x_5); +x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_261, 1); +lean_inc(x_263); +lean_dec(x_261); +x_264 = lean_ctor_get(x_262, 0); +lean_inc(x_264); +lean_dec(x_262); +x_265 = l_Lean_Elab_Command_getScope___rarg(x_4, x_263); +x_266 = lean_ctor_get(x_265, 0); lean_inc(x_266); -lean_dec(x_264); -x_267 = lean_ctor_get(x_265, 0); +x_267 = lean_ctor_get(x_265, 1); lean_inc(x_267); lean_dec(x_265); -x_268 = l_Lean_Elab_Command_getScope___rarg(x_4, x_266); -x_269 = lean_ctor_get(x_268, 0); -lean_inc(x_269); -x_270 = lean_ctor_get(x_268, 1); -lean_inc(x_270); -lean_dec(x_268); -x_271 = lean_ctor_get(x_269, 2); -lean_inc(x_271); -lean_dec(x_269); -x_272 = l_Lean_Elab_Command_getRef(x_3, x_4, x_270); -x_273 = lean_ctor_get(x_272, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_272, 1); -lean_inc(x_274); -lean_dec(x_272); -x_275 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_274); -x_276 = lean_ctor_get(x_275, 0); +x_268 = lean_ctor_get(x_266, 2); +lean_inc(x_268); +lean_dec(x_266); +lean_inc(x_264); +x_269 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_269, 0, x_264); +x_270 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_270, 0, x_268); +lean_inc(x_264); +x_271 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_271, 0, x_264); +x_272 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_272, 0, x_269); +lean_ctor_set(x_272, 1, x_270); +lean_ctor_set(x_272, 2, x_271); +x_273 = x_272; +x_274 = l_Lean_Elab_Command_getRef(x_3, x_4, x_267); +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_274, 1); lean_inc(x_276); -x_277 = lean_ctor_get(x_275, 1); -lean_inc(x_277); -lean_dec(x_275); -x_278 = lean_ctor_get(x_3, 2); +lean_dec(x_274); +x_277 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_276); +x_278 = lean_ctor_get(x_277, 0); lean_inc(x_278); -x_279 = lean_st_ref_get(x_4, x_277); -x_280 = lean_ctor_get(x_279, 0); +x_279 = lean_ctor_get(x_277, 1); +lean_inc(x_279); +lean_dec(x_277); +x_280 = lean_ctor_get(x_3, 2); lean_inc(x_280); -x_281 = lean_ctor_get(x_279, 1); -lean_inc(x_281); -lean_dec(x_279); -x_282 = lean_ctor_get(x_280, 4); +x_281 = lean_st_ref_get(x_4, x_279); +x_282 = lean_ctor_get(x_281, 0); lean_inc(x_282); -lean_dec(x_280); -x_283 = lean_st_ref_get(x_4, x_281); -x_284 = lean_ctor_get(x_283, 0); +x_283 = lean_ctor_get(x_281, 1); +lean_inc(x_283); +lean_dec(x_281); +x_284 = lean_ctor_get(x_282, 4); lean_inc(x_284); -x_285 = lean_ctor_get(x_283, 1); -lean_inc(x_285); -lean_dec(x_283); -x_286 = lean_ctor_get(x_284, 3); +lean_dec(x_282); +x_285 = lean_st_ref_get(x_4, x_283); +x_286 = lean_ctor_get(x_285, 0); lean_inc(x_286); -lean_dec(x_284); -lean_inc(x_267); -x_287 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_287, 0, x_267); +x_287 = lean_ctor_get(x_285, 1); lean_inc(x_287); -x_288 = x_287; -lean_inc(x_267); -x_289 = lean_environment_main_module(x_267); -x_290 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_290, 0, x_271); -x_291 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_291, 0, x_267); -x_292 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_292, 0, x_287); -lean_ctor_set(x_292, 1, x_290); -lean_ctor_set(x_292, 2, x_291); -x_293 = x_292; -x_294 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_294, 0, x_288); -lean_ctor_set(x_294, 1, x_289); -lean_ctor_set(x_294, 2, x_276); -lean_ctor_set(x_294, 3, x_278); -lean_ctor_set(x_294, 4, x_282); -lean_ctor_set(x_294, 5, x_273); -lean_ctor_set(x_294, 6, x_293); -x_295 = lean_box(0); -x_296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_296, 0, x_286); -lean_ctor_set(x_296, 1, x_295); -x_297 = l_Lean_Elab_expandOptNamedName(x_263, x_294, x_296); -lean_dec(x_294); -lean_dec(x_263); -if (lean_obj_tag(x_297) == 0) +lean_dec(x_285); +x_288 = lean_ctor_get(x_286, 3); +lean_inc(x_288); +lean_dec(x_286); +x_289 = lean_environment_main_module(x_264); +lean_inc(x_273); +x_290 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_290, 0, x_273); +lean_ctor_set(x_290, 1, x_289); +lean_ctor_set(x_290, 2, x_278); +lean_ctor_set(x_290, 3, x_280); +lean_ctor_set(x_290, 4, x_284); +lean_ctor_set(x_290, 5, x_275); +lean_ctor_set(x_290, 6, x_273); +x_291 = lean_box(0); +x_292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_292, 0, x_288); +lean_ctor_set(x_292, 1, x_291); +x_293 = l_Lean_Elab_expandOptNamedName(x_260, x_290, x_292); +lean_dec(x_290); +lean_dec(x_260); +if (lean_obj_tag(x_293) == 0) { -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_304; +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +lean_dec(x_293); +x_296 = lean_ctor_get(x_295, 0); +lean_inc(x_296); +lean_dec(x_295); +x_297 = lean_st_ref_take(x_4, x_287); x_298 = lean_ctor_get(x_297, 0); lean_inc(x_298); x_299 = lean_ctor_get(x_297, 1); lean_inc(x_299); lean_dec(x_297); -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -lean_dec(x_299); -x_301 = lean_st_ref_take(x_4, x_285); -x_302 = lean_ctor_get(x_301, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = !lean_is_exclusive(x_302); -if (x_304 == 0) +x_300 = !lean_is_exclusive(x_298); +if (x_300 == 0) { -lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_305 = lean_ctor_get(x_302, 3); -lean_dec(x_305); -lean_ctor_set(x_302, 3, x_300); -x_306 = lean_st_ref_set(x_4, x_302, x_303); -x_307 = lean_ctor_get(x_306, 1); -lean_inc(x_307); -lean_dec(x_306); -x_11 = x_298; -x_12 = x_307; -goto block_261; +lean_object* x_301; lean_object* x_302; lean_object* x_303; +x_301 = lean_ctor_get(x_298, 3); +lean_dec(x_301); +lean_ctor_set(x_298, 3, x_296); +x_302 = lean_st_ref_set(x_4, x_298, x_299); +x_303 = lean_ctor_get(x_302, 1); +lean_inc(x_303); +lean_dec(x_302); +x_11 = x_294; +x_12 = x_303; +goto block_258; } else { -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_308 = lean_ctor_get(x_302, 0); -x_309 = lean_ctor_get(x_302, 1); -x_310 = lean_ctor_get(x_302, 2); -x_311 = lean_ctor_get(x_302, 4); -x_312 = lean_ctor_get(x_302, 5); -x_313 = lean_ctor_get(x_302, 6); -x_314 = lean_ctor_get(x_302, 7); -lean_inc(x_314); -lean_inc(x_313); -lean_inc(x_312); -lean_inc(x_311); +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; +x_304 = lean_ctor_get(x_298, 0); +x_305 = lean_ctor_get(x_298, 1); +x_306 = lean_ctor_get(x_298, 2); +x_307 = lean_ctor_get(x_298, 4); +x_308 = lean_ctor_get(x_298, 5); +x_309 = lean_ctor_get(x_298, 6); +x_310 = lean_ctor_get(x_298, 7); lean_inc(x_310); lean_inc(x_309); lean_inc(x_308); -lean_dec(x_302); -x_315 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_315, 0, x_308); -lean_ctor_set(x_315, 1, x_309); -lean_ctor_set(x_315, 2, x_310); -lean_ctor_set(x_315, 3, x_300); -lean_ctor_set(x_315, 4, x_311); -lean_ctor_set(x_315, 5, x_312); -lean_ctor_set(x_315, 6, x_313); -lean_ctor_set(x_315, 7, x_314); -x_316 = lean_st_ref_set(x_4, x_315, x_303); -x_317 = lean_ctor_get(x_316, 1); -lean_inc(x_317); -lean_dec(x_316); -x_11 = x_298; -x_12 = x_317; -goto block_261; +lean_inc(x_307); +lean_inc(x_306); +lean_inc(x_305); +lean_inc(x_304); +lean_dec(x_298); +x_311 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_311, 0, x_304); +lean_ctor_set(x_311, 1, x_305); +lean_ctor_set(x_311, 2, x_306); +lean_ctor_set(x_311, 3, x_296); +lean_ctor_set(x_311, 4, x_307); +lean_ctor_set(x_311, 5, x_308); +lean_ctor_set(x_311, 6, x_309); +lean_ctor_set(x_311, 7, x_310); +x_312 = lean_st_ref_set(x_4, x_311, x_299); +x_313 = lean_ctor_get(x_312, 1); +lean_inc(x_313); +lean_dec(x_312); +x_11 = x_294; +x_12 = x_313; +goto block_258; } } else { -lean_object* x_318; uint8_t x_319; -lean_dec(x_297); +lean_object* x_314; uint8_t x_315; +lean_dec(x_293); lean_dec(x_10); lean_dec(x_7); lean_dec(x_3); -x_318 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(x_285); -x_319 = !lean_is_exclusive(x_318); -if (x_319 == 0) +x_314 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__8___rarg(x_287); +x_315 = !lean_is_exclusive(x_314); +if (x_315 == 0) { -return x_318; +return x_314; } else { -lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_320 = lean_ctor_get(x_318, 0); -x_321 = lean_ctor_get(x_318, 1); -lean_inc(x_321); -lean_inc(x_320); -lean_dec(x_318); -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_320); -lean_ctor_set(x_322, 1, x_321); -return x_322; +lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_316 = lean_ctor_get(x_314, 0); +x_317 = lean_ctor_get(x_314, 1); +lean_inc(x_317); +lean_inc(x_316); +lean_dec(x_314); +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_316); +lean_ctor_set(x_318, 1, x_317); +return x_318; } } -block_261: +block_258: { -lean_object* x_13; lean_object* x_14; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_190 = lean_unsigned_to_nat(4u); -x_191 = l_Lean_Syntax_getArg(x_2, x_190); -x_192 = lean_st_ref_get(x_4, x_12); -x_193 = lean_ctor_get(x_192, 0); +lean_object* x_13; lean_object* x_14; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_188 = lean_unsigned_to_nat(4u); +x_189 = l_Lean_Syntax_getArg(x_2, x_188); +x_190 = lean_st_ref_get(x_4, x_12); +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +lean_dec(x_190); +x_193 = lean_ctor_get(x_191, 0); lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -lean_dec(x_192); -x_195 = lean_ctor_get(x_193, 0); +lean_dec(x_191); +x_194 = l_Lean_Elab_Command_getScope___rarg(x_4, x_192); +x_195 = lean_ctor_get(x_194, 0); lean_inc(x_195); -lean_dec(x_193); -x_196 = l_Lean_Elab_Command_getScope___rarg(x_4, x_194); -x_197 = lean_ctor_get(x_196, 0); +x_196 = lean_ctor_get(x_194, 1); +lean_inc(x_196); +lean_dec(x_194); +x_197 = lean_ctor_get(x_195, 2); lean_inc(x_197); -x_198 = lean_ctor_get(x_196, 1); -lean_inc(x_198); -lean_dec(x_196); -x_199 = lean_ctor_get(x_197, 2); -lean_inc(x_199); -lean_dec(x_197); -x_200 = l_Lean_Elab_Command_getRef(x_3, x_4, x_198); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_200, 1); -lean_inc(x_202); -lean_dec(x_200); -x_203 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_202); +lean_dec(x_195); +lean_inc(x_193); +x_198 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_198, 0, x_193); +x_199 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_199, 0, x_197); +lean_inc(x_193); +x_200 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_200, 0, x_193); +x_201 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_201, 0, x_198); +lean_ctor_set(x_201, 1, x_199); +lean_ctor_set(x_201, 2, x_200); +x_202 = x_201; +x_203 = l_Lean_Elab_Command_getRef(x_3, x_4, x_196); x_204 = lean_ctor_get(x_203, 0); lean_inc(x_204); x_205 = lean_ctor_get(x_203, 1); lean_inc(x_205); lean_dec(x_203); -x_206 = lean_ctor_get(x_3, 2); -lean_inc(x_206); -x_207 = lean_st_ref_get(x_4, x_205); -x_208 = lean_ctor_get(x_207, 0); +x_206 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_205); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); +lean_dec(x_206); +x_209 = lean_ctor_get(x_3, 2); lean_inc(x_209); -lean_dec(x_207); -x_210 = lean_ctor_get(x_208, 4); -lean_inc(x_210); -lean_dec(x_208); -x_211 = lean_st_ref_get(x_4, x_209); -x_212 = lean_ctor_get(x_211, 0); +x_210 = lean_st_ref_get(x_4, x_208); +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_210, 1); lean_inc(x_212); -x_213 = lean_ctor_get(x_211, 1); +lean_dec(x_210); +x_213 = lean_ctor_get(x_211, 4); lean_inc(x_213); lean_dec(x_211); -x_214 = lean_ctor_get(x_212, 3); -lean_inc(x_214); -lean_dec(x_212); -lean_inc(x_195); -x_215 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_215, 0, x_195); +x_214 = lean_st_ref_get(x_4, x_212); +x_215 = lean_ctor_get(x_214, 0); lean_inc(x_215); -x_216 = x_215; -lean_inc(x_195); -x_217 = lean_environment_main_module(x_195); -x_218 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_218, 0, x_199); -x_219 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_219, 0, x_195); -x_220 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_220, 0, x_215); -lean_ctor_set(x_220, 1, x_218); -lean_ctor_set(x_220, 2, x_219); -x_221 = x_220; -x_222 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_222, 0, x_216); -lean_ctor_set(x_222, 1, x_217); -lean_ctor_set(x_222, 2, x_204); -lean_ctor_set(x_222, 3, x_206); -lean_ctor_set(x_222, 4, x_210); -lean_ctor_set(x_222, 5, x_201); -lean_ctor_set(x_222, 6, x_221); -x_223 = lean_box(0); -x_224 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_224, 0, x_214); -lean_ctor_set(x_224, 1, x_223); -x_225 = l_Lean_Elab_expandOptNamedPrio(x_191, x_222, x_224); -lean_dec(x_191); -if (lean_obj_tag(x_225) == 0) +x_216 = lean_ctor_get(x_214, 1); +lean_inc(x_216); +lean_dec(x_214); +x_217 = lean_ctor_get(x_215, 3); +lean_inc(x_217); +lean_dec(x_215); +x_218 = lean_environment_main_module(x_193); +lean_inc(x_202); +x_219 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_219, 0, x_202); +lean_ctor_set(x_219, 1, x_218); +lean_ctor_set(x_219, 2, x_207); +lean_ctor_set(x_219, 3, x_209); +lean_ctor_set(x_219, 4, x_213); +lean_ctor_set(x_219, 5, x_204); +lean_ctor_set(x_219, 6, x_202); +x_220 = lean_box(0); +x_221 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_221, 0, x_217); +lean_ctor_set(x_221, 1, x_220); +x_222 = l_Lean_Elab_expandOptNamedPrio(x_189, x_219, x_221); +lean_dec(x_189); +if (lean_obj_tag(x_222) == 0) { -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; -x_226 = lean_ctor_get(x_225, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_225, 1); +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +lean_dec(x_222); +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +lean_dec(x_224); +x_226 = lean_st_ref_take(x_4, x_216); +x_227 = lean_ctor_get(x_226, 0); lean_inc(x_227); -lean_dec(x_225); -x_228 = lean_ctor_get(x_227, 0); +x_228 = lean_ctor_get(x_226, 1); lean_inc(x_228); -lean_dec(x_227); -x_229 = lean_st_ref_take(x_4, x_213); -x_230 = lean_ctor_get(x_229, 0); -lean_inc(x_230); -x_231 = lean_ctor_get(x_229, 1); -lean_inc(x_231); -lean_dec(x_229); -x_232 = !lean_is_exclusive(x_230); -if (x_232 == 0) +lean_dec(x_226); +x_229 = !lean_is_exclusive(x_227); +if (x_229 == 0) { -lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_233 = lean_ctor_get(x_230, 3); -lean_dec(x_233); -lean_ctor_set(x_230, 3, x_228); -x_234 = lean_st_ref_set(x_4, x_230, x_231); -x_235 = lean_ctor_get(x_234, 1); -lean_inc(x_235); -lean_dec(x_234); -x_13 = x_226; -x_14 = x_235; -goto block_189; +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_227, 3); +lean_dec(x_230); +lean_ctor_set(x_227, 3, x_225); +x_231 = lean_st_ref_set(x_4, x_227, x_228); +x_232 = lean_ctor_get(x_231, 1); +lean_inc(x_232); +lean_dec(x_231); +x_13 = x_223; +x_14 = x_232; +goto block_187; } else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_236 = lean_ctor_get(x_230, 0); -x_237 = lean_ctor_get(x_230, 1); -x_238 = lean_ctor_get(x_230, 2); -x_239 = lean_ctor_get(x_230, 4); -x_240 = lean_ctor_get(x_230, 5); -x_241 = lean_ctor_get(x_230, 6); -x_242 = lean_ctor_get(x_230, 7); -lean_inc(x_242); -lean_inc(x_241); -lean_inc(x_240); +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +x_233 = lean_ctor_get(x_227, 0); +x_234 = lean_ctor_get(x_227, 1); +x_235 = lean_ctor_get(x_227, 2); +x_236 = lean_ctor_get(x_227, 4); +x_237 = lean_ctor_get(x_227, 5); +x_238 = lean_ctor_get(x_227, 6); +x_239 = lean_ctor_get(x_227, 7); lean_inc(x_239); lean_inc(x_238); lean_inc(x_237); lean_inc(x_236); -lean_dec(x_230); -x_243 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_243, 0, x_236); -lean_ctor_set(x_243, 1, x_237); -lean_ctor_set(x_243, 2, x_238); -lean_ctor_set(x_243, 3, x_228); -lean_ctor_set(x_243, 4, x_239); -lean_ctor_set(x_243, 5, x_240); -lean_ctor_set(x_243, 6, x_241); -lean_ctor_set(x_243, 7, x_242); -x_244 = lean_st_ref_set(x_4, x_243, x_231); -x_245 = lean_ctor_get(x_244, 1); -lean_inc(x_245); -lean_dec(x_244); -x_13 = x_226; -x_14 = x_245; -goto block_189; +lean_inc(x_235); +lean_inc(x_234); +lean_inc(x_233); +lean_dec(x_227); +x_240 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_240, 0, x_233); +lean_ctor_set(x_240, 1, x_234); +lean_ctor_set(x_240, 2, x_235); +lean_ctor_set(x_240, 3, x_225); +lean_ctor_set(x_240, 4, x_236); +lean_ctor_set(x_240, 5, x_237); +lean_ctor_set(x_240, 6, x_238); +lean_ctor_set(x_240, 7, x_239); +x_241 = lean_st_ref_set(x_4, x_240, x_228); +x_242 = lean_ctor_get(x_241, 1); +lean_inc(x_242); +lean_dec(x_241); +x_13 = x_223; +x_14 = x_242; +goto block_187; } } else { -lean_object* x_246; +lean_object* x_243; lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_246 = lean_ctor_get(x_225, 0); -lean_inc(x_246); -lean_dec(x_225); -if (lean_obj_tag(x_246) == 0) +x_243 = lean_ctor_get(x_222, 0); +lean_inc(x_243); +lean_dec(x_222); +if (lean_obj_tag(x_243) == 0) { -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -lean_dec(x_246); -x_249 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_249, 0, x_248); -x_250 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_250, 0, x_249); -x_251 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_247, x_250, x_3, x_4, x_213); -lean_dec(x_247); -x_252 = !lean_is_exclusive(x_251); -if (x_252 == 0) +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; +x_244 = lean_ctor_get(x_243, 0); +lean_inc(x_244); +x_245 = lean_ctor_get(x_243, 1); +lean_inc(x_245); +lean_dec(x_243); +x_246 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_246, 0, x_245); +x_247 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_247, 0, x_246); +x_248 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__1(x_244, x_247, x_3, x_4, x_216); +lean_dec(x_244); +x_249 = !lean_is_exclusive(x_248); +if (x_249 == 0) { -return x_251; +return x_248; } else { -lean_object* x_253; lean_object* x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_251, 0); -x_254 = lean_ctor_get(x_251, 1); -lean_inc(x_254); -lean_inc(x_253); -lean_dec(x_251); -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_253); -lean_ctor_set(x_255, 1, x_254); -return x_255; +lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_250 = lean_ctor_get(x_248, 0); +x_251 = lean_ctor_get(x_248, 1); +lean_inc(x_251); +lean_inc(x_250); +lean_dec(x_248); +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_250); +lean_ctor_set(x_252, 1, x_251); +return x_252; } } else { -lean_object* x_256; uint8_t x_257; +lean_object* x_253; uint8_t x_254; lean_dec(x_3); -x_256 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_213); -x_257 = !lean_is_exclusive(x_256); -if (x_257 == 0) +x_253 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSyntax___spec__3___rarg(x_216); +x_254 = !lean_is_exclusive(x_253); +if (x_254 == 0) { -return x_256; +return x_253; } else { -lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_258 = lean_ctor_get(x_256, 0); -x_259 = lean_ctor_get(x_256, 1); -lean_inc(x_259); -lean_inc(x_258); -lean_dec(x_256); -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_258); -lean_ctor_set(x_260, 1, x_259); -return x_260; +lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_255 = lean_ctor_get(x_253, 0); +x_256 = lean_ctor_get(x_253, 1); +lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_253); +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_255); +lean_ctor_set(x_257, 1, x_256); +return x_257; } } } -block_189: +block_187: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_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; lean_object* x_126; lean_object* x_127; 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; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; x_15 = lean_unsigned_to_nat(5u); x_16 = l_Lean_Syntax_getArg(x_2, x_15); x_17 = lean_unsigned_to_nat(6u); @@ -37690,158 +37672,157 @@ x_23 = l_Lean_Syntax_getArg(x_2, x_22); x_24 = lean_unsigned_to_nat(11u); x_25 = l_Lean_Syntax_getArg(x_2, x_24); x_26 = l_Lean_Syntax_getId(x_21); -x_120 = lean_st_ref_get(x_4, x_14); -x_121 = lean_ctor_get(x_120, 0); +x_119 = lean_st_ref_get(x_4, x_14); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); +lean_dec(x_119); +x_122 = lean_ctor_get(x_120, 0); lean_inc(x_122); lean_dec(x_120); -x_123 = lean_ctor_get(x_121, 0); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_Elab_Command_getScope___rarg(x_4, x_122); -x_125 = lean_ctor_get(x_124, 0); +x_123 = l_Lean_Elab_Command_getScope___rarg(x_4, x_121); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); +lean_dec(x_123); +x_126 = lean_ctor_get(x_124, 2); lean_inc(x_126); lean_dec(x_124); -x_127 = lean_ctor_get(x_125, 2); -lean_inc(x_127); -lean_dec(x_125); -x_128 = l_Lean_Elab_Command_getRef(x_3, x_4, x_126); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); -x_131 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_130); -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_122); +x_127 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_127, 0, x_122); +x_128 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_128, 0, x_126); +lean_inc(x_122); +x_129 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_129, 0, x_122); +x_130 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_130, 2, x_129); +x_131 = x_130; +x_132 = l_Lean_Elab_Command_getRef(x_3, x_4, x_125); +x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_ctor_get(x_3, 2); +x_134 = lean_ctor_get(x_132, 1); lean_inc(x_134); -x_135 = lean_st_ref_get(x_4, x_133); +lean_dec(x_132); +x_135 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_134); x_136 = lean_ctor_get(x_135, 0); lean_inc(x_136); x_137 = lean_ctor_get(x_135, 1); lean_inc(x_137); lean_dec(x_135); -x_138 = lean_ctor_get(x_136, 4); +x_138 = lean_ctor_get(x_3, 2); lean_inc(x_138); -lean_dec(x_136); x_139 = lean_st_ref_get(x_4, x_137); x_140 = lean_ctor_get(x_139, 0); lean_inc(x_140); x_141 = lean_ctor_get(x_139, 1); lean_inc(x_141); lean_dec(x_139); -x_142 = lean_ctor_get(x_140, 3); +x_142 = lean_ctor_get(x_140, 4); lean_inc(x_142); lean_dec(x_140); -lean_inc(x_123); -x_143 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_143, 0, x_123); -lean_inc(x_143); -x_144 = x_143; -lean_inc(x_123); -x_145 = lean_environment_main_module(x_123); -x_146 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_146, 0, x_127); -x_147 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_147, 0, x_123); -x_148 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_148, 0, x_143); -lean_ctor_set(x_148, 1, x_146); -lean_ctor_set(x_148, 2, x_147); -x_149 = x_148; -x_150 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_150, 0, x_144); -lean_ctor_set(x_150, 1, x_145); -lean_ctor_set(x_150, 2, x_132); -lean_ctor_set(x_150, 3, x_134); -lean_ctor_set(x_150, 4, x_138); -lean_ctor_set(x_150, 5, x_129); -lean_ctor_set(x_150, 6, x_149); -x_151 = lean_box(0); -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_142); -lean_ctor_set(x_152, 1, x_151); +x_143 = lean_st_ref_get(x_4, x_141); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +lean_dec(x_143); +x_146 = lean_ctor_get(x_144, 3); +lean_inc(x_146); +lean_dec(x_144); +x_147 = lean_environment_main_module(x_122); +lean_inc(x_131); +x_148 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_148, 0, x_131); +lean_ctor_set(x_148, 1, x_147); +lean_ctor_set(x_148, 2, x_136); +lean_ctor_set(x_148, 3, x_138); +lean_ctor_set(x_148, 4, x_142); +lean_ctor_set(x_148, 5, x_133); +lean_ctor_set(x_148, 6, x_131); +x_149 = lean_box(0); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_146); +lean_ctor_set(x_150, 1, x_149); lean_inc(x_16); -x_153 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_16, x_150, x_152); -lean_dec(x_150); -if (lean_obj_tag(x_153) == 0) +x_151 = l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(x_16, x_148, x_150); +lean_dec(x_148); +if (lean_obj_tag(x_151) == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_151, 1); +lean_inc(x_153); +lean_dec(x_151); x_154 = lean_ctor_get(x_153, 0); lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); lean_dec(x_153); +x_155 = lean_st_ref_take(x_4, x_145); x_156 = lean_ctor_get(x_155, 0); lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); lean_dec(x_155); -x_157 = lean_st_ref_take(x_4, x_141); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = !lean_is_exclusive(x_158); -if (x_160 == 0) +x_158 = !lean_is_exclusive(x_156); +if (x_158 == 0) { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_158, 3); -lean_dec(x_161); -lean_ctor_set(x_158, 3, x_156); -x_162 = lean_st_ref_set(x_4, x_158, x_159); -x_163 = lean_ctor_get(x_162, 1); -lean_inc(x_163); -lean_dec(x_162); -x_27 = x_154; -x_28 = x_163; -goto block_119; +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_156, 3); +lean_dec(x_159); +lean_ctor_set(x_156, 3, x_154); +x_160 = lean_st_ref_set(x_4, x_156, x_157); +x_161 = lean_ctor_get(x_160, 1); +lean_inc(x_161); +lean_dec(x_160); +x_27 = x_152; +x_28 = x_161; +goto block_118; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_164 = lean_ctor_get(x_158, 0); -x_165 = lean_ctor_get(x_158, 1); -x_166 = lean_ctor_get(x_158, 2); -x_167 = lean_ctor_get(x_158, 4); -x_168 = lean_ctor_get(x_158, 5); -x_169 = lean_ctor_get(x_158, 6); -x_170 = lean_ctor_get(x_158, 7); -lean_inc(x_170); -lean_inc(x_169); +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_162 = lean_ctor_get(x_156, 0); +x_163 = lean_ctor_get(x_156, 1); +x_164 = lean_ctor_get(x_156, 2); +x_165 = lean_ctor_get(x_156, 4); +x_166 = lean_ctor_get(x_156, 5); +x_167 = lean_ctor_get(x_156, 6); +x_168 = lean_ctor_get(x_156, 7); lean_inc(x_168); lean_inc(x_167); lean_inc(x_166); lean_inc(x_165); lean_inc(x_164); -lean_dec(x_158); -x_171 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_171, 0, x_164); -lean_ctor_set(x_171, 1, x_165); -lean_ctor_set(x_171, 2, x_166); -lean_ctor_set(x_171, 3, x_156); -lean_ctor_set(x_171, 4, x_167); -lean_ctor_set(x_171, 5, x_168); -lean_ctor_set(x_171, 6, x_169); -lean_ctor_set(x_171, 7, x_170); -x_172 = lean_st_ref_set(x_4, x_171, x_159); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_27 = x_154; -x_28 = x_173; -goto block_119; +lean_inc(x_163); +lean_inc(x_162); +lean_dec(x_156); +x_169 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_169, 0, x_162); +lean_ctor_set(x_169, 1, x_163); +lean_ctor_set(x_169, 2, x_164); +lean_ctor_set(x_169, 3, x_154); +lean_ctor_set(x_169, 4, x_165); +lean_ctor_set(x_169, 5, x_166); +lean_ctor_set(x_169, 6, x_167); +lean_ctor_set(x_169, 7, x_168); +x_170 = lean_st_ref_set(x_4, x_169, x_157); +x_171 = lean_ctor_get(x_170, 1); +lean_inc(x_171); +lean_dec(x_170); +x_27 = x_152; +x_28 = x_171; +goto block_118; } } else { -lean_object* x_174; +lean_object* x_172; lean_dec(x_26); lean_dec(x_25); lean_dec(x_23); @@ -37852,70 +37833,70 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_174 = lean_ctor_get(x_153, 0); +x_172 = lean_ctor_get(x_151, 0); +lean_inc(x_172); +lean_dec(x_151); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); lean_inc(x_174); -lean_dec(x_153); -if (lean_obj_tag(x_174) == 0) +lean_dec(x_172); +x_175 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_175, 0, x_174); +x_176 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_176, 0, x_175); +x_177 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_173, x_176, x_3, x_4, x_145); +lean_dec(x_173); +x_178 = !lean_is_exclusive(x_177); +if (x_178 == 0) { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_177, 0, x_176); -x_178 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_178, 0, x_177); -x_179 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__13(x_175, x_178, x_3, x_4, x_141); -lean_dec(x_175); -x_180 = !lean_is_exclusive(x_179); -if (x_180 == 0) -{ -return x_179; +return x_177; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_181 = lean_ctor_get(x_179, 0); -x_182 = lean_ctor_get(x_179, 1); -lean_inc(x_182); -lean_inc(x_181); -lean_dec(x_179); -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_181); -lean_ctor_set(x_183, 1, x_182); -return x_183; +lean_object* x_179; lean_object* x_180; lean_object* x_181; +x_179 = lean_ctor_get(x_177, 0); +x_180 = lean_ctor_get(x_177, 1); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_177); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_179); +lean_ctor_set(x_181, 1, x_180); +return x_181; } } else { -lean_object* x_184; uint8_t x_185; +lean_object* x_182; uint8_t x_183; lean_dec(x_3); -x_184 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_141); -x_185 = !lean_is_exclusive(x_184); -if (x_185 == 0) +x_182 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__15___rarg(x_145); +x_183 = !lean_is_exclusive(x_182); +if (x_183 == 0) { -return x_184; +return x_182; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_184, 0); -x_187 = lean_ctor_get(x_184, 1); -lean_inc(x_187); -lean_inc(x_186); -lean_dec(x_184); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -return x_188; +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_182, 0); +x_185 = lean_ctor_get(x_182, 1); +lean_inc(x_185); +lean_inc(x_184); +lean_dec(x_182); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; } } } -block_119: +block_118: { -lean_object* x_29; lean_object* x_30; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_object* x_29; lean_object* x_30; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; x_43 = lean_array_get_size(x_19); x_44 = lean_usize_of_nat(x_43); lean_dec(x_43); @@ -37945,139 +37926,138 @@ lean_dec(x_53); x_56 = lean_ctor_get(x_54, 2); lean_inc(x_56); lean_dec(x_54); -x_57 = l_Lean_Elab_Command_getRef(x_3, x_4, x_55); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_59); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_ctor_get(x_3, 2); +lean_inc(x_52); +x_57 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_57, 0, x_52); +x_58 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_58, 0, x_56); +lean_inc(x_52); +x_59 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_59, 0, x_52); +x_60 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +lean_ctor_set(x_60, 2, x_59); +x_61 = x_60; +x_62 = l_Lean_Elab_Command_getRef(x_3, x_4, x_55); +x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); -x_64 = lean_st_ref_get(x_4, x_62); -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = l_Lean_Elab_Command_getCurrMacroScope(x_3, x_4, x_64); +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_65, 4); +x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec(x_65); -x_68 = lean_st_ref_get(x_4, x_66); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +x_68 = lean_ctor_get(x_3, 2); +lean_inc(x_68); +x_69 = lean_st_ref_get(x_4, x_67); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_ctor_get(x_69, 3); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); lean_dec(x_69); -lean_inc(x_52); -x_72 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_72, 0, x_52); +x_72 = lean_ctor_get(x_70, 4); lean_inc(x_72); -x_73 = x_72; -lean_inc(x_52); -x_74 = lean_environment_main_module(x_52); -x_75 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_75, 0, x_56); -x_76 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_76, 0, x_52); -x_77 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_77, 0, x_72); -lean_ctor_set(x_77, 1, x_75); -lean_ctor_set(x_77, 2, x_76); -x_78 = x_77; -x_79 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_79, 0, x_73); -lean_ctor_set(x_79, 1, x_74); -lean_ctor_set(x_79, 2, x_61); -lean_ctor_set(x_79, 3, x_63); -lean_ctor_set(x_79, 4, x_67); -lean_ctor_set(x_79, 5, x_58); -lean_ctor_set(x_79, 6, x_78); -x_80 = lean_box(0); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_71); -lean_ctor_set(x_81, 1, x_80); -x_82 = x_48; -x_83 = lean_apply_2(x_82, x_79, x_81); -if (lean_obj_tag(x_83) == 0) +lean_dec(x_70); +x_73 = lean_st_ref_get(x_4, x_71); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_ctor_get(x_74, 3); +lean_inc(x_76); +lean_dec(x_74); +x_77 = lean_environment_main_module(x_52); +lean_inc(x_61); +x_78 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_78, 0, x_61); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_66); +lean_ctor_set(x_78, 3, x_68); +lean_ctor_set(x_78, 4, x_72); +lean_ctor_set(x_78, 5, x_63); +lean_ctor_set(x_78, 6, x_61); +x_79 = lean_box(0); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_76); +lean_ctor_set(x_80, 1, x_79); +x_81 = x_48; +x_82 = lean_apply_2(x_81, x_78, x_80); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_84 = lean_ctor_get(x_83, 0); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); +lean_dec(x_82); +x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); -lean_dec(x_83); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_st_ref_take(x_4, x_70); -x_88 = lean_ctor_get(x_87, 0); +lean_dec(x_84); +x_86 = lean_st_ref_take(x_4, x_75); +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = !lean_is_exclusive(x_88); -if (x_90 == 0) +lean_dec(x_86); +x_89 = !lean_is_exclusive(x_87); +if (x_89 == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_88, 3); +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_87, 3); +lean_dec(x_90); +lean_ctor_set(x_87, 3, x_85); +x_91 = lean_st_ref_set(x_4, x_87, x_88); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); lean_dec(x_91); -lean_ctor_set(x_88, 3, x_86); -x_92 = lean_st_ref_set(x_4, x_88, x_89); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_29 = x_84; -x_30 = x_93; +x_29 = x_83; +x_30 = x_92; goto block_42; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_94 = lean_ctor_get(x_88, 0); -x_95 = lean_ctor_get(x_88, 1); -x_96 = lean_ctor_get(x_88, 2); -x_97 = lean_ctor_get(x_88, 4); -x_98 = lean_ctor_get(x_88, 5); -x_99 = lean_ctor_get(x_88, 6); -x_100 = lean_ctor_get(x_88, 7); -lean_inc(x_100); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_93 = lean_ctor_get(x_87, 0); +x_94 = lean_ctor_get(x_87, 1); +x_95 = lean_ctor_get(x_87, 2); +x_96 = lean_ctor_get(x_87, 4); +x_97 = lean_ctor_get(x_87, 5); +x_98 = lean_ctor_get(x_87, 6); +x_99 = lean_ctor_get(x_87, 7); lean_inc(x_99); lean_inc(x_98); lean_inc(x_97); lean_inc(x_96); lean_inc(x_95); lean_inc(x_94); -lean_dec(x_88); -x_101 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_101, 0, x_94); -lean_ctor_set(x_101, 1, x_95); -lean_ctor_set(x_101, 2, x_96); -lean_ctor_set(x_101, 3, x_86); -lean_ctor_set(x_101, 4, x_97); -lean_ctor_set(x_101, 5, x_98); -lean_ctor_set(x_101, 6, x_99); -lean_ctor_set(x_101, 7, x_100); -x_102 = lean_st_ref_set(x_4, x_101, x_89); -x_103 = lean_ctor_get(x_102, 1); -lean_inc(x_103); -lean_dec(x_102); -x_29 = x_84; -x_30 = x_103; +lean_inc(x_93); +lean_dec(x_87); +x_100 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_100, 0, x_93); +lean_ctor_set(x_100, 1, x_94); +lean_ctor_set(x_100, 2, x_95); +lean_ctor_set(x_100, 3, x_85); +lean_ctor_set(x_100, 4, x_96); +lean_ctor_set(x_100, 5, x_97); +lean_ctor_set(x_100, 6, x_98); +lean_ctor_set(x_100, 7, x_99); +x_101 = lean_st_ref_set(x_4, x_100, x_88); +x_102 = lean_ctor_get(x_101, 1); +lean_inc(x_102); +lean_dec(x_101); +x_29 = x_83; +x_30 = x_102; goto block_42; } } else { -lean_object* x_104; +lean_object* x_103; lean_dec(x_27); lean_dec(x_26); lean_dec(x_25); @@ -38089,64 +38069,64 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_10); lean_dec(x_7); -x_104 = lean_ctor_get(x_83, 0); +x_103 = lean_ctor_get(x_82, 0); +lean_inc(x_103); +lean_dec(x_82); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_104 = lean_ctor_get(x_103, 0); lean_inc(x_104); -lean_dec(x_83); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_105 = lean_ctor_get(x_104, 0); +x_105 = lean_ctor_get(x_103, 1); lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_103); +x_106 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_107 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_107, 0, x_106); -x_108 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_108, 0, x_107); -x_109 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_105, x_108, x_3, x_4, x_70); -lean_dec(x_105); -x_110 = !lean_is_exclusive(x_109); -if (x_110 == 0) +x_108 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandMacro___spec__2(x_104, x_107, x_3, x_4, x_75); +lean_dec(x_104); +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) { -return x_109; +return x_108; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_109, 0); -x_112 = lean_ctor_get(x_109, 1); -lean_inc(x_112); +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_108, 0); +x_111 = lean_ctor_get(x_108, 1); lean_inc(x_111); -lean_dec(x_109); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); +lean_inc(x_110); +lean_dec(x_108); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +else +{ +lean_object* x_113; uint8_t x_114; +lean_dec(x_3); +x_113 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_75); +x_114 = !lean_is_exclusive(x_113); +if (x_114 == 0) +{ return x_113; } -} else { -lean_object* x_114; uint8_t x_115; -lean_dec(x_3); -x_114 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__4___rarg(x_70); -x_115 = !lean_is_exclusive(x_114); -if (x_115 == 0) -{ -return x_114; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_114, 0); -x_117 = lean_ctor_get(x_114, 1); -lean_inc(x_117); +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_113, 0); +x_116 = lean_ctor_get(x_113, 1); lean_inc(x_116); -lean_dec(x_114); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; +lean_inc(x_115); +lean_dec(x_113); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +return x_117; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index b970561d41..6db9b930f7 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -2368,7 +2368,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_42; lean_object* x_43; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_42; lean_object* x_43; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; x_19 = lean_ctor_get(x_2, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_2, 1); @@ -2395,154 +2395,153 @@ lean_inc(x_58); lean_dec(x_56); x_59 = lean_ctor_get(x_9, 4); lean_inc(x_59); -x_60 = lean_ctor_get(x_9, 3); -lean_inc(x_60); -x_61 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_57); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_ctor_get(x_9, 1); -lean_inc(x_64); -x_65 = lean_ctor_get(x_9, 2); +lean_inc(x_58); +x_60 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_60, 0, x_58); +x_61 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_61, 0, x_59); +lean_inc(x_58); +x_62 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_62, 0, x_58); +x_63 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_63, 2, x_62); +x_64 = x_63; +x_65 = lean_ctor_get(x_9, 3); lean_inc(x_65); -x_66 = lean_st_ref_get(x_10, x_63); +x_66 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_6, x_7, x_8, x_9, x_10, x_57); x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); lean_dec(x_66); -x_69 = lean_ctor_get(x_67, 1); +x_69 = lean_ctor_get(x_9, 1); lean_inc(x_69); -lean_dec(x_67); -lean_inc(x_58); -x_70 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_70, 0, x_58); +x_70 = lean_ctor_get(x_9, 2); lean_inc(x_70); -x_71 = x_70; -lean_inc(x_58); -x_72 = lean_environment_main_module(x_58); -x_73 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_73, 0, x_59); -x_74 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_74, 0, x_58); -x_75 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_75, 0, x_70); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_75, 2, x_74); -x_76 = x_75; -x_77 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_77, 0, x_71); -lean_ctor_set(x_77, 1, x_72); -lean_ctor_set(x_77, 2, x_62); -lean_ctor_set(x_77, 3, x_64); -lean_ctor_set(x_77, 4, x_65); -lean_ctor_set(x_77, 5, x_60); -lean_ctor_set(x_77, 6, x_76); -x_78 = lean_box(0); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_69); -lean_ctor_set(x_79, 1, x_78); +x_71 = lean_st_ref_get(x_10, x_68); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_environment_main_module(x_58); +lean_inc(x_64); +x_76 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_76, 0, x_64); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set(x_76, 2, x_67); +lean_ctor_set(x_76, 3, x_69); +lean_ctor_set(x_76, 4, x_70); +lean_ctor_set(x_76, 5, x_65); +lean_ctor_set(x_76, 6, x_64); +x_77 = lean_box(0); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_74); +lean_ctor_set(x_78, 1, x_77); lean_inc(x_1); -x_80 = lean_apply_3(x_19, x_1, x_77, x_79); -if (lean_obj_tag(x_80) == 0) +x_79 = lean_apply_3(x_19, x_1, x_76, x_78); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_81 = lean_ctor_get(x_80, 0); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); +lean_dec(x_79); +x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_st_ref_take(x_10, x_68); -x_85 = lean_ctor_get(x_84, 0); +lean_dec(x_81); +x_83 = lean_st_ref_take(x_10, x_73); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = !lean_is_exclusive(x_85); -if (x_87 == 0) +lean_dec(x_83); +x_86 = !lean_is_exclusive(x_84); +if (x_86 == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_85, 1); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_84, 1); +lean_dec(x_87); +lean_ctor_set(x_84, 1, x_82); +x_88 = lean_st_ref_set(x_10, x_84, x_85); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); lean_dec(x_88); -lean_ctor_set(x_85, 1, x_83); -x_89 = lean_st_ref_set(x_10, x_85, x_86); -x_90 = lean_ctor_get(x_89, 1); -lean_inc(x_90); -lean_dec(x_89); -x_26 = x_81; -x_27 = x_90; +x_26 = x_80; +x_27 = x_89; goto block_41; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_91 = lean_ctor_get(x_85, 0); -x_92 = lean_ctor_get(x_85, 2); -x_93 = lean_ctor_get(x_85, 3); -lean_inc(x_93); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_90 = lean_ctor_get(x_84, 0); +x_91 = lean_ctor_get(x_84, 2); +x_92 = lean_ctor_get(x_84, 3); lean_inc(x_92); lean_inc(x_91); -lean_dec(x_85); -x_94 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_94, 0, x_91); -lean_ctor_set(x_94, 1, x_83); -lean_ctor_set(x_94, 2, x_92); -lean_ctor_set(x_94, 3, x_93); -x_95 = lean_st_ref_set(x_10, x_94, x_86); -x_96 = lean_ctor_get(x_95, 1); -lean_inc(x_96); -lean_dec(x_95); -x_26 = x_81; -x_27 = x_96; +lean_inc(x_90); +lean_dec(x_84); +x_93 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_82); +lean_ctor_set(x_93, 2, x_91); +lean_ctor_set(x_93, 3, x_92); +x_94 = lean_st_ref_set(x_10, x_93, x_85); +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec(x_94); +x_26 = x_80; +x_27 = x_95; goto block_41; } } else { -lean_object* x_97; -x_97 = lean_ctor_get(x_80, 0); -lean_inc(x_97); -lean_dec(x_80); -if (lean_obj_tag(x_97) == 0) +lean_object* x_96; +x_96 = lean_ctor_get(x_79, 0); +lean_inc(x_96); +lean_dec(x_79); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_98 = lean_ctor_get(x_97, 0); +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_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_96); +x_99 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_100 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_100, 0, x_99); -x_101 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_101, 0, x_100); lean_inc(x_9); -x_102 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_98, x_101, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_68); -lean_dec(x_98); -x_103 = lean_ctor_get(x_102, 0); +x_101 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__1(x_97, x_100, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_73); +lean_dec(x_97); +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_101, 1); lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_42 = x_103; -x_43 = x_104; +lean_dec(x_101); +x_42 = x_102; +x_43 = x_103; goto block_54; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___rarg(x_68); -x_106 = lean_ctor_get(x_105, 0); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_expandTacticMacroFns_loop___spec__3___rarg(x_73); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_42 = x_106; -x_43 = x_107; +lean_dec(x_104); +x_42 = x_105; +x_43 = x_106; goto block_54; } } @@ -19853,7 +19852,7 @@ return x_5; lean_object* l_Lean_Elab_Tactic_evalIntroMatch(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; x_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); x_13 = lean_st_ref_get(x_9, x_10); @@ -19867,115 +19866,114 @@ lean_inc(x_16); lean_dec(x_14); x_17 = lean_ctor_get(x_8, 4); lean_inc(x_17); -x_18 = lean_ctor_get(x_8, 3); -lean_inc(x_18); -x_19 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_15); -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 = lean_ctor_get(x_8, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_8, 2); +lean_inc(x_16); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_18, 0, x_16); +x_19 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_19, 0, x_17); +lean_inc(x_16); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_20, 0, x_16); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +x_22 = x_21; +x_23 = lean_ctor_get(x_8, 3); lean_inc(x_23); -x_24 = lean_st_ref_get(x_9, x_21); +x_24 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_15); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = lean_ctor_get(x_25, 1); +x_27 = lean_ctor_get(x_8, 1); lean_inc(x_27); -lean_dec(x_25); -lean_inc(x_16); -x_28 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_28, 0, x_16); +x_28 = lean_ctor_get(x_8, 2); lean_inc(x_28); -x_29 = x_28; -lean_inc(x_16); -x_30 = lean_environment_main_module(x_16); -x_31 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_31, 0, x_17); -x_32 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_32, 0, x_16); -x_33 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_31); -lean_ctor_set(x_33, 2, x_32); -x_34 = x_33; -x_35 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_35, 0, x_29); -lean_ctor_set(x_35, 1, x_30); -lean_ctor_set(x_35, 2, x_20); -lean_ctor_set(x_35, 3, x_22); -lean_ctor_set(x_35, 4, x_23); -lean_ctor_set(x_35, 5, x_18); -lean_ctor_set(x_35, 6, x_34); -x_36 = lean_box(0); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_27); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(x_1, x_12, x_35, x_37); -x_39 = lean_ctor_get(x_38, 0); +x_29 = lean_st_ref_get(x_9, x_26); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_environment_main_module(x_16); +lean_inc(x_22); +x_34 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_25); +lean_ctor_set(x_34, 3, x_27); +lean_ctor_set(x_34, 4, x_28); +lean_ctor_set(x_34, 5, x_23); +lean_ctor_set(x_34, 6, x_22); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_32); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(x_1, x_12, x_34, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_dec(x_37); +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_st_ref_take(x_9, x_26); -x_43 = lean_ctor_get(x_42, 0); +lean_dec(x_39); +x_41 = lean_st_ref_take(x_9, x_31); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = !lean_is_exclusive(x_43); -if (x_45 == 0) +lean_dec(x_41); +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_46 = lean_ctor_get(x_43, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_42, 1); +lean_dec(x_45); +lean_ctor_set(x_42, 1, x_40); +x_46 = lean_st_ref_set(x_9, x_42, x_43); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); lean_dec(x_46); -lean_ctor_set(x_43, 1, x_41); -x_47 = lean_st_ref_set(x_9, x_43, x_44); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -lean_inc(x_39); +lean_inc(x_38); lean_inc(x_1); -x_49 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); -lean_closure_set(x_49, 0, x_1); -lean_closure_set(x_49, 1, x_39); -x_50 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_39, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_48); -return x_50; +x_48 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); +lean_closure_set(x_48, 0, x_1); +lean_closure_set(x_48, 1, x_38); +x_49 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_38, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_47); +return x_49; } 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; -x_51 = lean_ctor_get(x_43, 0); -x_52 = lean_ctor_get(x_43, 2); -x_53 = lean_ctor_get(x_43, 3); -lean_inc(x_53); +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_50 = lean_ctor_get(x_42, 0); +x_51 = lean_ctor_get(x_42, 2); +x_52 = lean_ctor_get(x_42, 3); lean_inc(x_52); lean_inc(x_51); -lean_dec(x_43); -x_54 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_41); -lean_ctor_set(x_54, 2, x_52); -lean_ctor_set(x_54, 3, x_53); -x_55 = lean_st_ref_set(x_9, x_54, x_44); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -lean_dec(x_55); -lean_inc(x_39); +lean_inc(x_50); +lean_dec(x_42); +x_53 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_40); +lean_ctor_set(x_53, 2, x_51); +lean_ctor_set(x_53, 3, x_52); +x_54 = lean_st_ref_set(x_9, x_53, x_43); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +lean_inc(x_38); lean_inc(x_1); -x_57 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); -lean_closure_set(x_57, 0, x_1); -lean_closure_set(x_57, 1, x_39); -x_58 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_39, x_57, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_56); -return x_58; +x_56 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_adaptExpander___lambda__1), 11, 2); +lean_closure_set(x_56, 0, x_1); +lean_closure_set(x_56, 1, x_38); +x_57 = l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(x_1, x_38, x_56, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_55); +return x_57; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index fe5d66cf71..1ab0afadb9 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -2192,7 +2192,7 @@ lean_object* x_11; x_11 = l_Lean_Elab_Tactic_getMainTag(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); @@ -2209,133 +2209,132 @@ lean_inc(x_43); lean_dec(x_41); x_44 = lean_ctor_get(x_8, 4); lean_inc(x_44); -x_45 = lean_ctor_get(x_8, 3); -lean_inc(x_45); -x_46 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_42); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_ctor_get(x_8, 1); -lean_inc(x_49); -x_50 = lean_ctor_get(x_8, 2); +lean_inc(x_43); +x_45 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_45, 0, x_43); +x_46 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_46, 0, x_44); +lean_inc(x_43); +x_47 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_47, 0, x_43); +x_48 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_47); +x_49 = x_48; +x_50 = lean_ctor_get(x_8, 3); lean_inc(x_50); -x_51 = lean_st_ref_get(x_9, x_48); +x_51 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_42); x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); lean_dec(x_51); -x_54 = lean_ctor_get(x_52, 1); +x_54 = lean_ctor_get(x_8, 1); lean_inc(x_54); -lean_dec(x_52); -lean_inc(x_43); -x_55 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_55, 0, x_43); +x_55 = lean_ctor_get(x_8, 2); lean_inc(x_55); -x_56 = x_55; -lean_inc(x_43); -x_57 = lean_environment_main_module(x_43); -x_58 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_58, 0, x_44); -x_59 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_59, 0, x_43); -x_60 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_60, 0, x_55); -lean_ctor_set(x_60, 1, x_58); -lean_ctor_set(x_60, 2, x_59); -x_61 = x_60; -x_62 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_62, 0, x_56); -lean_ctor_set(x_62, 1, x_57); -lean_ctor_set(x_62, 2, x_47); -lean_ctor_set(x_62, 3, x_49); -lean_ctor_set(x_62, 4, x_50); -lean_ctor_set(x_62, 5, x_45); -lean_ctor_set(x_62, 6, x_61); -x_63 = lean_box(0); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_54); -lean_ctor_set(x_64, 1, x_63); +x_56 = lean_st_ref_get(x_9, x_53); +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 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_environment_main_module(x_43); +lean_inc(x_49); +x_61 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_61, 0, x_49); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_52); +lean_ctor_set(x_61, 3, x_54); +lean_ctor_set(x_61, 4, x_55); +lean_ctor_set(x_61, 5, x_50); +lean_ctor_set(x_61, 6, x_49); +x_62 = lean_box(0); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_59); +lean_ctor_set(x_63, 1, x_62); lean_inc(x_1); -x_65 = l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm(x_12, x_1, x_62, x_64); -if (lean_obj_tag(x_65) == 0) +x_64 = l___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm(x_12, x_1, x_61, x_63); +if (lean_obj_tag(x_64) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; -x_66 = lean_ctor_get(x_65, 0); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); +lean_dec(x_64); +x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_take(x_9, x_53); -x_70 = lean_ctor_get(x_69, 0); +lean_dec(x_66); +x_68 = lean_st_ref_take(x_9, x_58); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = !lean_is_exclusive(x_70); -if (x_72 == 0) +lean_dec(x_68); +x_71 = !lean_is_exclusive(x_69); +if (x_71 == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_70, 1); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_69, 1); +lean_dec(x_72); +lean_ctor_set(x_69, 1, x_67); +x_73 = lean_st_ref_set(x_9, x_69, x_70); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); lean_dec(x_73); -lean_ctor_set(x_70, 1, x_68); -x_74 = lean_st_ref_set(x_9, x_70, x_71); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_14 = x_66; -x_15 = x_75; +x_14 = x_65; +x_15 = x_74; goto block_39; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_76 = lean_ctor_get(x_70, 0); -x_77 = lean_ctor_get(x_70, 2); -x_78 = lean_ctor_get(x_70, 3); -lean_inc(x_78); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_75 = lean_ctor_get(x_69, 0); +x_76 = lean_ctor_get(x_69, 2); +x_77 = lean_ctor_get(x_69, 3); lean_inc(x_77); lean_inc(x_76); -lean_dec(x_70); -x_79 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_68); -lean_ctor_set(x_79, 2, x_77); -lean_ctor_set(x_79, 3, x_78); -x_80 = lean_st_ref_set(x_9, x_79, x_71); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_14 = x_66; -x_15 = x_81; +lean_inc(x_75); +lean_dec(x_69); +x_78 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_78, 0, x_75); +lean_ctor_set(x_78, 1, x_67); +lean_ctor_set(x_78, 2, x_76); +lean_ctor_set(x_78, 3, x_77); +x_79 = lean_st_ref_set(x_9, x_78, x_70); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_14 = x_65; +x_15 = x_80; goto block_39; } } else { -lean_object* x_82; +lean_object* x_81; lean_dec(x_1); -x_82 = lean_ctor_get(x_65, 0); -lean_inc(x_82); -lean_dec(x_65); -if (lean_obj_tag(x_82) == 0) +x_81 = lean_ctor_get(x_64, 0); +lean_inc(x_81); +lean_dec(x_64); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_83 = lean_ctor_get(x_82, 0); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_81); +x_84 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_84, 0, x_83); +x_85 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_85, 0, x_84); -x_86 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_86, 0, x_85); -x_87 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__1(x_83, x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +x_86 = l_Lean_throwErrorAt___at_Lean_Elab_Tactic_evalMatch___spec__1(x_82, x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_58); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -2343,29 +2342,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_83); -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) +lean_dec(x_82); +x_87 = !lean_is_exclusive(x_86); +if (x_87 == 0) { -return x_87; +return x_86; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_87, 0); -x_90 = lean_ctor_get(x_87, 1); -lean_inc(x_90); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_86, 0); +x_89 = lean_ctor_get(x_86, 1); lean_inc(x_89); -lean_dec(x_87); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; +lean_inc(x_88); +lean_dec(x_86); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } else { -lean_object* x_92; uint8_t x_93; +lean_object* x_91; uint8_t x_92; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2374,24 +2373,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_92 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg(x_53); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) +x_91 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalMatch___spec__3___rarg(x_58); +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) { -return x_92; +return x_91; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_92, 0); -x_95 = lean_ctor_get(x_92, 1); -lean_inc(x_95); +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_91, 0); +x_94 = lean_ctor_get(x_91, 1); lean_inc(x_94); -lean_dec(x_92); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +lean_inc(x_93); +lean_dec(x_91); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +return x_95; } } } @@ -2447,7 +2446,7 @@ return x_38; } else { -uint8_t x_97; +uint8_t x_96; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2457,23 +2456,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_97 = !lean_is_exclusive(x_11); -if (x_97 == 0) +x_96 = !lean_is_exclusive(x_11); +if (x_96 == 0) { return x_11; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_11, 0); -x_99 = lean_ctor_get(x_11, 1); -lean_inc(x_99); +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_11, 0); +x_98 = lean_ctor_get(x_11, 1); lean_inc(x_98); +lean_inc(x_97); lean_dec(x_11); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } } diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index cb7279df41..c242a42deb 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -27124,7 +27124,7 @@ x_16 = lean_nat_add(x_1, x_15); x_17 = !lean_is_exclusive(x_12); if (x_17 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_266; lean_object* x_267; lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_263; lean_object* x_264; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; x_18 = lean_ctor_get(x_12, 2); x_19 = lean_ctor_get(x_12, 3); x_20 = lean_ctor_get(x_12, 4); @@ -27135,45 +27135,45 @@ lean_inc(x_19); lean_inc(x_18); lean_inc(x_16); lean_ctor_set(x_12, 1, x_16); -x_287 = lean_st_ref_get(x_13, x_14); -x_288 = lean_ctor_get(x_287, 0); -lean_inc(x_288); -x_289 = lean_ctor_get(x_288, 3); -lean_inc(x_289); -lean_dec(x_288); -x_290 = lean_ctor_get_uint8(x_289, sizeof(void*)*1); -lean_dec(x_289); -if (x_290 == 0) +x_284 = lean_st_ref_get(x_13, x_14); +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_285, 3); +lean_inc(x_286); +lean_dec(x_285); +x_287 = lean_ctor_get_uint8(x_286, sizeof(void*)*1); +lean_dec(x_286); +if (x_287 == 0) { -lean_object* x_291; uint8_t x_292; -x_291 = lean_ctor_get(x_287, 1); -lean_inc(x_291); -lean_dec(x_287); -x_292 = 0; -x_266 = x_292; -x_267 = x_291; -goto block_286; +lean_object* x_288; uint8_t x_289; +x_288 = lean_ctor_get(x_284, 1); +lean_inc(x_288); +lean_dec(x_284); +x_289 = 0; +x_263 = x_289; +x_264 = x_288; +goto block_283; } else { -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; -x_293 = lean_ctor_get(x_287, 1); -lean_inc(x_293); -lean_dec(x_287); +lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; +x_290 = lean_ctor_get(x_284, 1); +lean_inc(x_290); +lean_dec(x_284); lean_inc(x_6); -x_294 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_293); -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_294, 1); -lean_inc(x_296); -lean_dec(x_294); -x_297 = lean_unbox(x_295); -lean_dec(x_295); -x_266 = x_297; -x_267 = x_296; -goto block_286; +x_291 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_290); +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_291, 1); +lean_inc(x_293); +lean_dec(x_291); +x_294 = lean_unbox(x_292); +lean_dec(x_292); +x_263 = x_294; +x_264 = x_293; +goto block_283; } -block_265: +block_262: { lean_object* x_23; lean_object* x_24; x_23 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; @@ -27220,7 +27220,7 @@ lean_dec(x_83); x_84 = !lean_is_exclusive(x_80); if (x_84 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_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_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; x_85 = lean_ctor_get(x_80, 0); lean_dec(x_85); x_86 = l_Std_PersistentArray_empty___closed__1; @@ -27247,334 +27247,332 @@ lean_dec(x_93); x_96 = lean_ctor_get(x_94, 0); lean_inc(x_96); lean_dec(x_94); -x_97 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_95); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_st_ref_get(x_13, x_99); -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_96); +x_97 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_97, 0, x_96); +x_98 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_98, 0, x_20); +lean_inc(x_96); +x_99 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_99, 0, x_96); +x_100 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +lean_ctor_set(x_100, 2, x_99); +x_101 = x_100; +x_102 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_95); +x_103 = lean_ctor_get(x_102, 0); lean_inc(x_103); -lean_dec(x_101); -lean_inc(x_96); -x_104 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_104, 0, x_96); +x_104 = lean_ctor_get(x_102, 1); lean_inc(x_104); -x_105 = x_104; -lean_inc(x_96); -x_106 = lean_environment_main_module(x_96); -x_107 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_107, 0, x_20); -x_108 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_108, 0, x_96); -x_109 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_109, 0, x_104); -lean_ctor_set(x_109, 1, x_107); -lean_ctor_set(x_109, 2, x_108); -x_110 = x_109; +lean_dec(x_102); +x_105 = lean_st_ref_get(x_13, x_104); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_environment_main_module(x_96); lean_inc(x_19); -x_111 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_111, 0, x_105); -lean_ctor_set(x_111, 1, x_106); -lean_ctor_set(x_111, 2, x_98); -lean_ctor_set(x_111, 3, x_16); -lean_ctor_set(x_111, 4, x_18); -lean_ctor_set(x_111, 5, x_19); -lean_ctor_set(x_111, 6, x_110); -x_112 = lean_box(0); -x_113 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_113, 0, x_103); -lean_ctor_set(x_113, 1, x_112); +lean_inc(x_101); +x_110 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_110, 0, x_101); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set(x_110, 2, x_103); +lean_ctor_set(x_110, 3, x_16); +lean_ctor_set(x_110, 4, x_18); +lean_ctor_set(x_110, 5, x_19); +lean_ctor_set(x_110, 6, x_101); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_108); +lean_ctor_set(x_112, 1, x_111); lean_inc(x_2); -x_114 = l_Lean_Elab_getMacros(x_92, x_2, x_111, x_113); +x_113 = l_Lean_Elab_getMacros(x_92, x_2, x_110, x_112); lean_dec(x_92); -if (lean_obj_tag(x_114) == 0) +if (lean_obj_tag(x_113) == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_dec(x_29); -x_115 = lean_ctor_get(x_114, 0); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_113, 1); lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); +lean_dec(x_113); +x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -lean_dec(x_116); -x_118 = lean_st_ref_take(x_13, x_102); -x_119 = lean_ctor_get(x_118, 0); +lean_dec(x_115); +x_117 = lean_st_ref_take(x_13, x_107); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -lean_dec(x_118); -x_121 = !lean_is_exclusive(x_119); -if (x_121 == 0) +lean_dec(x_117); +x_120 = !lean_is_exclusive(x_118); +if (x_120 == 0) { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_122 = lean_ctor_get(x_119, 1); +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_121 = lean_ctor_get(x_118, 1); +lean_dec(x_121); +lean_ctor_set(x_118, 1, x_116); +x_122 = lean_st_ref_set(x_13, x_118, x_119); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); lean_dec(x_122); -lean_ctor_set(x_119, 1, x_117); -x_123 = lean_st_ref_set(x_13, x_119, x_120); -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_125 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_125, 0, x_115); -x_48 = x_125; -x_49 = x_124; +x_124 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_124, 0, x_114); +x_48 = x_124; +x_49 = x_123; goto block_68; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_126 = lean_ctor_get(x_119, 0); -x_127 = lean_ctor_get(x_119, 2); -x_128 = lean_ctor_get(x_119, 3); -lean_inc(x_128); +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_125 = lean_ctor_get(x_118, 0); +x_126 = lean_ctor_get(x_118, 2); +x_127 = lean_ctor_get(x_118, 3); lean_inc(x_127); lean_inc(x_126); -lean_dec(x_119); -x_129 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_129, 0, x_126); -lean_ctor_set(x_129, 1, x_117); -lean_ctor_set(x_129, 2, x_127); -lean_ctor_set(x_129, 3, x_128); -x_130 = lean_st_ref_set(x_13, x_129, x_120); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_132, 0, x_115); -x_48 = x_132; -x_49 = x_131; +lean_inc(x_125); +lean_dec(x_118); +x_128 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_128, 0, x_125); +lean_ctor_set(x_128, 1, x_116); +lean_ctor_set(x_128, 2, x_126); +lean_ctor_set(x_128, 3, x_127); +x_129 = lean_st_ref_set(x_13, x_128, x_119); +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +lean_dec(x_129); +x_131 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_131, 0, x_114); +x_48 = x_131; +x_49 = x_130; goto block_68; } } else { -lean_object* x_133; -x_133 = lean_ctor_get(x_114, 0); -lean_inc(x_133); -lean_dec(x_114); -if (lean_obj_tag(x_133) == 0) +lean_object* x_132; +x_132 = lean_ctor_get(x_113, 0); +lean_inc(x_132); +lean_dec(x_113); +if (lean_obj_tag(x_132) == 0) { -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_134 = lean_ctor_get(x_133, 0); +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; +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_132); +x_135 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_135, 0, x_134); +x_136 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_136, 0, x_135); -x_137 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_137, 0, x_136); lean_inc(x_12); lean_inc(x_8); -x_138 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_134, x_137, x_8, x_9, x_10, x_11, x_12, x_13, x_102); -lean_dec(x_134); -x_139 = lean_ctor_get(x_138, 0); +x_137 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_133, x_136, x_8, x_9, x_10, x_11, x_12, x_13, x_107); +lean_dec(x_133); +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_69 = x_139; -x_70 = x_140; +lean_dec(x_137); +x_69 = x_138; +x_70 = x_139; goto block_77; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_102); -x_142 = lean_ctor_get(x_141, 0); +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_107); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_69 = x_142; -x_70 = x_143; +lean_dec(x_140); +x_69 = x_141; +x_70 = x_142; goto block_77; } } } else { -uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_144 = lean_ctor_get_uint8(x_80, sizeof(void*)*1); +uint8_t x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_143 = lean_ctor_get_uint8(x_80, sizeof(void*)*1); lean_dec(x_80); -x_145 = l_Std_PersistentArray_empty___closed__1; -x_146 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set_uint8(x_146, sizeof(void*)*1, x_144); -lean_ctor_set(x_79, 3, x_146); -x_147 = lean_st_ref_set(x_13, x_79, x_81); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_149 = lean_st_ref_get(x_13, x_148); -x_150 = lean_ctor_get(x_149, 0); +x_144 = l_Std_PersistentArray_empty___closed__1; +x_145 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set_uint8(x_145, sizeof(void*)*1, x_143); +lean_ctor_set(x_79, 3, x_145); +x_146 = lean_st_ref_set(x_13, x_79, x_81); +x_147 = lean_ctor_get(x_146, 1); +lean_inc(x_147); +lean_dec(x_146); +x_148 = lean_st_ref_get(x_13, x_147); +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); lean_inc(x_150); -x_151 = lean_ctor_get(x_149, 1); +lean_dec(x_148); +x_151 = lean_ctor_get(x_149, 0); lean_inc(x_151); lean_dec(x_149); -x_152 = lean_ctor_get(x_150, 0); -lean_inc(x_152); -lean_dec(x_150); -x_153 = lean_st_ref_get(x_13, x_151); -x_154 = lean_ctor_get(x_153, 0); +x_152 = lean_st_ref_get(x_13, x_150); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); +lean_dec(x_152); +x_155 = lean_ctor_get(x_153, 0); lean_inc(x_155); lean_dec(x_153); -x_156 = lean_ctor_get(x_154, 0); -lean_inc(x_156); -lean_dec(x_154); -x_157 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_155); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_st_ref_get(x_13, x_159); -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_155); +x_156 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_156, 0, x_155); +x_157 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_157, 0, x_20); +lean_inc(x_155); +x_158 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_158, 0, x_155); +x_159 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +lean_ctor_set(x_159, 2, x_158); +x_160 = x_159; +x_161 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_154); +x_162 = lean_ctor_get(x_161, 0); lean_inc(x_162); -lean_dec(x_160); x_163 = lean_ctor_get(x_161, 1); lean_inc(x_163); lean_dec(x_161); -lean_inc(x_156); -x_164 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_164, 0, x_156); -lean_inc(x_164); -x_165 = x_164; -lean_inc(x_156); -x_166 = lean_environment_main_module(x_156); -x_167 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_167, 0, x_20); -x_168 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_168, 0, x_156); -x_169 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_169, 0, x_164); -lean_ctor_set(x_169, 1, x_167); -lean_ctor_set(x_169, 2, x_168); -x_170 = x_169; +x_164 = lean_st_ref_get(x_13, x_163); +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +lean_dec(x_164); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = lean_environment_main_module(x_155); lean_inc(x_19); -x_171 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_171, 0, x_165); -lean_ctor_set(x_171, 1, x_166); -lean_ctor_set(x_171, 2, x_158); -lean_ctor_set(x_171, 3, x_16); -lean_ctor_set(x_171, 4, x_18); -lean_ctor_set(x_171, 5, x_19); -lean_ctor_set(x_171, 6, x_170); -x_172 = lean_box(0); -x_173 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_173, 0, x_163); -lean_ctor_set(x_173, 1, x_172); +lean_inc(x_160); +x_169 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_169, 0, x_160); +lean_ctor_set(x_169, 1, x_168); +lean_ctor_set(x_169, 2, x_162); +lean_ctor_set(x_169, 3, x_16); +lean_ctor_set(x_169, 4, x_18); +lean_ctor_set(x_169, 5, x_19); +lean_ctor_set(x_169, 6, x_160); +x_170 = lean_box(0); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_167); +lean_ctor_set(x_171, 1, x_170); lean_inc(x_2); -x_174 = l_Lean_Elab_getMacros(x_152, x_2, x_171, x_173); -lean_dec(x_152); -if (lean_obj_tag(x_174) == 0) +x_172 = l_Lean_Elab_getMacros(x_151, x_2, x_169, x_171); +lean_dec(x_151); +if (lean_obj_tag(x_172) == 0) { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_dec(x_29); +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); x_175 = lean_ctor_get(x_174, 0); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); lean_dec(x_174); +x_176 = lean_st_ref_take(x_13, x_166); x_177 = lean_ctor_get(x_176, 0); lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); lean_dec(x_176); -x_178 = lean_st_ref_take(x_13, x_162); -x_179 = lean_ctor_get(x_178, 0); +x_179 = lean_ctor_get(x_177, 0); lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); +x_180 = lean_ctor_get(x_177, 2); lean_inc(x_180); -lean_dec(x_178); -x_181 = lean_ctor_get(x_179, 0); +x_181 = lean_ctor_get(x_177, 3); lean_inc(x_181); -x_182 = lean_ctor_get(x_179, 2); -lean_inc(x_182); -x_183 = lean_ctor_get(x_179, 3); -lean_inc(x_183); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - lean_ctor_release(x_179, 2); - lean_ctor_release(x_179, 3); - x_184 = x_179; +if (lean_is_exclusive(x_177)) { + lean_ctor_release(x_177, 0); + lean_ctor_release(x_177, 1); + lean_ctor_release(x_177, 2); + lean_ctor_release(x_177, 3); + x_182 = x_177; } else { - lean_dec_ref(x_179); - x_184 = lean_box(0); + lean_dec_ref(x_177); + x_182 = lean_box(0); } -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_182)) { + x_183 = lean_alloc_ctor(0, 4, 0); } else { - x_185 = x_184; + x_183 = x_182; } -lean_ctor_set(x_185, 0, x_181); -lean_ctor_set(x_185, 1, x_177); -lean_ctor_set(x_185, 2, x_182); -lean_ctor_set(x_185, 3, x_183); -x_186 = lean_st_ref_set(x_13, x_185, x_180); -x_187 = lean_ctor_get(x_186, 1); -lean_inc(x_187); -lean_dec(x_186); -x_188 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_188, 0, x_175); -x_48 = x_188; -x_49 = x_187; +lean_ctor_set(x_183, 0, x_179); +lean_ctor_set(x_183, 1, x_175); +lean_ctor_set(x_183, 2, x_180); +lean_ctor_set(x_183, 3, x_181); +x_184 = lean_st_ref_set(x_13, x_183, x_178); +x_185 = lean_ctor_get(x_184, 1); +lean_inc(x_185); +lean_dec(x_184); +x_186 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_186, 0, x_173); +x_48 = x_186; +x_49 = x_185; goto block_68; } else { -lean_object* x_189; -x_189 = lean_ctor_get(x_174, 0); -lean_inc(x_189); -lean_dec(x_174); -if (lean_obj_tag(x_189) == 0) +lean_object* x_187; +x_187 = lean_ctor_get(x_172, 0); +lean_inc(x_187); +lean_dec(x_172); +if (lean_obj_tag(x_187) == 0) { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); -x_192 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_192, 0, x_191); -x_193 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_193, 0, x_192); +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_188 = lean_ctor_get(x_187, 0); +lean_inc(x_188); +x_189 = lean_ctor_get(x_187, 1); +lean_inc(x_189); +lean_dec(x_187); +x_190 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_190, 0, x_189); +x_191 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_191, 0, x_190); lean_inc(x_12); lean_inc(x_8); -x_194 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_190, x_193, x_8, x_9, x_10, x_11, x_12, x_13, x_162); -lean_dec(x_190); -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); +x_192 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_188, x_191, x_8, x_9, x_10, x_11, x_12, x_13, x_166); +lean_dec(x_188); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_69 = x_193; +x_70 = x_194; +goto block_77; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_166); +x_196 = lean_ctor_get(x_195, 0); lean_inc(x_196); -lean_dec(x_194); -x_69 = x_195; -x_70 = x_196; -goto block_77; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_197 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_162); -x_198 = lean_ctor_get(x_197, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_197, 1); -lean_inc(x_199); -lean_dec(x_197); -x_69 = x_198; -x_70 = x_199; +x_197 = lean_ctor_get(x_195, 1); +lean_inc(x_197); +lean_dec(x_195); +x_69 = x_196; +x_70 = x_197; goto block_77; } } @@ -27582,179 +27580,191 @@ goto block_77; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_200 = lean_ctor_get(x_79, 0); -x_201 = lean_ctor_get(x_79, 1); -x_202 = lean_ctor_get(x_79, 2); -lean_inc(x_202); -lean_inc(x_201); +lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_198 = lean_ctor_get(x_79, 0); +x_199 = lean_ctor_get(x_79, 1); +x_200 = lean_ctor_get(x_79, 2); lean_inc(x_200); +lean_inc(x_199); +lean_inc(x_198); lean_dec(x_79); -x_203 = lean_ctor_get_uint8(x_80, sizeof(void*)*1); +x_201 = lean_ctor_get_uint8(x_80, sizeof(void*)*1); if (lean_is_exclusive(x_80)) { lean_ctor_release(x_80, 0); - x_204 = x_80; + x_202 = x_80; } else { lean_dec_ref(x_80); - x_204 = lean_box(0); + x_202 = lean_box(0); } -x_205 = l_Std_PersistentArray_empty___closed__1; -if (lean_is_scalar(x_204)) { - x_206 = lean_alloc_ctor(0, 1, 1); +x_203 = l_Std_PersistentArray_empty___closed__1; +if (lean_is_scalar(x_202)) { + x_204 = lean_alloc_ctor(0, 1, 1); } else { - x_206 = x_204; + x_204 = x_202; } -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set_uint8(x_206, sizeof(void*)*1, x_203); -x_207 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_207, 0, x_200); -lean_ctor_set(x_207, 1, x_201); -lean_ctor_set(x_207, 2, x_202); -lean_ctor_set(x_207, 3, x_206); -x_208 = lean_st_ref_set(x_13, x_207, x_81); -x_209 = lean_ctor_get(x_208, 1); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set_uint8(x_204, sizeof(void*)*1, x_201); +x_205 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_205, 0, x_198); +lean_ctor_set(x_205, 1, x_199); +lean_ctor_set(x_205, 2, x_200); +lean_ctor_set(x_205, 3, x_204); +x_206 = lean_st_ref_set(x_13, x_205, x_81); +x_207 = lean_ctor_get(x_206, 1); +lean_inc(x_207); +lean_dec(x_206); +x_208 = lean_st_ref_get(x_13, x_207); +x_209 = lean_ctor_get(x_208, 0); lean_inc(x_209); +x_210 = lean_ctor_get(x_208, 1); +lean_inc(x_210); lean_dec(x_208); -x_210 = lean_st_ref_get(x_13, x_209); -x_211 = lean_ctor_get(x_210, 0); +x_211 = lean_ctor_get(x_209, 0); lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 1); -lean_inc(x_212); -lean_dec(x_210); -x_213 = lean_ctor_get(x_211, 0); +lean_dec(x_209); +x_212 = lean_st_ref_get(x_13, x_210); +x_213 = lean_ctor_get(x_212, 0); lean_inc(x_213); -lean_dec(x_211); -x_214 = lean_st_ref_get(x_13, x_212); -x_215 = lean_ctor_get(x_214, 0); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = lean_ctor_get(x_213, 0); lean_inc(x_215); -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_ctor_get(x_215, 0); -lean_inc(x_217); -lean_dec(x_215); -x_218 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_216); -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = lean_st_ref_get(x_13, x_220); +lean_dec(x_213); +lean_inc(x_215); +x_216 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_216, 0, x_215); +x_217 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_217, 0, x_20); +lean_inc(x_215); +x_218 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_218, 0, x_215); +x_219 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_219, 0, x_216); +lean_ctor_set(x_219, 1, x_217); +lean_ctor_set(x_219, 2, x_218); +x_220 = x_219; +x_221 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_12, x_13, x_214); x_222 = lean_ctor_get(x_221, 0); lean_inc(x_222); x_223 = lean_ctor_get(x_221, 1); lean_inc(x_223); lean_dec(x_221); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -lean_dec(x_222); -lean_inc(x_217); -x_225 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_225, 0, x_217); +x_224 = lean_st_ref_get(x_13, x_223); +x_225 = lean_ctor_get(x_224, 0); lean_inc(x_225); -x_226 = x_225; -lean_inc(x_217); -x_227 = lean_environment_main_module(x_217); -x_228 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_228, 0, x_20); -x_229 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_229, 0, x_217); -x_230 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_230, 0, x_225); -lean_ctor_set(x_230, 1, x_228); -lean_ctor_set(x_230, 2, x_229); -x_231 = x_230; +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +lean_dec(x_225); +x_228 = lean_environment_main_module(x_215); lean_inc(x_19); -x_232 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_232, 0, x_226); -lean_ctor_set(x_232, 1, x_227); -lean_ctor_set(x_232, 2, x_219); -lean_ctor_set(x_232, 3, x_16); -lean_ctor_set(x_232, 4, x_18); -lean_ctor_set(x_232, 5, x_19); -lean_ctor_set(x_232, 6, x_231); -x_233 = lean_box(0); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_224); -lean_ctor_set(x_234, 1, x_233); +lean_inc(x_220); +x_229 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_229, 0, x_220); +lean_ctor_set(x_229, 1, x_228); +lean_ctor_set(x_229, 2, x_222); +lean_ctor_set(x_229, 3, x_16); +lean_ctor_set(x_229, 4, x_18); +lean_ctor_set(x_229, 5, x_19); +lean_ctor_set(x_229, 6, x_220); +x_230 = lean_box(0); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_227); +lean_ctor_set(x_231, 1, x_230); lean_inc(x_2); -x_235 = l_Lean_Elab_getMacros(x_213, x_2, x_232, x_234); -lean_dec(x_213); -if (lean_obj_tag(x_235) == 0) +x_232 = l_Lean_Elab_getMacros(x_211, x_2, x_229, x_231); +lean_dec(x_211); +if (lean_obj_tag(x_232) == 0) { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_dec(x_29); -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_235, 1); +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +x_235 = lean_ctor_get(x_234, 0); +lean_inc(x_235); +lean_dec(x_234); +x_236 = lean_st_ref_take(x_13, x_226); +x_237 = lean_ctor_get(x_236, 0); lean_inc(x_237); -lean_dec(x_235); -x_238 = lean_ctor_get(x_237, 0); +x_238 = lean_ctor_get(x_236, 1); lean_inc(x_238); -lean_dec(x_237); -x_239 = lean_st_ref_take(x_13, x_223); -x_240 = lean_ctor_get(x_239, 0); +lean_dec(x_236); +x_239 = lean_ctor_get(x_237, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_237, 2); lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); +x_241 = lean_ctor_get(x_237, 3); lean_inc(x_241); -lean_dec(x_239); -x_242 = lean_ctor_get(x_240, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_240, 2); -lean_inc(x_243); -x_244 = lean_ctor_get(x_240, 3); -lean_inc(x_244); -if (lean_is_exclusive(x_240)) { - lean_ctor_release(x_240, 0); - lean_ctor_release(x_240, 1); - lean_ctor_release(x_240, 2); - lean_ctor_release(x_240, 3); - x_245 = x_240; +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + lean_ctor_release(x_237, 2); + lean_ctor_release(x_237, 3); + x_242 = x_237; } else { - lean_dec_ref(x_240); - x_245 = lean_box(0); + lean_dec_ref(x_237); + x_242 = lean_box(0); } -if (lean_is_scalar(x_245)) { - x_246 = lean_alloc_ctor(0, 4, 0); +if (lean_is_scalar(x_242)) { + x_243 = lean_alloc_ctor(0, 4, 0); } else { - x_246 = x_245; + x_243 = x_242; } -lean_ctor_set(x_246, 0, x_242); -lean_ctor_set(x_246, 1, x_238); -lean_ctor_set(x_246, 2, x_243); -lean_ctor_set(x_246, 3, x_244); -x_247 = lean_st_ref_set(x_13, x_246, x_241); -x_248 = lean_ctor_get(x_247, 1); -lean_inc(x_248); -lean_dec(x_247); -x_249 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_249, 0, x_236); -x_48 = x_249; -x_49 = x_248; +lean_ctor_set(x_243, 0, x_239); +lean_ctor_set(x_243, 1, x_235); +lean_ctor_set(x_243, 2, x_240); +lean_ctor_set(x_243, 3, x_241); +x_244 = lean_st_ref_set(x_13, x_243, x_238); +x_245 = lean_ctor_get(x_244, 1); +lean_inc(x_245); +lean_dec(x_244); +x_246 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_246, 0, x_233); +x_48 = x_246; +x_49 = x_245; goto block_68; } else { -lean_object* x_250; -x_250 = lean_ctor_get(x_235, 0); -lean_inc(x_250); -lean_dec(x_235); -if (lean_obj_tag(x_250) == 0) +lean_object* x_247; +x_247 = lean_ctor_get(x_232, 0); +lean_inc(x_247); +lean_dec(x_232); +if (lean_obj_tag(x_247) == 0) { -lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_251 = lean_ctor_get(x_250, 0); -lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_253, 0, x_252); -x_254 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_254, 0, x_253); +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_248 = lean_ctor_get(x_247, 0); +lean_inc(x_248); +x_249 = lean_ctor_get(x_247, 1); +lean_inc(x_249); +lean_dec(x_247); +x_250 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_250, 0, x_249); +x_251 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_251, 0, x_250); lean_inc(x_12); lean_inc(x_8); -x_255 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_251, x_254, x_8, x_9, x_10, x_11, x_12, x_13, x_223); -lean_dec(x_251); +x_252 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_248, x_251, x_8, x_9, x_10, x_11, x_12, x_13, x_226); +lean_dec(x_248); +x_253 = lean_ctor_get(x_252, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_252, 1); +lean_inc(x_254); +lean_dec(x_252); +x_69 = x_253; +x_70 = x_254; +goto block_77; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_255 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_226); x_256 = lean_ctor_get(x_255, 0); lean_inc(x_256); x_257 = lean_ctor_get(x_255, 1); @@ -27764,19 +27774,6 @@ x_69 = x_256; x_70 = x_257; goto block_77; } -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; -x_258 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_223); -x_259 = lean_ctor_get(x_258, 0); -lean_inc(x_259); -x_260 = lean_ctor_get(x_258, 1); -lean_inc(x_260); -lean_dec(x_258); -x_69 = x_259; -x_70 = x_260; -goto block_77; -} } } block_47: @@ -28032,7 +28029,7 @@ goto block_68; } else { -uint8_t x_261; +uint8_t x_258; lean_dec(x_12); lean_dec(x_20); lean_dec(x_19); @@ -28045,660 +28042,659 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_261 = !lean_is_exclusive(x_24); -if (x_261 == 0) +x_258 = !lean_is_exclusive(x_24); +if (x_258 == 0) { return x_24; } else { -lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_262 = lean_ctor_get(x_24, 0); -x_263 = lean_ctor_get(x_24, 1); -lean_inc(x_263); -lean_inc(x_262); +lean_object* x_259; lean_object* x_260; lean_object* x_261; +x_259 = lean_ctor_get(x_24, 0); +x_260 = lean_ctor_get(x_24, 1); +lean_inc(x_260); +lean_inc(x_259); lean_dec(x_24); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_262); -lean_ctor_set(x_264, 1, x_263); -return x_264; +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_259); +lean_ctor_set(x_261, 1, x_260); +return x_261; } } } -block_286: +block_283: { -if (x_266 == 0) +if (x_263 == 0) { lean_dec(x_6); -x_22 = x_267; -goto block_265; +x_22 = x_264; +goto block_262; } else { -lean_object* x_268; +lean_object* x_265; lean_inc(x_2); -x_268 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_268, 0, x_2); +x_265 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_265, 0, x_2); if (lean_obj_tag(x_3) == 0) { -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_269 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; -x_270 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = l_Lean_KernelException_toMessageData___closed__15; -x_272 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -x_273 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_272, x_8, x_9, x_10, x_11, x_12, x_13, x_267); -x_274 = lean_ctor_get(x_273, 1); -lean_inc(x_274); -lean_dec(x_273); -x_22 = x_274; -goto block_265; +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_266 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; +x_267 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_265); +x_268 = l_Lean_KernelException_toMessageData___closed__15; +x_269 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_268); +x_270 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_269, x_8, x_9, x_10, x_11, x_12, x_13, x_264); +x_271 = lean_ctor_get(x_270, 1); +lean_inc(x_271); +lean_dec(x_270); +x_22 = x_271; +goto block_262; } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_275 = lean_ctor_get(x_3, 0); -lean_inc(x_275); -x_276 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_276, 0, x_275); -x_277 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; +x_272 = lean_ctor_get(x_3, 0); +lean_inc(x_272); +x_273 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_273, 0, x_272); +x_274 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; +x_275 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_275, 0, x_274); +lean_ctor_set(x_275, 1, x_273); +x_276 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; +x_277 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_277, 0, x_275); +lean_ctor_set(x_277, 1, x_276); x_278 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_276); -x_279 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; +lean_ctor_set(x_278, 1, x_265); +x_279 = l_Lean_KernelException_toMessageData___closed__15; x_280 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_280, 0, x_278); lean_ctor_set(x_280, 1, x_279); -x_281 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_268); -x_282 = l_Lean_KernelException_toMessageData___closed__15; -x_283 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -x_284 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_283, x_8, x_9, x_10, x_11, x_12, x_13, x_267); -x_285 = lean_ctor_get(x_284, 1); -lean_inc(x_285); -lean_dec(x_284); -x_22 = x_285; -goto block_265; +x_281 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_280, x_8, x_9, x_10, x_11, x_12, x_13, x_264); +x_282 = lean_ctor_get(x_281, 1); +lean_inc(x_282); +lean_dec(x_281); +x_22 = x_282; +goto block_262; } } } } else { -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_431; lean_object* x_432; lean_object* x_452; lean_object* x_453; lean_object* x_454; uint8_t x_455; -x_298 = lean_ctor_get(x_12, 0); -x_299 = lean_ctor_get(x_12, 2); -x_300 = lean_ctor_get(x_12, 3); -x_301 = lean_ctor_get(x_12, 4); -x_302 = lean_ctor_get(x_12, 5); -x_303 = lean_ctor_get(x_12, 6); -x_304 = lean_ctor_get(x_12, 7); -lean_inc(x_304); -lean_inc(x_303); -lean_inc(x_302); +lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; uint8_t x_427; lean_object* x_428; lean_object* x_448; lean_object* x_449; lean_object* x_450; uint8_t x_451; +x_295 = lean_ctor_get(x_12, 0); +x_296 = lean_ctor_get(x_12, 2); +x_297 = lean_ctor_get(x_12, 3); +x_298 = lean_ctor_get(x_12, 4); +x_299 = lean_ctor_get(x_12, 5); +x_300 = lean_ctor_get(x_12, 6); +x_301 = lean_ctor_get(x_12, 7); lean_inc(x_301); lean_inc(x_300); lean_inc(x_299); lean_inc(x_298); +lean_inc(x_297); +lean_inc(x_296); +lean_inc(x_295); lean_dec(x_12); -lean_inc(x_301); -lean_inc(x_300); -lean_inc(x_299); +lean_inc(x_298); +lean_inc(x_297); +lean_inc(x_296); lean_inc(x_16); -x_305 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_305, 0, x_298); -lean_ctor_set(x_305, 1, x_16); -lean_ctor_set(x_305, 2, x_299); -lean_ctor_set(x_305, 3, x_300); -lean_ctor_set(x_305, 4, x_301); -lean_ctor_set(x_305, 5, x_302); -lean_ctor_set(x_305, 6, x_303); -lean_ctor_set(x_305, 7, x_304); -x_452 = lean_st_ref_get(x_13, x_14); -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_453, 3); -lean_inc(x_454); -lean_dec(x_453); -x_455 = lean_ctor_get_uint8(x_454, sizeof(void*)*1); -lean_dec(x_454); -if (x_455 == 0) +x_302 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_302, 0, x_295); +lean_ctor_set(x_302, 1, x_16); +lean_ctor_set(x_302, 2, x_296); +lean_ctor_set(x_302, 3, x_297); +lean_ctor_set(x_302, 4, x_298); +lean_ctor_set(x_302, 5, x_299); +lean_ctor_set(x_302, 6, x_300); +lean_ctor_set(x_302, 7, x_301); +x_448 = lean_st_ref_get(x_13, x_14); +x_449 = lean_ctor_get(x_448, 0); +lean_inc(x_449); +x_450 = lean_ctor_get(x_449, 3); +lean_inc(x_450); +lean_dec(x_449); +x_451 = lean_ctor_get_uint8(x_450, sizeof(void*)*1); +lean_dec(x_450); +if (x_451 == 0) { -lean_object* x_456; uint8_t x_457; -x_456 = lean_ctor_get(x_452, 1); -lean_inc(x_456); -lean_dec(x_452); -x_457 = 0; -x_431 = x_457; -x_432 = x_456; -goto block_451; +lean_object* x_452; uint8_t x_453; +x_452 = lean_ctor_get(x_448, 1); +lean_inc(x_452); +lean_dec(x_448); +x_453 = 0; +x_427 = x_453; +x_428 = x_452; +goto block_447; } else { -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; -x_458 = lean_ctor_get(x_452, 1); -lean_inc(x_458); -lean_dec(x_452); +lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; uint8_t x_458; +x_454 = lean_ctor_get(x_448, 1); +lean_inc(x_454); +lean_dec(x_448); lean_inc(x_6); -x_459 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_305, x_13, x_458); -x_460 = lean_ctor_get(x_459, 0); -lean_inc(x_460); -x_461 = lean_ctor_get(x_459, 1); -lean_inc(x_461); -lean_dec(x_459); -x_462 = lean_unbox(x_460); -lean_dec(x_460); -x_431 = x_462; -x_432 = x_461; -goto block_451; +x_455 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_6, x_8, x_9, x_10, x_11, x_302, x_13, x_454); +x_456 = lean_ctor_get(x_455, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_455, 1); +lean_inc(x_457); +lean_dec(x_455); +x_458 = lean_unbox(x_456); +lean_dec(x_456); +x_427 = x_458; +x_428 = x_457; +goto block_447; } -block_430: +block_426: { -lean_object* x_307; lean_object* x_308; -x_307 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; -x_308 = l_Lean_Core_checkMaxHeartbeats(x_307, x_305, x_13, x_306); -if (lean_obj_tag(x_308) == 0) +lean_object* x_304; lean_object* x_305; +x_304 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__1; +x_305 = l_Lean_Core_checkMaxHeartbeats(x_304, x_302, x_13, x_303); +if (lean_obj_tag(x_305) == 0) { -lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_330; lean_object* x_331; lean_object* x_351; lean_object* x_352; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_309 = lean_ctor_get(x_308, 1); +lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_327; lean_object* x_328; lean_object* x_348; lean_object* x_349; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +x_306 = lean_ctor_get(x_305, 1); +lean_inc(x_306); +lean_dec(x_305); +x_307 = lean_st_ref_get(x_13, x_306); +x_308 = lean_ctor_get(x_307, 0); +lean_inc(x_308); +x_309 = lean_ctor_get(x_307, 1); lean_inc(x_309); -lean_dec(x_308); -x_310 = lean_st_ref_get(x_13, x_309); -x_311 = lean_ctor_get(x_310, 0); +if (lean_is_exclusive(x_307)) { + lean_ctor_release(x_307, 0); + lean_ctor_release(x_307, 1); + x_310 = x_307; +} else { + lean_dec_ref(x_307); + x_310 = lean_box(0); +} +x_311 = lean_ctor_get(x_308, 3); lean_inc(x_311); -x_312 = lean_ctor_get(x_310, 1); +lean_dec(x_308); +x_312 = lean_ctor_get(x_311, 0); lean_inc(x_312); -if (lean_is_exclusive(x_310)) { - lean_ctor_release(x_310, 0); - lean_ctor_release(x_310, 1); - x_313 = x_310; -} else { - lean_dec_ref(x_310); - x_313 = lean_box(0); -} -x_314 = lean_ctor_get(x_311, 3); -lean_inc(x_314); lean_dec(x_311); -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -lean_dec(x_314); -x_360 = lean_st_ref_take(x_13, x_312); -x_361 = lean_ctor_get(x_360, 0); +x_357 = lean_st_ref_take(x_13, x_309); +x_358 = lean_ctor_get(x_357, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_358, 3); +lean_inc(x_359); +x_360 = lean_ctor_get(x_357, 1); +lean_inc(x_360); +lean_dec(x_357); +x_361 = lean_ctor_get(x_358, 0); lean_inc(x_361); -x_362 = lean_ctor_get(x_361, 3); +x_362 = lean_ctor_get(x_358, 1); lean_inc(x_362); -x_363 = lean_ctor_get(x_360, 1); +x_363 = lean_ctor_get(x_358, 2); lean_inc(x_363); -lean_dec(x_360); -x_364 = lean_ctor_get(x_361, 0); -lean_inc(x_364); -x_365 = lean_ctor_get(x_361, 1); -lean_inc(x_365); -x_366 = lean_ctor_get(x_361, 2); -lean_inc(x_366); -if (lean_is_exclusive(x_361)) { - lean_ctor_release(x_361, 0); - lean_ctor_release(x_361, 1); - lean_ctor_release(x_361, 2); - lean_ctor_release(x_361, 3); - x_367 = x_361; +if (lean_is_exclusive(x_358)) { + lean_ctor_release(x_358, 0); + lean_ctor_release(x_358, 1); + lean_ctor_release(x_358, 2); + lean_ctor_release(x_358, 3); + x_364 = x_358; } else { - lean_dec_ref(x_361); - x_367 = lean_box(0); + lean_dec_ref(x_358); + x_364 = lean_box(0); } -x_368 = lean_ctor_get_uint8(x_362, sizeof(void*)*1); -if (lean_is_exclusive(x_362)) { - lean_ctor_release(x_362, 0); - x_369 = x_362; +x_365 = lean_ctor_get_uint8(x_359, sizeof(void*)*1); +if (lean_is_exclusive(x_359)) { + lean_ctor_release(x_359, 0); + x_366 = x_359; } else { - lean_dec_ref(x_362); - x_369 = lean_box(0); + lean_dec_ref(x_359); + x_366 = lean_box(0); } -x_370 = l_Std_PersistentArray_empty___closed__1; -if (lean_is_scalar(x_369)) { - x_371 = lean_alloc_ctor(0, 1, 1); +x_367 = l_Std_PersistentArray_empty___closed__1; +if (lean_is_scalar(x_366)) { + x_368 = lean_alloc_ctor(0, 1, 1); } else { - x_371 = x_369; + x_368 = x_366; } -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set_uint8(x_371, sizeof(void*)*1, x_368); -if (lean_is_scalar(x_367)) { - x_372 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set_uint8(x_368, sizeof(void*)*1, x_365); +if (lean_is_scalar(x_364)) { + x_369 = lean_alloc_ctor(0, 4, 0); } else { - x_372 = x_367; + x_369 = x_364; } -lean_ctor_set(x_372, 0, x_364); -lean_ctor_set(x_372, 1, x_365); -lean_ctor_set(x_372, 2, x_366); -lean_ctor_set(x_372, 3, x_371); -x_373 = lean_st_ref_set(x_13, x_372, x_363); -x_374 = lean_ctor_get(x_373, 1); +lean_ctor_set(x_369, 0, x_361); +lean_ctor_set(x_369, 1, x_362); +lean_ctor_set(x_369, 2, x_363); +lean_ctor_set(x_369, 3, x_368); +x_370 = lean_st_ref_set(x_13, x_369, x_360); +x_371 = lean_ctor_get(x_370, 1); +lean_inc(x_371); +lean_dec(x_370); +x_372 = lean_st_ref_get(x_13, x_371); +x_373 = lean_ctor_get(x_372, 0); +lean_inc(x_373); +x_374 = lean_ctor_get(x_372, 1); lean_inc(x_374); +lean_dec(x_372); +x_375 = lean_ctor_get(x_373, 0); +lean_inc(x_375); lean_dec(x_373); -x_375 = lean_st_ref_get(x_13, x_374); -x_376 = lean_ctor_get(x_375, 0); -lean_inc(x_376); -x_377 = lean_ctor_get(x_375, 1); +x_376 = lean_st_ref_get(x_13, x_374); +x_377 = lean_ctor_get(x_376, 0); lean_inc(x_377); -lean_dec(x_375); -x_378 = lean_ctor_get(x_376, 0); +x_378 = lean_ctor_get(x_376, 1); lean_inc(x_378); lean_dec(x_376); -x_379 = lean_st_ref_get(x_13, x_377); -x_380 = lean_ctor_get(x_379, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_379, 1); -lean_inc(x_381); -lean_dec(x_379); -x_382 = lean_ctor_get(x_380, 0); -lean_inc(x_382); -lean_dec(x_380); -x_383 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_305, x_13, x_381); -x_384 = lean_ctor_get(x_383, 0); -lean_inc(x_384); -x_385 = lean_ctor_get(x_383, 1); -lean_inc(x_385); -lean_dec(x_383); -x_386 = lean_st_ref_get(x_13, x_385); -x_387 = lean_ctor_get(x_386, 0); +x_379 = lean_ctor_get(x_377, 0); +lean_inc(x_379); +lean_dec(x_377); +lean_inc(x_379); +x_380 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_380, 0, x_379); +x_381 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_381, 0, x_298); +lean_inc(x_379); +x_382 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_382, 0, x_379); +x_383 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_383, 0, x_380); +lean_ctor_set(x_383, 1, x_381); +lean_ctor_set(x_383, 2, x_382); +x_384 = x_383; +x_385 = l_Lean_Elab_Term_getCurrMacroScope(x_8, x_9, x_10, x_11, x_302, x_13, x_378); +x_386 = lean_ctor_get(x_385, 0); +lean_inc(x_386); +x_387 = lean_ctor_get(x_385, 1); lean_inc(x_387); -x_388 = lean_ctor_get(x_386, 1); -lean_inc(x_388); -lean_dec(x_386); -x_389 = lean_ctor_get(x_387, 1); +lean_dec(x_385); +x_388 = lean_st_ref_get(x_13, x_387); +x_389 = lean_ctor_get(x_388, 0); lean_inc(x_389); -lean_dec(x_387); -lean_inc(x_382); -x_390 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_390, 0, x_382); +x_390 = lean_ctor_get(x_388, 1); lean_inc(x_390); -x_391 = x_390; -lean_inc(x_382); -x_392 = lean_environment_main_module(x_382); -x_393 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_393, 0, x_301); -x_394 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_394, 0, x_382); -x_395 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_395, 0, x_390); -lean_ctor_set(x_395, 1, x_393); -lean_ctor_set(x_395, 2, x_394); -x_396 = x_395; -lean_inc(x_300); -x_397 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_397, 0, x_391); -lean_ctor_set(x_397, 1, x_392); -lean_ctor_set(x_397, 2, x_384); -lean_ctor_set(x_397, 3, x_16); -lean_ctor_set(x_397, 4, x_299); -lean_ctor_set(x_397, 5, x_300); -lean_ctor_set(x_397, 6, x_396); -x_398 = lean_box(0); -x_399 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_399, 0, x_389); -lean_ctor_set(x_399, 1, x_398); +lean_dec(x_388); +x_391 = lean_ctor_get(x_389, 1); +lean_inc(x_391); +lean_dec(x_389); +x_392 = lean_environment_main_module(x_379); +lean_inc(x_297); +lean_inc(x_384); +x_393 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_393, 0, x_384); +lean_ctor_set(x_393, 1, x_392); +lean_ctor_set(x_393, 2, x_386); +lean_ctor_set(x_393, 3, x_16); +lean_ctor_set(x_393, 4, x_296); +lean_ctor_set(x_393, 5, x_297); +lean_ctor_set(x_393, 6, x_384); +x_394 = lean_box(0); +x_395 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_395, 0, x_391); +lean_ctor_set(x_395, 1, x_394); lean_inc(x_2); -x_400 = l_Lean_Elab_getMacros(x_378, x_2, x_397, x_399); -lean_dec(x_378); -if (lean_obj_tag(x_400) == 0) +x_396 = l_Lean_Elab_getMacros(x_375, x_2, x_393, x_395); +lean_dec(x_375); +if (lean_obj_tag(x_396) == 0) { -lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; -lean_dec(x_313); +lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; +lean_dec(x_310); +x_397 = lean_ctor_get(x_396, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_396, 1); +lean_inc(x_398); +lean_dec(x_396); +x_399 = lean_ctor_get(x_398, 0); +lean_inc(x_399); +lean_dec(x_398); +x_400 = lean_st_ref_take(x_13, x_390); x_401 = lean_ctor_get(x_400, 0); lean_inc(x_401); x_402 = lean_ctor_get(x_400, 1); lean_inc(x_402); lean_dec(x_400); -x_403 = lean_ctor_get(x_402, 0); +x_403 = lean_ctor_get(x_401, 0); lean_inc(x_403); -lean_dec(x_402); -x_404 = lean_st_ref_take(x_13, x_388); -x_405 = lean_ctor_get(x_404, 0); +x_404 = lean_ctor_get(x_401, 2); +lean_inc(x_404); +x_405 = lean_ctor_get(x_401, 3); lean_inc(x_405); -x_406 = lean_ctor_get(x_404, 1); -lean_inc(x_406); -lean_dec(x_404); -x_407 = lean_ctor_get(x_405, 0); -lean_inc(x_407); -x_408 = lean_ctor_get(x_405, 2); -lean_inc(x_408); -x_409 = lean_ctor_get(x_405, 3); +if (lean_is_exclusive(x_401)) { + lean_ctor_release(x_401, 0); + lean_ctor_release(x_401, 1); + lean_ctor_release(x_401, 2); + lean_ctor_release(x_401, 3); + x_406 = x_401; +} else { + lean_dec_ref(x_401); + x_406 = lean_box(0); +} +if (lean_is_scalar(x_406)) { + x_407 = lean_alloc_ctor(0, 4, 0); +} else { + x_407 = x_406; +} +lean_ctor_set(x_407, 0, x_403); +lean_ctor_set(x_407, 1, x_399); +lean_ctor_set(x_407, 2, x_404); +lean_ctor_set(x_407, 3, x_405); +x_408 = lean_st_ref_set(x_13, x_407, x_402); +x_409 = lean_ctor_get(x_408, 1); lean_inc(x_409); -if (lean_is_exclusive(x_405)) { - lean_ctor_release(x_405, 0); - lean_ctor_release(x_405, 1); - lean_ctor_release(x_405, 2); - lean_ctor_release(x_405, 3); - x_410 = x_405; -} else { - lean_dec_ref(x_405); - x_410 = lean_box(0); +lean_dec(x_408); +x_410 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_410, 0, x_397); +x_327 = x_410; +x_328 = x_409; +goto block_347; } -if (lean_is_scalar(x_410)) { - x_411 = lean_alloc_ctor(0, 4, 0); -} else { - x_411 = x_410; -} -lean_ctor_set(x_411, 0, x_407); -lean_ctor_set(x_411, 1, x_403); -lean_ctor_set(x_411, 2, x_408); -lean_ctor_set(x_411, 3, x_409); -x_412 = lean_st_ref_set(x_13, x_411, x_406); -x_413 = lean_ctor_get(x_412, 1); +else +{ +lean_object* x_411; +x_411 = lean_ctor_get(x_396, 0); +lean_inc(x_411); +lean_dec(x_396); +if (lean_obj_tag(x_411) == 0) +{ +lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; +x_412 = lean_ctor_get(x_411, 0); +lean_inc(x_412); +x_413 = lean_ctor_get(x_411, 1); lean_inc(x_413); -lean_dec(x_412); -x_414 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_414, 0, x_401); -x_330 = x_414; -x_331 = x_413; -goto block_350; -} -else -{ -lean_object* x_415; -x_415 = lean_ctor_get(x_400, 0); -lean_inc(x_415); -lean_dec(x_400); -if (lean_obj_tag(x_415) == 0) -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_416 = lean_ctor_get(x_415, 0); -lean_inc(x_416); -x_417 = lean_ctor_get(x_415, 1); -lean_inc(x_417); -lean_dec(x_415); -x_418 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_418, 0, x_417); -x_419 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_419, 0, x_418); -lean_inc(x_305); +lean_dec(x_411); +x_414 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_414, 0, x_413); +x_415 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_415, 0, x_414); +lean_inc(x_302); lean_inc(x_8); -x_420 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_416, x_419, x_8, x_9, x_10, x_11, x_305, x_13, x_388); +x_416 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(x_412, x_415, x_8, x_9, x_10, x_11, x_302, x_13, x_390); +lean_dec(x_412); +x_417 = lean_ctor_get(x_416, 0); +lean_inc(x_417); +x_418 = lean_ctor_get(x_416, 1); +lean_inc(x_418); lean_dec(x_416); -x_421 = lean_ctor_get(x_420, 0); +x_348 = x_417; +x_349 = x_418; +goto block_356; +} +else +{ +lean_object* x_419; lean_object* x_420; lean_object* x_421; +x_419 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_390); +x_420 = lean_ctor_get(x_419, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_419, 1); lean_inc(x_421); -x_422 = lean_ctor_get(x_420, 1); -lean_inc(x_422); -lean_dec(x_420); -x_351 = x_421; -x_352 = x_422; -goto block_359; -} -else -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_423 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5___rarg(x_388); -x_424 = lean_ctor_get(x_423, 0); -lean_inc(x_424); -x_425 = lean_ctor_get(x_423, 1); -lean_inc(x_425); -lean_dec(x_423); -x_351 = x_424; -x_352 = x_425; -goto block_359; +lean_dec(x_419); +x_348 = x_420; +x_349 = x_421; +goto block_356; } } -block_329: +block_326: { -if (lean_obj_tag(x_316) == 0) +if (lean_obj_tag(x_313) == 0) { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_317 = lean_ctor_get(x_316, 0); +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; +x_314 = lean_ctor_get(x_313, 0); +lean_inc(x_314); +x_315 = lean_ctor_get(x_313, 1); +lean_inc(x_315); +lean_dec(x_313); +x_316 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_297, x_312, x_8, x_9, x_10, x_11, x_302, x_13, x_315); +lean_dec(x_13); +lean_dec(x_302); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_317 = lean_ctor_get(x_316, 1); lean_inc(x_317); -x_318 = lean_ctor_get(x_316, 1); -lean_inc(x_318); -lean_dec(x_316); -x_319 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_300, x_315, x_8, x_9, x_10, x_11, x_305, x_13, x_318); -lean_dec(x_13); -lean_dec(x_305); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_320 = lean_ctor_get(x_319, 1); -lean_inc(x_320); -if (lean_is_exclusive(x_319)) { - lean_ctor_release(x_319, 0); - lean_ctor_release(x_319, 1); - x_321 = x_319; +if (lean_is_exclusive(x_316)) { + lean_ctor_release(x_316, 0); + lean_ctor_release(x_316, 1); + x_318 = x_316; } else { - lean_dec_ref(x_319); - x_321 = lean_box(0); + lean_dec_ref(x_316); + x_318 = lean_box(0); } -if (lean_is_scalar(x_321)) { - x_322 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_318)) { + x_319 = lean_alloc_ctor(0, 2, 0); } else { - x_322 = x_321; + x_319 = x_318; } -lean_ctor_set(x_322, 0, x_317); -lean_ctor_set(x_322, 1, x_320); -return x_322; +lean_ctor_set(x_319, 0, x_314); +lean_ctor_set(x_319, 1, x_317); +return x_319; } else { -lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_323 = lean_ctor_get(x_316, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_316, 1); -lean_inc(x_324); -lean_dec(x_316); -x_325 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_300, x_315, x_8, x_9, x_10, x_11, x_305, x_13, x_324); +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; +x_320 = lean_ctor_get(x_313, 0); +lean_inc(x_320); +x_321 = lean_ctor_get(x_313, 1); +lean_inc(x_321); +lean_dec(x_313); +x_322 = l___private_Lean_Util_Trace_0__Lean_withNestedTracesFinalizer___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(x_297, x_312, x_8, x_9, x_10, x_11, x_302, x_13, x_321); lean_dec(x_13); -lean_dec(x_305); +lean_dec(x_302); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_326 = lean_ctor_get(x_325, 1); -lean_inc(x_326); -if (lean_is_exclusive(x_325)) { - lean_ctor_release(x_325, 0); - lean_ctor_release(x_325, 1); - x_327 = x_325; +x_323 = lean_ctor_get(x_322, 1); +lean_inc(x_323); +if (lean_is_exclusive(x_322)) { + lean_ctor_release(x_322, 0); + lean_ctor_release(x_322, 1); + x_324 = x_322; } else { - lean_dec_ref(x_325); - x_327 = lean_box(0); + lean_dec_ref(x_322); + x_324 = lean_box(0); } -if (lean_is_scalar(x_327)) { - x_328 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_324)) { + x_325 = lean_alloc_ctor(1, 2, 0); } else { - x_328 = x_327; - lean_ctor_set_tag(x_328, 1); + x_325 = x_324; + lean_ctor_set_tag(x_325, 1); } -lean_ctor_set(x_328, 0, x_323); -lean_ctor_set(x_328, 1, x_326); -return x_328; +lean_ctor_set(x_325, 0, x_320); +lean_ctor_set(x_325, 1, x_323); +return x_325; } } -block_350: +block_347: { -if (lean_obj_tag(x_330) == 0) +if (lean_obj_tag(x_327) == 0) { if (x_5 == 0) { +lean_object* x_329; lean_object* x_330; +x_329 = lean_box(0); +lean_inc(x_13); +lean_inc(x_302); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_330 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_329, x_8, x_9, x_10, x_11, x_302, x_13, x_328); +x_313 = x_330; +goto block_326; +} +else +{ +uint8_t x_331; +x_331 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); +if (x_331 == 0) +{ lean_object* x_332; lean_object* x_333; x_332 = lean_box(0); lean_inc(x_13); -lean_inc(x_305); +lean_inc(x_302); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_333 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_332, x_8, x_9, x_10, x_11, x_305, x_13, x_331); -x_316 = x_333; -goto block_329; +x_333 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_332, x_8, x_9, x_10, x_11, x_302, x_13, x_328); +x_313 = x_333; +goto block_326; } else { -uint8_t x_334; -x_334 = lean_ctor_get_uint8(x_8, sizeof(void*)*8 + 3); -if (x_334 == 0) -{ -lean_object* x_335; lean_object* x_336; -x_335 = lean_box(0); +lean_object* x_334; lean_inc(x_13); -lean_inc(x_305); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_336 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_335, x_8, x_9, x_10, x_11, x_305, x_13, x_331); -x_316 = x_336; -goto block_329; -} -else -{ -lean_object* x_337; -lean_inc(x_13); -lean_inc(x_305); +lean_inc(x_302); lean_inc(x_11); lean_inc(x_10); lean_inc(x_3); lean_inc(x_2); -x_337 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_305, x_13, x_331); -if (lean_obj_tag(x_337) == 0) +x_334 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f(x_2, x_3, x_8, x_9, x_10, x_11, x_302, x_13, x_328); +if (lean_obj_tag(x_334) == 0) { -lean_object* x_338; lean_object* x_339; lean_object* x_340; -x_338 = lean_ctor_get(x_337, 0); +lean_object* x_335; lean_object* x_336; lean_object* x_337; +x_335 = lean_ctor_get(x_334, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_334, 1); +lean_inc(x_336); +lean_dec(x_334); +lean_inc(x_13); +lean_inc(x_302); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_337 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_335, x_8, x_9, x_10, x_11, x_302, x_13, x_336); +x_313 = x_337; +goto block_326; +} +else +{ +lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; +lean_dec(x_3); +lean_dec(x_2); +x_338 = lean_ctor_get(x_334, 0); lean_inc(x_338); -x_339 = lean_ctor_get(x_337, 1); +x_339 = lean_ctor_get(x_334, 1); lean_inc(x_339); -lean_dec(x_337); -lean_inc(x_13); -lean_inc(x_305); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_340 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1(x_2, x_3, x_4, x_338, x_8, x_9, x_10, x_11, x_305, x_13, x_339); -x_316 = x_340; -goto block_329; +if (lean_is_exclusive(x_334)) { + lean_ctor_release(x_334, 0); + lean_ctor_release(x_334, 1); + x_340 = x_334; +} else { + lean_dec_ref(x_334); + x_340 = lean_box(0); +} +if (lean_is_scalar(x_340)) { + x_341 = lean_alloc_ctor(1, 2, 0); +} else { + x_341 = x_340; +} +lean_ctor_set(x_341, 0, x_338); +lean_ctor_set(x_341, 1, x_339); +x_313 = x_341; +goto block_326; +} +} +} } else { -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; -lean_dec(x_3); -lean_dec(x_2); -x_341 = lean_ctor_get(x_337, 0); -lean_inc(x_341); -x_342 = lean_ctor_get(x_337, 1); +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_342 = lean_ctor_get(x_327, 0); +lean_inc(x_342); +lean_dec(x_327); +x_343 = lean_box(x_4); +x_344 = lean_box(x_5); lean_inc(x_342); -if (lean_is_exclusive(x_337)) { - lean_ctor_release(x_337, 0); - lean_ctor_release(x_337, 1); - x_343 = x_337; -} else { - lean_dec_ref(x_337); - x_343 = lean_box(0); -} -if (lean_is_scalar(x_343)) { - x_344 = lean_alloc_ctor(1, 2, 0); -} else { - x_344 = x_343; -} -lean_ctor_set(x_344, 0, x_341); -lean_ctor_set(x_344, 1, x_342); -x_316 = x_344; -goto block_329; -} -} -} -} -else -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -x_345 = lean_ctor_get(x_330, 0); -lean_inc(x_345); -lean_dec(x_330); -x_346 = lean_box(x_4); -x_347 = lean_box(x_5); -lean_inc(x_345); lean_inc(x_2); -x_348 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); -lean_closure_set(x_348, 0, x_2); -lean_closure_set(x_348, 1, x_345); -lean_closure_set(x_348, 2, x_3); -lean_closure_set(x_348, 3, x_346); -lean_closure_set(x_348, 4, x_347); +x_345 = lean_alloc_closure((void*)(l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed), 12, 5); +lean_closure_set(x_345, 0, x_2); +lean_closure_set(x_345, 1, x_342); +lean_closure_set(x_345, 2, x_3); +lean_closure_set(x_345, 3, x_343); +lean_closure_set(x_345, 4, x_344); lean_inc(x_13); -lean_inc(x_305); +lean_inc(x_302); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_349 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_2, x_345, x_348, x_8, x_9, x_10, x_11, x_305, x_13, x_331); -x_316 = x_349; -goto block_329; +x_346 = l_Lean_Elab_withMacroExpansionInfo___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(x_2, x_342, x_345, x_8, x_9, x_10, x_11, x_302, x_13, x_328); +x_313 = x_346; +goto block_326; } } -block_359: +block_356: { -if (lean_obj_tag(x_351) == 0) +if (lean_obj_tag(x_348) == 0) { -lean_object* x_353; +lean_object* x_350; lean_dec(x_3); lean_dec(x_2); -if (lean_is_scalar(x_313)) { - x_353 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_310)) { + x_350 = lean_alloc_ctor(1, 2, 0); } else { - x_353 = x_313; - lean_ctor_set_tag(x_353, 1); + x_350 = x_310; + lean_ctor_set_tag(x_350, 1); } -lean_ctor_set(x_353, 0, x_351); -lean_ctor_set(x_353, 1, x_352); -x_316 = x_353; -goto block_329; +lean_ctor_set(x_350, 0, x_348); +lean_ctor_set(x_350, 1, x_349); +x_313 = x_350; +goto block_326; } else { -lean_object* x_354; lean_object* x_355; uint8_t x_356; -x_354 = lean_ctor_get(x_351, 0); -lean_inc(x_354); -x_355 = l_Lean_Elab_unsupportedSyntaxExceptionId; -x_356 = lean_nat_dec_eq(x_355, x_354); -lean_dec(x_354); -if (x_356 == 0) -{ -lean_object* x_357; -lean_dec(x_3); -lean_dec(x_2); -if (lean_is_scalar(x_313)) { - x_357 = lean_alloc_ctor(1, 2, 0); -} else { - x_357 = x_313; - lean_ctor_set_tag(x_357, 1); -} -lean_ctor_set(x_357, 0, x_351); -lean_ctor_set(x_357, 1, x_352); -x_316 = x_357; -goto block_329; -} -else -{ -lean_object* x_358; +lean_object* x_351; lean_object* x_352; uint8_t x_353; +x_351 = lean_ctor_get(x_348, 0); +lean_inc(x_351); +x_352 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_353 = lean_nat_dec_eq(x_352, x_351); lean_dec(x_351); -lean_dec(x_313); -x_358 = lean_box(0); -x_330 = x_358; -x_331 = x_352; -goto block_350; +if (x_353 == 0) +{ +lean_object* x_354; +lean_dec(x_3); +lean_dec(x_2); +if (lean_is_scalar(x_310)) { + x_354 = lean_alloc_ctor(1, 2, 0); +} else { + x_354 = x_310; + lean_ctor_set_tag(x_354, 1); +} +lean_ctor_set(x_354, 0, x_348); +lean_ctor_set(x_354, 1, x_349); +x_313 = x_354; +goto block_326; +} +else +{ +lean_object* x_355; +lean_dec(x_348); +lean_dec(x_310); +x_355 = lean_box(0); +x_327 = x_355; +x_328 = x_349; +goto block_347; } } } } else { -lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; -lean_dec(x_305); -lean_dec(x_301); -lean_dec(x_300); -lean_dec(x_299); +lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; +lean_dec(x_302); +lean_dec(x_298); +lean_dec(x_297); +lean_dec(x_296); lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); @@ -28707,88 +28703,88 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_426 = lean_ctor_get(x_308, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_308, 1); -lean_inc(x_427); -if (lean_is_exclusive(x_308)) { - lean_ctor_release(x_308, 0); - lean_ctor_release(x_308, 1); - x_428 = x_308; +x_422 = lean_ctor_get(x_305, 0); +lean_inc(x_422); +x_423 = lean_ctor_get(x_305, 1); +lean_inc(x_423); +if (lean_is_exclusive(x_305)) { + lean_ctor_release(x_305, 0); + lean_ctor_release(x_305, 1); + x_424 = x_305; } else { - lean_dec_ref(x_308); - x_428 = lean_box(0); + lean_dec_ref(x_305); + x_424 = lean_box(0); } -if (lean_is_scalar(x_428)) { - x_429 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_424)) { + x_425 = lean_alloc_ctor(1, 2, 0); } else { - x_429 = x_428; + x_425 = x_424; } -lean_ctor_set(x_429, 0, x_426); -lean_ctor_set(x_429, 1, x_427); -return x_429; +lean_ctor_set(x_425, 0, x_422); +lean_ctor_set(x_425, 1, x_423); +return x_425; } } -block_451: +block_447: { -if (x_431 == 0) +if (x_427 == 0) { lean_dec(x_6); -x_306 = x_432; -goto block_430; +x_303 = x_428; +goto block_426; } else { -lean_object* x_433; +lean_object* x_429; lean_inc(x_2); -x_433 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_433, 0, x_2); +x_429 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_429, 0, x_2); if (lean_obj_tag(x_3) == 0) { -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; -x_434 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; -x_435 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_435, 0, x_434); -lean_ctor_set(x_435, 1, x_433); -x_436 = l_Lean_KernelException_toMessageData___closed__15; -x_437 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_437, 0, x_435); -lean_ctor_set(x_437, 1, x_436); -x_438 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_437, x_8, x_9, x_10, x_11, x_305, x_13, x_432); -x_439 = lean_ctor_get(x_438, 1); -lean_inc(x_439); -lean_dec(x_438); -x_306 = x_439; -goto block_430; +lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; +x_430 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__7; +x_431 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_431, 0, x_430); +lean_ctor_set(x_431, 1, x_429); +x_432 = l_Lean_KernelException_toMessageData___closed__15; +x_433 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_433, 0, x_431); +lean_ctor_set(x_433, 1, x_432); +x_434 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_433, x_8, x_9, x_10, x_11, x_302, x_13, x_428); +x_435 = lean_ctor_get(x_434, 1); +lean_inc(x_435); +lean_dec(x_434); +x_303 = x_435; +goto block_426; } else { -lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; -x_440 = lean_ctor_get(x_3, 0); -lean_inc(x_440); -x_441 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_441, 0, x_440); -x_442 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; -x_443 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_441); -x_444 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; -x_445 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_445, 0, x_443); -lean_ctor_set(x_445, 1, x_444); -x_446 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_446, 0, x_445); -lean_ctor_set(x_446, 1, x_433); -x_447 = l_Lean_KernelException_toMessageData___closed__15; -x_448 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_448, 0, x_446); -lean_ctor_set(x_448, 1, x_447); -x_449 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_448, x_8, x_9, x_10, x_11, x_305, x_13, x_432); -x_450 = lean_ctor_get(x_449, 1); -lean_inc(x_450); -lean_dec(x_449); -x_306 = x_450; -goto block_430; +lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; +x_436 = lean_ctor_get(x_3, 0); +lean_inc(x_436); +x_437 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_437, 0, x_436); +x_438 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__3; +x_439 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_439, 0, x_438); +lean_ctor_set(x_439, 1, x_437); +x_440 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__3___closed__5; +x_441 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_441, 0, x_439); +lean_ctor_set(x_441, 1, x_440); +x_442 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_442, 0, x_441); +lean_ctor_set(x_442, 1, x_429); +x_443 = l_Lean_KernelException_toMessageData___closed__15; +x_444 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_444, 0, x_442); +lean_ctor_set(x_444, 1, x_443); +x_445 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_6, x_444, x_8, x_9, x_10, x_11, x_302, x_13, x_428); +x_446 = lean_ctor_get(x_445, 1); +lean_inc(x_446); +lean_dec(x_445); +x_303 = x_446; +goto block_426; } } } diff --git a/stage0/stdlib/Lean/Elab/Util.c b/stage0/stdlib/Lean/Elab/Util.c index f863c365f7..1650d02134 100644 --- a/stage0/stdlib/Lean/Elab/Util.c +++ b/stage0/stdlib/Lean/Elab/Util.c @@ -2256,90 +2256,76 @@ return x_7; lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_inc(x_1); -x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_13, 0, x_1); -lean_inc(x_13); -x_14 = x_13; -lean_inc(x_1); -x_15 = lean_environment_main_module(x_1); -x_16 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_16, 0, x_2); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_17, 0, x_1); -x_18 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_17); -x_19 = x_18; -x_20 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_20, 0, x_14); -lean_ctor_set(x_20, 1, x_15); -lean_ctor_set(x_20, 2, x_3); -lean_ctor_set(x_20, 3, x_4); -lean_ctor_set(x_20, 4, x_5); -lean_ctor_set(x_20, 5, x_6); -lean_ctor_set(x_20, 6, x_19); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_12); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_apply_2(x_7, x_20, x_22); -if (lean_obj_tag(x_23) == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_environment_main_module(x_1); +lean_inc(x_2); +x_14 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_14, 2, x_3); +lean_ctor_set(x_14, 3, x_4); +lean_ctor_set(x_14, 4, x_5); +lean_ctor_set(x_14, 5, x_6); +lean_ctor_set(x_14, 6, x_2); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_apply_2(x_7, x_14, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +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_dec(x_11); -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_8, 2); -lean_inc(x_26); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_8, 2); +lean_inc(x_20); lean_dec(x_8); -x_27 = lean_ctor_get(x_25, 0); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_apply_1(x_20, x_21); +x_23 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); +lean_closure_set(x_23, 0, x_9); +lean_closure_set(x_23, 1, x_18); +x_24 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_22, x_23); +return x_24; +} +else +{ +lean_object* x_25; +lean_dec(x_10); +lean_dec(x_8); +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec(x_17); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_28 = lean_apply_1(x_26, x_27); -x_29 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); -lean_closure_set(x_29, 0, x_9); -lean_closure_set(x_29, 1, x_24); -x_30 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_28, x_29); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = l_Lean_throwErrorAt___rarg(x_9, x_11, x_26, x_29); return x_30; } else { -lean_object* x_31; -lean_dec(x_10); -lean_dec(x_8); -x_31 = lean_ctor_get(x_23, 0); -lean_inc(x_31); -lean_dec(x_23); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_throwErrorAt___rarg(x_9, x_11, x_32, x_35); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; +lean_object* x_31; lean_object* x_32; lean_dec(x_9); -x_37 = lean_ctor_get(x_11, 0); -lean_inc(x_37); +x_31 = lean_ctor_get(x_11, 0); +lean_inc(x_31); lean_dec(x_11); -x_38 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_37); -return x_38; +x_32 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_31); +return x_32; } } } @@ -2436,24 +2422,37 @@ return x_12; lean_object* l_Lean_Elab_liftMacroM___rarg___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) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_inc(x_1); +x_9 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_10, 0, x_8); +lean_inc(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_10); +lean_ctor_set(x_12, 2, x_11); +x_13 = x_12; +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); lean_inc(x_7); -x_11 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__6), 9, 8); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_8); -lean_closure_set(x_11, 4, x_5); -lean_closure_set(x_11, 5, x_6); -lean_closure_set(x_11, 6, x_7); -lean_closure_set(x_11, 7, x_1); -x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); -return x_12; +x_16 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__6), 9, 8); +lean_closure_set(x_16, 0, x_3); +lean_closure_set(x_16, 1, x_4); +lean_closure_set(x_16, 2, x_1); +lean_closure_set(x_16, 3, x_13); +lean_closure_set(x_16, 4, x_5); +lean_closure_set(x_16, 5, x_6); +lean_closure_set(x_16, 6, x_7); +lean_closure_set(x_16, 7, x_2); +x_17 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_15, x_16); +return x_17; } } lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__8(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) { @@ -2465,10 +2464,10 @@ lean_inc(x_9); lean_dec(x_1); lean_inc(x_7); x_10 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__7), 8, 7); -lean_closure_set(x_10, 0, x_2); -lean_closure_set(x_10, 1, x_3); -lean_closure_set(x_10, 2, x_4); -lean_closure_set(x_10, 3, x_8); +lean_closure_set(x_10, 0, x_8); +lean_closure_set(x_10, 1, x_2); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_4); lean_closure_set(x_10, 4, x_5); lean_closure_set(x_10, 5, x_6); lean_closure_set(x_10, 6, x_7); @@ -2528,90 +2527,76 @@ return x_5; lean_object* l_Lean_Elab_adaptMacro___rarg___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; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_inc(x_1); -x_14 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_14, 0, x_1); -lean_inc(x_14); -x_15 = x_14; -lean_inc(x_1); -x_16 = lean_environment_main_module(x_1); -x_17 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); -lean_closure_set(x_17, 0, x_2); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); -lean_closure_set(x_18, 0, x_1); -x_19 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_19, 2, x_18); -x_20 = x_19; -x_21 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_21, 0, x_15); -lean_ctor_set(x_21, 1, x_16); -lean_ctor_set(x_21, 2, x_3); -lean_ctor_set(x_21, 3, x_4); -lean_ctor_set(x_21, 4, x_5); -lean_ctor_set(x_21, 5, x_6); -lean_ctor_set(x_21, 6, x_20); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_13); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_apply_3(x_7, x_8, x_21, x_23); -if (lean_obj_tag(x_24) == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_environment_main_module(x_1); +lean_inc(x_2); +x_15 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_15, 2, x_3); +lean_ctor_set(x_15, 3, x_4); +lean_ctor_set(x_15, 4, x_5); +lean_ctor_set(x_15, 5, x_6); +lean_ctor_set(x_15, 6, x_2); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_13); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_apply_3(x_7, x_8, x_15, x_17); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_dec(x_12); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_9, 2); -lean_inc(x_27); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_9, 2); +lean_inc(x_21); lean_dec(x_9); -x_28 = lean_ctor_get(x_26, 0); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_apply_1(x_21, x_22); +x_24 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); +lean_closure_set(x_24, 0, x_10); +lean_closure_set(x_24, 1, x_19); +x_25 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_23, x_24); +return x_25; +} +else +{ +lean_object* x_26; +lean_dec(x_11); +lean_dec(x_9); +x_26 = lean_ctor_get(x_18, 0); +lean_inc(x_26); +lean_dec(x_18); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_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_apply_1(x_27, x_28); -x_30 = lean_alloc_closure((void*)(l_ReaderT_instMonadReaderT___rarg___lambda__4___boxed), 3, 2); -lean_closure_set(x_30, 0, x_10); -lean_closure_set(x_30, 1, x_25); -x_31 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_29, x_30); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = l_Lean_throwErrorAt___rarg(x_10, x_12, x_27, x_30); return x_31; } else { -lean_object* x_32; -lean_dec(x_11); -lean_dec(x_9); -x_32 = lean_ctor_get(x_24, 0); -lean_inc(x_32); -lean_dec(x_24); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_36, 0, x_35); -x_37 = l_Lean_throwErrorAt___rarg(x_10, x_12, x_33, x_36); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; +lean_object* x_32; lean_object* x_33; lean_dec(x_10); -x_38 = lean_ctor_get(x_12, 0); -lean_inc(x_38); +x_32 = lean_ctor_get(x_12, 0); +lean_inc(x_32); lean_dec(x_12); -x_39 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_38); -return x_39; +x_33 = l_Lean_Elab_throwUnsupportedSyntax___rarg(x_32); +return x_33; } } } @@ -2712,25 +2697,38 @@ return x_13; lean_object* l_Lean_Elab_adaptMacro___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec(x_10); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_inc(x_1); +x_10 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_10, 0, x_1); +x_11 = lean_alloc_closure((void*)(l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__1___rarg___boxed), 3, 1); +lean_closure_set(x_11, 0, x_9); +lean_inc(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___rarg___lambda__1___boxed), 4, 1); +lean_closure_set(x_12, 0, x_1); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 2, x_12); +x_14 = x_13; +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); lean_inc(x_8); -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__5), 10, 9); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_3); -lean_closure_set(x_12, 2, x_4); -lean_closure_set(x_12, 3, x_9); -lean_closure_set(x_12, 4, x_5); -lean_closure_set(x_12, 5, x_6); -lean_closure_set(x_12, 6, x_7); -lean_closure_set(x_12, 7, x_8); -lean_closure_set(x_12, 8, x_1); -x_13 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_11, x_12); -return x_13; +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__5), 10, 9); +lean_closure_set(x_17, 0, x_3); +lean_closure_set(x_17, 1, x_4); +lean_closure_set(x_17, 2, x_1); +lean_closure_set(x_17, 3, x_14); +lean_closure_set(x_17, 4, x_5); +lean_closure_set(x_17, 5, x_6); +lean_closure_set(x_17, 6, x_7); +lean_closure_set(x_17, 7, x_8); +lean_closure_set(x_17, 8, x_2); +x_18 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_16, x_17); +return x_18; } } lean_object* l_Lean_Elab_adaptMacro___rarg___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) { @@ -2742,10 +2740,10 @@ lean_inc(x_10); lean_dec(x_1); lean_inc(x_8); x_11 = lean_alloc_closure((void*)(l_Lean_Elab_adaptMacro___rarg___lambda__6), 9, 8); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_9); +lean_closure_set(x_11, 0, x_9); +lean_closure_set(x_11, 1, x_2); +lean_closure_set(x_11, 2, x_3); +lean_closure_set(x_11, 3, x_4); lean_closure_set(x_11, 4, x_5); lean_closure_set(x_11, 5, x_6); lean_closure_set(x_11, 6, x_7);