From d4f514b9648085c51b4a86b82ed07ac07e271ae3 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 15 Apr 2022 13:48:17 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Elab/Binders.lean | 18 +- stage0/src/Lean/Environment.lean | 17 +- stage0/stdlib/Lean/AuxRecursor.c | 6 +- stage0/stdlib/Lean/Compiler/CSimpAttr.c | 6 +- .../stdlib/Lean/Compiler/NoncomputableAttr.c | 4 +- stage0/stdlib/Lean/Elab/Binders.c | 17036 +++++++++------- stage0/stdlib/Lean/Elab/Command.c | 4 +- stage0/stdlib/Lean/Elab/DeclModifiers.c | 4 +- stage0/stdlib/Lean/Elab/PreDefinition/Basic.c | 6 +- stage0/stdlib/Lean/Elab/Term.c | 4 +- stage0/stdlib/Lean/Environment.c | 280 +- stage0/stdlib/Lean/Modifiers.c | 4 +- stage0/stdlib/Lean/Server/Completion.c | 4 +- 13 files changed, 9515 insertions(+), 7878 deletions(-) diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index 6d8e79cddf..d441cd0285 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -302,16 +302,28 @@ partial def expandFunBinders (binders : Array Syntax) (body : Syntax) : MacroM ( if binderBody.isNone then processAsPattern () else - let idents := binderBody[0] + let term := binderBody[0] let special := binderBody[1] if special.isNone then - processAsPattern () + match (← getFunBinderIds? term) with + | some idents => + -- `fun (x ...) ...` ~> `fun (x : _) ...` + -- Interpret `(x ...)` as sequence of binders instead of pattern only if none of the idents + -- are defined in the global scope. Technically, it would be sufficient to only check the + -- first ident to be sure that the syntax cannot possibly be a valid pattern. However, for + -- consistency we apply the same check to all idents so that the possibility of shadowing + -- a global decl is identical for all of them. + if (← idents.allM (List.isEmpty <$> Macro.resolveGlobalName ·.getId)) then + loop body (i+1) (newBinders ++ idents.map (mkExplicitBinder · (mkHole binder))) + else + processAsPattern () + | none => processAsPattern () else if special[0].getKind != `Lean.Parser.Term.typeAscription then processAsPattern () else -- typeAscription := `:` term let type := special[0][1] - match (← getFunBinderIds? idents) with + match (← getFunBinderIds? term) with | some idents => loop body (i+1) (newBinders ++ idents.map (fun ident => mkExplicitBinder ident type)) | none => processAsPattern () | Syntax.ident .. => diff --git a/stage0/src/Lean/Environment.lean b/stage0/src/Lean/Environment.lean index c975f4f943..16b2a2f87d 100644 --- a/stage0/src/Lean/Environment.lean +++ b/stage0/src/Lean/Environment.lean @@ -463,17 +463,19 @@ namespace TagDeclarationExtension instance : Inhabited TagDeclarationExtension := inferInstanceAs (Inhabited (SimplePersistentEnvExtension Name NameSet)) -def tag (ext : TagDeclarationExtension) (env : Environment) (n : Name) : Environment := - ext.addEntry env n +def tag (ext : TagDeclarationExtension) (env : Environment) (declName : Name) : Environment := + assert! env.getModuleIdxFor? declName |>.isNone -- See comment at `TagDeclarationExtension` + ext.addEntry env declName -def isTagged (ext : TagDeclarationExtension) (env : Environment) (n : Name) : Bool := - match env.getModuleIdxFor? n with - | some modIdx => (ext.getModuleEntries env modIdx).binSearchContains n Name.quickLt - | none => (ext.getState env).contains n +def isTagged (ext : TagDeclarationExtension) (env : Environment) (declName : Name) : Bool := + match env.getModuleIdxFor? declName with + | some modIdx => (ext.getModuleEntries env modIdx).binSearchContains declName Name.quickLt + | none => (ext.getState env).contains declName end TagDeclarationExtension -/-- Environment extension for mapping declarations to values. -/ +/-- Environment extension for mapping declarations to values. + Declarations must only be inserted into the mapping in the module where they were declared. -/ def MapDeclarationExtension (α : Type) := SimplePersistentEnvExtension (Name × α) (NameMap α) @@ -491,6 +493,7 @@ instance : Inhabited (MapDeclarationExtension α) := inferInstanceAs (Inhabited (SimplePersistentEnvExtension ..)) def insert (ext : MapDeclarationExtension α) (env : Environment) (declName : Name) (val : α) : Environment := + assert! env.getModuleIdxFor? declName |>.isNone -- See comment at `MapDeclarationExtension` ext.addEntry env (declName, val) def find? [Inhabited α] (ext : MapDeclarationExtension α) (env : Environment) (declName : Name) : Option α := diff --git a/stage0/stdlib/Lean/AuxRecursor.c b/stage0/stdlib/Lean/AuxRecursor.c index c483aa244c..792b2ed6a8 100644 --- a/stage0/stdlib/Lean/AuxRecursor.c +++ b/stage0/stdlib/Lean/AuxRecursor.c @@ -39,7 +39,6 @@ LEAN_EXPORT lean_object* l_Lean_isCasesOnRecursor___boxed(lean_object*, lean_obj static lean_object* l_Lean_casesOnSuffix___closed__1; static lean_object* l_Lean_isCasesOnRecursor___closed__1; LEAN_EXPORT uint8_t l_Lean_isAuxRecursorWithSuffix(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_markNoConfusion___closed__1; static lean_object* l_Lean_brecOnSuffix___closed__1; static lean_object* l_Lean_binductionOnSuffix___closed__1; @@ -59,6 +58,7 @@ LEAN_EXPORT lean_object* l_Lean_brecOnSuffix; static lean_object* l_Lean_isAuxRecursor___closed__1; LEAN_EXPORT lean_object* l_Lean_isAuxRecursorWithSuffix___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isAuxRecursor___closed__6; +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_recOnSuffix___closed__1; LEAN_EXPORT lean_object* l_Lean_casesOnSuffix; LEAN_EXPORT lean_object* l_Lean_mkBInductionOnName(lean_object*); @@ -228,7 +228,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_markAuxRecursor___closed__1; -x_4 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_3, x_1, x_2); +x_4 = l_Lean_TagDeclarationExtension_tag(x_3, x_1, x_2); return x_4; } } @@ -475,7 +475,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_markNoConfusion___closed__1; -x_4 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_3, x_1, x_2); +x_4 = l_Lean_TagDeclarationExtension_tag(x_3, x_1, x_2); return x_4; } } diff --git a/stage0/stdlib/Lean/Compiler/CSimpAttr.c b/stage0/stdlib/Lean/Compiler/CSimpAttr.c index af31c95b1f..50c08f0d82 100644 --- a/stage0/stdlib/Lean/Compiler/CSimpAttr.c +++ b/stage0/stdlib/Lean/Compiler/CSimpAttr.c @@ -56,6 +56,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAux___at_Lean_Compiler_CSim size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Compiler_CSimp_replaceConstants___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_122____spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_CSimp_replaceConstants___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_CSimp_replaceConstants___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -143,7 +144,6 @@ lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object lean_object* l_Lean_Attribute_Builtin_ensureNoArgs(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_122_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_443_(lean_object*); -lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__4(lean_object*); static lean_object* l_Lean_Compiler_CSimp_initFn____x40_Lean_Compiler_CSimpAttr___hyg_122____closed__5; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Compiler_CSimp_replaceConstants___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); @@ -339,7 +339,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_ctor_get(x_1, 1); x_5 = l_Lean_SMap_switch___at_Lean_Compiler_CSimp_State_switch___spec__1(x_3); -x_6 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__4(x_4); +x_6 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__4(x_4); lean_ctor_set(x_1, 1, x_6); lean_ctor_set(x_1, 0, x_5); return x_1; @@ -353,7 +353,7 @@ lean_inc(x_8); lean_inc(x_7); lean_dec(x_1); x_9 = l_Lean_SMap_switch___at_Lean_Compiler_CSimp_State_switch___spec__1(x_7); -x_10 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__4(x_8); +x_10 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__4(x_8); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); diff --git a/stage0/stdlib/Lean/Compiler/NoncomputableAttr.c b/stage0/stdlib/Lean/Compiler/NoncomputableAttr.c index 4215a2bc17..a42a71350d 100644 --- a/stage0/stdlib/Lean/Compiler/NoncomputableAttr.c +++ b/stage0/stdlib/Lean/Compiler/NoncomputableAttr.c @@ -19,12 +19,12 @@ LEAN_EXPORT uint8_t l_Lean_isNoncomputable(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_NoncomputableAttr___hyg_4_(lean_object*); static lean_object* l_Lean_addNoncomputable___closed__1; LEAN_EXPORT lean_object* l_Lean_addNoncomputable(lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isNoncomputable___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Compiler_NoncomputableAttr___hyg_4____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Compiler_NoncomputableAttr___hyg_4____closed__1; +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_initFn____x40_Lean_Compiler_NoncomputableAttr___hyg_4____closed__1() { _start: { @@ -65,7 +65,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_addNoncomputable___closed__1; -x_4 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_3, x_1, x_2); +x_4 = l_Lean_TagDeclarationExtension_tag(x_3, x_1, x_2); return x_4; } } diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 441f44a668..89b9387224 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -72,6 +72,7 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow_declRange___closed__2; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabDepArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Lean_Elab_Term_elabArrow___closed__1; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -122,6 +123,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_pr static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__3; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___closed__3; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall_declRange___closed__2; @@ -149,6 +151,7 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__4; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetTmpDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabFunBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__2; @@ -319,9 +322,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_precheckArrow___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange___closed__7; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(lean_object*, size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun_declRange___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_7060_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_7165_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1432_(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -382,6 +386,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandM uint8_t l_Lean_Name_isAtomic(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__2; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__3; @@ -401,6 +406,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBin extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19; static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl___closed__2; @@ -440,6 +446,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___boxed(lea static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__15; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabBinders___spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__7; @@ -451,6 +458,7 @@ static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1432_ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__26; extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow_declRange___closed__5; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow_declRange___closed__3; @@ -500,6 +508,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders static lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__2___closed__3; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___closed__2; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__35; @@ -507,6 +516,7 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__39; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declRange___closed__7; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun_declRange___closed__7; +lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; @@ -617,6 +627,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binde lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3___closed__2; @@ -631,6 +642,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun_declRange___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__43; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7354,6 +7366,203 @@ goto _start; } } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +lean_inc(x_1); +x_9 = l_Lean_mkHole(x_1); +x_10 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +x_13 = lean_array_uset(x_8, x_3, x_10); +x_3 = x_12; +x_4 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +lean_inc(x_1); +x_9 = l_Lean_mkHole(x_1); +x_10 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +x_13 = lean_array_uset(x_8, x_3, x_10); +x_3 = x_12; +x_4 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +lean_dec(x_1); +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +lean_inc(x_1); +x_9 = l_Lean_mkHole(x_1); +x_10 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +x_13 = lean_array_uset(x_8, x_3, x_10); +x_3 = x_12; +x_4 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_2, x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_array_uget(x_1, x_2); +x_8 = l_Lean_Syntax_getId(x_7); +lean_dec(x_7); +lean_inc(x_4); +x_9 = l_Lean_Macro_resolveGlobalName(x_8, x_4, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +x_13 = l_List_isEmpty___rarg(x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +uint8_t x_14; lean_object* x_15; +lean_dec(x_4); +x_14 = 1; +x_15 = lean_box(x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +size_t x_16; size_t x_17; +lean_free_object(x_9); +x_16 = 1; +x_17 = lean_usize_add(x_2, x_16); +x_2 = x_17; +x_5 = x_12; +goto _start; +} +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_9, 0); +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_9); +x_21 = l_List_isEmpty___rarg(x_19); +lean_dec(x_19); +if (x_21 == 0) +{ +uint8_t x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_4); +x_22 = 1; +x_23 = lean_box(x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_20); +return x_24; +} +else +{ +size_t x_25; size_t x_26; +x_25 = 1; +x_26 = lean_usize_add(x_2, x_25); +x_2 = x_26; +x_5 = x_20; +goto _start; +} +} +} +else +{ +uint8_t x_28; +lean_dec(x_4); +x_28 = !lean_is_exclusive(x_9); +if (x_28 == 0) +{ +return x_9; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_9, 0); +x_30 = lean_ctor_get(x_9, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_9); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +uint8_t x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_4); +x_32 = 0; +x_33 = lean_box(x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_5); +return x_34; +} +} +} static lean_object* _init_l_Lean_Elab_Term_expandFunBinders_loop___closed__1() { _start: { @@ -7550,7 +7759,7 @@ x_14 = lean_array_fget(x_1, x_3); switch (lean_obj_tag(x_14)) { case 0: { -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; uint8_t x_27; +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_5); x_15 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); x_16 = lean_ctor_get(x_15, 0); @@ -7567,6 +7776,9 @@ x_21 = l_Lean_Elab_Term_mkExplicitBinder(x_16, x_20); x_22 = lean_array_push(x_4, x_21); lean_inc(x_5); x_23 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_19, x_22, x_5, x_17); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_24, 1); @@ -8016,8421 +8228,9605 @@ lean_ctor_set(x_234, 1, x_185); return x_234; } } +else +{ +uint8_t x_235; +lean_dec(x_16); +lean_dec(x_5); +x_235 = !lean_is_exclusive(x_23); +if (x_235 == 0) +{ +return x_23; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_236 = lean_ctor_get(x_23, 0); +x_237 = lean_ctor_get(x_23, 1); +lean_inc(x_237); +lean_inc(x_236); +lean_dec(x_23); +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_237); +return x_238; +} +} +} case 1: { -lean_object* x_235; -x_235 = lean_ctor_get(x_14, 1); -lean_inc(x_235); -if (lean_obj_tag(x_235) == 1) -{ -lean_object* x_236; -x_236 = lean_ctor_get(x_235, 0); -lean_inc(x_236); -if (lean_obj_tag(x_236) == 1) -{ -lean_object* x_237; -x_237 = lean_ctor_get(x_236, 0); -lean_inc(x_237); -if (lean_obj_tag(x_237) == 1) -{ -lean_object* x_238; -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -if (lean_obj_tag(x_238) == 1) -{ lean_object* x_239; -x_239 = lean_ctor_get(x_238, 0); +x_239 = lean_ctor_get(x_14, 1); lean_inc(x_239); -if (lean_obj_tag(x_239) == 0) +if (lean_obj_tag(x_239) == 1) { -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_235, 1); +lean_object* x_240; +x_240 = lean_ctor_get(x_239, 0); lean_inc(x_240); -lean_dec(x_235); -x_241 = lean_ctor_get(x_236, 1); -lean_inc(x_241); -lean_dec(x_236); -x_242 = lean_ctor_get(x_237, 1); -lean_inc(x_242); -lean_dec(x_237); -x_243 = lean_ctor_get(x_238, 1); -lean_inc(x_243); -lean_dec(x_238); -x_244 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1; -x_245 = lean_string_dec_eq(x_243, x_244); -lean_dec(x_243); -if (x_245 == 0) +if (lean_obj_tag(x_240) == 1) { -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; uint8_t x_258; -lean_dec(x_242); -lean_dec(x_241); +lean_object* x_241; +x_241 = lean_ctor_get(x_240, 0); +lean_inc(x_241); +if (lean_obj_tag(x_241) == 1) +{ +lean_object* x_242; +x_242 = lean_ctor_get(x_241, 0); +lean_inc(x_242); +if (lean_obj_tag(x_242) == 1) +{ +lean_object* x_243; +x_243 = lean_ctor_get(x_242, 0); +lean_inc(x_243); +if (lean_obj_tag(x_243) == 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_239, 1); +lean_inc(x_244); +lean_dec(x_239); +x_245 = lean_ctor_get(x_240, 1); +lean_inc(x_245); lean_dec(x_240); +x_246 = lean_ctor_get(x_241, 1); +lean_inc(x_246); +lean_dec(x_241); +x_247 = lean_ctor_get(x_242, 1); +lean_inc(x_247); +lean_dec(x_242); +x_248 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1; +x_249 = lean_string_dec_eq(x_247, x_248); +lean_dec(x_247); +if (x_249 == 0) +{ +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_dec(x_246); +lean_dec(x_245); +lean_dec(x_244); lean_inc(x_5); lean_inc(x_14); -x_246 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -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_unsigned_to_nat(1u); -x_250 = lean_nat_add(x_3, x_249); +x_250 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +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_unsigned_to_nat(1u); +x_254 = lean_nat_add(x_3, x_253); lean_dec(x_3); lean_inc(x_14); -x_251 = l_Lean_mkHole(x_14); -lean_inc(x_247); -x_252 = l_Lean_Elab_Term_mkExplicitBinder(x_247, x_251); -x_253 = lean_array_push(x_4, x_252); +x_255 = l_Lean_mkHole(x_14); +lean_inc(x_251); +x_256 = l_Lean_Elab_Term_mkExplicitBinder(x_251, x_255); +x_257 = lean_array_push(x_4, x_256); lean_inc(x_5); -x_254 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_250, x_253, x_5, x_248); -x_255 = lean_ctor_get(x_254, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_255, 1); -lean_inc(x_256); -x_257 = lean_ctor_get(x_254, 1); -lean_inc(x_257); -lean_dec(x_254); -x_258 = !lean_is_exclusive(x_255); -if (x_258 == 0) +x_258 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_254, x_257, x_5, x_252); +if (lean_obj_tag(x_258) == 0) { -lean_object* x_259; uint8_t x_260; -x_259 = lean_ctor_get(x_255, 1); -lean_dec(x_259); -x_260 = !lean_is_exclusive(x_256); -if (x_260 == 0) +lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; +x_259 = lean_ctor_get(x_258, 0); +lean_inc(x_259); +x_260 = lean_ctor_get(x_259, 1); +lean_inc(x_260); +x_261 = lean_ctor_get(x_258, 1); +lean_inc(x_261); +lean_dec(x_258); +x_262 = !lean_is_exclusive(x_259); +if (x_262 == 0) { -lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; -x_261 = lean_ctor_get(x_256, 0); -x_262 = lean_ctor_get(x_256, 1); -lean_dec(x_262); -x_263 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_257); -x_264 = !lean_is_exclusive(x_263); +lean_object* x_263; uint8_t x_264; +x_263 = lean_ctor_get(x_259, 1); +lean_dec(x_263); +x_264 = !lean_is_exclusive(x_260); if (x_264 == 0) { -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; uint8_t x_282; -x_265 = lean_ctor_get(x_263, 0); -x_266 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_265); -x_267 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_267, 0, x_265); -lean_ctor_set(x_267, 1, x_266); -x_268 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_269 = lean_array_push(x_268, x_247); -x_270 = lean_box(2); -x_271 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_272 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -lean_ctor_set(x_272, 2, x_269); -x_273 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_274 = lean_array_push(x_273, x_272); -x_275 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; +x_265 = lean_ctor_get(x_260, 0); +x_266 = lean_ctor_get(x_260, 1); +lean_dec(x_266); +x_267 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_261); +x_268 = !lean_is_exclusive(x_267); +if (x_268 == 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; 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; uint8_t x_286; +x_269 = lean_ctor_get(x_267, 0); +x_270 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_269); +x_271 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_271, 0, x_269); +lean_ctor_set(x_271, 1, x_270); +x_272 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_273 = lean_array_push(x_272, x_251); +x_274 = lean_box(2); +x_275 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_276 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_276, 0, x_270); +lean_ctor_set(x_276, 0, x_274); lean_ctor_set(x_276, 1, x_275); -lean_ctor_set(x_276, 2, x_274); -x_277 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_265); -x_278 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_278, 0, x_265); -lean_ctor_set(x_278, 1, x_277); -x_279 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_265); -x_280 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_280, 0, x_265); +lean_ctor_set(x_276, 2, x_273); +x_277 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_278 = lean_array_push(x_277, x_276); +x_279 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_280 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_280, 0, x_274); lean_ctor_set(x_280, 1, x_279); +lean_ctor_set(x_280, 2, x_278); +x_281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_269); +x_282 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_282, 0, x_269); +lean_ctor_set(x_282, 1, x_281); +x_283 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_269); +x_284 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_284, 0, x_269); +lean_ctor_set(x_284, 1, x_283); lean_inc(x_14); -x_281 = lean_array_push(x_273, x_14); -x_282 = !lean_is_exclusive(x_14); -if (x_282 == 0) +x_285 = lean_array_push(x_277, x_14); +x_286 = !lean_is_exclusive(x_14); +if (x_286 == 0) { -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_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_309; lean_object* x_310; lean_object* x_311; uint8_t x_312; lean_object* x_313; -x_283 = lean_ctor_get(x_14, 2); -lean_dec(x_283); -x_284 = lean_ctor_get(x_14, 1); -lean_dec(x_284); -x_285 = lean_ctor_get(x_14, 0); -lean_dec(x_285); -lean_ctor_set(x_14, 2, x_281); -lean_ctor_set(x_14, 1, x_275); -lean_ctor_set(x_14, 0, x_270); -x_286 = lean_array_push(x_273, x_14); -x_287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_287, 0, x_270); -lean_ctor_set(x_287, 1, x_275); -lean_ctor_set(x_287, 2, x_286); -x_288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_289 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_289, 0, x_265); -lean_ctor_set(x_289, 1, x_288); -x_290 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_291 = lean_array_push(x_290, x_280); -x_292 = lean_array_push(x_291, x_287); -x_293 = lean_array_push(x_292, x_289); -x_294 = lean_array_push(x_293, x_261); -x_295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_296 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_296, 0, x_270); -lean_ctor_set(x_296, 1, x_295); -lean_ctor_set(x_296, 2, x_294); -x_297 = lean_array_push(x_273, x_296); -x_298 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_298, 0, x_270); -lean_ctor_set(x_298, 1, x_275); -lean_ctor_set(x_298, 2, x_297); -x_299 = lean_array_push(x_273, x_298); -x_300 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_301 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_301, 0, x_270); -lean_ctor_set(x_301, 1, x_300); -lean_ctor_set(x_301, 2, x_299); -x_302 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_303 = lean_array_push(x_302, x_267); -x_304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_305 = lean_array_push(x_303, x_304); -x_306 = lean_array_push(x_305, x_304); -x_307 = lean_array_push(x_306, x_276); -x_308 = lean_array_push(x_307, x_278); -x_309 = lean_array_push(x_308, x_301); -x_310 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_311 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_311, 0, x_270); -lean_ctor_set(x_311, 1, x_310); -lean_ctor_set(x_311, 2, x_309); -x_312 = 1; -x_313 = lean_box(x_312); -lean_ctor_set(x_256, 1, x_313); -lean_ctor_set(x_256, 0, x_311); -lean_ctor_set(x_263, 0, x_255); -return x_263; +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_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; uint8_t x_316; lean_object* x_317; +x_287 = lean_ctor_get(x_14, 2); +lean_dec(x_287); +x_288 = lean_ctor_get(x_14, 1); +lean_dec(x_288); +x_289 = lean_ctor_get(x_14, 0); +lean_dec(x_289); +lean_ctor_set(x_14, 2, x_285); +lean_ctor_set(x_14, 1, x_279); +lean_ctor_set(x_14, 0, x_274); +x_290 = lean_array_push(x_277, x_14); +x_291 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_291, 0, x_274); +lean_ctor_set(x_291, 1, x_279); +lean_ctor_set(x_291, 2, x_290); +x_292 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_293 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_293, 0, x_269); +lean_ctor_set(x_293, 1, x_292); +x_294 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_295 = lean_array_push(x_294, x_284); +x_296 = lean_array_push(x_295, x_291); +x_297 = lean_array_push(x_296, x_293); +x_298 = lean_array_push(x_297, x_265); +x_299 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_300 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_300, 0, x_274); +lean_ctor_set(x_300, 1, x_299); +lean_ctor_set(x_300, 2, x_298); +x_301 = lean_array_push(x_277, x_300); +x_302 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_302, 0, x_274); +lean_ctor_set(x_302, 1, x_279); +lean_ctor_set(x_302, 2, x_301); +x_303 = lean_array_push(x_277, x_302); +x_304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_305 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_305, 0, x_274); +lean_ctor_set(x_305, 1, x_304); +lean_ctor_set(x_305, 2, x_303); +x_306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_307 = lean_array_push(x_306, x_271); +x_308 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_309 = lean_array_push(x_307, x_308); +x_310 = lean_array_push(x_309, x_308); +x_311 = lean_array_push(x_310, x_280); +x_312 = lean_array_push(x_311, x_282); +x_313 = lean_array_push(x_312, x_305); +x_314 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_315 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_315, 0, x_274); +lean_ctor_set(x_315, 1, x_314); +lean_ctor_set(x_315, 2, x_313); +x_316 = 1; +x_317 = lean_box(x_316); +lean_ctor_set(x_260, 1, x_317); +lean_ctor_set(x_260, 0, x_315); +lean_ctor_set(x_267, 0, x_259); +return x_267; } else { -lean_object* x_314; 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_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; lean_object* x_342; +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_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; uint8_t x_345; lean_object* x_346; lean_dec(x_14); -x_314 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_314, 0, x_270); -lean_ctor_set(x_314, 1, x_275); -lean_ctor_set(x_314, 2, x_281); -x_315 = lean_array_push(x_273, x_314); -x_316 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_316, 0, x_270); -lean_ctor_set(x_316, 1, x_275); -lean_ctor_set(x_316, 2, x_315); -x_317 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_318 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_318, 0, x_265); -lean_ctor_set(x_318, 1, x_317); -x_319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_320 = lean_array_push(x_319, x_280); -x_321 = lean_array_push(x_320, x_316); -x_322 = lean_array_push(x_321, x_318); -x_323 = lean_array_push(x_322, x_261); -x_324 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_325 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_325, 0, x_270); -lean_ctor_set(x_325, 1, x_324); -lean_ctor_set(x_325, 2, x_323); -x_326 = lean_array_push(x_273, x_325); -x_327 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_327, 0, x_270); -lean_ctor_set(x_327, 1, x_275); -lean_ctor_set(x_327, 2, x_326); -x_328 = lean_array_push(x_273, x_327); -x_329 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_330 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_330, 0, x_270); -lean_ctor_set(x_330, 1, x_329); -lean_ctor_set(x_330, 2, x_328); -x_331 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_332 = lean_array_push(x_331, x_267); -x_333 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_334 = lean_array_push(x_332, x_333); -x_335 = lean_array_push(x_334, x_333); -x_336 = lean_array_push(x_335, x_276); -x_337 = lean_array_push(x_336, x_278); -x_338 = lean_array_push(x_337, x_330); -x_339 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_340 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_340, 0, x_270); -lean_ctor_set(x_340, 1, x_339); -lean_ctor_set(x_340, 2, x_338); -x_341 = 1; -x_342 = lean_box(x_341); -lean_ctor_set(x_256, 1, x_342); -lean_ctor_set(x_256, 0, x_340); -lean_ctor_set(x_263, 0, x_255); -return x_263; +x_318 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_318, 0, x_274); +lean_ctor_set(x_318, 1, x_279); +lean_ctor_set(x_318, 2, x_285); +x_319 = lean_array_push(x_277, x_318); +x_320 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_320, 0, x_274); +lean_ctor_set(x_320, 1, x_279); +lean_ctor_set(x_320, 2, x_319); +x_321 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_322 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_322, 0, x_269); +lean_ctor_set(x_322, 1, x_321); +x_323 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_324 = lean_array_push(x_323, x_284); +x_325 = lean_array_push(x_324, x_320); +x_326 = lean_array_push(x_325, x_322); +x_327 = lean_array_push(x_326, x_265); +x_328 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_329 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_329, 0, x_274); +lean_ctor_set(x_329, 1, x_328); +lean_ctor_set(x_329, 2, x_327); +x_330 = lean_array_push(x_277, x_329); +x_331 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_331, 0, x_274); +lean_ctor_set(x_331, 1, x_279); +lean_ctor_set(x_331, 2, x_330); +x_332 = lean_array_push(x_277, x_331); +x_333 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_334 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_334, 0, x_274); +lean_ctor_set(x_334, 1, x_333); +lean_ctor_set(x_334, 2, x_332); +x_335 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_336 = lean_array_push(x_335, x_271); +x_337 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_338 = lean_array_push(x_336, x_337); +x_339 = lean_array_push(x_338, x_337); +x_340 = lean_array_push(x_339, x_280); +x_341 = lean_array_push(x_340, x_282); +x_342 = lean_array_push(x_341, x_334); +x_343 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_344 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_344, 0, x_274); +lean_ctor_set(x_344, 1, x_343); +lean_ctor_set(x_344, 2, x_342); +x_345 = 1; +x_346 = lean_box(x_345); +lean_ctor_set(x_260, 1, x_346); +lean_ctor_set(x_260, 0, x_344); +lean_ctor_set(x_267, 0, x_259); +return x_267; } } else { -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_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; uint8_t x_389; lean_object* x_390; lean_object* x_391; -x_343 = lean_ctor_get(x_263, 0); -x_344 = lean_ctor_get(x_263, 1); -lean_inc(x_344); -lean_inc(x_343); -lean_dec(x_263); -x_345 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_343); -x_346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_346, 0, x_343); -lean_ctor_set(x_346, 1, x_345); -x_347 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_348 = lean_array_push(x_347, x_247); -x_349 = lean_box(2); -x_350 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_351 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_351, 0, x_349); -lean_ctor_set(x_351, 1, x_350); -lean_ctor_set(x_351, 2, x_348); -x_352 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_353 = lean_array_push(x_352, x_351); -x_354 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +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_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; uint8_t x_393; lean_object* x_394; lean_object* x_395; +x_347 = lean_ctor_get(x_267, 0); +x_348 = lean_ctor_get(x_267, 1); +lean_inc(x_348); +lean_inc(x_347); +lean_dec(x_267); +x_349 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_347); +x_350 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_350, 0, x_347); +lean_ctor_set(x_350, 1, x_349); +x_351 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_352 = lean_array_push(x_351, x_251); +x_353 = lean_box(2); +x_354 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_355 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_355, 0, x_349); +lean_ctor_set(x_355, 0, x_353); lean_ctor_set(x_355, 1, x_354); -lean_ctor_set(x_355, 2, x_353); -x_356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_343); -x_357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_357, 0, x_343); -lean_ctor_set(x_357, 1, x_356); -x_358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_343); -x_359 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_359, 0, x_343); +lean_ctor_set(x_355, 2, x_352); +x_356 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_357 = lean_array_push(x_356, x_355); +x_358 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_359 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_359, 0, x_353); lean_ctor_set(x_359, 1, x_358); +lean_ctor_set(x_359, 2, x_357); +x_360 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_347); +x_361 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_361, 0, x_347); +lean_ctor_set(x_361, 1, x_360); +x_362 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_347); +x_363 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_363, 0, x_347); +lean_ctor_set(x_363, 1, x_362); lean_inc(x_14); -x_360 = lean_array_push(x_352, x_14); +x_364 = lean_array_push(x_356, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_361 = x_14; + x_365 = x_14; } else { lean_dec_ref(x_14); - x_361 = lean_box(0); + x_365 = lean_box(0); } -if (lean_is_scalar(x_361)) { - x_362 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_365)) { + x_366 = lean_alloc_ctor(1, 3, 0); } else { - x_362 = x_361; + x_366 = x_365; } -lean_ctor_set(x_362, 0, x_349); -lean_ctor_set(x_362, 1, x_354); -lean_ctor_set(x_362, 2, x_360); -x_363 = lean_array_push(x_352, x_362); -x_364 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_364, 0, x_349); -lean_ctor_set(x_364, 1, x_354); -lean_ctor_set(x_364, 2, x_363); -x_365 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_366, 0, x_343); -lean_ctor_set(x_366, 1, x_365); -x_367 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_368 = lean_array_push(x_367, x_359); -x_369 = lean_array_push(x_368, x_364); -x_370 = lean_array_push(x_369, x_366); -x_371 = lean_array_push(x_370, x_261); -x_372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_373 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_373, 0, x_349); -lean_ctor_set(x_373, 1, x_372); -lean_ctor_set(x_373, 2, x_371); -x_374 = lean_array_push(x_352, x_373); -x_375 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_375, 0, x_349); -lean_ctor_set(x_375, 1, x_354); -lean_ctor_set(x_375, 2, x_374); -x_376 = lean_array_push(x_352, x_375); -x_377 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_378 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_378, 0, x_349); -lean_ctor_set(x_378, 1, x_377); -lean_ctor_set(x_378, 2, x_376); -x_379 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_380 = lean_array_push(x_379, x_346); -x_381 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_382 = lean_array_push(x_380, x_381); -x_383 = lean_array_push(x_382, x_381); -x_384 = lean_array_push(x_383, x_355); -x_385 = lean_array_push(x_384, x_357); -x_386 = lean_array_push(x_385, x_378); -x_387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_388 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_388, 0, x_349); -lean_ctor_set(x_388, 1, x_387); -lean_ctor_set(x_388, 2, x_386); -x_389 = 1; -x_390 = lean_box(x_389); -lean_ctor_set(x_256, 1, x_390); -lean_ctor_set(x_256, 0, x_388); -x_391 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_391, 0, x_255); -lean_ctor_set(x_391, 1, x_344); -return x_391; +lean_ctor_set(x_366, 0, x_353); +lean_ctor_set(x_366, 1, x_358); +lean_ctor_set(x_366, 2, x_364); +x_367 = lean_array_push(x_356, x_366); +x_368 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_368, 0, x_353); +lean_ctor_set(x_368, 1, x_358); +lean_ctor_set(x_368, 2, x_367); +x_369 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_370 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_370, 0, x_347); +lean_ctor_set(x_370, 1, x_369); +x_371 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_372 = lean_array_push(x_371, x_363); +x_373 = lean_array_push(x_372, x_368); +x_374 = lean_array_push(x_373, x_370); +x_375 = lean_array_push(x_374, x_265); +x_376 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_377 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_377, 0, x_353); +lean_ctor_set(x_377, 1, x_376); +lean_ctor_set(x_377, 2, x_375); +x_378 = lean_array_push(x_356, x_377); +x_379 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_379, 0, x_353); +lean_ctor_set(x_379, 1, x_358); +lean_ctor_set(x_379, 2, x_378); +x_380 = lean_array_push(x_356, x_379); +x_381 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_382 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_382, 0, x_353); +lean_ctor_set(x_382, 1, x_381); +lean_ctor_set(x_382, 2, x_380); +x_383 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_384 = lean_array_push(x_383, x_350); +x_385 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_386 = lean_array_push(x_384, x_385); +x_387 = lean_array_push(x_386, x_385); +x_388 = lean_array_push(x_387, x_359); +x_389 = lean_array_push(x_388, x_361); +x_390 = lean_array_push(x_389, x_382); +x_391 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_392 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_392, 0, x_353); +lean_ctor_set(x_392, 1, x_391); +lean_ctor_set(x_392, 2, x_390); +x_393 = 1; +x_394 = lean_box(x_393); +lean_ctor_set(x_260, 1, x_394); +lean_ctor_set(x_260, 0, x_392); +x_395 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_395, 0, x_259); +lean_ctor_set(x_395, 1, x_348); +return x_395; } } else { -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; uint8_t x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; -x_392 = lean_ctor_get(x_256, 0); -lean_inc(x_392); -lean_dec(x_256); -x_393 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_257); -x_394 = lean_ctor_get(x_393, 0); -lean_inc(x_394); -x_395 = lean_ctor_get(x_393, 1); -lean_inc(x_395); -if (lean_is_exclusive(x_393)) { - lean_ctor_release(x_393, 0); - lean_ctor_release(x_393, 1); - x_396 = x_393; +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; uint8_t x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_396 = lean_ctor_get(x_260, 0); +lean_inc(x_396); +lean_dec(x_260); +x_397 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_261); +x_398 = lean_ctor_get(x_397, 0); +lean_inc(x_398); +x_399 = lean_ctor_get(x_397, 1); +lean_inc(x_399); +if (lean_is_exclusive(x_397)) { + lean_ctor_release(x_397, 0); + lean_ctor_release(x_397, 1); + x_400 = x_397; } else { - lean_dec_ref(x_393); - x_396 = lean_box(0); + lean_dec_ref(x_397); + x_400 = lean_box(0); } -x_397 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_394); -x_398 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_398, 0, x_394); -lean_ctor_set(x_398, 1, x_397); -x_399 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_400 = lean_array_push(x_399, x_247); -x_401 = lean_box(2); -x_402 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_403 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_403, 0, x_401); -lean_ctor_set(x_403, 1, x_402); -lean_ctor_set(x_403, 2, x_400); -x_404 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_405 = lean_array_push(x_404, x_403); -x_406 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_401 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_398); +x_402 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_402, 0, x_398); +lean_ctor_set(x_402, 1, x_401); +x_403 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_404 = lean_array_push(x_403, x_251); +x_405 = lean_box(2); +x_406 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_407 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_407, 0, x_401); +lean_ctor_set(x_407, 0, x_405); lean_ctor_set(x_407, 1, x_406); -lean_ctor_set(x_407, 2, x_405); -x_408 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_394); -x_409 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_409, 0, x_394); -lean_ctor_set(x_409, 1, x_408); -x_410 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_394); -x_411 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_411, 0, x_394); +lean_ctor_set(x_407, 2, x_404); +x_408 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_409 = lean_array_push(x_408, x_407); +x_410 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_411 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_411, 0, x_405); lean_ctor_set(x_411, 1, x_410); +lean_ctor_set(x_411, 2, x_409); +x_412 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_398); +x_413 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_413, 0, x_398); +lean_ctor_set(x_413, 1, x_412); +x_414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_398); +x_415 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_415, 0, x_398); +lean_ctor_set(x_415, 1, x_414); lean_inc(x_14); -x_412 = lean_array_push(x_404, x_14); +x_416 = lean_array_push(x_408, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_413 = x_14; + x_417 = x_14; } else { lean_dec_ref(x_14); - x_413 = lean_box(0); + x_417 = lean_box(0); } -if (lean_is_scalar(x_413)) { - x_414 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_417)) { + x_418 = lean_alloc_ctor(1, 3, 0); } else { - x_414 = x_413; + x_418 = x_417; } -lean_ctor_set(x_414, 0, x_401); -lean_ctor_set(x_414, 1, x_406); -lean_ctor_set(x_414, 2, x_412); -x_415 = lean_array_push(x_404, x_414); -x_416 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_416, 0, x_401); -lean_ctor_set(x_416, 1, x_406); -lean_ctor_set(x_416, 2, x_415); -x_417 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_418 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_418, 0, x_394); -lean_ctor_set(x_418, 1, x_417); -x_419 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_420 = lean_array_push(x_419, x_411); -x_421 = lean_array_push(x_420, x_416); -x_422 = lean_array_push(x_421, x_418); -x_423 = lean_array_push(x_422, x_392); -x_424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_425 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_425, 0, x_401); -lean_ctor_set(x_425, 1, x_424); -lean_ctor_set(x_425, 2, x_423); -x_426 = lean_array_push(x_404, x_425); -x_427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_427, 0, x_401); -lean_ctor_set(x_427, 1, x_406); -lean_ctor_set(x_427, 2, x_426); -x_428 = lean_array_push(x_404, x_427); -x_429 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_430 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_430, 0, x_401); -lean_ctor_set(x_430, 1, x_429); -lean_ctor_set(x_430, 2, x_428); -x_431 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_432 = lean_array_push(x_431, x_398); -x_433 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_434 = lean_array_push(x_432, x_433); -x_435 = lean_array_push(x_434, x_433); -x_436 = lean_array_push(x_435, x_407); -x_437 = lean_array_push(x_436, x_409); -x_438 = lean_array_push(x_437, x_430); -x_439 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_440 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_440, 0, x_401); -lean_ctor_set(x_440, 1, x_439); -lean_ctor_set(x_440, 2, x_438); -x_441 = 1; -x_442 = lean_box(x_441); -x_443 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_443, 0, x_440); -lean_ctor_set(x_443, 1, x_442); -lean_ctor_set(x_255, 1, x_443); -if (lean_is_scalar(x_396)) { - x_444 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_418, 0, x_405); +lean_ctor_set(x_418, 1, x_410); +lean_ctor_set(x_418, 2, x_416); +x_419 = lean_array_push(x_408, x_418); +x_420 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_420, 0, x_405); +lean_ctor_set(x_420, 1, x_410); +lean_ctor_set(x_420, 2, x_419); +x_421 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_422 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_422, 0, x_398); +lean_ctor_set(x_422, 1, x_421); +x_423 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_424 = lean_array_push(x_423, x_415); +x_425 = lean_array_push(x_424, x_420); +x_426 = lean_array_push(x_425, x_422); +x_427 = lean_array_push(x_426, x_396); +x_428 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_429 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_429, 0, x_405); +lean_ctor_set(x_429, 1, x_428); +lean_ctor_set(x_429, 2, x_427); +x_430 = lean_array_push(x_408, x_429); +x_431 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_431, 0, x_405); +lean_ctor_set(x_431, 1, x_410); +lean_ctor_set(x_431, 2, x_430); +x_432 = lean_array_push(x_408, x_431); +x_433 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_434 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_434, 0, x_405); +lean_ctor_set(x_434, 1, x_433); +lean_ctor_set(x_434, 2, x_432); +x_435 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_436 = lean_array_push(x_435, x_402); +x_437 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_438 = lean_array_push(x_436, x_437); +x_439 = lean_array_push(x_438, x_437); +x_440 = lean_array_push(x_439, x_411); +x_441 = lean_array_push(x_440, x_413); +x_442 = lean_array_push(x_441, x_434); +x_443 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_444 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_444, 0, x_405); +lean_ctor_set(x_444, 1, x_443); +lean_ctor_set(x_444, 2, x_442); +x_445 = 1; +x_446 = lean_box(x_445); +x_447 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_447, 0, x_444); +lean_ctor_set(x_447, 1, x_446); +lean_ctor_set(x_259, 1, x_447); +if (lean_is_scalar(x_400)) { + x_448 = lean_alloc_ctor(0, 2, 0); } else { - x_444 = x_396; + x_448 = x_400; } -lean_ctor_set(x_444, 0, x_255); -lean_ctor_set(x_444, 1, x_395); -return x_444; +lean_ctor_set(x_448, 0, x_259); +lean_ctor_set(x_448, 1, x_399); +return x_448; } } else { -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; uint8_t x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; -x_445 = lean_ctor_get(x_255, 0); -lean_inc(x_445); -lean_dec(x_255); -x_446 = lean_ctor_get(x_256, 0); -lean_inc(x_446); -if (lean_is_exclusive(x_256)) { - lean_ctor_release(x_256, 0); - lean_ctor_release(x_256, 1); - x_447 = x_256; -} else { - lean_dec_ref(x_256); - x_447 = lean_box(0); -} -x_448 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_257); -x_449 = lean_ctor_get(x_448, 0); +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; uint8_t x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; +x_449 = lean_ctor_get(x_259, 0); lean_inc(x_449); -x_450 = lean_ctor_get(x_448, 1); +lean_dec(x_259); +x_450 = lean_ctor_get(x_260, 0); lean_inc(x_450); -if (lean_is_exclusive(x_448)) { - lean_ctor_release(x_448, 0); - lean_ctor_release(x_448, 1); - x_451 = x_448; +if (lean_is_exclusive(x_260)) { + lean_ctor_release(x_260, 0); + lean_ctor_release(x_260, 1); + x_451 = x_260; } else { - lean_dec_ref(x_448); + lean_dec_ref(x_260); x_451 = lean_box(0); } -x_452 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_449); -x_453 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_453, 0, x_449); -lean_ctor_set(x_453, 1, x_452); -x_454 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_455 = lean_array_push(x_454, x_247); -x_456 = lean_box(2); -x_457 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_458 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_458, 0, x_456); -lean_ctor_set(x_458, 1, x_457); -lean_ctor_set(x_458, 2, x_455); -x_459 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_460 = lean_array_push(x_459, x_458); -x_461 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_452 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_261); +x_453 = lean_ctor_get(x_452, 0); +lean_inc(x_453); +x_454 = lean_ctor_get(x_452, 1); +lean_inc(x_454); +if (lean_is_exclusive(x_452)) { + lean_ctor_release(x_452, 0); + lean_ctor_release(x_452, 1); + x_455 = x_452; +} else { + lean_dec_ref(x_452); + x_455 = lean_box(0); +} +x_456 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_453); +x_457 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_457, 0, x_453); +lean_ctor_set(x_457, 1, x_456); +x_458 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_459 = lean_array_push(x_458, x_251); +x_460 = lean_box(2); +x_461 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_462 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_462, 0, x_456); +lean_ctor_set(x_462, 0, x_460); lean_ctor_set(x_462, 1, x_461); -lean_ctor_set(x_462, 2, x_460); -x_463 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_449); -x_464 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_464, 0, x_449); -lean_ctor_set(x_464, 1, x_463); -x_465 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_449); -x_466 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_466, 0, x_449); +lean_ctor_set(x_462, 2, x_459); +x_463 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_464 = lean_array_push(x_463, x_462); +x_465 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_466 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_466, 0, x_460); lean_ctor_set(x_466, 1, x_465); +lean_ctor_set(x_466, 2, x_464); +x_467 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_453); +x_468 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_468, 0, x_453); +lean_ctor_set(x_468, 1, x_467); +x_469 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_453); +x_470 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_470, 0, x_453); +lean_ctor_set(x_470, 1, x_469); lean_inc(x_14); -x_467 = lean_array_push(x_459, x_14); +x_471 = lean_array_push(x_463, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_468 = x_14; + x_472 = x_14; } else { lean_dec_ref(x_14); - x_468 = lean_box(0); + x_472 = lean_box(0); } -if (lean_is_scalar(x_468)) { - x_469 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_472)) { + x_473 = lean_alloc_ctor(1, 3, 0); } else { - x_469 = x_468; + x_473 = x_472; } -lean_ctor_set(x_469, 0, x_456); -lean_ctor_set(x_469, 1, x_461); -lean_ctor_set(x_469, 2, x_467); -x_470 = lean_array_push(x_459, x_469); -x_471 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_471, 0, x_456); -lean_ctor_set(x_471, 1, x_461); -lean_ctor_set(x_471, 2, x_470); -x_472 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_473 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_473, 0, x_449); -lean_ctor_set(x_473, 1, x_472); -x_474 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_475 = lean_array_push(x_474, x_466); -x_476 = lean_array_push(x_475, x_471); -x_477 = lean_array_push(x_476, x_473); -x_478 = lean_array_push(x_477, x_446); -x_479 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_480 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_480, 0, x_456); -lean_ctor_set(x_480, 1, x_479); -lean_ctor_set(x_480, 2, x_478); -x_481 = lean_array_push(x_459, x_480); -x_482 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_482, 0, x_456); -lean_ctor_set(x_482, 1, x_461); -lean_ctor_set(x_482, 2, x_481); -x_483 = lean_array_push(x_459, x_482); -x_484 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_485 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_485, 0, x_456); -lean_ctor_set(x_485, 1, x_484); -lean_ctor_set(x_485, 2, x_483); -x_486 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_487 = lean_array_push(x_486, x_453); -x_488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_489 = lean_array_push(x_487, x_488); -x_490 = lean_array_push(x_489, x_488); -x_491 = lean_array_push(x_490, x_462); -x_492 = lean_array_push(x_491, x_464); -x_493 = lean_array_push(x_492, x_485); -x_494 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_495 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_495, 0, x_456); -lean_ctor_set(x_495, 1, x_494); -lean_ctor_set(x_495, 2, x_493); -x_496 = 1; -x_497 = lean_box(x_496); -if (lean_is_scalar(x_447)) { - x_498 = lean_alloc_ctor(0, 2, 0); -} else { - x_498 = x_447; -} -lean_ctor_set(x_498, 0, x_495); -lean_ctor_set(x_498, 1, x_497); -x_499 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_499, 0, x_445); +lean_ctor_set(x_473, 0, x_460); +lean_ctor_set(x_473, 1, x_465); +lean_ctor_set(x_473, 2, x_471); +x_474 = lean_array_push(x_463, x_473); +x_475 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_475, 0, x_460); +lean_ctor_set(x_475, 1, x_465); +lean_ctor_set(x_475, 2, x_474); +x_476 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_477 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_477, 0, x_453); +lean_ctor_set(x_477, 1, x_476); +x_478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_479 = lean_array_push(x_478, x_470); +x_480 = lean_array_push(x_479, x_475); +x_481 = lean_array_push(x_480, x_477); +x_482 = lean_array_push(x_481, x_450); +x_483 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_484 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_484, 0, x_460); +lean_ctor_set(x_484, 1, x_483); +lean_ctor_set(x_484, 2, x_482); +x_485 = lean_array_push(x_463, x_484); +x_486 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_486, 0, x_460); +lean_ctor_set(x_486, 1, x_465); +lean_ctor_set(x_486, 2, x_485); +x_487 = lean_array_push(x_463, x_486); +x_488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_489 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_489, 0, x_460); +lean_ctor_set(x_489, 1, x_488); +lean_ctor_set(x_489, 2, x_487); +x_490 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_491 = lean_array_push(x_490, x_457); +x_492 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_493 = lean_array_push(x_491, x_492); +x_494 = lean_array_push(x_493, x_492); +x_495 = lean_array_push(x_494, x_466); +x_496 = lean_array_push(x_495, x_468); +x_497 = lean_array_push(x_496, x_489); +x_498 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_499 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_499, 0, x_460); lean_ctor_set(x_499, 1, x_498); +lean_ctor_set(x_499, 2, x_497); +x_500 = 1; +x_501 = lean_box(x_500); if (lean_is_scalar(x_451)) { - x_500 = lean_alloc_ctor(0, 2, 0); + x_502 = lean_alloc_ctor(0, 2, 0); } else { - x_500 = x_451; + x_502 = x_451; } -lean_ctor_set(x_500, 0, x_499); -lean_ctor_set(x_500, 1, x_450); -return x_500; +lean_ctor_set(x_502, 0, x_499); +lean_ctor_set(x_502, 1, x_501); +x_503 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_503, 0, x_449); +lean_ctor_set(x_503, 1, x_502); +if (lean_is_scalar(x_455)) { + x_504 = lean_alloc_ctor(0, 2, 0); +} else { + x_504 = x_455; +} +lean_ctor_set(x_504, 0, x_503); +lean_ctor_set(x_504, 1, x_454); +return x_504; } } else { -lean_object* x_501; uint8_t x_502; -x_501 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__3; -x_502 = lean_string_dec_eq(x_242, x_501); -lean_dec(x_242); -if (x_502 == 0) +uint8_t x_505; +lean_dec(x_251); +lean_dec(x_14); +lean_dec(x_5); +x_505 = !lean_is_exclusive(x_258); +if (x_505 == 0) { -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; uint8_t x_515; -lean_dec(x_241); -lean_dec(x_240); +return x_258; +} +else +{ +lean_object* x_506; lean_object* x_507; lean_object* x_508; +x_506 = lean_ctor_get(x_258, 0); +x_507 = lean_ctor_get(x_258, 1); +lean_inc(x_507); +lean_inc(x_506); +lean_dec(x_258); +x_508 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_508, 0, x_506); +lean_ctor_set(x_508, 1, x_507); +return x_508; +} +} +} +else +{ +lean_object* x_509; uint8_t x_510; +x_509 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__3; +x_510 = lean_string_dec_eq(x_246, x_509); +lean_dec(x_246); +if (x_510 == 0) +{ +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_dec(x_245); +lean_dec(x_244); lean_inc(x_5); lean_inc(x_14); -x_503 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_504 = lean_ctor_get(x_503, 0); -lean_inc(x_504); -x_505 = lean_ctor_get(x_503, 1); -lean_inc(x_505); -lean_dec(x_503); -x_506 = lean_unsigned_to_nat(1u); -x_507 = lean_nat_add(x_3, x_506); -lean_dec(x_3); -lean_inc(x_14); -x_508 = l_Lean_mkHole(x_14); -lean_inc(x_504); -x_509 = l_Lean_Elab_Term_mkExplicitBinder(x_504, x_508); -x_510 = lean_array_push(x_4, x_509); -lean_inc(x_5); -x_511 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_507, x_510, x_5, x_505); +x_511 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); x_512 = lean_ctor_get(x_511, 0); lean_inc(x_512); -x_513 = lean_ctor_get(x_512, 1); +x_513 = lean_ctor_get(x_511, 1); lean_inc(x_513); -x_514 = lean_ctor_get(x_511, 1); -lean_inc(x_514); lean_dec(x_511); -x_515 = !lean_is_exclusive(x_512); -if (x_515 == 0) +x_514 = lean_unsigned_to_nat(1u); +x_515 = lean_nat_add(x_3, x_514); +lean_dec(x_3); +lean_inc(x_14); +x_516 = l_Lean_mkHole(x_14); +lean_inc(x_512); +x_517 = l_Lean_Elab_Term_mkExplicitBinder(x_512, x_516); +x_518 = lean_array_push(x_4, x_517); +lean_inc(x_5); +x_519 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_515, x_518, x_5, x_513); +if (lean_obj_tag(x_519) == 0) { -lean_object* x_516; uint8_t x_517; -x_516 = lean_ctor_get(x_512, 1); -lean_dec(x_516); -x_517 = !lean_is_exclusive(x_513); -if (x_517 == 0) -{ -lean_object* x_518; lean_object* x_519; lean_object* x_520; uint8_t x_521; -x_518 = lean_ctor_get(x_513, 0); -x_519 = lean_ctor_get(x_513, 1); +lean_object* x_520; lean_object* x_521; lean_object* x_522; uint8_t x_523; +x_520 = lean_ctor_get(x_519, 0); +lean_inc(x_520); +x_521 = lean_ctor_get(x_520, 1); +lean_inc(x_521); +x_522 = lean_ctor_get(x_519, 1); +lean_inc(x_522); lean_dec(x_519); -x_520 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_514); -x_521 = !lean_is_exclusive(x_520); -if (x_521 == 0) +x_523 = !lean_is_exclusive(x_520); +if (x_523 == 0) { -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; uint8_t x_539; -x_522 = lean_ctor_get(x_520, 0); -x_523 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_522); -x_524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_524, 0, x_522); -lean_ctor_set(x_524, 1, x_523); -x_525 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_526 = lean_array_push(x_525, x_504); -x_527 = lean_box(2); -x_528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_529 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set(x_529, 1, x_528); -lean_ctor_set(x_529, 2, x_526); -x_530 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_531 = lean_array_push(x_530, x_529); -x_532 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_533 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_533, 0, x_527); -lean_ctor_set(x_533, 1, x_532); -lean_ctor_set(x_533, 2, x_531); -x_534 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_522); -x_535 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_535, 0, x_522); -lean_ctor_set(x_535, 1, x_534); -x_536 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_522); -x_537 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_537, 0, x_522); +lean_object* x_524; uint8_t x_525; +x_524 = lean_ctor_get(x_520, 1); +lean_dec(x_524); +x_525 = !lean_is_exclusive(x_521); +if (x_525 == 0) +{ +lean_object* x_526; lean_object* x_527; lean_object* x_528; uint8_t x_529; +x_526 = lean_ctor_get(x_521, 0); +x_527 = lean_ctor_get(x_521, 1); +lean_dec(x_527); +x_528 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_522); +x_529 = !lean_is_exclusive(x_528); +if (x_529 == 0) +{ +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; uint8_t x_547; +x_530 = lean_ctor_get(x_528, 0); +x_531 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_530); +x_532 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_532, 0, x_530); +lean_ctor_set(x_532, 1, x_531); +x_533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_534 = lean_array_push(x_533, x_512); +x_535 = lean_box(2); +x_536 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_537 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_537, 0, x_535); lean_ctor_set(x_537, 1, x_536); +lean_ctor_set(x_537, 2, x_534); +x_538 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_539 = lean_array_push(x_538, x_537); +x_540 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_541 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_541, 0, x_535); +lean_ctor_set(x_541, 1, x_540); +lean_ctor_set(x_541, 2, x_539); +x_542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_530); +x_543 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_543, 0, x_530); +lean_ctor_set(x_543, 1, x_542); +x_544 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_530); +x_545 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_545, 0, x_530); +lean_ctor_set(x_545, 1, x_544); lean_inc(x_14); -x_538 = lean_array_push(x_530, x_14); -x_539 = !lean_is_exclusive(x_14); -if (x_539 == 0) +x_546 = lean_array_push(x_538, x_14); +x_547 = !lean_is_exclusive(x_14); +if (x_547 == 0) { -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; uint8_t x_569; lean_object* x_570; -x_540 = lean_ctor_get(x_14, 2); -lean_dec(x_540); -x_541 = lean_ctor_get(x_14, 1); -lean_dec(x_541); -x_542 = lean_ctor_get(x_14, 0); -lean_dec(x_542); -lean_ctor_set(x_14, 2, x_538); -lean_ctor_set(x_14, 1, x_532); -lean_ctor_set(x_14, 0, x_527); -x_543 = lean_array_push(x_530, x_14); -x_544 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_544, 0, x_527); -lean_ctor_set(x_544, 1, x_532); -lean_ctor_set(x_544, 2, x_543); -x_545 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_546 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_546, 0, x_522); -lean_ctor_set(x_546, 1, x_545); -x_547 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_548 = lean_array_push(x_547, x_537); -x_549 = lean_array_push(x_548, x_544); -x_550 = lean_array_push(x_549, x_546); -x_551 = lean_array_push(x_550, x_518); -x_552 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_553 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_553, 0, x_527); -lean_ctor_set(x_553, 1, x_552); -lean_ctor_set(x_553, 2, x_551); -x_554 = lean_array_push(x_530, x_553); -x_555 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_555, 0, x_527); -lean_ctor_set(x_555, 1, x_532); -lean_ctor_set(x_555, 2, x_554); -x_556 = lean_array_push(x_530, x_555); -x_557 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_558 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_558, 0, x_527); -lean_ctor_set(x_558, 1, x_557); -lean_ctor_set(x_558, 2, x_556); -x_559 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_560 = lean_array_push(x_559, x_524); -x_561 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_562 = lean_array_push(x_560, x_561); -x_563 = lean_array_push(x_562, x_561); -x_564 = lean_array_push(x_563, x_533); -x_565 = lean_array_push(x_564, x_535); -x_566 = lean_array_push(x_565, x_558); -x_567 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_568 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_568, 0, x_527); -lean_ctor_set(x_568, 1, x_567); -lean_ctor_set(x_568, 2, x_566); -x_569 = 1; -x_570 = lean_box(x_569); -lean_ctor_set(x_513, 1, x_570); -lean_ctor_set(x_513, 0, x_568); -lean_ctor_set(x_520, 0, x_512); -return x_520; +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; uint8_t x_577; lean_object* x_578; +x_548 = lean_ctor_get(x_14, 2); +lean_dec(x_548); +x_549 = lean_ctor_get(x_14, 1); +lean_dec(x_549); +x_550 = lean_ctor_get(x_14, 0); +lean_dec(x_550); +lean_ctor_set(x_14, 2, x_546); +lean_ctor_set(x_14, 1, x_540); +lean_ctor_set(x_14, 0, x_535); +x_551 = lean_array_push(x_538, x_14); +x_552 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_552, 0, x_535); +lean_ctor_set(x_552, 1, x_540); +lean_ctor_set(x_552, 2, x_551); +x_553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_554 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_554, 0, x_530); +lean_ctor_set(x_554, 1, x_553); +x_555 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_556 = lean_array_push(x_555, x_545); +x_557 = lean_array_push(x_556, x_552); +x_558 = lean_array_push(x_557, x_554); +x_559 = lean_array_push(x_558, x_526); +x_560 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_561 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_561, 0, x_535); +lean_ctor_set(x_561, 1, x_560); +lean_ctor_set(x_561, 2, x_559); +x_562 = lean_array_push(x_538, x_561); +x_563 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_563, 0, x_535); +lean_ctor_set(x_563, 1, x_540); +lean_ctor_set(x_563, 2, x_562); +x_564 = lean_array_push(x_538, x_563); +x_565 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_566 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_566, 0, x_535); +lean_ctor_set(x_566, 1, x_565); +lean_ctor_set(x_566, 2, x_564); +x_567 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_568 = lean_array_push(x_567, x_532); +x_569 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_570 = lean_array_push(x_568, x_569); +x_571 = lean_array_push(x_570, x_569); +x_572 = lean_array_push(x_571, x_541); +x_573 = lean_array_push(x_572, x_543); +x_574 = lean_array_push(x_573, x_566); +x_575 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_576 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_576, 0, x_535); +lean_ctor_set(x_576, 1, x_575); +lean_ctor_set(x_576, 2, x_574); +x_577 = 1; +x_578 = lean_box(x_577); +lean_ctor_set(x_521, 1, x_578); +lean_ctor_set(x_521, 0, x_576); +lean_ctor_set(x_528, 0, x_520); +return x_528; } else { -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; uint8_t x_598; lean_object* x_599; +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; uint8_t x_606; lean_object* x_607; lean_dec(x_14); -x_571 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_571, 0, x_527); -lean_ctor_set(x_571, 1, x_532); -lean_ctor_set(x_571, 2, x_538); -x_572 = lean_array_push(x_530, x_571); -x_573 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_573, 0, x_527); -lean_ctor_set(x_573, 1, x_532); -lean_ctor_set(x_573, 2, x_572); -x_574 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_575 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_575, 0, x_522); -lean_ctor_set(x_575, 1, x_574); -x_576 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_577 = lean_array_push(x_576, x_537); -x_578 = lean_array_push(x_577, x_573); -x_579 = lean_array_push(x_578, x_575); -x_580 = lean_array_push(x_579, x_518); -x_581 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_582 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_582, 0, x_527); -lean_ctor_set(x_582, 1, x_581); -lean_ctor_set(x_582, 2, x_580); -x_583 = lean_array_push(x_530, x_582); -x_584 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_584, 0, x_527); -lean_ctor_set(x_584, 1, x_532); -lean_ctor_set(x_584, 2, x_583); -x_585 = lean_array_push(x_530, x_584); -x_586 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_587 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_587, 0, x_527); -lean_ctor_set(x_587, 1, x_586); -lean_ctor_set(x_587, 2, x_585); -x_588 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_589 = lean_array_push(x_588, x_524); -x_590 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_591 = lean_array_push(x_589, x_590); -x_592 = lean_array_push(x_591, x_590); -x_593 = lean_array_push(x_592, x_533); -x_594 = lean_array_push(x_593, x_535); -x_595 = lean_array_push(x_594, x_587); -x_596 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_597 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_597, 0, x_527); -lean_ctor_set(x_597, 1, x_596); -lean_ctor_set(x_597, 2, x_595); -x_598 = 1; -x_599 = lean_box(x_598); -lean_ctor_set(x_513, 1, x_599); -lean_ctor_set(x_513, 0, x_597); -lean_ctor_set(x_520, 0, x_512); -return x_520; +x_579 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_579, 0, x_535); +lean_ctor_set(x_579, 1, x_540); +lean_ctor_set(x_579, 2, x_546); +x_580 = lean_array_push(x_538, x_579); +x_581 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_581, 0, x_535); +lean_ctor_set(x_581, 1, x_540); +lean_ctor_set(x_581, 2, x_580); +x_582 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_583 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_583, 0, x_530); +lean_ctor_set(x_583, 1, x_582); +x_584 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_585 = lean_array_push(x_584, x_545); +x_586 = lean_array_push(x_585, x_581); +x_587 = lean_array_push(x_586, x_583); +x_588 = lean_array_push(x_587, x_526); +x_589 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_590 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_590, 0, x_535); +lean_ctor_set(x_590, 1, x_589); +lean_ctor_set(x_590, 2, x_588); +x_591 = lean_array_push(x_538, x_590); +x_592 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_592, 0, x_535); +lean_ctor_set(x_592, 1, x_540); +lean_ctor_set(x_592, 2, x_591); +x_593 = lean_array_push(x_538, x_592); +x_594 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_595 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_595, 0, x_535); +lean_ctor_set(x_595, 1, x_594); +lean_ctor_set(x_595, 2, x_593); +x_596 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_597 = lean_array_push(x_596, x_532); +x_598 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_599 = lean_array_push(x_597, x_598); +x_600 = lean_array_push(x_599, x_598); +x_601 = lean_array_push(x_600, x_541); +x_602 = lean_array_push(x_601, x_543); +x_603 = lean_array_push(x_602, x_595); +x_604 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_605 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_605, 0, x_535); +lean_ctor_set(x_605, 1, x_604); +lean_ctor_set(x_605, 2, x_603); +x_606 = 1; +x_607 = lean_box(x_606); +lean_ctor_set(x_521, 1, x_607); +lean_ctor_set(x_521, 0, x_605); +lean_ctor_set(x_528, 0, x_520); +return x_528; } } else { -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; uint8_t x_646; lean_object* x_647; lean_object* x_648; -x_600 = lean_ctor_get(x_520, 0); -x_601 = lean_ctor_get(x_520, 1); -lean_inc(x_601); -lean_inc(x_600); -lean_dec(x_520); -x_602 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_600); -x_603 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_603, 0, x_600); -lean_ctor_set(x_603, 1, x_602); -x_604 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_605 = lean_array_push(x_604, x_504); -x_606 = lean_box(2); -x_607 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_608 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_608, 0, x_606); -lean_ctor_set(x_608, 1, x_607); -lean_ctor_set(x_608, 2, x_605); -x_609 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_610 = lean_array_push(x_609, x_608); -x_611 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_612 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_612, 0, x_606); -lean_ctor_set(x_612, 1, x_611); -lean_ctor_set(x_612, 2, x_610); -x_613 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_600); -x_614 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_614, 0, x_600); -lean_ctor_set(x_614, 1, x_613); -x_615 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_600); -x_616 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_616, 0, x_600); +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; uint8_t x_654; lean_object* x_655; lean_object* x_656; +x_608 = lean_ctor_get(x_528, 0); +x_609 = lean_ctor_get(x_528, 1); +lean_inc(x_609); +lean_inc(x_608); +lean_dec(x_528); +x_610 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_608); +x_611 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_611, 0, x_608); +lean_ctor_set(x_611, 1, x_610); +x_612 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_613 = lean_array_push(x_612, x_512); +x_614 = lean_box(2); +x_615 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_616 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_616, 0, x_614); lean_ctor_set(x_616, 1, x_615); +lean_ctor_set(x_616, 2, x_613); +x_617 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_618 = lean_array_push(x_617, x_616); +x_619 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_620 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_620, 0, x_614); +lean_ctor_set(x_620, 1, x_619); +lean_ctor_set(x_620, 2, x_618); +x_621 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_608); +x_622 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_622, 0, x_608); +lean_ctor_set(x_622, 1, x_621); +x_623 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_608); +x_624 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_624, 0, x_608); +lean_ctor_set(x_624, 1, x_623); lean_inc(x_14); -x_617 = lean_array_push(x_609, x_14); +x_625 = lean_array_push(x_617, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_618 = x_14; + x_626 = x_14; } else { lean_dec_ref(x_14); - x_618 = lean_box(0); + x_626 = lean_box(0); } -if (lean_is_scalar(x_618)) { - x_619 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_626)) { + x_627 = lean_alloc_ctor(1, 3, 0); } else { - x_619 = x_618; + x_627 = x_626; } -lean_ctor_set(x_619, 0, x_606); -lean_ctor_set(x_619, 1, x_611); -lean_ctor_set(x_619, 2, x_617); -x_620 = lean_array_push(x_609, x_619); -x_621 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_621, 0, x_606); -lean_ctor_set(x_621, 1, x_611); -lean_ctor_set(x_621, 2, x_620); -x_622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_623 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_623, 0, x_600); -lean_ctor_set(x_623, 1, x_622); -x_624 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_625 = lean_array_push(x_624, x_616); -x_626 = lean_array_push(x_625, x_621); -x_627 = lean_array_push(x_626, x_623); -x_628 = lean_array_push(x_627, x_518); -x_629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_630 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_630, 0, x_606); -lean_ctor_set(x_630, 1, x_629); -lean_ctor_set(x_630, 2, x_628); -x_631 = lean_array_push(x_609, x_630); -x_632 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_632, 0, x_606); -lean_ctor_set(x_632, 1, x_611); -lean_ctor_set(x_632, 2, x_631); -x_633 = lean_array_push(x_609, x_632); -x_634 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_635 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_635, 0, x_606); -lean_ctor_set(x_635, 1, x_634); -lean_ctor_set(x_635, 2, x_633); -x_636 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_637 = lean_array_push(x_636, x_603); -x_638 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_639 = lean_array_push(x_637, x_638); -x_640 = lean_array_push(x_639, x_638); -x_641 = lean_array_push(x_640, x_612); -x_642 = lean_array_push(x_641, x_614); -x_643 = lean_array_push(x_642, x_635); -x_644 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_645 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_645, 0, x_606); -lean_ctor_set(x_645, 1, x_644); -lean_ctor_set(x_645, 2, x_643); -x_646 = 1; -x_647 = lean_box(x_646); -lean_ctor_set(x_513, 1, x_647); -lean_ctor_set(x_513, 0, x_645); -x_648 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_648, 0, x_512); -lean_ctor_set(x_648, 1, x_601); -return x_648; +lean_ctor_set(x_627, 0, x_614); +lean_ctor_set(x_627, 1, x_619); +lean_ctor_set(x_627, 2, x_625); +x_628 = lean_array_push(x_617, x_627); +x_629 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_629, 0, x_614); +lean_ctor_set(x_629, 1, x_619); +lean_ctor_set(x_629, 2, x_628); +x_630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_631 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_631, 0, x_608); +lean_ctor_set(x_631, 1, x_630); +x_632 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_633 = lean_array_push(x_632, x_624); +x_634 = lean_array_push(x_633, x_629); +x_635 = lean_array_push(x_634, x_631); +x_636 = lean_array_push(x_635, x_526); +x_637 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_638 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_638, 0, x_614); +lean_ctor_set(x_638, 1, x_637); +lean_ctor_set(x_638, 2, x_636); +x_639 = lean_array_push(x_617, x_638); +x_640 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_640, 0, x_614); +lean_ctor_set(x_640, 1, x_619); +lean_ctor_set(x_640, 2, x_639); +x_641 = lean_array_push(x_617, x_640); +x_642 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_643 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_643, 0, x_614); +lean_ctor_set(x_643, 1, x_642); +lean_ctor_set(x_643, 2, x_641); +x_644 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_645 = lean_array_push(x_644, x_611); +x_646 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_647 = lean_array_push(x_645, x_646); +x_648 = lean_array_push(x_647, x_646); +x_649 = lean_array_push(x_648, x_620); +x_650 = lean_array_push(x_649, x_622); +x_651 = lean_array_push(x_650, x_643); +x_652 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_653 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_653, 0, x_614); +lean_ctor_set(x_653, 1, x_652); +lean_ctor_set(x_653, 2, x_651); +x_654 = 1; +x_655 = lean_box(x_654); +lean_ctor_set(x_521, 1, x_655); +lean_ctor_set(x_521, 0, x_653); +x_656 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_656, 0, x_520); +lean_ctor_set(x_656, 1, x_609); +return x_656; } } else { -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; 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; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; uint8_t x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; -x_649 = lean_ctor_get(x_513, 0); -lean_inc(x_649); -lean_dec(x_513); -x_650 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_514); -x_651 = lean_ctor_get(x_650, 0); -lean_inc(x_651); -x_652 = lean_ctor_get(x_650, 1); -lean_inc(x_652); -if (lean_is_exclusive(x_650)) { - lean_ctor_release(x_650, 0); - lean_ctor_release(x_650, 1); - x_653 = x_650; +lean_object* x_657; lean_object* x_658; 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; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; uint8_t x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; +x_657 = lean_ctor_get(x_521, 0); +lean_inc(x_657); +lean_dec(x_521); +x_658 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_522); +x_659 = lean_ctor_get(x_658, 0); +lean_inc(x_659); +x_660 = lean_ctor_get(x_658, 1); +lean_inc(x_660); +if (lean_is_exclusive(x_658)) { + lean_ctor_release(x_658, 0); + lean_ctor_release(x_658, 1); + x_661 = x_658; } else { - lean_dec_ref(x_650); - x_653 = lean_box(0); + lean_dec_ref(x_658); + x_661 = lean_box(0); } -x_654 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_651); -x_655 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_655, 0, x_651); -lean_ctor_set(x_655, 1, x_654); -x_656 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_657 = lean_array_push(x_656, x_504); -x_658 = lean_box(2); -x_659 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_660 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_660, 0, x_658); -lean_ctor_set(x_660, 1, x_659); -lean_ctor_set(x_660, 2, x_657); -x_661 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_662 = lean_array_push(x_661, x_660); -x_663 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_664 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_664, 0, x_658); -lean_ctor_set(x_664, 1, x_663); -lean_ctor_set(x_664, 2, x_662); -x_665 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_651); -x_666 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_666, 0, x_651); -lean_ctor_set(x_666, 1, x_665); -x_667 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_651); -x_668 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_668, 0, x_651); +x_662 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_659); +x_663 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_663, 0, x_659); +lean_ctor_set(x_663, 1, x_662); +x_664 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_665 = lean_array_push(x_664, x_512); +x_666 = lean_box(2); +x_667 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_668 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_668, 0, x_666); lean_ctor_set(x_668, 1, x_667); +lean_ctor_set(x_668, 2, x_665); +x_669 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_670 = lean_array_push(x_669, x_668); +x_671 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_672 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_672, 0, x_666); +lean_ctor_set(x_672, 1, x_671); +lean_ctor_set(x_672, 2, x_670); +x_673 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_659); +x_674 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_674, 0, x_659); +lean_ctor_set(x_674, 1, x_673); +x_675 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_659); +x_676 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_676, 0, x_659); +lean_ctor_set(x_676, 1, x_675); lean_inc(x_14); -x_669 = lean_array_push(x_661, x_14); +x_677 = lean_array_push(x_669, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_670 = x_14; + x_678 = x_14; } else { lean_dec_ref(x_14); - x_670 = lean_box(0); + x_678 = lean_box(0); } -if (lean_is_scalar(x_670)) { - x_671 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_678)) { + x_679 = lean_alloc_ctor(1, 3, 0); } else { - x_671 = x_670; + x_679 = x_678; } -lean_ctor_set(x_671, 0, x_658); -lean_ctor_set(x_671, 1, x_663); -lean_ctor_set(x_671, 2, x_669); -x_672 = lean_array_push(x_661, x_671); -x_673 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_673, 0, x_658); -lean_ctor_set(x_673, 1, x_663); -lean_ctor_set(x_673, 2, x_672); -x_674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_675 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_675, 0, x_651); -lean_ctor_set(x_675, 1, x_674); -x_676 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_677 = lean_array_push(x_676, x_668); -x_678 = lean_array_push(x_677, x_673); -x_679 = lean_array_push(x_678, x_675); -x_680 = lean_array_push(x_679, x_649); -x_681 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_682 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_682, 0, x_658); -lean_ctor_set(x_682, 1, x_681); -lean_ctor_set(x_682, 2, x_680); -x_683 = lean_array_push(x_661, x_682); -x_684 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_684, 0, x_658); -lean_ctor_set(x_684, 1, x_663); -lean_ctor_set(x_684, 2, x_683); -x_685 = lean_array_push(x_661, x_684); -x_686 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_687 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_687, 0, x_658); -lean_ctor_set(x_687, 1, x_686); -lean_ctor_set(x_687, 2, x_685); -x_688 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_689 = lean_array_push(x_688, x_655); -x_690 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_691 = lean_array_push(x_689, x_690); -x_692 = lean_array_push(x_691, x_690); -x_693 = lean_array_push(x_692, x_664); -x_694 = lean_array_push(x_693, x_666); -x_695 = lean_array_push(x_694, x_687); -x_696 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_697 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_697, 0, x_658); -lean_ctor_set(x_697, 1, x_696); -lean_ctor_set(x_697, 2, x_695); -x_698 = 1; -x_699 = lean_box(x_698); -x_700 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_700, 0, x_697); -lean_ctor_set(x_700, 1, x_699); -lean_ctor_set(x_512, 1, x_700); -if (lean_is_scalar(x_653)) { - x_701 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_679, 0, x_666); +lean_ctor_set(x_679, 1, x_671); +lean_ctor_set(x_679, 2, x_677); +x_680 = lean_array_push(x_669, x_679); +x_681 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_681, 0, x_666); +lean_ctor_set(x_681, 1, x_671); +lean_ctor_set(x_681, 2, x_680); +x_682 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_683 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_683, 0, x_659); +lean_ctor_set(x_683, 1, x_682); +x_684 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_685 = lean_array_push(x_684, x_676); +x_686 = lean_array_push(x_685, x_681); +x_687 = lean_array_push(x_686, x_683); +x_688 = lean_array_push(x_687, x_657); +x_689 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_690 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_690, 0, x_666); +lean_ctor_set(x_690, 1, x_689); +lean_ctor_set(x_690, 2, x_688); +x_691 = lean_array_push(x_669, x_690); +x_692 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_692, 0, x_666); +lean_ctor_set(x_692, 1, x_671); +lean_ctor_set(x_692, 2, x_691); +x_693 = lean_array_push(x_669, x_692); +x_694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_695 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_695, 0, x_666); +lean_ctor_set(x_695, 1, x_694); +lean_ctor_set(x_695, 2, x_693); +x_696 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_697 = lean_array_push(x_696, x_663); +x_698 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_699 = lean_array_push(x_697, x_698); +x_700 = lean_array_push(x_699, x_698); +x_701 = lean_array_push(x_700, x_672); +x_702 = lean_array_push(x_701, x_674); +x_703 = lean_array_push(x_702, x_695); +x_704 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_705 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_705, 0, x_666); +lean_ctor_set(x_705, 1, x_704); +lean_ctor_set(x_705, 2, x_703); +x_706 = 1; +x_707 = lean_box(x_706); +x_708 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_708, 0, x_705); +lean_ctor_set(x_708, 1, x_707); +lean_ctor_set(x_520, 1, x_708); +if (lean_is_scalar(x_661)) { + x_709 = lean_alloc_ctor(0, 2, 0); } else { - x_701 = x_653; + x_709 = x_661; } -lean_ctor_set(x_701, 0, x_512); -lean_ctor_set(x_701, 1, x_652); -return x_701; +lean_ctor_set(x_709, 0, x_520); +lean_ctor_set(x_709, 1, x_660); +return x_709; } } else { -lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* 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; 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; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; -x_702 = lean_ctor_get(x_512, 0); -lean_inc(x_702); -lean_dec(x_512); -x_703 = lean_ctor_get(x_513, 0); -lean_inc(x_703); -if (lean_is_exclusive(x_513)) { - lean_ctor_release(x_513, 0); - lean_ctor_release(x_513, 1); - x_704 = x_513; +lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* 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; 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; 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; uint8_t x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; +x_710 = lean_ctor_get(x_520, 0); +lean_inc(x_710); +lean_dec(x_520); +x_711 = lean_ctor_get(x_521, 0); +lean_inc(x_711); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_712 = x_521; } else { - lean_dec_ref(x_513); - x_704 = lean_box(0); + lean_dec_ref(x_521); + x_712 = lean_box(0); } -x_705 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_514); -x_706 = lean_ctor_get(x_705, 0); -lean_inc(x_706); -x_707 = lean_ctor_get(x_705, 1); -lean_inc(x_707); -if (lean_is_exclusive(x_705)) { - lean_ctor_release(x_705, 0); - lean_ctor_release(x_705, 1); - x_708 = x_705; +x_713 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_522); +x_714 = lean_ctor_get(x_713, 0); +lean_inc(x_714); +x_715 = lean_ctor_get(x_713, 1); +lean_inc(x_715); +if (lean_is_exclusive(x_713)) { + lean_ctor_release(x_713, 0); + lean_ctor_release(x_713, 1); + x_716 = x_713; } else { - lean_dec_ref(x_705); - x_708 = lean_box(0); + lean_dec_ref(x_713); + x_716 = lean_box(0); } -x_709 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_706); -x_710 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_710, 0, x_706); -lean_ctor_set(x_710, 1, x_709); -x_711 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_712 = lean_array_push(x_711, x_504); -x_713 = lean_box(2); -x_714 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_715 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_715, 0, x_713); -lean_ctor_set(x_715, 1, x_714); -lean_ctor_set(x_715, 2, x_712); -x_716 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_717 = lean_array_push(x_716, x_715); -x_718 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_719 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_719, 0, x_713); -lean_ctor_set(x_719, 1, x_718); -lean_ctor_set(x_719, 2, x_717); -x_720 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_706); -x_721 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_721, 0, x_706); -lean_ctor_set(x_721, 1, x_720); -x_722 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_706); -x_723 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_723, 0, x_706); +x_717 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_714); +x_718 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_718, 0, x_714); +lean_ctor_set(x_718, 1, x_717); +x_719 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_720 = lean_array_push(x_719, x_512); +x_721 = lean_box(2); +x_722 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_723 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_723, 0, x_721); lean_ctor_set(x_723, 1, x_722); +lean_ctor_set(x_723, 2, x_720); +x_724 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_725 = lean_array_push(x_724, x_723); +x_726 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_727 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_727, 0, x_721); +lean_ctor_set(x_727, 1, x_726); +lean_ctor_set(x_727, 2, x_725); +x_728 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_714); +x_729 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_729, 0, x_714); +lean_ctor_set(x_729, 1, x_728); +x_730 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_714); +x_731 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_731, 0, x_714); +lean_ctor_set(x_731, 1, x_730); lean_inc(x_14); -x_724 = lean_array_push(x_716, x_14); +x_732 = lean_array_push(x_724, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_725 = x_14; + x_733 = x_14; } else { lean_dec_ref(x_14); - x_725 = lean_box(0); + x_733 = lean_box(0); } -if (lean_is_scalar(x_725)) { - x_726 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_733)) { + x_734 = lean_alloc_ctor(1, 3, 0); } else { - x_726 = x_725; + x_734 = x_733; } -lean_ctor_set(x_726, 0, x_713); -lean_ctor_set(x_726, 1, x_718); -lean_ctor_set(x_726, 2, x_724); -x_727 = lean_array_push(x_716, x_726); -x_728 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_728, 0, x_713); -lean_ctor_set(x_728, 1, x_718); -lean_ctor_set(x_728, 2, x_727); -x_729 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_730 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_730, 0, x_706); -lean_ctor_set(x_730, 1, x_729); -x_731 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_732 = lean_array_push(x_731, x_723); -x_733 = lean_array_push(x_732, x_728); -x_734 = lean_array_push(x_733, x_730); -x_735 = lean_array_push(x_734, x_703); -x_736 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_737 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_737, 0, x_713); -lean_ctor_set(x_737, 1, x_736); -lean_ctor_set(x_737, 2, x_735); -x_738 = lean_array_push(x_716, x_737); -x_739 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_739, 0, x_713); -lean_ctor_set(x_739, 1, x_718); -lean_ctor_set(x_739, 2, x_738); -x_740 = lean_array_push(x_716, x_739); -x_741 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_742 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_742, 0, x_713); -lean_ctor_set(x_742, 1, x_741); -lean_ctor_set(x_742, 2, x_740); -x_743 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_744 = lean_array_push(x_743, x_710); -x_745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_746 = lean_array_push(x_744, x_745); -x_747 = lean_array_push(x_746, x_745); -x_748 = lean_array_push(x_747, x_719); -x_749 = lean_array_push(x_748, x_721); -x_750 = lean_array_push(x_749, x_742); -x_751 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_752 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_752, 0, x_713); -lean_ctor_set(x_752, 1, x_751); -lean_ctor_set(x_752, 2, x_750); -x_753 = 1; -x_754 = lean_box(x_753); -if (lean_is_scalar(x_704)) { - x_755 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_734, 0, x_721); +lean_ctor_set(x_734, 1, x_726); +lean_ctor_set(x_734, 2, x_732); +x_735 = lean_array_push(x_724, x_734); +x_736 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_736, 0, x_721); +lean_ctor_set(x_736, 1, x_726); +lean_ctor_set(x_736, 2, x_735); +x_737 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_738 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_738, 0, x_714); +lean_ctor_set(x_738, 1, x_737); +x_739 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_740 = lean_array_push(x_739, x_731); +x_741 = lean_array_push(x_740, x_736); +x_742 = lean_array_push(x_741, x_738); +x_743 = lean_array_push(x_742, x_711); +x_744 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_745 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_745, 0, x_721); +lean_ctor_set(x_745, 1, x_744); +lean_ctor_set(x_745, 2, x_743); +x_746 = lean_array_push(x_724, x_745); +x_747 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_747, 0, x_721); +lean_ctor_set(x_747, 1, x_726); +lean_ctor_set(x_747, 2, x_746); +x_748 = lean_array_push(x_724, x_747); +x_749 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_750 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_750, 0, x_721); +lean_ctor_set(x_750, 1, x_749); +lean_ctor_set(x_750, 2, x_748); +x_751 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_752 = lean_array_push(x_751, x_718); +x_753 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_754 = lean_array_push(x_752, x_753); +x_755 = lean_array_push(x_754, x_753); +x_756 = lean_array_push(x_755, x_727); +x_757 = lean_array_push(x_756, x_729); +x_758 = lean_array_push(x_757, x_750); +x_759 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_760 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_760, 0, x_721); +lean_ctor_set(x_760, 1, x_759); +lean_ctor_set(x_760, 2, x_758); +x_761 = 1; +x_762 = lean_box(x_761); +if (lean_is_scalar(x_712)) { + x_763 = lean_alloc_ctor(0, 2, 0); } else { - x_755 = x_704; + x_763 = x_712; } -lean_ctor_set(x_755, 0, x_752); -lean_ctor_set(x_755, 1, x_754); -x_756 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_756, 0, x_702); -lean_ctor_set(x_756, 1, x_755); -if (lean_is_scalar(x_708)) { - x_757 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_763, 0, x_760); +lean_ctor_set(x_763, 1, x_762); +x_764 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_764, 0, x_710); +lean_ctor_set(x_764, 1, x_763); +if (lean_is_scalar(x_716)) { + x_765 = lean_alloc_ctor(0, 2, 0); } else { - x_757 = x_708; + x_765 = x_716; } -lean_ctor_set(x_757, 0, x_756); -lean_ctor_set(x_757, 1, x_707); -return x_757; +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_715); +return x_765; } } else { -lean_object* x_758; uint8_t x_759; -x_758 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__5; -x_759 = lean_string_dec_eq(x_241, x_758); -lean_dec(x_241); -if (x_759 == 0) +uint8_t x_766; +lean_dec(x_512); +lean_dec(x_14); +lean_dec(x_5); +x_766 = !lean_is_exclusive(x_519); +if (x_766 == 0) { -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; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; uint8_t x_772; -lean_dec(x_240); +return x_519; +} +else +{ +lean_object* x_767; lean_object* x_768; lean_object* x_769; +x_767 = lean_ctor_get(x_519, 0); +x_768 = lean_ctor_get(x_519, 1); +lean_inc(x_768); +lean_inc(x_767); +lean_dec(x_519); +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_767); +lean_ctor_set(x_769, 1, x_768); +return x_769; +} +} +} +else +{ +lean_object* x_770; uint8_t x_771; +x_770 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__5; +x_771 = lean_string_dec_eq(x_245, x_770); +lean_dec(x_245); +if (x_771 == 0) +{ +lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; +lean_dec(x_244); lean_inc(x_5); lean_inc(x_14); -x_760 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -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_unsigned_to_nat(1u); -x_764 = lean_nat_add(x_3, x_763); +x_772 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_773 = lean_ctor_get(x_772, 0); +lean_inc(x_773); +x_774 = lean_ctor_get(x_772, 1); +lean_inc(x_774); +lean_dec(x_772); +x_775 = lean_unsigned_to_nat(1u); +x_776 = lean_nat_add(x_3, x_775); lean_dec(x_3); lean_inc(x_14); -x_765 = l_Lean_mkHole(x_14); -lean_inc(x_761); -x_766 = l_Lean_Elab_Term_mkExplicitBinder(x_761, x_765); -x_767 = lean_array_push(x_4, x_766); +x_777 = l_Lean_mkHole(x_14); +lean_inc(x_773); +x_778 = l_Lean_Elab_Term_mkExplicitBinder(x_773, x_777); +x_779 = lean_array_push(x_4, x_778); lean_inc(x_5); -x_768 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_764, x_767, x_5, x_762); -x_769 = lean_ctor_get(x_768, 0); -lean_inc(x_769); -x_770 = lean_ctor_get(x_769, 1); -lean_inc(x_770); -x_771 = lean_ctor_get(x_768, 1); -lean_inc(x_771); -lean_dec(x_768); -x_772 = !lean_is_exclusive(x_769); -if (x_772 == 0) +x_780 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_776, x_779, x_5, x_774); +if (lean_obj_tag(x_780) == 0) { -lean_object* x_773; uint8_t x_774; -x_773 = lean_ctor_get(x_769, 1); -lean_dec(x_773); -x_774 = !lean_is_exclusive(x_770); -if (x_774 == 0) +lean_object* x_781; lean_object* x_782; lean_object* x_783; uint8_t x_784; +x_781 = lean_ctor_get(x_780, 0); +lean_inc(x_781); +x_782 = lean_ctor_get(x_781, 1); +lean_inc(x_782); +x_783 = lean_ctor_get(x_780, 1); +lean_inc(x_783); +lean_dec(x_780); +x_784 = !lean_is_exclusive(x_781); +if (x_784 == 0) { -lean_object* x_775; lean_object* x_776; lean_object* x_777; uint8_t x_778; -x_775 = lean_ctor_get(x_770, 0); -x_776 = lean_ctor_get(x_770, 1); -lean_dec(x_776); -x_777 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_771); -x_778 = !lean_is_exclusive(x_777); -if (x_778 == 0) +lean_object* x_785; uint8_t x_786; +x_785 = lean_ctor_get(x_781, 1); +lean_dec(x_785); +x_786 = !lean_is_exclusive(x_782); +if (x_786 == 0) { -lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; 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; -x_779 = lean_ctor_get(x_777, 0); -x_780 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_779); -x_781 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_781, 0, x_779); -lean_ctor_set(x_781, 1, x_780); -x_782 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_783 = lean_array_push(x_782, x_761); -x_784 = lean_box(2); -x_785 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_786 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_786, 0, x_784); -lean_ctor_set(x_786, 1, x_785); -lean_ctor_set(x_786, 2, x_783); -x_787 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_788 = lean_array_push(x_787, x_786); -x_789 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_790 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_790, 0, x_784); -lean_ctor_set(x_790, 1, x_789); -lean_ctor_set(x_790, 2, x_788); -x_791 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_779); -x_792 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_792, 0, x_779); -lean_ctor_set(x_792, 1, x_791); -x_793 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_779); -x_794 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_794, 0, x_779); -lean_ctor_set(x_794, 1, x_793); +lean_object* x_787; lean_object* x_788; lean_object* x_789; uint8_t x_790; +x_787 = lean_ctor_get(x_782, 0); +x_788 = lean_ctor_get(x_782, 1); +lean_dec(x_788); +x_789 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_783); +x_790 = !lean_is_exclusive(x_789); +if (x_790 == 0) +{ +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; uint8_t x_808; +x_791 = lean_ctor_get(x_789, 0); +x_792 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_791); +x_793 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_793, 0, x_791); +lean_ctor_set(x_793, 1, x_792); +x_794 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_795 = lean_array_push(x_794, x_773); +x_796 = lean_box(2); +x_797 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_798 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_798, 0, x_796); +lean_ctor_set(x_798, 1, x_797); +lean_ctor_set(x_798, 2, x_795); +x_799 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_800 = lean_array_push(x_799, x_798); +x_801 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_802 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_802, 0, x_796); +lean_ctor_set(x_802, 1, x_801); +lean_ctor_set(x_802, 2, x_800); +x_803 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_791); +x_804 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_804, 0, x_791); +lean_ctor_set(x_804, 1, x_803); +x_805 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_791); +x_806 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_806, 0, x_791); +lean_ctor_set(x_806, 1, x_805); lean_inc(x_14); -x_795 = lean_array_push(x_787, x_14); -x_796 = !lean_is_exclusive(x_14); -if (x_796 == 0) +x_807 = lean_array_push(x_799, x_14); +x_808 = !lean_is_exclusive(x_14); +if (x_808 == 0) { -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; uint8_t x_826; lean_object* x_827; -x_797 = lean_ctor_get(x_14, 2); -lean_dec(x_797); -x_798 = lean_ctor_get(x_14, 1); -lean_dec(x_798); -x_799 = lean_ctor_get(x_14, 0); -lean_dec(x_799); -lean_ctor_set(x_14, 2, x_795); -lean_ctor_set(x_14, 1, x_789); -lean_ctor_set(x_14, 0, x_784); -x_800 = lean_array_push(x_787, x_14); -x_801 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_801, 0, x_784); -lean_ctor_set(x_801, 1, x_789); -lean_ctor_set(x_801, 2, x_800); -x_802 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_803 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_803, 0, x_779); -lean_ctor_set(x_803, 1, x_802); -x_804 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_805 = lean_array_push(x_804, x_794); -x_806 = lean_array_push(x_805, x_801); -x_807 = lean_array_push(x_806, x_803); -x_808 = lean_array_push(x_807, x_775); -x_809 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_810 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_810, 0, x_784); -lean_ctor_set(x_810, 1, x_809); -lean_ctor_set(x_810, 2, x_808); -x_811 = lean_array_push(x_787, x_810); -x_812 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_812, 0, x_784); -lean_ctor_set(x_812, 1, x_789); -lean_ctor_set(x_812, 2, x_811); -x_813 = lean_array_push(x_787, x_812); -x_814 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_815 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_815, 0, x_784); +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_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; uint8_t x_838; lean_object* x_839; +x_809 = lean_ctor_get(x_14, 2); +lean_dec(x_809); +x_810 = lean_ctor_get(x_14, 1); +lean_dec(x_810); +x_811 = lean_ctor_get(x_14, 0); +lean_dec(x_811); +lean_ctor_set(x_14, 2, x_807); +lean_ctor_set(x_14, 1, x_801); +lean_ctor_set(x_14, 0, x_796); +x_812 = lean_array_push(x_799, x_14); +x_813 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_813, 0, x_796); +lean_ctor_set(x_813, 1, x_801); +lean_ctor_set(x_813, 2, x_812); +x_814 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_815 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_815, 0, x_791); lean_ctor_set(x_815, 1, x_814); -lean_ctor_set(x_815, 2, x_813); -x_816 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_817 = lean_array_push(x_816, x_781); -x_818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_819 = lean_array_push(x_817, x_818); -x_820 = lean_array_push(x_819, x_818); -x_821 = lean_array_push(x_820, x_790); -x_822 = lean_array_push(x_821, x_792); -x_823 = lean_array_push(x_822, x_815); -x_824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_825 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_825, 0, x_784); -lean_ctor_set(x_825, 1, x_824); -lean_ctor_set(x_825, 2, x_823); -x_826 = 1; -x_827 = lean_box(x_826); -lean_ctor_set(x_770, 1, x_827); -lean_ctor_set(x_770, 0, x_825); -lean_ctor_set(x_777, 0, x_769); -return x_777; +x_816 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_817 = lean_array_push(x_816, x_806); +x_818 = lean_array_push(x_817, x_813); +x_819 = lean_array_push(x_818, x_815); +x_820 = lean_array_push(x_819, x_787); +x_821 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_822 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_822, 0, x_796); +lean_ctor_set(x_822, 1, x_821); +lean_ctor_set(x_822, 2, x_820); +x_823 = lean_array_push(x_799, x_822); +x_824 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_824, 0, x_796); +lean_ctor_set(x_824, 1, x_801); +lean_ctor_set(x_824, 2, x_823); +x_825 = lean_array_push(x_799, x_824); +x_826 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_827 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_827, 0, x_796); +lean_ctor_set(x_827, 1, x_826); +lean_ctor_set(x_827, 2, x_825); +x_828 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_829 = lean_array_push(x_828, x_793); +x_830 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_831 = lean_array_push(x_829, x_830); +x_832 = lean_array_push(x_831, x_830); +x_833 = lean_array_push(x_832, x_802); +x_834 = lean_array_push(x_833, x_804); +x_835 = lean_array_push(x_834, x_827); +x_836 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_837 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_837, 0, x_796); +lean_ctor_set(x_837, 1, x_836); +lean_ctor_set(x_837, 2, x_835); +x_838 = 1; +x_839 = lean_box(x_838); +lean_ctor_set(x_782, 1, x_839); +lean_ctor_set(x_782, 0, x_837); +lean_ctor_set(x_789, 0, x_781); +return x_789; } else { -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; uint8_t x_855; lean_object* x_856; +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; lean_object* x_868; lean_dec(x_14); -x_828 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_828, 0, x_784); -lean_ctor_set(x_828, 1, x_789); -lean_ctor_set(x_828, 2, x_795); -x_829 = lean_array_push(x_787, x_828); -x_830 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_830, 0, x_784); -lean_ctor_set(x_830, 1, x_789); -lean_ctor_set(x_830, 2, x_829); -x_831 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_832 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_832, 0, x_779); -lean_ctor_set(x_832, 1, x_831); -x_833 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_834 = lean_array_push(x_833, x_794); -x_835 = lean_array_push(x_834, x_830); -x_836 = lean_array_push(x_835, x_832); -x_837 = lean_array_push(x_836, x_775); -x_838 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_839 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_839, 0, x_784); -lean_ctor_set(x_839, 1, x_838); -lean_ctor_set(x_839, 2, x_837); -x_840 = lean_array_push(x_787, x_839); -x_841 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_841, 0, x_784); -lean_ctor_set(x_841, 1, x_789); -lean_ctor_set(x_841, 2, x_840); -x_842 = lean_array_push(x_787, x_841); -x_843 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_844 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_844, 0, x_784); +x_840 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_840, 0, x_796); +lean_ctor_set(x_840, 1, x_801); +lean_ctor_set(x_840, 2, x_807); +x_841 = lean_array_push(x_799, x_840); +x_842 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_842, 0, x_796); +lean_ctor_set(x_842, 1, x_801); +lean_ctor_set(x_842, 2, x_841); +x_843 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_844 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_844, 0, x_791); lean_ctor_set(x_844, 1, x_843); -lean_ctor_set(x_844, 2, x_842); -x_845 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_846 = lean_array_push(x_845, x_781); -x_847 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_848 = lean_array_push(x_846, x_847); -x_849 = lean_array_push(x_848, x_847); -x_850 = lean_array_push(x_849, x_790); -x_851 = lean_array_push(x_850, x_792); -x_852 = lean_array_push(x_851, x_844); -x_853 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_854 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_854, 0, x_784); -lean_ctor_set(x_854, 1, x_853); -lean_ctor_set(x_854, 2, x_852); -x_855 = 1; -x_856 = lean_box(x_855); -lean_ctor_set(x_770, 1, x_856); -lean_ctor_set(x_770, 0, x_854); -lean_ctor_set(x_777, 0, x_769); -return x_777; +x_845 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_846 = lean_array_push(x_845, x_806); +x_847 = lean_array_push(x_846, x_842); +x_848 = lean_array_push(x_847, x_844); +x_849 = lean_array_push(x_848, x_787); +x_850 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_851 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_851, 0, x_796); +lean_ctor_set(x_851, 1, x_850); +lean_ctor_set(x_851, 2, x_849); +x_852 = lean_array_push(x_799, x_851); +x_853 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_853, 0, x_796); +lean_ctor_set(x_853, 1, x_801); +lean_ctor_set(x_853, 2, x_852); +x_854 = lean_array_push(x_799, x_853); +x_855 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_856 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_856, 0, x_796); +lean_ctor_set(x_856, 1, x_855); +lean_ctor_set(x_856, 2, x_854); +x_857 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_858 = lean_array_push(x_857, x_793); +x_859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_860 = lean_array_push(x_858, x_859); +x_861 = lean_array_push(x_860, x_859); +x_862 = lean_array_push(x_861, x_802); +x_863 = lean_array_push(x_862, x_804); +x_864 = lean_array_push(x_863, x_856); +x_865 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_866 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_866, 0, x_796); +lean_ctor_set(x_866, 1, x_865); +lean_ctor_set(x_866, 2, x_864); +x_867 = 1; +x_868 = lean_box(x_867); +lean_ctor_set(x_782, 1, x_868); +lean_ctor_set(x_782, 0, x_866); +lean_ctor_set(x_789, 0, x_781); +return x_789; } } else { -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; 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; uint8_t x_903; lean_object* x_904; lean_object* x_905; -x_857 = lean_ctor_get(x_777, 0); -x_858 = lean_ctor_get(x_777, 1); -lean_inc(x_858); -lean_inc(x_857); -lean_dec(x_777); -x_859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_857); -x_860 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_860, 0, x_857); -lean_ctor_set(x_860, 1, x_859); -x_861 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_862 = lean_array_push(x_861, x_761); -x_863 = lean_box(2); -x_864 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_865 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_865, 0, x_863); -lean_ctor_set(x_865, 1, x_864); -lean_ctor_set(x_865, 2, x_862); -x_866 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_867 = lean_array_push(x_866, x_865); -x_868 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_869 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_869, 0, x_863); -lean_ctor_set(x_869, 1, x_868); -lean_ctor_set(x_869, 2, x_867); -x_870 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_857); -x_871 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_871, 0, x_857); -lean_ctor_set(x_871, 1, x_870); -x_872 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_857); -x_873 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_873, 0, x_857); -lean_ctor_set(x_873, 1, x_872); +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; uint8_t x_915; lean_object* x_916; lean_object* x_917; +x_869 = lean_ctor_get(x_789, 0); +x_870 = lean_ctor_get(x_789, 1); +lean_inc(x_870); +lean_inc(x_869); +lean_dec(x_789); +x_871 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_869); +x_872 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_872, 0, x_869); +lean_ctor_set(x_872, 1, x_871); +x_873 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_874 = lean_array_push(x_873, x_773); +x_875 = lean_box(2); +x_876 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_877 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_877, 0, x_875); +lean_ctor_set(x_877, 1, x_876); +lean_ctor_set(x_877, 2, x_874); +x_878 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_879 = lean_array_push(x_878, x_877); +x_880 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_881 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_881, 0, x_875); +lean_ctor_set(x_881, 1, x_880); +lean_ctor_set(x_881, 2, x_879); +x_882 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_869); +x_883 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_883, 0, x_869); +lean_ctor_set(x_883, 1, x_882); +x_884 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_869); +x_885 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_885, 0, x_869); +lean_ctor_set(x_885, 1, x_884); lean_inc(x_14); -x_874 = lean_array_push(x_866, x_14); +x_886 = lean_array_push(x_878, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_875 = x_14; + x_887 = x_14; } else { lean_dec_ref(x_14); - x_875 = lean_box(0); + x_887 = lean_box(0); } -if (lean_is_scalar(x_875)) { - x_876 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_887)) { + x_888 = lean_alloc_ctor(1, 3, 0); } else { - x_876 = x_875; + x_888 = x_887; } -lean_ctor_set(x_876, 0, x_863); -lean_ctor_set(x_876, 1, x_868); -lean_ctor_set(x_876, 2, x_874); -x_877 = lean_array_push(x_866, x_876); -x_878 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_878, 0, x_863); -lean_ctor_set(x_878, 1, x_868); -lean_ctor_set(x_878, 2, x_877); -x_879 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_880 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_880, 0, x_857); -lean_ctor_set(x_880, 1, x_879); -x_881 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_882 = lean_array_push(x_881, x_873); -x_883 = lean_array_push(x_882, x_878); -x_884 = lean_array_push(x_883, x_880); -x_885 = lean_array_push(x_884, x_775); -x_886 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_887 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_887, 0, x_863); -lean_ctor_set(x_887, 1, x_886); -lean_ctor_set(x_887, 2, x_885); -x_888 = lean_array_push(x_866, x_887); -x_889 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_889, 0, x_863); -lean_ctor_set(x_889, 1, x_868); -lean_ctor_set(x_889, 2, x_888); -x_890 = lean_array_push(x_866, x_889); -x_891 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_892 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_892, 0, x_863); +lean_ctor_set(x_888, 0, x_875); +lean_ctor_set(x_888, 1, x_880); +lean_ctor_set(x_888, 2, x_886); +x_889 = lean_array_push(x_878, x_888); +x_890 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_890, 0, x_875); +lean_ctor_set(x_890, 1, x_880); +lean_ctor_set(x_890, 2, x_889); +x_891 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_892 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_892, 0, x_869); lean_ctor_set(x_892, 1, x_891); -lean_ctor_set(x_892, 2, x_890); -x_893 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_894 = lean_array_push(x_893, x_860); -x_895 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_896 = lean_array_push(x_894, x_895); -x_897 = lean_array_push(x_896, x_895); -x_898 = lean_array_push(x_897, x_869); -x_899 = lean_array_push(x_898, x_871); -x_900 = lean_array_push(x_899, x_892); -x_901 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_902 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_902, 0, x_863); -lean_ctor_set(x_902, 1, x_901); -lean_ctor_set(x_902, 2, x_900); -x_903 = 1; -x_904 = lean_box(x_903); -lean_ctor_set(x_770, 1, x_904); -lean_ctor_set(x_770, 0, x_902); -x_905 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_905, 0, x_769); -lean_ctor_set(x_905, 1, x_858); -return x_905; +x_893 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_894 = lean_array_push(x_893, x_885); +x_895 = lean_array_push(x_894, x_890); +x_896 = lean_array_push(x_895, x_892); +x_897 = lean_array_push(x_896, x_787); +x_898 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_899 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_899, 0, x_875); +lean_ctor_set(x_899, 1, x_898); +lean_ctor_set(x_899, 2, x_897); +x_900 = lean_array_push(x_878, x_899); +x_901 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_901, 0, x_875); +lean_ctor_set(x_901, 1, x_880); +lean_ctor_set(x_901, 2, x_900); +x_902 = lean_array_push(x_878, x_901); +x_903 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_904 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_904, 0, x_875); +lean_ctor_set(x_904, 1, x_903); +lean_ctor_set(x_904, 2, x_902); +x_905 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_906 = lean_array_push(x_905, x_872); +x_907 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_908 = lean_array_push(x_906, x_907); +x_909 = lean_array_push(x_908, x_907); +x_910 = lean_array_push(x_909, x_881); +x_911 = lean_array_push(x_910, x_883); +x_912 = lean_array_push(x_911, x_904); +x_913 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_914 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_914, 0, x_875); +lean_ctor_set(x_914, 1, x_913); +lean_ctor_set(x_914, 2, x_912); +x_915 = 1; +x_916 = lean_box(x_915); +lean_ctor_set(x_782, 1, x_916); +lean_ctor_set(x_782, 0, x_914); +x_917 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_917, 0, x_781); +lean_ctor_set(x_917, 1, x_870); +return x_917; } } else { -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; 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; uint8_t x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; -x_906 = lean_ctor_get(x_770, 0); -lean_inc(x_906); -lean_dec(x_770); -x_907 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_771); -x_908 = lean_ctor_get(x_907, 0); -lean_inc(x_908); -x_909 = lean_ctor_get(x_907, 1); -lean_inc(x_909); -if (lean_is_exclusive(x_907)) { - lean_ctor_release(x_907, 0); - lean_ctor_release(x_907, 1); - x_910 = x_907; +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; 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; uint8_t x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; +x_918 = lean_ctor_get(x_782, 0); +lean_inc(x_918); +lean_dec(x_782); +x_919 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_783); +x_920 = lean_ctor_get(x_919, 0); +lean_inc(x_920); +x_921 = lean_ctor_get(x_919, 1); +lean_inc(x_921); +if (lean_is_exclusive(x_919)) { + lean_ctor_release(x_919, 0); + lean_ctor_release(x_919, 1); + x_922 = x_919; } else { - lean_dec_ref(x_907); - x_910 = lean_box(0); + lean_dec_ref(x_919); + x_922 = lean_box(0); } -x_911 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_908); -x_912 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_912, 0, x_908); -lean_ctor_set(x_912, 1, x_911); -x_913 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_914 = lean_array_push(x_913, x_761); -x_915 = lean_box(2); -x_916 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_917 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_917, 0, x_915); -lean_ctor_set(x_917, 1, x_916); -lean_ctor_set(x_917, 2, x_914); -x_918 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_919 = lean_array_push(x_918, x_917); -x_920 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_921 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_921, 0, x_915); -lean_ctor_set(x_921, 1, x_920); -lean_ctor_set(x_921, 2, x_919); -x_922 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_908); -x_923 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_923, 0, x_908); -lean_ctor_set(x_923, 1, x_922); -x_924 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_908); -x_925 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_925, 0, x_908); -lean_ctor_set(x_925, 1, x_924); +x_923 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_920); +x_924 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_924, 0, x_920); +lean_ctor_set(x_924, 1, x_923); +x_925 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_926 = lean_array_push(x_925, x_773); +x_927 = lean_box(2); +x_928 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_929 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_929, 0, x_927); +lean_ctor_set(x_929, 1, x_928); +lean_ctor_set(x_929, 2, x_926); +x_930 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_931 = lean_array_push(x_930, x_929); +x_932 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_933 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_933, 0, x_927); +lean_ctor_set(x_933, 1, x_932); +lean_ctor_set(x_933, 2, x_931); +x_934 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_920); +x_935 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_935, 0, x_920); +lean_ctor_set(x_935, 1, x_934); +x_936 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_920); +x_937 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_937, 0, x_920); +lean_ctor_set(x_937, 1, x_936); lean_inc(x_14); -x_926 = lean_array_push(x_918, x_14); +x_938 = lean_array_push(x_930, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_927 = x_14; + x_939 = x_14; } else { lean_dec_ref(x_14); - x_927 = lean_box(0); + x_939 = lean_box(0); } -if (lean_is_scalar(x_927)) { - x_928 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_939)) { + x_940 = lean_alloc_ctor(1, 3, 0); } else { - x_928 = x_927; + x_940 = x_939; } -lean_ctor_set(x_928, 0, x_915); -lean_ctor_set(x_928, 1, x_920); -lean_ctor_set(x_928, 2, x_926); -x_929 = lean_array_push(x_918, x_928); -x_930 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_930, 0, x_915); -lean_ctor_set(x_930, 1, x_920); -lean_ctor_set(x_930, 2, x_929); -x_931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_932 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_932, 0, x_908); -lean_ctor_set(x_932, 1, x_931); -x_933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_934 = lean_array_push(x_933, x_925); -x_935 = lean_array_push(x_934, x_930); -x_936 = lean_array_push(x_935, x_932); -x_937 = lean_array_push(x_936, x_906); -x_938 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_939 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_939, 0, x_915); -lean_ctor_set(x_939, 1, x_938); -lean_ctor_set(x_939, 2, x_937); -x_940 = lean_array_push(x_918, x_939); -x_941 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_941, 0, x_915); -lean_ctor_set(x_941, 1, x_920); -lean_ctor_set(x_941, 2, x_940); -x_942 = lean_array_push(x_918, x_941); -x_943 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_944 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_944, 0, x_915); +lean_ctor_set(x_940, 0, x_927); +lean_ctor_set(x_940, 1, x_932); +lean_ctor_set(x_940, 2, x_938); +x_941 = lean_array_push(x_930, x_940); +x_942 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_942, 0, x_927); +lean_ctor_set(x_942, 1, x_932); +lean_ctor_set(x_942, 2, x_941); +x_943 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_944 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_944, 0, x_920); lean_ctor_set(x_944, 1, x_943); -lean_ctor_set(x_944, 2, x_942); -x_945 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_946 = lean_array_push(x_945, x_912); -x_947 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_948 = lean_array_push(x_946, x_947); -x_949 = lean_array_push(x_948, x_947); -x_950 = lean_array_push(x_949, x_921); -x_951 = lean_array_push(x_950, x_923); -x_952 = lean_array_push(x_951, x_944); -x_953 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_954 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_954, 0, x_915); -lean_ctor_set(x_954, 1, x_953); -lean_ctor_set(x_954, 2, x_952); -x_955 = 1; -x_956 = lean_box(x_955); -x_957 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_957, 0, x_954); -lean_ctor_set(x_957, 1, x_956); -lean_ctor_set(x_769, 1, x_957); -if (lean_is_scalar(x_910)) { - x_958 = lean_alloc_ctor(0, 2, 0); +x_945 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_946 = lean_array_push(x_945, x_937); +x_947 = lean_array_push(x_946, x_942); +x_948 = lean_array_push(x_947, x_944); +x_949 = lean_array_push(x_948, x_918); +x_950 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_951 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_951, 0, x_927); +lean_ctor_set(x_951, 1, x_950); +lean_ctor_set(x_951, 2, x_949); +x_952 = lean_array_push(x_930, x_951); +x_953 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_953, 0, x_927); +lean_ctor_set(x_953, 1, x_932); +lean_ctor_set(x_953, 2, x_952); +x_954 = lean_array_push(x_930, x_953); +x_955 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_956 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_956, 0, x_927); +lean_ctor_set(x_956, 1, x_955); +lean_ctor_set(x_956, 2, x_954); +x_957 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_958 = lean_array_push(x_957, x_924); +x_959 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_960 = lean_array_push(x_958, x_959); +x_961 = lean_array_push(x_960, x_959); +x_962 = lean_array_push(x_961, x_933); +x_963 = lean_array_push(x_962, x_935); +x_964 = lean_array_push(x_963, x_956); +x_965 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_966 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_966, 0, x_927); +lean_ctor_set(x_966, 1, x_965); +lean_ctor_set(x_966, 2, x_964); +x_967 = 1; +x_968 = lean_box(x_967); +x_969 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_969, 0, x_966); +lean_ctor_set(x_969, 1, x_968); +lean_ctor_set(x_781, 1, x_969); +if (lean_is_scalar(x_922)) { + x_970 = lean_alloc_ctor(0, 2, 0); } else { - x_958 = x_910; + x_970 = x_922; } -lean_ctor_set(x_958, 0, x_769); -lean_ctor_set(x_958, 1, x_909); -return x_958; +lean_ctor_set(x_970, 0, x_781); +lean_ctor_set(x_970, 1, x_921); +return x_970; } } else { -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; uint8_t x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; -x_959 = lean_ctor_get(x_769, 0); -lean_inc(x_959); -lean_dec(x_769); -x_960 = lean_ctor_get(x_770, 0); -lean_inc(x_960); -if (lean_is_exclusive(x_770)) { - lean_ctor_release(x_770, 0); - lean_ctor_release(x_770, 1); - x_961 = x_770; +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; uint8_t x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; +x_971 = lean_ctor_get(x_781, 0); +lean_inc(x_971); +lean_dec(x_781); +x_972 = lean_ctor_get(x_782, 0); +lean_inc(x_972); +if (lean_is_exclusive(x_782)) { + lean_ctor_release(x_782, 0); + lean_ctor_release(x_782, 1); + x_973 = x_782; } else { - lean_dec_ref(x_770); - x_961 = lean_box(0); + lean_dec_ref(x_782); + x_973 = lean_box(0); } -x_962 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_771); -x_963 = lean_ctor_get(x_962, 0); -lean_inc(x_963); -x_964 = lean_ctor_get(x_962, 1); -lean_inc(x_964); -if (lean_is_exclusive(x_962)) { - lean_ctor_release(x_962, 0); - lean_ctor_release(x_962, 1); - x_965 = x_962; +x_974 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_783); +x_975 = lean_ctor_get(x_974, 0); +lean_inc(x_975); +x_976 = lean_ctor_get(x_974, 1); +lean_inc(x_976); +if (lean_is_exclusive(x_974)) { + lean_ctor_release(x_974, 0); + lean_ctor_release(x_974, 1); + x_977 = x_974; } else { - lean_dec_ref(x_962); - x_965 = lean_box(0); + lean_dec_ref(x_974); + x_977 = lean_box(0); } -x_966 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_963); -x_967 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_967, 0, x_963); -lean_ctor_set(x_967, 1, x_966); -x_968 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_969 = lean_array_push(x_968, x_761); -x_970 = lean_box(2); -x_971 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_972 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_972, 0, x_970); -lean_ctor_set(x_972, 1, x_971); -lean_ctor_set(x_972, 2, x_969); -x_973 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_974 = lean_array_push(x_973, x_972); -x_975 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_976 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_976, 0, x_970); -lean_ctor_set(x_976, 1, x_975); -lean_ctor_set(x_976, 2, x_974); -x_977 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_963); -x_978 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_978, 0, x_963); -lean_ctor_set(x_978, 1, x_977); -x_979 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_963); -x_980 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_980, 0, x_963); -lean_ctor_set(x_980, 1, x_979); +x_978 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_975); +x_979 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_979, 0, x_975); +lean_ctor_set(x_979, 1, x_978); +x_980 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_981 = lean_array_push(x_980, x_773); +x_982 = lean_box(2); +x_983 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_984 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_984, 0, x_982); +lean_ctor_set(x_984, 1, x_983); +lean_ctor_set(x_984, 2, x_981); +x_985 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_986 = lean_array_push(x_985, x_984); +x_987 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_988 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_988, 0, x_982); +lean_ctor_set(x_988, 1, x_987); +lean_ctor_set(x_988, 2, x_986); +x_989 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_975); +x_990 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_990, 0, x_975); +lean_ctor_set(x_990, 1, x_989); +x_991 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_975); +x_992 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_992, 0, x_975); +lean_ctor_set(x_992, 1, x_991); lean_inc(x_14); -x_981 = lean_array_push(x_973, x_14); +x_993 = lean_array_push(x_985, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_982 = x_14; + x_994 = x_14; } else { lean_dec_ref(x_14); - x_982 = lean_box(0); + x_994 = lean_box(0); } -if (lean_is_scalar(x_982)) { - x_983 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_994)) { + x_995 = lean_alloc_ctor(1, 3, 0); } else { - x_983 = x_982; + x_995 = x_994; } -lean_ctor_set(x_983, 0, x_970); -lean_ctor_set(x_983, 1, x_975); -lean_ctor_set(x_983, 2, x_981); -x_984 = lean_array_push(x_973, x_983); -x_985 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_985, 0, x_970); -lean_ctor_set(x_985, 1, x_975); -lean_ctor_set(x_985, 2, x_984); -x_986 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_987 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_987, 0, x_963); -lean_ctor_set(x_987, 1, x_986); -x_988 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_989 = lean_array_push(x_988, x_980); -x_990 = lean_array_push(x_989, x_985); -x_991 = lean_array_push(x_990, x_987); -x_992 = lean_array_push(x_991, x_960); -x_993 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_994 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_994, 0, x_970); -lean_ctor_set(x_994, 1, x_993); -lean_ctor_set(x_994, 2, x_992); -x_995 = lean_array_push(x_973, x_994); -x_996 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_996, 0, x_970); -lean_ctor_set(x_996, 1, x_975); -lean_ctor_set(x_996, 2, x_995); -x_997 = lean_array_push(x_973, x_996); -x_998 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_999 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_999, 0, x_970); +lean_ctor_set(x_995, 0, x_982); +lean_ctor_set(x_995, 1, x_987); +lean_ctor_set(x_995, 2, x_993); +x_996 = lean_array_push(x_985, x_995); +x_997 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_997, 0, x_982); +lean_ctor_set(x_997, 1, x_987); +lean_ctor_set(x_997, 2, x_996); +x_998 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_999 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_999, 0, x_975); lean_ctor_set(x_999, 1, x_998); -lean_ctor_set(x_999, 2, x_997); -x_1000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1001 = lean_array_push(x_1000, x_967); -x_1002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1003 = lean_array_push(x_1001, x_1002); -x_1004 = lean_array_push(x_1003, x_1002); -x_1005 = lean_array_push(x_1004, x_976); -x_1006 = lean_array_push(x_1005, x_978); -x_1007 = lean_array_push(x_1006, x_999); -x_1008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1009 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1009, 0, x_970); -lean_ctor_set(x_1009, 1, x_1008); -lean_ctor_set(x_1009, 2, x_1007); -x_1010 = 1; -x_1011 = lean_box(x_1010); -if (lean_is_scalar(x_961)) { - x_1012 = lean_alloc_ctor(0, 2, 0); +x_1000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1001 = lean_array_push(x_1000, x_992); +x_1002 = lean_array_push(x_1001, x_997); +x_1003 = lean_array_push(x_1002, x_999); +x_1004 = lean_array_push(x_1003, x_972); +x_1005 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1006 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1006, 0, x_982); +lean_ctor_set(x_1006, 1, x_1005); +lean_ctor_set(x_1006, 2, x_1004); +x_1007 = lean_array_push(x_985, x_1006); +x_1008 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1008, 0, x_982); +lean_ctor_set(x_1008, 1, x_987); +lean_ctor_set(x_1008, 2, x_1007); +x_1009 = lean_array_push(x_985, x_1008); +x_1010 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1011 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1011, 0, x_982); +lean_ctor_set(x_1011, 1, x_1010); +lean_ctor_set(x_1011, 2, x_1009); +x_1012 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1013 = lean_array_push(x_1012, x_979); +x_1014 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1015 = lean_array_push(x_1013, x_1014); +x_1016 = lean_array_push(x_1015, x_1014); +x_1017 = lean_array_push(x_1016, x_988); +x_1018 = lean_array_push(x_1017, x_990); +x_1019 = lean_array_push(x_1018, x_1011); +x_1020 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1021 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1021, 0, x_982); +lean_ctor_set(x_1021, 1, x_1020); +lean_ctor_set(x_1021, 2, x_1019); +x_1022 = 1; +x_1023 = lean_box(x_1022); +if (lean_is_scalar(x_973)) { + x_1024 = lean_alloc_ctor(0, 2, 0); } else { - x_1012 = x_961; + x_1024 = x_973; } -lean_ctor_set(x_1012, 0, x_1009); -lean_ctor_set(x_1012, 1, x_1011); -x_1013 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1013, 0, x_959); -lean_ctor_set(x_1013, 1, x_1012); -if (lean_is_scalar(x_965)) { - x_1014 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1024, 0, x_1021); +lean_ctor_set(x_1024, 1, x_1023); +x_1025 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1025, 0, x_971); +lean_ctor_set(x_1025, 1, x_1024); +if (lean_is_scalar(x_977)) { + x_1026 = lean_alloc_ctor(0, 2, 0); } else { - x_1014 = x_965; + x_1026 = x_977; } -lean_ctor_set(x_1014, 0, x_1013); -lean_ctor_set(x_1014, 1, x_964); -return x_1014; +lean_ctor_set(x_1026, 0, x_1025); +lean_ctor_set(x_1026, 1, x_976); +return x_1026; } } else { -lean_object* x_1015; uint8_t x_1016; -x_1015 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__5; -x_1016 = lean_string_dec_eq(x_240, x_1015); -if (x_1016 == 0) -{ -lean_object* x_1017; uint8_t x_1018; -x_1017 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__7; -x_1018 = lean_string_dec_eq(x_240, x_1017); -if (x_1018 == 0) -{ -lean_object* x_1019; uint8_t x_1020; -x_1019 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__9; -x_1020 = lean_string_dec_eq(x_240, x_1019); -if (x_1020 == 0) -{ -lean_object* x_1021; uint8_t x_1022; -x_1021 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__3; -x_1022 = lean_string_dec_eq(x_240, x_1021); -if (x_1022 == 0) -{ -lean_object* x_1023; uint8_t x_1024; -x_1023 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1; -x_1024 = lean_string_dec_eq(x_240, x_1023); -if (x_1024 == 0) -{ -lean_object* x_1025; uint8_t x_1026; -x_1025 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__7; -x_1026 = lean_string_dec_eq(x_240, x_1025); -if (x_1026 == 0) -{ -lean_object* x_1027; uint8_t x_1028; -x_1027 = l_Lean_Elab_Term_expandFunBinders_loop___closed__16; -x_1028 = lean_string_dec_eq(x_240, x_1027); -lean_dec(x_240); -if (x_1028 == 0) -{ -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; uint8_t x_1041; -lean_inc(x_5); -lean_inc(x_14); -x_1029 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_1030 = lean_ctor_get(x_1029, 0); -lean_inc(x_1030); -x_1031 = lean_ctor_get(x_1029, 1); -lean_inc(x_1031); -lean_dec(x_1029); -x_1032 = lean_unsigned_to_nat(1u); -x_1033 = lean_nat_add(x_3, x_1032); -lean_dec(x_3); -lean_inc(x_14); -x_1034 = l_Lean_mkHole(x_14); -lean_inc(x_1030); -x_1035 = l_Lean_Elab_Term_mkExplicitBinder(x_1030, x_1034); -x_1036 = lean_array_push(x_4, x_1035); -lean_inc(x_5); -x_1037 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1033, x_1036, x_5, x_1031); -x_1038 = lean_ctor_get(x_1037, 0); -lean_inc(x_1038); -x_1039 = lean_ctor_get(x_1038, 1); -lean_inc(x_1039); -x_1040 = lean_ctor_get(x_1037, 1); -lean_inc(x_1040); -lean_dec(x_1037); -x_1041 = !lean_is_exclusive(x_1038); -if (x_1041 == 0) -{ -lean_object* x_1042; uint8_t x_1043; -x_1042 = lean_ctor_get(x_1038, 1); -lean_dec(x_1042); -x_1043 = !lean_is_exclusive(x_1039); -if (x_1043 == 0) -{ -lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; uint8_t x_1047; -x_1044 = lean_ctor_get(x_1039, 0); -x_1045 = lean_ctor_get(x_1039, 1); -lean_dec(x_1045); -x_1046 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1040); -x_1047 = !lean_is_exclusive(x_1046); -if (x_1047 == 0) -{ -lean_object* x_1048; 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; uint8_t x_1065; -x_1048 = lean_ctor_get(x_1046, 0); -x_1049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1048); -x_1050 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1050, 0, x_1048); -lean_ctor_set(x_1050, 1, x_1049); -x_1051 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1052 = lean_array_push(x_1051, x_1030); -x_1053 = lean_box(2); -x_1054 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1055 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1055, 0, x_1053); -lean_ctor_set(x_1055, 1, x_1054); -lean_ctor_set(x_1055, 2, x_1052); -x_1056 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1057 = lean_array_push(x_1056, x_1055); -x_1058 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1059 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1059, 0, x_1053); -lean_ctor_set(x_1059, 1, x_1058); -lean_ctor_set(x_1059, 2, x_1057); -x_1060 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1048); -x_1061 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1061, 0, x_1048); -lean_ctor_set(x_1061, 1, x_1060); -x_1062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1048); -x_1063 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1063, 0, x_1048); -lean_ctor_set(x_1063, 1, x_1062); -lean_inc(x_14); -x_1064 = lean_array_push(x_1056, x_14); -x_1065 = !lean_is_exclusive(x_14); -if (x_1065 == 0) -{ -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; 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_1087; 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; uint8_t x_1095; lean_object* x_1096; -x_1066 = lean_ctor_get(x_14, 2); -lean_dec(x_1066); -x_1067 = lean_ctor_get(x_14, 1); -lean_dec(x_1067); -x_1068 = lean_ctor_get(x_14, 0); -lean_dec(x_1068); -lean_ctor_set(x_14, 2, x_1064); -lean_ctor_set(x_14, 1, x_1058); -lean_ctor_set(x_14, 0, x_1053); -x_1069 = lean_array_push(x_1056, x_14); -x_1070 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1070, 0, x_1053); -lean_ctor_set(x_1070, 1, x_1058); -lean_ctor_set(x_1070, 2, x_1069); -x_1071 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1072 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1072, 0, x_1048); -lean_ctor_set(x_1072, 1, x_1071); -x_1073 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1074 = lean_array_push(x_1073, x_1063); -x_1075 = lean_array_push(x_1074, x_1070); -x_1076 = lean_array_push(x_1075, x_1072); -x_1077 = lean_array_push(x_1076, x_1044); -x_1078 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1079 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1079, 0, x_1053); -lean_ctor_set(x_1079, 1, x_1078); -lean_ctor_set(x_1079, 2, x_1077); -x_1080 = lean_array_push(x_1056, x_1079); -x_1081 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1081, 0, x_1053); -lean_ctor_set(x_1081, 1, x_1058); -lean_ctor_set(x_1081, 2, x_1080); -x_1082 = lean_array_push(x_1056, x_1081); -x_1083 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1084 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1084, 0, x_1053); -lean_ctor_set(x_1084, 1, x_1083); -lean_ctor_set(x_1084, 2, x_1082); -x_1085 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1086 = lean_array_push(x_1085, x_1050); -x_1087 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1088 = lean_array_push(x_1086, x_1087); -x_1089 = lean_array_push(x_1088, x_1087); -x_1090 = lean_array_push(x_1089, x_1059); -x_1091 = lean_array_push(x_1090, x_1061); -x_1092 = lean_array_push(x_1091, x_1084); -x_1093 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1094 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1094, 0, x_1053); -lean_ctor_set(x_1094, 1, x_1093); -lean_ctor_set(x_1094, 2, x_1092); -x_1095 = 1; -x_1096 = lean_box(x_1095); -lean_ctor_set(x_1039, 1, x_1096); -lean_ctor_set(x_1039, 0, x_1094); -lean_ctor_set(x_1046, 0, x_1038); -return x_1046; -} -else -{ -lean_object* x_1097; 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_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; uint8_t x_1124; lean_object* x_1125; +uint8_t x_1027; +lean_dec(x_773); lean_dec(x_14); -x_1097 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1097, 0, x_1053); -lean_ctor_set(x_1097, 1, x_1058); -lean_ctor_set(x_1097, 2, x_1064); -x_1098 = lean_array_push(x_1056, x_1097); -x_1099 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1099, 0, x_1053); -lean_ctor_set(x_1099, 1, x_1058); -lean_ctor_set(x_1099, 2, x_1098); -x_1100 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1101, 0, x_1048); -lean_ctor_set(x_1101, 1, x_1100); -x_1102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1103 = lean_array_push(x_1102, x_1063); -x_1104 = lean_array_push(x_1103, x_1099); -x_1105 = lean_array_push(x_1104, x_1101); -x_1106 = lean_array_push(x_1105, x_1044); -x_1107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1108, 0, x_1053); -lean_ctor_set(x_1108, 1, x_1107); -lean_ctor_set(x_1108, 2, x_1106); -x_1109 = lean_array_push(x_1056, x_1108); -x_1110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1110, 0, x_1053); -lean_ctor_set(x_1110, 1, x_1058); -lean_ctor_set(x_1110, 2, x_1109); -x_1111 = lean_array_push(x_1056, x_1110); -x_1112 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1113 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1113, 0, x_1053); -lean_ctor_set(x_1113, 1, x_1112); -lean_ctor_set(x_1113, 2, x_1111); -x_1114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1115 = lean_array_push(x_1114, x_1050); -x_1116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1117 = lean_array_push(x_1115, x_1116); -x_1118 = lean_array_push(x_1117, x_1116); -x_1119 = lean_array_push(x_1118, x_1059); -x_1120 = lean_array_push(x_1119, x_1061); -x_1121 = lean_array_push(x_1120, x_1113); -x_1122 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1123 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1123, 0, x_1053); -lean_ctor_set(x_1123, 1, x_1122); -lean_ctor_set(x_1123, 2, x_1121); -x_1124 = 1; -x_1125 = lean_box(x_1124); -lean_ctor_set(x_1039, 1, x_1125); -lean_ctor_set(x_1039, 0, x_1123); -lean_ctor_set(x_1046, 0, x_1038); -return x_1046; +lean_dec(x_5); +x_1027 = !lean_is_exclusive(x_780); +if (x_1027 == 0) +{ +return x_780; +} +else +{ +lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; +x_1028 = lean_ctor_get(x_780, 0); +x_1029 = lean_ctor_get(x_780, 1); +lean_inc(x_1029); +lean_inc(x_1028); +lean_dec(x_780); +x_1030 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1030, 0, x_1028); +lean_ctor_set(x_1030, 1, x_1029); +return x_1030; +} } } else { -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; uint8_t x_1172; lean_object* x_1173; lean_object* x_1174; -x_1126 = lean_ctor_get(x_1046, 0); -x_1127 = lean_ctor_get(x_1046, 1); -lean_inc(x_1127); -lean_inc(x_1126); -lean_dec(x_1046); -x_1128 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1126); -x_1129 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1129, 0, x_1126); -lean_ctor_set(x_1129, 1, x_1128); -x_1130 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1131 = lean_array_push(x_1130, x_1030); -x_1132 = lean_box(2); -x_1133 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1134, 0, x_1132); -lean_ctor_set(x_1134, 1, x_1133); -lean_ctor_set(x_1134, 2, x_1131); -x_1135 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1136 = lean_array_push(x_1135, x_1134); -x_1137 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1138 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1138, 0, x_1132); -lean_ctor_set(x_1138, 1, x_1137); -lean_ctor_set(x_1138, 2, x_1136); -x_1139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1126); -x_1140 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1140, 0, x_1126); -lean_ctor_set(x_1140, 1, x_1139); -x_1141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1126); -x_1142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1142, 0, x_1126); -lean_ctor_set(x_1142, 1, x_1141); -lean_inc(x_14); -x_1143 = lean_array_push(x_1135, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1144 = x_14; -} else { - lean_dec_ref(x_14); - x_1144 = lean_box(0); -} -if (lean_is_scalar(x_1144)) { - x_1145 = lean_alloc_ctor(1, 3, 0); -} else { - x_1145 = x_1144; -} -lean_ctor_set(x_1145, 0, x_1132); -lean_ctor_set(x_1145, 1, x_1137); -lean_ctor_set(x_1145, 2, x_1143); -x_1146 = lean_array_push(x_1135, x_1145); -x_1147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1147, 0, x_1132); -lean_ctor_set(x_1147, 1, x_1137); -lean_ctor_set(x_1147, 2, x_1146); -x_1148 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1149, 0, x_1126); -lean_ctor_set(x_1149, 1, x_1148); -x_1150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1151 = lean_array_push(x_1150, x_1142); -x_1152 = lean_array_push(x_1151, x_1147); -x_1153 = lean_array_push(x_1152, x_1149); -x_1154 = lean_array_push(x_1153, x_1044); -x_1155 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1156, 0, x_1132); -lean_ctor_set(x_1156, 1, x_1155); -lean_ctor_set(x_1156, 2, x_1154); -x_1157 = lean_array_push(x_1135, x_1156); -x_1158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1158, 0, x_1132); -lean_ctor_set(x_1158, 1, x_1137); -lean_ctor_set(x_1158, 2, x_1157); -x_1159 = lean_array_push(x_1135, x_1158); -x_1160 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1161 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1161, 0, x_1132); -lean_ctor_set(x_1161, 1, x_1160); -lean_ctor_set(x_1161, 2, x_1159); -x_1162 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1163 = lean_array_push(x_1162, x_1129); -x_1164 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1165 = lean_array_push(x_1163, x_1164); -x_1166 = lean_array_push(x_1165, x_1164); -x_1167 = lean_array_push(x_1166, x_1138); -x_1168 = lean_array_push(x_1167, x_1140); -x_1169 = lean_array_push(x_1168, x_1161); -x_1170 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1171 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1171, 0, x_1132); -lean_ctor_set(x_1171, 1, x_1170); -lean_ctor_set(x_1171, 2, x_1169); -x_1172 = 1; -x_1173 = lean_box(x_1172); -lean_ctor_set(x_1039, 1, x_1173); -lean_ctor_set(x_1039, 0, x_1171); -x_1174 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1174, 0, x_1038); -lean_ctor_set(x_1174, 1, x_1127); -return x_1174; -} -} -else +lean_object* x_1031; uint8_t x_1032; +x_1031 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__5; +x_1032 = lean_string_dec_eq(x_244, x_1031); +if (x_1032 == 0) { -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; uint8_t x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; -x_1175 = lean_ctor_get(x_1039, 0); -lean_inc(x_1175); -lean_dec(x_1039); -x_1176 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1040); -x_1177 = lean_ctor_get(x_1176, 0); -lean_inc(x_1177); -x_1178 = lean_ctor_get(x_1176, 1); -lean_inc(x_1178); -if (lean_is_exclusive(x_1176)) { - lean_ctor_release(x_1176, 0); - lean_ctor_release(x_1176, 1); - x_1179 = x_1176; -} else { - lean_dec_ref(x_1176); - x_1179 = lean_box(0); -} -x_1180 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1177); -x_1181 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1181, 0, x_1177); -lean_ctor_set(x_1181, 1, x_1180); -x_1182 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1183 = lean_array_push(x_1182, x_1030); -x_1184 = lean_box(2); -x_1185 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1186 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1186, 0, x_1184); -lean_ctor_set(x_1186, 1, x_1185); -lean_ctor_set(x_1186, 2, x_1183); -x_1187 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1188 = lean_array_push(x_1187, x_1186); -x_1189 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1190 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1190, 0, x_1184); -lean_ctor_set(x_1190, 1, x_1189); -lean_ctor_set(x_1190, 2, x_1188); -x_1191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1177); -x_1192 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1192, 0, x_1177); -lean_ctor_set(x_1192, 1, x_1191); -x_1193 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1177); -x_1194 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1194, 0, x_1177); -lean_ctor_set(x_1194, 1, x_1193); -lean_inc(x_14); -x_1195 = lean_array_push(x_1187, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1196 = x_14; -} else { - lean_dec_ref(x_14); - x_1196 = lean_box(0); -} -if (lean_is_scalar(x_1196)) { - x_1197 = lean_alloc_ctor(1, 3, 0); -} else { - x_1197 = x_1196; -} -lean_ctor_set(x_1197, 0, x_1184); -lean_ctor_set(x_1197, 1, x_1189); -lean_ctor_set(x_1197, 2, x_1195); -x_1198 = lean_array_push(x_1187, x_1197); -x_1199 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1199, 0, x_1184); -lean_ctor_set(x_1199, 1, x_1189); -lean_ctor_set(x_1199, 2, x_1198); -x_1200 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1201 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1201, 0, x_1177); -lean_ctor_set(x_1201, 1, x_1200); -x_1202 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1203 = lean_array_push(x_1202, x_1194); -x_1204 = lean_array_push(x_1203, x_1199); -x_1205 = lean_array_push(x_1204, x_1201); -x_1206 = lean_array_push(x_1205, x_1175); -x_1207 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1208 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1208, 0, x_1184); -lean_ctor_set(x_1208, 1, x_1207); -lean_ctor_set(x_1208, 2, x_1206); -x_1209 = lean_array_push(x_1187, x_1208); -x_1210 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1210, 0, x_1184); -lean_ctor_set(x_1210, 1, x_1189); -lean_ctor_set(x_1210, 2, x_1209); -x_1211 = lean_array_push(x_1187, x_1210); -x_1212 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1213 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1213, 0, x_1184); -lean_ctor_set(x_1213, 1, x_1212); -lean_ctor_set(x_1213, 2, x_1211); -x_1214 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1215 = lean_array_push(x_1214, x_1181); -x_1216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1217 = lean_array_push(x_1215, x_1216); -x_1218 = lean_array_push(x_1217, x_1216); -x_1219 = lean_array_push(x_1218, x_1190); -x_1220 = lean_array_push(x_1219, x_1192); -x_1221 = lean_array_push(x_1220, x_1213); -x_1222 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1223 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1223, 0, x_1184); -lean_ctor_set(x_1223, 1, x_1222); -lean_ctor_set(x_1223, 2, x_1221); -x_1224 = 1; -x_1225 = lean_box(x_1224); -x_1226 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1226, 0, x_1223); -lean_ctor_set(x_1226, 1, x_1225); -lean_ctor_set(x_1038, 1, x_1226); -if (lean_is_scalar(x_1179)) { - x_1227 = lean_alloc_ctor(0, 2, 0); -} else { - x_1227 = x_1179; -} -lean_ctor_set(x_1227, 0, x_1038); -lean_ctor_set(x_1227, 1, x_1178); -return x_1227; -} -} -else +lean_object* x_1033; uint8_t x_1034; +x_1033 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__7; +x_1034 = lean_string_dec_eq(x_244, x_1033); +if (x_1034 == 0) { -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; uint8_t x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; -x_1228 = lean_ctor_get(x_1038, 0); -lean_inc(x_1228); -lean_dec(x_1038); -x_1229 = lean_ctor_get(x_1039, 0); -lean_inc(x_1229); -if (lean_is_exclusive(x_1039)) { - lean_ctor_release(x_1039, 0); - lean_ctor_release(x_1039, 1); - x_1230 = x_1039; -} else { - lean_dec_ref(x_1039); - x_1230 = lean_box(0); -} -x_1231 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1040); -x_1232 = lean_ctor_get(x_1231, 0); -lean_inc(x_1232); -x_1233 = lean_ctor_get(x_1231, 1); -lean_inc(x_1233); -if (lean_is_exclusive(x_1231)) { - lean_ctor_release(x_1231, 0); - lean_ctor_release(x_1231, 1); - x_1234 = x_1231; -} else { - lean_dec_ref(x_1231); - x_1234 = lean_box(0); -} -x_1235 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1232); -x_1236 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1236, 0, x_1232); -lean_ctor_set(x_1236, 1, x_1235); -x_1237 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1238 = lean_array_push(x_1237, x_1030); -x_1239 = lean_box(2); -x_1240 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1241 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1241, 0, x_1239); -lean_ctor_set(x_1241, 1, x_1240); -lean_ctor_set(x_1241, 2, x_1238); -x_1242 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1243 = lean_array_push(x_1242, x_1241); -x_1244 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1245 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1245, 0, x_1239); -lean_ctor_set(x_1245, 1, x_1244); -lean_ctor_set(x_1245, 2, x_1243); -x_1246 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1232); -x_1247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1247, 0, x_1232); -lean_ctor_set(x_1247, 1, x_1246); -x_1248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1232); -x_1249 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1249, 0, x_1232); -lean_ctor_set(x_1249, 1, x_1248); -lean_inc(x_14); -x_1250 = lean_array_push(x_1242, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1251 = x_14; -} else { - lean_dec_ref(x_14); - x_1251 = lean_box(0); -} -if (lean_is_scalar(x_1251)) { - x_1252 = lean_alloc_ctor(1, 3, 0); -} else { - x_1252 = x_1251; -} -lean_ctor_set(x_1252, 0, x_1239); -lean_ctor_set(x_1252, 1, x_1244); -lean_ctor_set(x_1252, 2, x_1250); -x_1253 = lean_array_push(x_1242, x_1252); -x_1254 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1254, 0, x_1239); -lean_ctor_set(x_1254, 1, x_1244); -lean_ctor_set(x_1254, 2, x_1253); -x_1255 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1256 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1256, 0, x_1232); -lean_ctor_set(x_1256, 1, x_1255); -x_1257 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1258 = lean_array_push(x_1257, x_1249); -x_1259 = lean_array_push(x_1258, x_1254); -x_1260 = lean_array_push(x_1259, x_1256); -x_1261 = lean_array_push(x_1260, x_1229); -x_1262 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1263 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1263, 0, x_1239); -lean_ctor_set(x_1263, 1, x_1262); -lean_ctor_set(x_1263, 2, x_1261); -x_1264 = lean_array_push(x_1242, x_1263); -x_1265 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1265, 0, x_1239); -lean_ctor_set(x_1265, 1, x_1244); -lean_ctor_set(x_1265, 2, x_1264); -x_1266 = lean_array_push(x_1242, x_1265); -x_1267 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1268 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1268, 0, x_1239); -lean_ctor_set(x_1268, 1, x_1267); -lean_ctor_set(x_1268, 2, x_1266); -x_1269 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1270 = lean_array_push(x_1269, x_1236); -x_1271 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1272 = lean_array_push(x_1270, x_1271); -x_1273 = lean_array_push(x_1272, x_1271); -x_1274 = lean_array_push(x_1273, x_1245); -x_1275 = lean_array_push(x_1274, x_1247); -x_1276 = lean_array_push(x_1275, x_1268); -x_1277 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1278 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1278, 0, x_1239); -lean_ctor_set(x_1278, 1, x_1277); -lean_ctor_set(x_1278, 2, x_1276); -x_1279 = 1; -x_1280 = lean_box(x_1279); -if (lean_is_scalar(x_1230)) { - x_1281 = lean_alloc_ctor(0, 2, 0); -} else { - x_1281 = x_1230; -} -lean_ctor_set(x_1281, 0, x_1278); -lean_ctor_set(x_1281, 1, x_1280); -x_1282 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1282, 0, x_1228); -lean_ctor_set(x_1282, 1, x_1281); -if (lean_is_scalar(x_1234)) { - x_1283 = lean_alloc_ctor(0, 2, 0); -} else { - x_1283 = x_1234; -} -lean_ctor_set(x_1283, 0, x_1282); -lean_ctor_set(x_1283, 1, x_1233); -return x_1283; -} -} -else +lean_object* x_1035; uint8_t x_1036; +x_1035 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__9; +x_1036 = lean_string_dec_eq(x_244, x_1035); +if (x_1036 == 0) { -lean_object* x_1284; lean_object* x_1285; uint8_t x_1286; -x_1284 = lean_unsigned_to_nat(1u); -x_1285 = l_Lean_Syntax_getArg(x_14, x_1284); -x_1286 = l_Lean_Syntax_isNone(x_1285); -if (x_1286 == 0) +lean_object* x_1037; uint8_t x_1038; +x_1037 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__3; +x_1038 = lean_string_dec_eq(x_244, x_1037); +if (x_1038 == 0) { -lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; uint8_t x_1290; -x_1287 = lean_unsigned_to_nat(0u); -x_1288 = l_Lean_Syntax_getArg(x_1285, x_1287); -x_1289 = l_Lean_Syntax_getArg(x_1285, x_1284); -lean_dec(x_1285); -x_1290 = l_Lean_Syntax_isNone(x_1289); -if (x_1290 == 0) +lean_object* x_1039; uint8_t x_1040; +x_1039 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1; +x_1040 = lean_string_dec_eq(x_244, x_1039); +if (x_1040 == 0) { -lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; uint8_t x_1294; -x_1291 = l_Lean_Syntax_getArg(x_1289, x_1287); -lean_dec(x_1289); -lean_inc(x_1291); -x_1292 = l_Lean_Syntax_getKind(x_1291); -x_1293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; -x_1294 = lean_name_eq(x_1292, x_1293); -lean_dec(x_1292); -if (x_1294 == 0) +lean_object* x_1041; uint8_t x_1042; +x_1041 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__7; +x_1042 = lean_string_dec_eq(x_244, x_1041); +if (x_1042 == 0) { -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; uint8_t x_1306; -lean_dec(x_1291); -lean_dec(x_1288); +lean_object* x_1043; uint8_t x_1044; +x_1043 = l_Lean_Elab_Term_expandFunBinders_loop___closed__16; +x_1044 = lean_string_dec_eq(x_244, x_1043); +lean_dec(x_244); +if (x_1044 == 0) +{ +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_1051; lean_object* x_1052; lean_object* x_1053; lean_inc(x_5); lean_inc(x_14); -x_1295 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_1296 = lean_ctor_get(x_1295, 0); -lean_inc(x_1296); -x_1297 = lean_ctor_get(x_1295, 1); -lean_inc(x_1297); -lean_dec(x_1295); -x_1298 = lean_nat_add(x_3, x_1284); +x_1045 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_1046 = lean_ctor_get(x_1045, 0); +lean_inc(x_1046); +x_1047 = lean_ctor_get(x_1045, 1); +lean_inc(x_1047); +lean_dec(x_1045); +x_1048 = lean_unsigned_to_nat(1u); +x_1049 = lean_nat_add(x_3, x_1048); lean_dec(x_3); lean_inc(x_14); -x_1299 = l_Lean_mkHole(x_14); -lean_inc(x_1296); -x_1300 = l_Lean_Elab_Term_mkExplicitBinder(x_1296, x_1299); -x_1301 = lean_array_push(x_4, x_1300); +x_1050 = l_Lean_mkHole(x_14); +lean_inc(x_1046); +x_1051 = l_Lean_Elab_Term_mkExplicitBinder(x_1046, x_1050); +x_1052 = lean_array_push(x_4, x_1051); lean_inc(x_5); -x_1302 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1298, x_1301, x_5, x_1297); -x_1303 = lean_ctor_get(x_1302, 0); -lean_inc(x_1303); -x_1304 = lean_ctor_get(x_1303, 1); -lean_inc(x_1304); -x_1305 = lean_ctor_get(x_1302, 1); -lean_inc(x_1305); -lean_dec(x_1302); -x_1306 = !lean_is_exclusive(x_1303); +x_1053 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1049, x_1052, x_5, x_1047); +if (lean_obj_tag(x_1053) == 0) +{ +lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; uint8_t x_1057; +x_1054 = lean_ctor_get(x_1053, 0); +lean_inc(x_1054); +x_1055 = lean_ctor_get(x_1054, 1); +lean_inc(x_1055); +x_1056 = lean_ctor_get(x_1053, 1); +lean_inc(x_1056); +lean_dec(x_1053); +x_1057 = !lean_is_exclusive(x_1054); +if (x_1057 == 0) +{ +lean_object* x_1058; uint8_t x_1059; +x_1058 = lean_ctor_get(x_1054, 1); +lean_dec(x_1058); +x_1059 = !lean_is_exclusive(x_1055); +if (x_1059 == 0) +{ +lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; uint8_t x_1063; +x_1060 = lean_ctor_get(x_1055, 0); +x_1061 = lean_ctor_get(x_1055, 1); +lean_dec(x_1061); +x_1062 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1056); +x_1063 = !lean_is_exclusive(x_1062); +if (x_1063 == 0) +{ +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; 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; uint8_t x_1081; +x_1064 = lean_ctor_get(x_1062, 0); +x_1065 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1064); +x_1066 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1066, 0, x_1064); +lean_ctor_set(x_1066, 1, x_1065); +x_1067 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1068 = lean_array_push(x_1067, x_1046); +x_1069 = lean_box(2); +x_1070 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1071 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1071, 0, x_1069); +lean_ctor_set(x_1071, 1, x_1070); +lean_ctor_set(x_1071, 2, x_1068); +x_1072 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1073 = lean_array_push(x_1072, x_1071); +x_1074 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1075 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1075, 0, x_1069); +lean_ctor_set(x_1075, 1, x_1074); +lean_ctor_set(x_1075, 2, x_1073); +x_1076 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1064); +x_1077 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1077, 0, x_1064); +lean_ctor_set(x_1077, 1, x_1076); +x_1078 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1064); +x_1079 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1079, 0, x_1064); +lean_ctor_set(x_1079, 1, x_1078); +lean_inc(x_14); +x_1080 = lean_array_push(x_1072, x_14); +x_1081 = !lean_is_exclusive(x_14); +if (x_1081 == 0) +{ +lean_object* x_1082; lean_object* x_1083; 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; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; 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; uint8_t x_1111; lean_object* x_1112; +x_1082 = lean_ctor_get(x_14, 2); +lean_dec(x_1082); +x_1083 = lean_ctor_get(x_14, 1); +lean_dec(x_1083); +x_1084 = lean_ctor_get(x_14, 0); +lean_dec(x_1084); +lean_ctor_set(x_14, 2, x_1080); +lean_ctor_set(x_14, 1, x_1074); +lean_ctor_set(x_14, 0, x_1069); +x_1085 = lean_array_push(x_1072, x_14); +x_1086 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1086, 0, x_1069); +lean_ctor_set(x_1086, 1, x_1074); +lean_ctor_set(x_1086, 2, x_1085); +x_1087 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1088 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1088, 0, x_1064); +lean_ctor_set(x_1088, 1, x_1087); +x_1089 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1090 = lean_array_push(x_1089, x_1079); +x_1091 = lean_array_push(x_1090, x_1086); +x_1092 = lean_array_push(x_1091, x_1088); +x_1093 = lean_array_push(x_1092, x_1060); +x_1094 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1095 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1095, 0, x_1069); +lean_ctor_set(x_1095, 1, x_1094); +lean_ctor_set(x_1095, 2, x_1093); +x_1096 = lean_array_push(x_1072, x_1095); +x_1097 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1097, 0, x_1069); +lean_ctor_set(x_1097, 1, x_1074); +lean_ctor_set(x_1097, 2, x_1096); +x_1098 = lean_array_push(x_1072, x_1097); +x_1099 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1100 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1100, 0, x_1069); +lean_ctor_set(x_1100, 1, x_1099); +lean_ctor_set(x_1100, 2, x_1098); +x_1101 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1102 = lean_array_push(x_1101, x_1066); +x_1103 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1104 = lean_array_push(x_1102, x_1103); +x_1105 = lean_array_push(x_1104, x_1103); +x_1106 = lean_array_push(x_1105, x_1075); +x_1107 = lean_array_push(x_1106, x_1077); +x_1108 = lean_array_push(x_1107, x_1100); +x_1109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1110, 0, x_1069); +lean_ctor_set(x_1110, 1, x_1109); +lean_ctor_set(x_1110, 2, x_1108); +x_1111 = 1; +x_1112 = lean_box(x_1111); +lean_ctor_set(x_1055, 1, x_1112); +lean_ctor_set(x_1055, 0, x_1110); +lean_ctor_set(x_1062, 0, x_1054); +return x_1062; +} +else +{ +lean_object* x_1113; 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; uint8_t x_1140; lean_object* x_1141; +lean_dec(x_14); +x_1113 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1113, 0, x_1069); +lean_ctor_set(x_1113, 1, x_1074); +lean_ctor_set(x_1113, 2, x_1080); +x_1114 = lean_array_push(x_1072, x_1113); +x_1115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1115, 0, x_1069); +lean_ctor_set(x_1115, 1, x_1074); +lean_ctor_set(x_1115, 2, x_1114); +x_1116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1117 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1117, 0, x_1064); +lean_ctor_set(x_1117, 1, x_1116); +x_1118 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1119 = lean_array_push(x_1118, x_1079); +x_1120 = lean_array_push(x_1119, x_1115); +x_1121 = lean_array_push(x_1120, x_1117); +x_1122 = lean_array_push(x_1121, x_1060); +x_1123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1124, 0, x_1069); +lean_ctor_set(x_1124, 1, x_1123); +lean_ctor_set(x_1124, 2, x_1122); +x_1125 = lean_array_push(x_1072, x_1124); +x_1126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1126, 0, x_1069); +lean_ctor_set(x_1126, 1, x_1074); +lean_ctor_set(x_1126, 2, x_1125); +x_1127 = lean_array_push(x_1072, x_1126); +x_1128 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1129, 0, x_1069); +lean_ctor_set(x_1129, 1, x_1128); +lean_ctor_set(x_1129, 2, x_1127); +x_1130 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1131 = lean_array_push(x_1130, x_1066); +x_1132 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1133 = lean_array_push(x_1131, x_1132); +x_1134 = lean_array_push(x_1133, x_1132); +x_1135 = lean_array_push(x_1134, x_1075); +x_1136 = lean_array_push(x_1135, x_1077); +x_1137 = lean_array_push(x_1136, x_1129); +x_1138 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1139 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1139, 0, x_1069); +lean_ctor_set(x_1139, 1, x_1138); +lean_ctor_set(x_1139, 2, x_1137); +x_1140 = 1; +x_1141 = lean_box(x_1140); +lean_ctor_set(x_1055, 1, x_1141); +lean_ctor_set(x_1055, 0, x_1139); +lean_ctor_set(x_1062, 0, x_1054); +return x_1062; +} +} +else +{ +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; uint8_t x_1188; lean_object* x_1189; lean_object* x_1190; +x_1142 = lean_ctor_get(x_1062, 0); +x_1143 = lean_ctor_get(x_1062, 1); +lean_inc(x_1143); +lean_inc(x_1142); +lean_dec(x_1062); +x_1144 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1142); +x_1145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1145, 0, x_1142); +lean_ctor_set(x_1145, 1, x_1144); +x_1146 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1147 = lean_array_push(x_1146, x_1046); +x_1148 = lean_box(2); +x_1149 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1150 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1150, 0, x_1148); +lean_ctor_set(x_1150, 1, x_1149); +lean_ctor_set(x_1150, 2, x_1147); +x_1151 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1152 = lean_array_push(x_1151, x_1150); +x_1153 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1154 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1154, 0, x_1148); +lean_ctor_set(x_1154, 1, x_1153); +lean_ctor_set(x_1154, 2, x_1152); +x_1155 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1142); +x_1156 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1156, 0, x_1142); +lean_ctor_set(x_1156, 1, x_1155); +x_1157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1142); +x_1158 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1158, 0, x_1142); +lean_ctor_set(x_1158, 1, x_1157); +lean_inc(x_14); +x_1159 = lean_array_push(x_1151, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1160 = x_14; +} else { + lean_dec_ref(x_14); + x_1160 = lean_box(0); +} +if (lean_is_scalar(x_1160)) { + x_1161 = lean_alloc_ctor(1, 3, 0); +} else { + x_1161 = x_1160; +} +lean_ctor_set(x_1161, 0, x_1148); +lean_ctor_set(x_1161, 1, x_1153); +lean_ctor_set(x_1161, 2, x_1159); +x_1162 = lean_array_push(x_1151, x_1161); +x_1163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1163, 0, x_1148); +lean_ctor_set(x_1163, 1, x_1153); +lean_ctor_set(x_1163, 2, x_1162); +x_1164 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1165 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1165, 0, x_1142); +lean_ctor_set(x_1165, 1, x_1164); +x_1166 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1167 = lean_array_push(x_1166, x_1158); +x_1168 = lean_array_push(x_1167, x_1163); +x_1169 = lean_array_push(x_1168, x_1165); +x_1170 = lean_array_push(x_1169, x_1060); +x_1171 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1172 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1172, 0, x_1148); +lean_ctor_set(x_1172, 1, x_1171); +lean_ctor_set(x_1172, 2, x_1170); +x_1173 = lean_array_push(x_1151, x_1172); +x_1174 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1174, 0, x_1148); +lean_ctor_set(x_1174, 1, x_1153); +lean_ctor_set(x_1174, 2, x_1173); +x_1175 = lean_array_push(x_1151, x_1174); +x_1176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1177 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1177, 0, x_1148); +lean_ctor_set(x_1177, 1, x_1176); +lean_ctor_set(x_1177, 2, x_1175); +x_1178 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1179 = lean_array_push(x_1178, x_1145); +x_1180 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1181 = lean_array_push(x_1179, x_1180); +x_1182 = lean_array_push(x_1181, x_1180); +x_1183 = lean_array_push(x_1182, x_1154); +x_1184 = lean_array_push(x_1183, x_1156); +x_1185 = lean_array_push(x_1184, x_1177); +x_1186 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1187 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1187, 0, x_1148); +lean_ctor_set(x_1187, 1, x_1186); +lean_ctor_set(x_1187, 2, x_1185); +x_1188 = 1; +x_1189 = lean_box(x_1188); +lean_ctor_set(x_1055, 1, x_1189); +lean_ctor_set(x_1055, 0, x_1187); +x_1190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1190, 0, x_1054); +lean_ctor_set(x_1190, 1, x_1143); +return x_1190; +} +} +else +{ +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; uint8_t x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; +x_1191 = lean_ctor_get(x_1055, 0); +lean_inc(x_1191); +lean_dec(x_1055); +x_1192 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1056); +x_1193 = lean_ctor_get(x_1192, 0); +lean_inc(x_1193); +x_1194 = lean_ctor_get(x_1192, 1); +lean_inc(x_1194); +if (lean_is_exclusive(x_1192)) { + lean_ctor_release(x_1192, 0); + lean_ctor_release(x_1192, 1); + x_1195 = x_1192; +} else { + lean_dec_ref(x_1192); + x_1195 = lean_box(0); +} +x_1196 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1193); +x_1197 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1197, 0, x_1193); +lean_ctor_set(x_1197, 1, x_1196); +x_1198 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1199 = lean_array_push(x_1198, x_1046); +x_1200 = lean_box(2); +x_1201 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1202 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1202, 0, x_1200); +lean_ctor_set(x_1202, 1, x_1201); +lean_ctor_set(x_1202, 2, x_1199); +x_1203 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1204 = lean_array_push(x_1203, x_1202); +x_1205 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1206 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1206, 0, x_1200); +lean_ctor_set(x_1206, 1, x_1205); +lean_ctor_set(x_1206, 2, x_1204); +x_1207 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1193); +x_1208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1208, 0, x_1193); +lean_ctor_set(x_1208, 1, x_1207); +x_1209 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1193); +x_1210 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1210, 0, x_1193); +lean_ctor_set(x_1210, 1, x_1209); +lean_inc(x_14); +x_1211 = lean_array_push(x_1203, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1212 = x_14; +} else { + lean_dec_ref(x_14); + x_1212 = lean_box(0); +} +if (lean_is_scalar(x_1212)) { + x_1213 = lean_alloc_ctor(1, 3, 0); +} else { + x_1213 = x_1212; +} +lean_ctor_set(x_1213, 0, x_1200); +lean_ctor_set(x_1213, 1, x_1205); +lean_ctor_set(x_1213, 2, x_1211); +x_1214 = lean_array_push(x_1203, x_1213); +x_1215 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1215, 0, x_1200); +lean_ctor_set(x_1215, 1, x_1205); +lean_ctor_set(x_1215, 2, x_1214); +x_1216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1217 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1217, 0, x_1193); +lean_ctor_set(x_1217, 1, x_1216); +x_1218 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1219 = lean_array_push(x_1218, x_1210); +x_1220 = lean_array_push(x_1219, x_1215); +x_1221 = lean_array_push(x_1220, x_1217); +x_1222 = lean_array_push(x_1221, x_1191); +x_1223 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1224, 0, x_1200); +lean_ctor_set(x_1224, 1, x_1223); +lean_ctor_set(x_1224, 2, x_1222); +x_1225 = lean_array_push(x_1203, x_1224); +x_1226 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1226, 0, x_1200); +lean_ctor_set(x_1226, 1, x_1205); +lean_ctor_set(x_1226, 2, x_1225); +x_1227 = lean_array_push(x_1203, x_1226); +x_1228 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1229 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1229, 0, x_1200); +lean_ctor_set(x_1229, 1, x_1228); +lean_ctor_set(x_1229, 2, x_1227); +x_1230 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1231 = lean_array_push(x_1230, x_1197); +x_1232 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1233 = lean_array_push(x_1231, x_1232); +x_1234 = lean_array_push(x_1233, x_1232); +x_1235 = lean_array_push(x_1234, x_1206); +x_1236 = lean_array_push(x_1235, x_1208); +x_1237 = lean_array_push(x_1236, x_1229); +x_1238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1239 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1239, 0, x_1200); +lean_ctor_set(x_1239, 1, x_1238); +lean_ctor_set(x_1239, 2, x_1237); +x_1240 = 1; +x_1241 = lean_box(x_1240); +x_1242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1242, 0, x_1239); +lean_ctor_set(x_1242, 1, x_1241); +lean_ctor_set(x_1054, 1, x_1242); +if (lean_is_scalar(x_1195)) { + x_1243 = lean_alloc_ctor(0, 2, 0); +} else { + x_1243 = x_1195; +} +lean_ctor_set(x_1243, 0, x_1054); +lean_ctor_set(x_1243, 1, x_1194); +return x_1243; +} +} +else +{ +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; uint8_t x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; +x_1244 = lean_ctor_get(x_1054, 0); +lean_inc(x_1244); +lean_dec(x_1054); +x_1245 = lean_ctor_get(x_1055, 0); +lean_inc(x_1245); +if (lean_is_exclusive(x_1055)) { + lean_ctor_release(x_1055, 0); + lean_ctor_release(x_1055, 1); + x_1246 = x_1055; +} else { + lean_dec_ref(x_1055); + x_1246 = lean_box(0); +} +x_1247 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1056); +x_1248 = lean_ctor_get(x_1247, 0); +lean_inc(x_1248); +x_1249 = lean_ctor_get(x_1247, 1); +lean_inc(x_1249); +if (lean_is_exclusive(x_1247)) { + lean_ctor_release(x_1247, 0); + lean_ctor_release(x_1247, 1); + x_1250 = x_1247; +} else { + lean_dec_ref(x_1247); + x_1250 = lean_box(0); +} +x_1251 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1248); +x_1252 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1252, 0, x_1248); +lean_ctor_set(x_1252, 1, x_1251); +x_1253 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1254 = lean_array_push(x_1253, x_1046); +x_1255 = lean_box(2); +x_1256 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1257 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1257, 0, x_1255); +lean_ctor_set(x_1257, 1, x_1256); +lean_ctor_set(x_1257, 2, x_1254); +x_1258 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1259 = lean_array_push(x_1258, x_1257); +x_1260 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1261 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1261, 0, x_1255); +lean_ctor_set(x_1261, 1, x_1260); +lean_ctor_set(x_1261, 2, x_1259); +x_1262 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1248); +x_1263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1263, 0, x_1248); +lean_ctor_set(x_1263, 1, x_1262); +x_1264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1248); +x_1265 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1265, 0, x_1248); +lean_ctor_set(x_1265, 1, x_1264); +lean_inc(x_14); +x_1266 = lean_array_push(x_1258, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1267 = x_14; +} else { + lean_dec_ref(x_14); + x_1267 = lean_box(0); +} +if (lean_is_scalar(x_1267)) { + x_1268 = lean_alloc_ctor(1, 3, 0); +} else { + x_1268 = x_1267; +} +lean_ctor_set(x_1268, 0, x_1255); +lean_ctor_set(x_1268, 1, x_1260); +lean_ctor_set(x_1268, 2, x_1266); +x_1269 = lean_array_push(x_1258, x_1268); +x_1270 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1270, 0, x_1255); +lean_ctor_set(x_1270, 1, x_1260); +lean_ctor_set(x_1270, 2, x_1269); +x_1271 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1272 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1272, 0, x_1248); +lean_ctor_set(x_1272, 1, x_1271); +x_1273 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1274 = lean_array_push(x_1273, x_1265); +x_1275 = lean_array_push(x_1274, x_1270); +x_1276 = lean_array_push(x_1275, x_1272); +x_1277 = lean_array_push(x_1276, x_1245); +x_1278 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1279 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1279, 0, x_1255); +lean_ctor_set(x_1279, 1, x_1278); +lean_ctor_set(x_1279, 2, x_1277); +x_1280 = lean_array_push(x_1258, x_1279); +x_1281 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1281, 0, x_1255); +lean_ctor_set(x_1281, 1, x_1260); +lean_ctor_set(x_1281, 2, x_1280); +x_1282 = lean_array_push(x_1258, x_1281); +x_1283 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1284 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1284, 0, x_1255); +lean_ctor_set(x_1284, 1, x_1283); +lean_ctor_set(x_1284, 2, x_1282); +x_1285 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1286 = lean_array_push(x_1285, x_1252); +x_1287 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1288 = lean_array_push(x_1286, x_1287); +x_1289 = lean_array_push(x_1288, x_1287); +x_1290 = lean_array_push(x_1289, x_1261); +x_1291 = lean_array_push(x_1290, x_1263); +x_1292 = lean_array_push(x_1291, x_1284); +x_1293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1294 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1294, 0, x_1255); +lean_ctor_set(x_1294, 1, x_1293); +lean_ctor_set(x_1294, 2, x_1292); +x_1295 = 1; +x_1296 = lean_box(x_1295); +if (lean_is_scalar(x_1246)) { + x_1297 = lean_alloc_ctor(0, 2, 0); +} else { + x_1297 = x_1246; +} +lean_ctor_set(x_1297, 0, x_1294); +lean_ctor_set(x_1297, 1, x_1296); +x_1298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1298, 0, x_1244); +lean_ctor_set(x_1298, 1, x_1297); +if (lean_is_scalar(x_1250)) { + x_1299 = lean_alloc_ctor(0, 2, 0); +} else { + x_1299 = x_1250; +} +lean_ctor_set(x_1299, 0, x_1298); +lean_ctor_set(x_1299, 1, x_1249); +return x_1299; +} +} +else +{ +uint8_t x_1300; +lean_dec(x_1046); +lean_dec(x_14); +lean_dec(x_5); +x_1300 = !lean_is_exclusive(x_1053); +if (x_1300 == 0) +{ +return x_1053; +} +else +{ +lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; +x_1301 = lean_ctor_get(x_1053, 0); +x_1302 = lean_ctor_get(x_1053, 1); +lean_inc(x_1302); +lean_inc(x_1301); +lean_dec(x_1053); +x_1303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1303, 0, x_1301); +lean_ctor_set(x_1303, 1, x_1302); +return x_1303; +} +} +} +else +{ +lean_object* x_1304; lean_object* x_1305; uint8_t x_1306; +x_1304 = lean_unsigned_to_nat(1u); +x_1305 = l_Lean_Syntax_getArg(x_14, x_1304); +x_1306 = l_Lean_Syntax_isNone(x_1305); if (x_1306 == 0) { -lean_object* x_1307; uint8_t x_1308; -x_1307 = lean_ctor_get(x_1303, 1); -lean_dec(x_1307); -x_1308 = !lean_is_exclusive(x_1304); -if (x_1308 == 0) +lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; uint8_t x_1310; +x_1307 = lean_unsigned_to_nat(0u); +x_1308 = l_Lean_Syntax_getArg(x_1305, x_1307); +x_1309 = l_Lean_Syntax_getArg(x_1305, x_1304); +lean_dec(x_1305); +x_1310 = l_Lean_Syntax_isNone(x_1309); +if (x_1310 == 0) { -lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; uint8_t x_1312; -x_1309 = lean_ctor_get(x_1304, 0); -x_1310 = lean_ctor_get(x_1304, 1); -lean_dec(x_1310); -x_1311 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1305); -x_1312 = !lean_is_exclusive(x_1311); -if (x_1312 == 0) +lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; uint8_t x_1314; +x_1311 = l_Lean_Syntax_getArg(x_1309, x_1307); +lean_dec(x_1309); +lean_inc(x_1311); +x_1312 = l_Lean_Syntax_getKind(x_1311); +x_1313 = l_Lean_Elab_Term_expandFunBinders_loop___closed__18; +x_1314 = lean_name_eq(x_1312, x_1313); +lean_dec(x_1312); +if (x_1314 == 0) { -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; uint8_t x_1330; -x_1313 = lean_ctor_get(x_1311, 0); -x_1314 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1313); -x_1315 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1315, 0, x_1313); -lean_ctor_set(x_1315, 1, x_1314); -x_1316 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1317 = lean_array_push(x_1316, x_1296); -x_1318 = lean_box(2); -x_1319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1320 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1320, 0, x_1318); -lean_ctor_set(x_1320, 1, x_1319); -lean_ctor_set(x_1320, 2, x_1317); -x_1321 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1322 = lean_array_push(x_1321, x_1320); -x_1323 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1324 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1324, 0, x_1318); -lean_ctor_set(x_1324, 1, x_1323); -lean_ctor_set(x_1324, 2, x_1322); -x_1325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1313); -x_1326 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1326, 0, x_1313); -lean_ctor_set(x_1326, 1, x_1325); -x_1327 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1313); -x_1328 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1328, 0, x_1313); -lean_ctor_set(x_1328, 1, x_1327); +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_dec(x_1311); +lean_dec(x_1308); +lean_inc(x_5); lean_inc(x_14); -x_1329 = lean_array_push(x_1321, x_14); -x_1330 = !lean_is_exclusive(x_14); -if (x_1330 == 0) +x_1315 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_1316 = lean_ctor_get(x_1315, 0); +lean_inc(x_1316); +x_1317 = lean_ctor_get(x_1315, 1); +lean_inc(x_1317); +lean_dec(x_1315); +x_1318 = lean_nat_add(x_3, x_1304); +lean_dec(x_3); +lean_inc(x_14); +x_1319 = l_Lean_mkHole(x_14); +lean_inc(x_1316); +x_1320 = l_Lean_Elab_Term_mkExplicitBinder(x_1316, x_1319); +x_1321 = lean_array_push(x_4, x_1320); +lean_inc(x_5); +x_1322 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1318, x_1321, x_5, x_1317); +if (lean_obj_tag(x_1322) == 0) { -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; uint8_t x_1360; lean_object* x_1361; -x_1331 = lean_ctor_get(x_14, 2); -lean_dec(x_1331); -x_1332 = lean_ctor_get(x_14, 1); -lean_dec(x_1332); -x_1333 = lean_ctor_get(x_14, 0); -lean_dec(x_1333); -lean_ctor_set(x_14, 2, x_1329); -lean_ctor_set(x_14, 1, x_1323); -lean_ctor_set(x_14, 0, x_1318); -x_1334 = lean_array_push(x_1321, x_14); -x_1335 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1335, 0, x_1318); -lean_ctor_set(x_1335, 1, x_1323); -lean_ctor_set(x_1335, 2, x_1334); -x_1336 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1337 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1337, 0, x_1313); -lean_ctor_set(x_1337, 1, x_1336); -x_1338 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1339 = lean_array_push(x_1338, x_1328); -x_1340 = lean_array_push(x_1339, x_1335); -x_1341 = lean_array_push(x_1340, x_1337); -x_1342 = lean_array_push(x_1341, x_1309); -x_1343 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; uint8_t x_1326; +x_1323 = lean_ctor_get(x_1322, 0); +lean_inc(x_1323); +x_1324 = lean_ctor_get(x_1323, 1); +lean_inc(x_1324); +x_1325 = lean_ctor_get(x_1322, 1); +lean_inc(x_1325); +lean_dec(x_1322); +x_1326 = !lean_is_exclusive(x_1323); +if (x_1326 == 0) +{ +lean_object* x_1327; uint8_t x_1328; +x_1327 = lean_ctor_get(x_1323, 1); +lean_dec(x_1327); +x_1328 = !lean_is_exclusive(x_1324); +if (x_1328 == 0) +{ +lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; uint8_t x_1332; +x_1329 = lean_ctor_get(x_1324, 0); +x_1330 = lean_ctor_get(x_1324, 1); +lean_dec(x_1330); +x_1331 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1325); +x_1332 = !lean_is_exclusive(x_1331); +if (x_1332 == 0) +{ +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; uint8_t x_1350; +x_1333 = lean_ctor_get(x_1331, 0); +x_1334 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1333); +x_1335 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1335, 0, x_1333); +lean_ctor_set(x_1335, 1, x_1334); +x_1336 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1337 = lean_array_push(x_1336, x_1316); +x_1338 = lean_box(2); +x_1339 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1340 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1340, 0, x_1338); +lean_ctor_set(x_1340, 1, x_1339); +lean_ctor_set(x_1340, 2, x_1337); +x_1341 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1342 = lean_array_push(x_1341, x_1340); +x_1343 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; x_1344 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1344, 0, x_1318); +lean_ctor_set(x_1344, 0, x_1338); lean_ctor_set(x_1344, 1, x_1343); lean_ctor_set(x_1344, 2, x_1342); -x_1345 = lean_array_push(x_1321, x_1344); -x_1346 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1346, 0, x_1318); -lean_ctor_set(x_1346, 1, x_1323); -lean_ctor_set(x_1346, 2, x_1345); -x_1347 = lean_array_push(x_1321, x_1346); -x_1348 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1349 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1349, 0, x_1318); -lean_ctor_set(x_1349, 1, x_1348); -lean_ctor_set(x_1349, 2, x_1347); -x_1350 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1351 = lean_array_push(x_1350, x_1315); -x_1352 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1353 = lean_array_push(x_1351, x_1352); -x_1354 = lean_array_push(x_1353, x_1352); -x_1355 = lean_array_push(x_1354, x_1324); -x_1356 = lean_array_push(x_1355, x_1326); -x_1357 = lean_array_push(x_1356, x_1349); -x_1358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1359 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1359, 0, x_1318); -lean_ctor_set(x_1359, 1, x_1358); -lean_ctor_set(x_1359, 2, x_1357); -x_1360 = 1; -x_1361 = lean_box(x_1360); -lean_ctor_set(x_1304, 1, x_1361); -lean_ctor_set(x_1304, 0, x_1359); -lean_ctor_set(x_1311, 0, x_1303); -return x_1311; -} -else +x_1345 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1333); +x_1346 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1346, 0, x_1333); +lean_ctor_set(x_1346, 1, x_1345); +x_1347 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1333); +x_1348 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1348, 0, x_1333); +lean_ctor_set(x_1348, 1, x_1347); +lean_inc(x_14); +x_1349 = lean_array_push(x_1341, x_14); +x_1350 = !lean_is_exclusive(x_14); +if (x_1350 == 0) { -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; uint8_t x_1389; lean_object* x_1390; -lean_dec(x_14); -x_1362 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1362, 0, x_1318); -lean_ctor_set(x_1362, 1, x_1323); -lean_ctor_set(x_1362, 2, x_1329); -x_1363 = lean_array_push(x_1321, x_1362); +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; uint8_t x_1380; lean_object* x_1381; +x_1351 = lean_ctor_get(x_14, 2); +lean_dec(x_1351); +x_1352 = lean_ctor_get(x_14, 1); +lean_dec(x_1352); +x_1353 = lean_ctor_get(x_14, 0); +lean_dec(x_1353); +lean_ctor_set(x_14, 2, x_1349); +lean_ctor_set(x_14, 1, x_1343); +lean_ctor_set(x_14, 0, x_1338); +x_1354 = lean_array_push(x_1341, x_14); +x_1355 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1355, 0, x_1338); +lean_ctor_set(x_1355, 1, x_1343); +lean_ctor_set(x_1355, 2, x_1354); +x_1356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1357 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1357, 0, x_1333); +lean_ctor_set(x_1357, 1, x_1356); +x_1358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1359 = lean_array_push(x_1358, x_1348); +x_1360 = lean_array_push(x_1359, x_1355); +x_1361 = lean_array_push(x_1360, x_1357); +x_1362 = lean_array_push(x_1361, x_1329); +x_1363 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1364 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1364, 0, x_1318); -lean_ctor_set(x_1364, 1, x_1323); -lean_ctor_set(x_1364, 2, x_1363); -x_1365 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1366, 0, x_1313); -lean_ctor_set(x_1366, 1, x_1365); -x_1367 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1368 = lean_array_push(x_1367, x_1328); -x_1369 = lean_array_push(x_1368, x_1364); -x_1370 = lean_array_push(x_1369, x_1366); -x_1371 = lean_array_push(x_1370, x_1309); -x_1372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1373 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1373, 0, x_1318); -lean_ctor_set(x_1373, 1, x_1372); -lean_ctor_set(x_1373, 2, x_1371); -x_1374 = lean_array_push(x_1321, x_1373); -x_1375 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1375, 0, x_1318); -lean_ctor_set(x_1375, 1, x_1323); -lean_ctor_set(x_1375, 2, x_1374); -x_1376 = lean_array_push(x_1321, x_1375); -x_1377 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1378 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1378, 0, x_1318); -lean_ctor_set(x_1378, 1, x_1377); -lean_ctor_set(x_1378, 2, x_1376); -x_1379 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1380 = lean_array_push(x_1379, x_1315); -x_1381 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1382 = lean_array_push(x_1380, x_1381); -x_1383 = lean_array_push(x_1382, x_1381); -x_1384 = lean_array_push(x_1383, x_1324); -x_1385 = lean_array_push(x_1384, x_1326); -x_1386 = lean_array_push(x_1385, x_1378); -x_1387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1388 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1388, 0, x_1318); -lean_ctor_set(x_1388, 1, x_1387); -lean_ctor_set(x_1388, 2, x_1386); -x_1389 = 1; -x_1390 = lean_box(x_1389); -lean_ctor_set(x_1304, 1, x_1390); -lean_ctor_set(x_1304, 0, x_1388); -lean_ctor_set(x_1311, 0, x_1303); -return x_1311; +lean_ctor_set(x_1364, 0, x_1338); +lean_ctor_set(x_1364, 1, x_1363); +lean_ctor_set(x_1364, 2, x_1362); +x_1365 = lean_array_push(x_1341, x_1364); +x_1366 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1366, 0, x_1338); +lean_ctor_set(x_1366, 1, x_1343); +lean_ctor_set(x_1366, 2, x_1365); +x_1367 = lean_array_push(x_1341, x_1366); +x_1368 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1369 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1369, 0, x_1338); +lean_ctor_set(x_1369, 1, x_1368); +lean_ctor_set(x_1369, 2, x_1367); +x_1370 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1371 = lean_array_push(x_1370, x_1335); +x_1372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1373 = lean_array_push(x_1371, x_1372); +x_1374 = lean_array_push(x_1373, x_1372); +x_1375 = lean_array_push(x_1374, x_1344); +x_1376 = lean_array_push(x_1375, x_1346); +x_1377 = lean_array_push(x_1376, x_1369); +x_1378 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1379 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1379, 0, x_1338); +lean_ctor_set(x_1379, 1, x_1378); +lean_ctor_set(x_1379, 2, x_1377); +x_1380 = 1; +x_1381 = lean_box(x_1380); +lean_ctor_set(x_1324, 1, x_1381); +lean_ctor_set(x_1324, 0, x_1379); +lean_ctor_set(x_1331, 0, x_1323); +return x_1331; +} +else +{ +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; uint8_t x_1409; lean_object* x_1410; +lean_dec(x_14); +x_1382 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1382, 0, x_1338); +lean_ctor_set(x_1382, 1, x_1343); +lean_ctor_set(x_1382, 2, x_1349); +x_1383 = lean_array_push(x_1341, x_1382); +x_1384 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1384, 0, x_1338); +lean_ctor_set(x_1384, 1, x_1343); +lean_ctor_set(x_1384, 2, x_1383); +x_1385 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1386 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1386, 0, x_1333); +lean_ctor_set(x_1386, 1, x_1385); +x_1387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1388 = lean_array_push(x_1387, x_1348); +x_1389 = lean_array_push(x_1388, x_1384); +x_1390 = lean_array_push(x_1389, x_1386); +x_1391 = lean_array_push(x_1390, x_1329); +x_1392 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1393 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1393, 0, x_1338); +lean_ctor_set(x_1393, 1, x_1392); +lean_ctor_set(x_1393, 2, x_1391); +x_1394 = lean_array_push(x_1341, x_1393); +x_1395 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1395, 0, x_1338); +lean_ctor_set(x_1395, 1, x_1343); +lean_ctor_set(x_1395, 2, x_1394); +x_1396 = lean_array_push(x_1341, x_1395); +x_1397 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1398 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1398, 0, x_1338); +lean_ctor_set(x_1398, 1, x_1397); +lean_ctor_set(x_1398, 2, x_1396); +x_1399 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1400 = lean_array_push(x_1399, x_1335); +x_1401 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1402 = lean_array_push(x_1400, x_1401); +x_1403 = lean_array_push(x_1402, x_1401); +x_1404 = lean_array_push(x_1403, x_1344); +x_1405 = lean_array_push(x_1404, x_1346); +x_1406 = lean_array_push(x_1405, x_1398); +x_1407 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1408 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1408, 0, x_1338); +lean_ctor_set(x_1408, 1, x_1407); +lean_ctor_set(x_1408, 2, x_1406); +x_1409 = 1; +x_1410 = lean_box(x_1409); +lean_ctor_set(x_1324, 1, x_1410); +lean_ctor_set(x_1324, 0, x_1408); +lean_ctor_set(x_1331, 0, x_1323); +return x_1331; } } else { -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; 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; uint8_t x_1437; lean_object* x_1438; lean_object* x_1439; -x_1391 = lean_ctor_get(x_1311, 0); -x_1392 = lean_ctor_get(x_1311, 1); -lean_inc(x_1392); -lean_inc(x_1391); -lean_dec(x_1311); -x_1393 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1391); -x_1394 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1394, 0, x_1391); -lean_ctor_set(x_1394, 1, x_1393); -x_1395 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1396 = lean_array_push(x_1395, x_1296); -x_1397 = lean_box(2); -x_1398 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1399 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1399, 0, x_1397); -lean_ctor_set(x_1399, 1, x_1398); -lean_ctor_set(x_1399, 2, x_1396); -x_1400 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1401 = lean_array_push(x_1400, x_1399); -x_1402 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1403 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1403, 0, x_1397); -lean_ctor_set(x_1403, 1, x_1402); -lean_ctor_set(x_1403, 2, x_1401); -x_1404 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1391); -x_1405 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1405, 0, x_1391); -lean_ctor_set(x_1405, 1, x_1404); -x_1406 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1391); -x_1407 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1407, 0, x_1391); -lean_ctor_set(x_1407, 1, x_1406); -lean_inc(x_14); -x_1408 = lean_array_push(x_1400, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1409 = x_14; -} else { - lean_dec_ref(x_14); - x_1409 = lean_box(0); -} -if (lean_is_scalar(x_1409)) { - x_1410 = lean_alloc_ctor(1, 3, 0); -} else { - x_1410 = x_1409; -} -lean_ctor_set(x_1410, 0, x_1397); -lean_ctor_set(x_1410, 1, x_1402); -lean_ctor_set(x_1410, 2, x_1408); -x_1411 = lean_array_push(x_1400, x_1410); -x_1412 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1412, 0, x_1397); -lean_ctor_set(x_1412, 1, x_1402); -lean_ctor_set(x_1412, 2, x_1411); -x_1413 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +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; 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; 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; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; uint8_t x_1457; lean_object* x_1458; lean_object* x_1459; +x_1411 = lean_ctor_get(x_1331, 0); +x_1412 = lean_ctor_get(x_1331, 1); +lean_inc(x_1412); +lean_inc(x_1411); +lean_dec(x_1331); +x_1413 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1411); x_1414 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1414, 0, x_1391); +lean_ctor_set(x_1414, 0, x_1411); lean_ctor_set(x_1414, 1, x_1413); -x_1415 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1416 = lean_array_push(x_1415, x_1407); -x_1417 = lean_array_push(x_1416, x_1412); -x_1418 = lean_array_push(x_1417, x_1414); -x_1419 = lean_array_push(x_1418, x_1309); -x_1420 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1421 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1421, 0, x_1397); -lean_ctor_set(x_1421, 1, x_1420); -lean_ctor_set(x_1421, 2, x_1419); -x_1422 = lean_array_push(x_1400, x_1421); +x_1415 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1416 = lean_array_push(x_1415, x_1316); +x_1417 = lean_box(2); +x_1418 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1419 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1419, 0, x_1417); +lean_ctor_set(x_1419, 1, x_1418); +lean_ctor_set(x_1419, 2, x_1416); +x_1420 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1421 = lean_array_push(x_1420, x_1419); +x_1422 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; x_1423 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1423, 0, x_1397); -lean_ctor_set(x_1423, 1, x_1402); -lean_ctor_set(x_1423, 2, x_1422); -x_1424 = lean_array_push(x_1400, x_1423); -x_1425 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1426 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1426, 0, x_1397); -lean_ctor_set(x_1426, 1, x_1425); -lean_ctor_set(x_1426, 2, x_1424); -x_1427 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1428 = lean_array_push(x_1427, x_1394); -x_1429 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1430 = lean_array_push(x_1428, x_1429); -x_1431 = lean_array_push(x_1430, x_1429); -x_1432 = lean_array_push(x_1431, x_1403); -x_1433 = lean_array_push(x_1432, x_1405); -x_1434 = lean_array_push(x_1433, x_1426); -x_1435 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1436 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1436, 0, x_1397); -lean_ctor_set(x_1436, 1, x_1435); -lean_ctor_set(x_1436, 2, x_1434); -x_1437 = 1; -x_1438 = lean_box(x_1437); -lean_ctor_set(x_1304, 1, x_1438); -lean_ctor_set(x_1304, 0, x_1436); -x_1439 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1439, 0, x_1303); -lean_ctor_set(x_1439, 1, x_1392); -return x_1439; -} -} -else -{ -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; lean_object* x_1452; 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; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* 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; uint8_t x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; -x_1440 = lean_ctor_get(x_1304, 0); -lean_inc(x_1440); -lean_dec(x_1304); -x_1441 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1305); -x_1442 = lean_ctor_get(x_1441, 0); -lean_inc(x_1442); -x_1443 = lean_ctor_get(x_1441, 1); -lean_inc(x_1443); -if (lean_is_exclusive(x_1441)) { - lean_ctor_release(x_1441, 0); - lean_ctor_release(x_1441, 1); - x_1444 = x_1441; +lean_ctor_set(x_1423, 0, x_1417); +lean_ctor_set(x_1423, 1, x_1422); +lean_ctor_set(x_1423, 2, x_1421); +x_1424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1411); +x_1425 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1425, 0, x_1411); +lean_ctor_set(x_1425, 1, x_1424); +x_1426 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1411); +x_1427 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1427, 0, x_1411); +lean_ctor_set(x_1427, 1, x_1426); +lean_inc(x_14); +x_1428 = lean_array_push(x_1420, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1429 = x_14; } else { - lean_dec_ref(x_1441); - x_1444 = lean_box(0); + lean_dec_ref(x_14); + x_1429 = lean_box(0); } -x_1445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1442); -x_1446 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1446, 0, x_1442); +if (lean_is_scalar(x_1429)) { + x_1430 = lean_alloc_ctor(1, 3, 0); +} else { + x_1430 = x_1429; +} +lean_ctor_set(x_1430, 0, x_1417); +lean_ctor_set(x_1430, 1, x_1422); +lean_ctor_set(x_1430, 2, x_1428); +x_1431 = lean_array_push(x_1420, x_1430); +x_1432 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1432, 0, x_1417); +lean_ctor_set(x_1432, 1, x_1422); +lean_ctor_set(x_1432, 2, x_1431); +x_1433 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1434 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1434, 0, x_1411); +lean_ctor_set(x_1434, 1, x_1433); +x_1435 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1436 = lean_array_push(x_1435, x_1427); +x_1437 = lean_array_push(x_1436, x_1432); +x_1438 = lean_array_push(x_1437, x_1434); +x_1439 = lean_array_push(x_1438, x_1329); +x_1440 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1441 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1441, 0, x_1417); +lean_ctor_set(x_1441, 1, x_1440); +lean_ctor_set(x_1441, 2, x_1439); +x_1442 = lean_array_push(x_1420, x_1441); +x_1443 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1443, 0, x_1417); +lean_ctor_set(x_1443, 1, x_1422); +lean_ctor_set(x_1443, 2, x_1442); +x_1444 = lean_array_push(x_1420, x_1443); +x_1445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1446 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1446, 0, x_1417); lean_ctor_set(x_1446, 1, x_1445); -x_1447 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1448 = lean_array_push(x_1447, x_1296); -x_1449 = lean_box(2); -x_1450 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1451 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1451, 0, x_1449); -lean_ctor_set(x_1451, 1, x_1450); -lean_ctor_set(x_1451, 2, x_1448); -x_1452 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1453 = lean_array_push(x_1452, x_1451); -x_1454 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1455 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1455, 0, x_1449); -lean_ctor_set(x_1455, 1, x_1454); -lean_ctor_set(x_1455, 2, x_1453); -x_1456 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1442); -x_1457 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1457, 0, x_1442); -lean_ctor_set(x_1457, 1, x_1456); -x_1458 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1442); -x_1459 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1459, 0, x_1442); -lean_ctor_set(x_1459, 1, x_1458); -lean_inc(x_14); -x_1460 = lean_array_push(x_1452, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1461 = x_14; -} else { - lean_dec_ref(x_14); - x_1461 = lean_box(0); +lean_ctor_set(x_1446, 2, x_1444); +x_1447 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1448 = lean_array_push(x_1447, x_1414); +x_1449 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1450 = lean_array_push(x_1448, x_1449); +x_1451 = lean_array_push(x_1450, x_1449); +x_1452 = lean_array_push(x_1451, x_1423); +x_1453 = lean_array_push(x_1452, x_1425); +x_1454 = lean_array_push(x_1453, x_1446); +x_1455 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1456 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1456, 0, x_1417); +lean_ctor_set(x_1456, 1, x_1455); +lean_ctor_set(x_1456, 2, x_1454); +x_1457 = 1; +x_1458 = lean_box(x_1457); +lean_ctor_set(x_1324, 1, x_1458); +lean_ctor_set(x_1324, 0, x_1456); +x_1459 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1459, 0, x_1323); +lean_ctor_set(x_1459, 1, x_1412); +return x_1459; } -if (lean_is_scalar(x_1461)) { - x_1462 = lean_alloc_ctor(1, 3, 0); -} else { - x_1462 = x_1461; } -lean_ctor_set(x_1462, 0, x_1449); -lean_ctor_set(x_1462, 1, x_1454); -lean_ctor_set(x_1462, 2, x_1460); -x_1463 = lean_array_push(x_1452, x_1462); -x_1464 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1464, 0, x_1449); -lean_ctor_set(x_1464, 1, x_1454); -lean_ctor_set(x_1464, 2, x_1463); -x_1465 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +else +{ +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; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* 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; 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; uint8_t x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; +x_1460 = lean_ctor_get(x_1324, 0); +lean_inc(x_1460); +lean_dec(x_1324); +x_1461 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1325); +x_1462 = lean_ctor_get(x_1461, 0); +lean_inc(x_1462); +x_1463 = lean_ctor_get(x_1461, 1); +lean_inc(x_1463); +if (lean_is_exclusive(x_1461)) { + lean_ctor_release(x_1461, 0); + lean_ctor_release(x_1461, 1); + x_1464 = x_1461; +} else { + lean_dec_ref(x_1461); + x_1464 = lean_box(0); +} +x_1465 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1462); x_1466 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1466, 0, x_1442); +lean_ctor_set(x_1466, 0, x_1462); lean_ctor_set(x_1466, 1, x_1465); -x_1467 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1468 = lean_array_push(x_1467, x_1459); -x_1469 = lean_array_push(x_1468, x_1464); -x_1470 = lean_array_push(x_1469, x_1466); -x_1471 = lean_array_push(x_1470, x_1440); -x_1472 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1473 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1473, 0, x_1449); -lean_ctor_set(x_1473, 1, x_1472); -lean_ctor_set(x_1473, 2, x_1471); -x_1474 = lean_array_push(x_1452, x_1473); +x_1467 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1468 = lean_array_push(x_1467, x_1316); +x_1469 = lean_box(2); +x_1470 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1471 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1471, 0, x_1469); +lean_ctor_set(x_1471, 1, x_1470); +lean_ctor_set(x_1471, 2, x_1468); +x_1472 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1473 = lean_array_push(x_1472, x_1471); +x_1474 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; x_1475 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1475, 0, x_1449); -lean_ctor_set(x_1475, 1, x_1454); -lean_ctor_set(x_1475, 2, x_1474); -x_1476 = lean_array_push(x_1452, x_1475); -x_1477 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1478 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1478, 0, x_1449); -lean_ctor_set(x_1478, 1, x_1477); -lean_ctor_set(x_1478, 2, x_1476); -x_1479 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1480 = lean_array_push(x_1479, x_1446); -x_1481 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1482 = lean_array_push(x_1480, x_1481); -x_1483 = lean_array_push(x_1482, x_1481); -x_1484 = lean_array_push(x_1483, x_1455); -x_1485 = lean_array_push(x_1484, x_1457); -x_1486 = lean_array_push(x_1485, x_1478); -x_1487 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1488 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1488, 0, x_1449); -lean_ctor_set(x_1488, 1, x_1487); -lean_ctor_set(x_1488, 2, x_1486); -x_1489 = 1; -x_1490 = lean_box(x_1489); -x_1491 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1491, 0, x_1488); -lean_ctor_set(x_1491, 1, x_1490); -lean_ctor_set(x_1303, 1, x_1491); -if (lean_is_scalar(x_1444)) { - x_1492 = lean_alloc_ctor(0, 2, 0); -} else { - x_1492 = x_1444; -} -lean_ctor_set(x_1492, 0, x_1303); -lean_ctor_set(x_1492, 1, x_1443); -return x_1492; -} -} -else -{ -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; 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; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; 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; uint8_t x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; -x_1493 = lean_ctor_get(x_1303, 0); -lean_inc(x_1493); -lean_dec(x_1303); -x_1494 = lean_ctor_get(x_1304, 0); -lean_inc(x_1494); -if (lean_is_exclusive(x_1304)) { - lean_ctor_release(x_1304, 0); - lean_ctor_release(x_1304, 1); - x_1495 = x_1304; -} else { - lean_dec_ref(x_1304); - x_1495 = lean_box(0); -} -x_1496 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1305); -x_1497 = lean_ctor_get(x_1496, 0); -lean_inc(x_1497); -x_1498 = lean_ctor_get(x_1496, 1); -lean_inc(x_1498); -if (lean_is_exclusive(x_1496)) { - lean_ctor_release(x_1496, 0); - lean_ctor_release(x_1496, 1); - x_1499 = x_1496; -} else { - lean_dec_ref(x_1496); - x_1499 = lean_box(0); -} -x_1500 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1497); -x_1501 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1501, 0, x_1497); -lean_ctor_set(x_1501, 1, x_1500); -x_1502 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1503 = lean_array_push(x_1502, x_1296); -x_1504 = lean_box(2); -x_1505 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1506 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1506, 0, x_1504); -lean_ctor_set(x_1506, 1, x_1505); -lean_ctor_set(x_1506, 2, x_1503); -x_1507 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1508 = lean_array_push(x_1507, x_1506); -x_1509 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1510 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1510, 0, x_1504); -lean_ctor_set(x_1510, 1, x_1509); -lean_ctor_set(x_1510, 2, x_1508); -x_1511 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1497); -x_1512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1512, 0, x_1497); -lean_ctor_set(x_1512, 1, x_1511); -x_1513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1497); -x_1514 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1514, 0, x_1497); -lean_ctor_set(x_1514, 1, x_1513); +lean_ctor_set(x_1475, 0, x_1469); +lean_ctor_set(x_1475, 1, x_1474); +lean_ctor_set(x_1475, 2, x_1473); +x_1476 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1462); +x_1477 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1477, 0, x_1462); +lean_ctor_set(x_1477, 1, x_1476); +x_1478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1462); +x_1479 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1479, 0, x_1462); +lean_ctor_set(x_1479, 1, x_1478); lean_inc(x_14); -x_1515 = lean_array_push(x_1507, x_14); +x_1480 = lean_array_push(x_1472, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_1516 = x_14; + x_1481 = x_14; } else { lean_dec_ref(x_14); - x_1516 = lean_box(0); + x_1481 = lean_box(0); } -if (lean_is_scalar(x_1516)) { - x_1517 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_1481)) { + x_1482 = lean_alloc_ctor(1, 3, 0); } else { - x_1517 = x_1516; + x_1482 = x_1481; } -lean_ctor_set(x_1517, 0, x_1504); -lean_ctor_set(x_1517, 1, x_1509); -lean_ctor_set(x_1517, 2, x_1515); -x_1518 = lean_array_push(x_1507, x_1517); -x_1519 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1519, 0, x_1504); -lean_ctor_set(x_1519, 1, x_1509); -lean_ctor_set(x_1519, 2, x_1518); -x_1520 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1521 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1521, 0, x_1497); -lean_ctor_set(x_1521, 1, x_1520); -x_1522 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1523 = lean_array_push(x_1522, x_1514); -x_1524 = lean_array_push(x_1523, x_1519); -x_1525 = lean_array_push(x_1524, x_1521); -x_1526 = lean_array_push(x_1525, x_1494); -x_1527 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1528 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1528, 0, x_1504); -lean_ctor_set(x_1528, 1, x_1527); -lean_ctor_set(x_1528, 2, x_1526); -x_1529 = lean_array_push(x_1507, x_1528); -x_1530 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1530, 0, x_1504); -lean_ctor_set(x_1530, 1, x_1509); -lean_ctor_set(x_1530, 2, x_1529); -x_1531 = lean_array_push(x_1507, x_1530); -x_1532 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1533 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1533, 0, x_1504); -lean_ctor_set(x_1533, 1, x_1532); -lean_ctor_set(x_1533, 2, x_1531); -x_1534 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1535 = lean_array_push(x_1534, x_1501); -x_1536 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1537 = lean_array_push(x_1535, x_1536); -x_1538 = lean_array_push(x_1537, x_1536); -x_1539 = lean_array_push(x_1538, x_1510); -x_1540 = lean_array_push(x_1539, x_1512); -x_1541 = lean_array_push(x_1540, x_1533); -x_1542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1543 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1543, 0, x_1504); -lean_ctor_set(x_1543, 1, x_1542); -lean_ctor_set(x_1543, 2, x_1541); -x_1544 = 1; -x_1545 = lean_box(x_1544); -if (lean_is_scalar(x_1495)) { - x_1546 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1482, 0, x_1469); +lean_ctor_set(x_1482, 1, x_1474); +lean_ctor_set(x_1482, 2, x_1480); +x_1483 = lean_array_push(x_1472, x_1482); +x_1484 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1484, 0, x_1469); +lean_ctor_set(x_1484, 1, x_1474); +lean_ctor_set(x_1484, 2, x_1483); +x_1485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1486 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1486, 0, x_1462); +lean_ctor_set(x_1486, 1, x_1485); +x_1487 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1488 = lean_array_push(x_1487, x_1479); +x_1489 = lean_array_push(x_1488, x_1484); +x_1490 = lean_array_push(x_1489, x_1486); +x_1491 = lean_array_push(x_1490, x_1460); +x_1492 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1493 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1493, 0, x_1469); +lean_ctor_set(x_1493, 1, x_1492); +lean_ctor_set(x_1493, 2, x_1491); +x_1494 = lean_array_push(x_1472, x_1493); +x_1495 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1495, 0, x_1469); +lean_ctor_set(x_1495, 1, x_1474); +lean_ctor_set(x_1495, 2, x_1494); +x_1496 = lean_array_push(x_1472, x_1495); +x_1497 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1498 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1498, 0, x_1469); +lean_ctor_set(x_1498, 1, x_1497); +lean_ctor_set(x_1498, 2, x_1496); +x_1499 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1500 = lean_array_push(x_1499, x_1466); +x_1501 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1502 = lean_array_push(x_1500, x_1501); +x_1503 = lean_array_push(x_1502, x_1501); +x_1504 = lean_array_push(x_1503, x_1475); +x_1505 = lean_array_push(x_1504, x_1477); +x_1506 = lean_array_push(x_1505, x_1498); +x_1507 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1508 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1508, 0, x_1469); +lean_ctor_set(x_1508, 1, x_1507); +lean_ctor_set(x_1508, 2, x_1506); +x_1509 = 1; +x_1510 = lean_box(x_1509); +x_1511 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1511, 0, x_1508); +lean_ctor_set(x_1511, 1, x_1510); +lean_ctor_set(x_1323, 1, x_1511); +if (lean_is_scalar(x_1464)) { + x_1512 = lean_alloc_ctor(0, 2, 0); } else { - x_1546 = x_1495; + x_1512 = x_1464; } -lean_ctor_set(x_1546, 0, x_1543); -lean_ctor_set(x_1546, 1, x_1545); -x_1547 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1547, 0, x_1493); -lean_ctor_set(x_1547, 1, x_1546); -if (lean_is_scalar(x_1499)) { - x_1548 = lean_alloc_ctor(0, 2, 0); -} else { - x_1548 = x_1499; -} -lean_ctor_set(x_1548, 0, x_1547); -lean_ctor_set(x_1548, 1, x_1498); -return x_1548; +lean_ctor_set(x_1512, 0, x_1323); +lean_ctor_set(x_1512, 1, x_1463); +return x_1512; } } else { -lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; -x_1549 = l_Lean_Syntax_getArg(x_1291, x_1284); -lean_dec(x_1291); -lean_inc(x_5); -x_1550 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(x_1288, x_5, x_6); -x_1551 = lean_ctor_get(x_1550, 0); -lean_inc(x_1551); -if (lean_obj_tag(x_1551) == 0) +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; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; 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; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; 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; uint8_t x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; +x_1513 = lean_ctor_get(x_1323, 0); +lean_inc(x_1513); +lean_dec(x_1323); +x_1514 = lean_ctor_get(x_1324, 0); +lean_inc(x_1514); +if (lean_is_exclusive(x_1324)) { + lean_ctor_release(x_1324, 0); + lean_ctor_release(x_1324, 1); + x_1515 = x_1324; +} else { + lean_dec_ref(x_1324); + x_1515 = lean_box(0); +} +x_1516 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1325); +x_1517 = lean_ctor_get(x_1516, 0); +lean_inc(x_1517); +x_1518 = lean_ctor_get(x_1516, 1); +lean_inc(x_1518); +if (lean_is_exclusive(x_1516)) { + lean_ctor_release(x_1516, 0); + lean_ctor_release(x_1516, 1); + x_1519 = x_1516; +} else { + lean_dec_ref(x_1516); + x_1519 = lean_box(0); +} +x_1520 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1517); +x_1521 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1521, 0, x_1517); +lean_ctor_set(x_1521, 1, x_1520); +x_1522 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1523 = lean_array_push(x_1522, x_1316); +x_1524 = lean_box(2); +x_1525 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1526 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1526, 0, x_1524); +lean_ctor_set(x_1526, 1, x_1525); +lean_ctor_set(x_1526, 2, x_1523); +x_1527 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1528 = lean_array_push(x_1527, x_1526); +x_1529 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1530 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1530, 0, x_1524); +lean_ctor_set(x_1530, 1, x_1529); +lean_ctor_set(x_1530, 2, x_1528); +x_1531 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1517); +x_1532 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1532, 0, x_1517); +lean_ctor_set(x_1532, 1, x_1531); +x_1533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1517); +x_1534 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1534, 0, x_1517); +lean_ctor_set(x_1534, 1, x_1533); +lean_inc(x_14); +x_1535 = lean_array_push(x_1527, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1536 = x_14; +} else { + lean_dec_ref(x_14); + x_1536 = lean_box(0); +} +if (lean_is_scalar(x_1536)) { + x_1537 = lean_alloc_ctor(1, 3, 0); +} else { + x_1537 = x_1536; +} +lean_ctor_set(x_1537, 0, x_1524); +lean_ctor_set(x_1537, 1, x_1529); +lean_ctor_set(x_1537, 2, x_1535); +x_1538 = lean_array_push(x_1527, x_1537); +x_1539 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1539, 0, x_1524); +lean_ctor_set(x_1539, 1, x_1529); +lean_ctor_set(x_1539, 2, x_1538); +x_1540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1541 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1541, 0, x_1517); +lean_ctor_set(x_1541, 1, x_1540); +x_1542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1543 = lean_array_push(x_1542, x_1534); +x_1544 = lean_array_push(x_1543, x_1539); +x_1545 = lean_array_push(x_1544, x_1541); +x_1546 = lean_array_push(x_1545, x_1514); +x_1547 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1548 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1548, 0, x_1524); +lean_ctor_set(x_1548, 1, x_1547); +lean_ctor_set(x_1548, 2, x_1546); +x_1549 = lean_array_push(x_1527, x_1548); +x_1550 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1550, 0, x_1524); +lean_ctor_set(x_1550, 1, x_1529); +lean_ctor_set(x_1550, 2, x_1549); +x_1551 = lean_array_push(x_1527, x_1550); +x_1552 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1553 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1553, 0, x_1524); +lean_ctor_set(x_1553, 1, x_1552); +lean_ctor_set(x_1553, 2, x_1551); +x_1554 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1555 = lean_array_push(x_1554, x_1521); +x_1556 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1557 = lean_array_push(x_1555, x_1556); +x_1558 = lean_array_push(x_1557, x_1556); +x_1559 = lean_array_push(x_1558, x_1530); +x_1560 = lean_array_push(x_1559, x_1532); +x_1561 = lean_array_push(x_1560, x_1553); +x_1562 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1563 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1563, 0, x_1524); +lean_ctor_set(x_1563, 1, x_1562); +lean_ctor_set(x_1563, 2, x_1561); +x_1564 = 1; +x_1565 = lean_box(x_1564); +if (lean_is_scalar(x_1515)) { + x_1566 = lean_alloc_ctor(0, 2, 0); +} else { + x_1566 = x_1515; +} +lean_ctor_set(x_1566, 0, x_1563); +lean_ctor_set(x_1566, 1, x_1565); +x_1567 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1567, 0, x_1513); +lean_ctor_set(x_1567, 1, x_1566); +if (lean_is_scalar(x_1519)) { + x_1568 = lean_alloc_ctor(0, 2, 0); +} else { + x_1568 = x_1519; +} +lean_ctor_set(x_1568, 0, x_1567); +lean_ctor_set(x_1568, 1, x_1518); +return x_1568; +} +} +else { -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; uint8_t x_1564; -lean_dec(x_1549); -x_1552 = lean_ctor_get(x_1550, 1); -lean_inc(x_1552); -lean_dec(x_1550); +uint8_t x_1569; +lean_dec(x_1316); +lean_dec(x_14); +lean_dec(x_5); +x_1569 = !lean_is_exclusive(x_1322); +if (x_1569 == 0) +{ +return x_1322; +} +else +{ +lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; +x_1570 = lean_ctor_get(x_1322, 0); +x_1571 = lean_ctor_get(x_1322, 1); +lean_inc(x_1571); +lean_inc(x_1570); +lean_dec(x_1322); +x_1572 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1572, 0, x_1570); +lean_ctor_set(x_1572, 1, x_1571); +return x_1572; +} +} +} +else +{ +lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; +x_1573 = l_Lean_Syntax_getArg(x_1311, x_1304); +lean_dec(x_1311); +lean_inc(x_5); +x_1574 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(x_1308, x_5, x_6); +x_1575 = lean_ctor_get(x_1574, 0); +lean_inc(x_1575); +if (lean_obj_tag(x_1575) == 0) +{ +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_dec(x_1573); +x_1576 = lean_ctor_get(x_1574, 1); +lean_inc(x_1576); +lean_dec(x_1574); lean_inc(x_5); lean_inc(x_14); -x_1553 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_1552); -x_1554 = lean_ctor_get(x_1553, 0); -lean_inc(x_1554); -x_1555 = lean_ctor_get(x_1553, 1); -lean_inc(x_1555); -lean_dec(x_1553); -x_1556 = lean_nat_add(x_3, x_1284); +x_1577 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_1576); +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 = lean_nat_add(x_3, x_1304); lean_dec(x_3); lean_inc(x_14); -x_1557 = l_Lean_mkHole(x_14); -lean_inc(x_1554); -x_1558 = l_Lean_Elab_Term_mkExplicitBinder(x_1554, x_1557); -x_1559 = lean_array_push(x_4, x_1558); +x_1581 = l_Lean_mkHole(x_14); +lean_inc(x_1578); +x_1582 = l_Lean_Elab_Term_mkExplicitBinder(x_1578, x_1581); +x_1583 = lean_array_push(x_4, x_1582); lean_inc(x_5); -x_1560 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1556, x_1559, x_5, x_1555); -x_1561 = lean_ctor_get(x_1560, 0); -lean_inc(x_1561); -x_1562 = lean_ctor_get(x_1561, 1); -lean_inc(x_1562); -x_1563 = lean_ctor_get(x_1560, 1); -lean_inc(x_1563); -lean_dec(x_1560); -x_1564 = !lean_is_exclusive(x_1561); -if (x_1564 == 0) +x_1584 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1580, x_1583, x_5, x_1579); +if (lean_obj_tag(x_1584) == 0) { -lean_object* x_1565; uint8_t x_1566; -x_1565 = lean_ctor_get(x_1561, 1); -lean_dec(x_1565); -x_1566 = !lean_is_exclusive(x_1562); -if (x_1566 == 0) -{ -lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; uint8_t x_1570; -x_1567 = lean_ctor_get(x_1562, 0); -x_1568 = lean_ctor_get(x_1562, 1); -lean_dec(x_1568); -x_1569 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1563); -x_1570 = !lean_is_exclusive(x_1569); -if (x_1570 == 0) -{ -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; uint8_t x_1588; -x_1571 = lean_ctor_get(x_1569, 0); -x_1572 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1571); -x_1573 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1573, 0, x_1571); -lean_ctor_set(x_1573, 1, x_1572); -x_1574 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1575 = lean_array_push(x_1574, x_1554); -x_1576 = lean_box(2); -x_1577 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1578 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1578, 0, x_1576); -lean_ctor_set(x_1578, 1, x_1577); -lean_ctor_set(x_1578, 2, x_1575); -x_1579 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1580 = lean_array_push(x_1579, x_1578); -x_1581 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1582 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1582, 0, x_1576); -lean_ctor_set(x_1582, 1, x_1581); -lean_ctor_set(x_1582, 2, x_1580); -x_1583 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1571); -x_1584 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1584, 0, x_1571); -lean_ctor_set(x_1584, 1, x_1583); -x_1585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1571); -x_1586 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1586, 0, x_1571); -lean_ctor_set(x_1586, 1, x_1585); -lean_inc(x_14); -x_1587 = lean_array_push(x_1579, x_14); -x_1588 = !lean_is_exclusive(x_14); +lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; uint8_t x_1588; +x_1585 = lean_ctor_get(x_1584, 0); +lean_inc(x_1585); +x_1586 = lean_ctor_get(x_1585, 1); +lean_inc(x_1586); +x_1587 = lean_ctor_get(x_1584, 1); +lean_inc(x_1587); +lean_dec(x_1584); +x_1588 = !lean_is_exclusive(x_1585); if (x_1588 == 0) { -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; uint8_t x_1618; lean_object* x_1619; -x_1589 = lean_ctor_get(x_14, 2); +lean_object* x_1589; uint8_t x_1590; +x_1589 = lean_ctor_get(x_1585, 1); lean_dec(x_1589); -x_1590 = lean_ctor_get(x_14, 1); -lean_dec(x_1590); -x_1591 = lean_ctor_get(x_14, 0); -lean_dec(x_1591); -lean_ctor_set(x_14, 2, x_1587); -lean_ctor_set(x_14, 1, x_1581); -lean_ctor_set(x_14, 0, x_1576); -x_1592 = lean_array_push(x_1579, x_14); -x_1593 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1593, 0, x_1576); -lean_ctor_set(x_1593, 1, x_1581); -lean_ctor_set(x_1593, 2, x_1592); -x_1594 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1595 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1595, 0, x_1571); -lean_ctor_set(x_1595, 1, x_1594); -x_1596 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1597 = lean_array_push(x_1596, x_1586); -x_1598 = lean_array_push(x_1597, x_1593); -x_1599 = lean_array_push(x_1598, x_1595); -x_1600 = lean_array_push(x_1599, x_1567); -x_1601 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1602 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1602, 0, x_1576); -lean_ctor_set(x_1602, 1, x_1601); -lean_ctor_set(x_1602, 2, x_1600); -x_1603 = lean_array_push(x_1579, x_1602); -x_1604 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1604, 0, x_1576); -lean_ctor_set(x_1604, 1, x_1581); -lean_ctor_set(x_1604, 2, x_1603); -x_1605 = lean_array_push(x_1579, x_1604); -x_1606 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1607 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1607, 0, x_1576); -lean_ctor_set(x_1607, 1, x_1606); -lean_ctor_set(x_1607, 2, x_1605); -x_1608 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1609 = lean_array_push(x_1608, x_1573); -x_1610 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1611 = lean_array_push(x_1609, x_1610); -x_1612 = lean_array_push(x_1611, x_1610); -x_1613 = lean_array_push(x_1612, x_1582); -x_1614 = lean_array_push(x_1613, x_1584); -x_1615 = lean_array_push(x_1614, x_1607); -x_1616 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1617 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1617, 0, x_1576); -lean_ctor_set(x_1617, 1, x_1616); -lean_ctor_set(x_1617, 2, x_1615); -x_1618 = 1; -x_1619 = lean_box(x_1618); -lean_ctor_set(x_1562, 1, x_1619); -lean_ctor_set(x_1562, 0, x_1617); -lean_ctor_set(x_1569, 0, x_1561); -return x_1569; -} -else +x_1590 = !lean_is_exclusive(x_1586); +if (x_1590 == 0) { -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; uint8_t x_1647; lean_object* x_1648; -lean_dec(x_14); -x_1620 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1620, 0, x_1576); -lean_ctor_set(x_1620, 1, x_1581); -lean_ctor_set(x_1620, 2, x_1587); -x_1621 = lean_array_push(x_1579, x_1620); -x_1622 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1622, 0, x_1576); -lean_ctor_set(x_1622, 1, x_1581); -lean_ctor_set(x_1622, 2, x_1621); -x_1623 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1624 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1624, 0, x_1571); -lean_ctor_set(x_1624, 1, x_1623); -x_1625 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1626 = lean_array_push(x_1625, x_1586); -x_1627 = lean_array_push(x_1626, x_1622); -x_1628 = lean_array_push(x_1627, x_1624); -x_1629 = lean_array_push(x_1628, x_1567); -x_1630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; uint8_t x_1594; +x_1591 = lean_ctor_get(x_1586, 0); +x_1592 = lean_ctor_get(x_1586, 1); +lean_dec(x_1592); +x_1593 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1587); +x_1594 = !lean_is_exclusive(x_1593); +if (x_1594 == 0) +{ +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; uint8_t x_1612; +x_1595 = lean_ctor_get(x_1593, 0); +x_1596 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1595); +x_1597 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1597, 0, x_1595); +lean_ctor_set(x_1597, 1, x_1596); +x_1598 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1599 = lean_array_push(x_1598, x_1578); +x_1600 = lean_box(2); +x_1601 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1602 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1602, 0, x_1600); +lean_ctor_set(x_1602, 1, x_1601); +lean_ctor_set(x_1602, 2, x_1599); +x_1603 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1604 = lean_array_push(x_1603, x_1602); +x_1605 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1606 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1606, 0, x_1600); +lean_ctor_set(x_1606, 1, x_1605); +lean_ctor_set(x_1606, 2, x_1604); +x_1607 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1595); +x_1608 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1608, 0, x_1595); +lean_ctor_set(x_1608, 1, x_1607); +x_1609 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1595); +x_1610 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1610, 0, x_1595); +lean_ctor_set(x_1610, 1, x_1609); +lean_inc(x_14); +x_1611 = lean_array_push(x_1603, x_14); +x_1612 = !lean_is_exclusive(x_14); +if (x_1612 == 0) +{ +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; uint8_t x_1642; lean_object* x_1643; +x_1613 = lean_ctor_get(x_14, 2); +lean_dec(x_1613); +x_1614 = lean_ctor_get(x_14, 1); +lean_dec(x_1614); +x_1615 = lean_ctor_get(x_14, 0); +lean_dec(x_1615); +lean_ctor_set(x_14, 2, x_1611); +lean_ctor_set(x_14, 1, x_1605); +lean_ctor_set(x_14, 0, x_1600); +x_1616 = lean_array_push(x_1603, x_14); +x_1617 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1617, 0, x_1600); +lean_ctor_set(x_1617, 1, x_1605); +lean_ctor_set(x_1617, 2, x_1616); +x_1618 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1619 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1619, 0, x_1595); +lean_ctor_set(x_1619, 1, x_1618); +x_1620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1621 = lean_array_push(x_1620, x_1610); +x_1622 = lean_array_push(x_1621, x_1617); +x_1623 = lean_array_push(x_1622, x_1619); +x_1624 = lean_array_push(x_1623, x_1591); +x_1625 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1626 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1626, 0, x_1600); +lean_ctor_set(x_1626, 1, x_1625); +lean_ctor_set(x_1626, 2, x_1624); +x_1627 = lean_array_push(x_1603, x_1626); +x_1628 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1628, 0, x_1600); +lean_ctor_set(x_1628, 1, x_1605); +lean_ctor_set(x_1628, 2, x_1627); +x_1629 = lean_array_push(x_1603, x_1628); +x_1630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_1631 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1631, 0, x_1576); +lean_ctor_set(x_1631, 0, x_1600); lean_ctor_set(x_1631, 1, x_1630); lean_ctor_set(x_1631, 2, x_1629); -x_1632 = lean_array_push(x_1579, x_1631); -x_1633 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1633, 0, x_1576); -lean_ctor_set(x_1633, 1, x_1581); -lean_ctor_set(x_1633, 2, x_1632); -x_1634 = lean_array_push(x_1579, x_1633); -x_1635 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1636 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1636, 0, x_1576); -lean_ctor_set(x_1636, 1, x_1635); -lean_ctor_set(x_1636, 2, x_1634); -x_1637 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1638 = lean_array_push(x_1637, x_1573); -x_1639 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1640 = lean_array_push(x_1638, x_1639); -x_1641 = lean_array_push(x_1640, x_1639); -x_1642 = lean_array_push(x_1641, x_1582); -x_1643 = lean_array_push(x_1642, x_1584); -x_1644 = lean_array_push(x_1643, x_1636); -x_1645 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1646 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1646, 0, x_1576); -lean_ctor_set(x_1646, 1, x_1645); -lean_ctor_set(x_1646, 2, x_1644); -x_1647 = 1; -x_1648 = lean_box(x_1647); -lean_ctor_set(x_1562, 1, x_1648); -lean_ctor_set(x_1562, 0, x_1646); -lean_ctor_set(x_1569, 0, x_1561); -return x_1569; -} +x_1632 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1633 = lean_array_push(x_1632, x_1597); +x_1634 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1635 = lean_array_push(x_1633, x_1634); +x_1636 = lean_array_push(x_1635, x_1634); +x_1637 = lean_array_push(x_1636, x_1606); +x_1638 = lean_array_push(x_1637, x_1608); +x_1639 = lean_array_push(x_1638, x_1631); +x_1640 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1641 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1641, 0, x_1600); +lean_ctor_set(x_1641, 1, x_1640); +lean_ctor_set(x_1641, 2, x_1639); +x_1642 = 1; +x_1643 = lean_box(x_1642); +lean_ctor_set(x_1586, 1, x_1643); +lean_ctor_set(x_1586, 0, x_1641); +lean_ctor_set(x_1593, 0, x_1585); +return x_1593; } else { -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; uint8_t x_1695; lean_object* x_1696; lean_object* x_1697; -x_1649 = lean_ctor_get(x_1569, 0); -x_1650 = lean_ctor_get(x_1569, 1); -lean_inc(x_1650); -lean_inc(x_1649); -lean_dec(x_1569); -x_1651 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1649); -x_1652 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1652, 0, x_1649); -lean_ctor_set(x_1652, 1, x_1651); -x_1653 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1654 = lean_array_push(x_1653, x_1554); -x_1655 = lean_box(2); -x_1656 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1657 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1657, 0, x_1655); -lean_ctor_set(x_1657, 1, x_1656); -lean_ctor_set(x_1657, 2, x_1654); -x_1658 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1659 = lean_array_push(x_1658, x_1657); -x_1660 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1661 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1661, 0, x_1655); -lean_ctor_set(x_1661, 1, x_1660); -lean_ctor_set(x_1661, 2, x_1659); -x_1662 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1649); -x_1663 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1663, 0, x_1649); -lean_ctor_set(x_1663, 1, x_1662); -x_1664 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1649); -x_1665 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1665, 0, x_1649); -lean_ctor_set(x_1665, 1, x_1664); -lean_inc(x_14); -x_1666 = lean_array_push(x_1658, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1667 = x_14; -} else { - lean_dec_ref(x_14); - x_1667 = lean_box(0); -} -if (lean_is_scalar(x_1667)) { - x_1668 = lean_alloc_ctor(1, 3, 0); -} else { - x_1668 = x_1667; -} -lean_ctor_set(x_1668, 0, x_1655); -lean_ctor_set(x_1668, 1, x_1660); -lean_ctor_set(x_1668, 2, x_1666); -x_1669 = lean_array_push(x_1658, x_1668); -x_1670 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1670, 0, x_1655); -lean_ctor_set(x_1670, 1, x_1660); -lean_ctor_set(x_1670, 2, x_1669); -x_1671 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1672 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1672, 0, x_1649); -lean_ctor_set(x_1672, 1, x_1671); -x_1673 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1674 = lean_array_push(x_1673, x_1665); -x_1675 = lean_array_push(x_1674, x_1670); -x_1676 = lean_array_push(x_1675, x_1672); -x_1677 = lean_array_push(x_1676, x_1567); -x_1678 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1679 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1679, 0, x_1655); -lean_ctor_set(x_1679, 1, x_1678); -lean_ctor_set(x_1679, 2, x_1677); -x_1680 = lean_array_push(x_1658, x_1679); -x_1681 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1681, 0, x_1655); -lean_ctor_set(x_1681, 1, x_1660); -lean_ctor_set(x_1681, 2, x_1680); -x_1682 = lean_array_push(x_1658, x_1681); -x_1683 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1684 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1684, 0, x_1655); -lean_ctor_set(x_1684, 1, x_1683); -lean_ctor_set(x_1684, 2, x_1682); -x_1685 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1686 = lean_array_push(x_1685, x_1652); -x_1687 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1688 = lean_array_push(x_1686, x_1687); -x_1689 = lean_array_push(x_1688, x_1687); -x_1690 = lean_array_push(x_1689, x_1661); -x_1691 = lean_array_push(x_1690, x_1663); -x_1692 = lean_array_push(x_1691, x_1684); -x_1693 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1694 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1694, 0, x_1655); -lean_ctor_set(x_1694, 1, x_1693); -lean_ctor_set(x_1694, 2, x_1692); -x_1695 = 1; -x_1696 = lean_box(x_1695); -lean_ctor_set(x_1562, 1, x_1696); -lean_ctor_set(x_1562, 0, x_1694); -x_1697 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1697, 0, x_1561); -lean_ctor_set(x_1697, 1, x_1650); -return x_1697; -} -} -else -{ -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; uint8_t x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; -x_1698 = lean_ctor_get(x_1562, 0); -lean_inc(x_1698); -lean_dec(x_1562); -x_1699 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1563); -x_1700 = lean_ctor_get(x_1699, 0); -lean_inc(x_1700); -x_1701 = lean_ctor_get(x_1699, 1); -lean_inc(x_1701); -if (lean_is_exclusive(x_1699)) { - lean_ctor_release(x_1699, 0); - lean_ctor_release(x_1699, 1); - x_1702 = x_1699; -} else { - lean_dec_ref(x_1699); - x_1702 = lean_box(0); -} -x_1703 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1700); -x_1704 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1704, 0, x_1700); -lean_ctor_set(x_1704, 1, x_1703); -x_1705 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1706 = lean_array_push(x_1705, x_1554); -x_1707 = lean_box(2); -x_1708 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1709 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1709, 0, x_1707); -lean_ctor_set(x_1709, 1, x_1708); -lean_ctor_set(x_1709, 2, x_1706); -x_1710 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1711 = lean_array_push(x_1710, x_1709); -x_1712 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1713 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1713, 0, x_1707); -lean_ctor_set(x_1713, 1, x_1712); -lean_ctor_set(x_1713, 2, x_1711); -x_1714 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1700); -x_1715 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1715, 0, x_1700); -lean_ctor_set(x_1715, 1, x_1714); -x_1716 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1700); -x_1717 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1717, 0, x_1700); -lean_ctor_set(x_1717, 1, x_1716); -lean_inc(x_14); -x_1718 = lean_array_push(x_1710, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1719 = x_14; -} else { - lean_dec_ref(x_14); - x_1719 = lean_box(0); -} -if (lean_is_scalar(x_1719)) { - x_1720 = lean_alloc_ctor(1, 3, 0); -} else { - x_1720 = x_1719; -} -lean_ctor_set(x_1720, 0, x_1707); -lean_ctor_set(x_1720, 1, x_1712); -lean_ctor_set(x_1720, 2, x_1718); -x_1721 = lean_array_push(x_1710, x_1720); -x_1722 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1722, 0, x_1707); -lean_ctor_set(x_1722, 1, x_1712); -lean_ctor_set(x_1722, 2, x_1721); -x_1723 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1724 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1724, 0, x_1700); -lean_ctor_set(x_1724, 1, x_1723); -x_1725 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1726 = lean_array_push(x_1725, x_1717); -x_1727 = lean_array_push(x_1726, x_1722); -x_1728 = lean_array_push(x_1727, x_1724); -x_1729 = lean_array_push(x_1728, x_1698); -x_1730 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1731 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1731, 0, x_1707); -lean_ctor_set(x_1731, 1, x_1730); -lean_ctor_set(x_1731, 2, x_1729); -x_1732 = lean_array_push(x_1710, x_1731); -x_1733 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1733, 0, x_1707); -lean_ctor_set(x_1733, 1, x_1712); -lean_ctor_set(x_1733, 2, x_1732); -x_1734 = lean_array_push(x_1710, x_1733); -x_1735 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1736 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1736, 0, x_1707); -lean_ctor_set(x_1736, 1, x_1735); -lean_ctor_set(x_1736, 2, x_1734); -x_1737 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1738 = lean_array_push(x_1737, x_1704); -x_1739 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1740 = lean_array_push(x_1738, x_1739); -x_1741 = lean_array_push(x_1740, x_1739); -x_1742 = lean_array_push(x_1741, x_1713); -x_1743 = lean_array_push(x_1742, x_1715); -x_1744 = lean_array_push(x_1743, x_1736); -x_1745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1746 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1746, 0, x_1707); -lean_ctor_set(x_1746, 1, x_1745); -lean_ctor_set(x_1746, 2, x_1744); -x_1747 = 1; -x_1748 = lean_box(x_1747); -x_1749 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1749, 0, x_1746); -lean_ctor_set(x_1749, 1, x_1748); -lean_ctor_set(x_1561, 1, x_1749); -if (lean_is_scalar(x_1702)) { - x_1750 = lean_alloc_ctor(0, 2, 0); -} else { - x_1750 = x_1702; -} -lean_ctor_set(x_1750, 0, x_1561); -lean_ctor_set(x_1750, 1, x_1701); -return x_1750; -} -} -else -{ -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; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* 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; -x_1751 = lean_ctor_get(x_1561, 0); -lean_inc(x_1751); -lean_dec(x_1561); -x_1752 = lean_ctor_get(x_1562, 0); -lean_inc(x_1752); -if (lean_is_exclusive(x_1562)) { - lean_ctor_release(x_1562, 0); - lean_ctor_release(x_1562, 1); - x_1753 = x_1562; -} else { - lean_dec_ref(x_1562); - x_1753 = lean_box(0); -} -x_1754 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1563); -x_1755 = lean_ctor_get(x_1754, 0); -lean_inc(x_1755); -x_1756 = lean_ctor_get(x_1754, 1); -lean_inc(x_1756); -if (lean_is_exclusive(x_1754)) { - lean_ctor_release(x_1754, 0); - lean_ctor_release(x_1754, 1); - x_1757 = x_1754; -} else { - lean_dec_ref(x_1754); - x_1757 = lean_box(0); -} -x_1758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1755); -x_1759 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1759, 0, x_1755); -lean_ctor_set(x_1759, 1, x_1758); -x_1760 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1761 = lean_array_push(x_1760, x_1554); -x_1762 = lean_box(2); -x_1763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1764 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1764, 0, x_1762); -lean_ctor_set(x_1764, 1, x_1763); -lean_ctor_set(x_1764, 2, x_1761); -x_1765 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1766 = lean_array_push(x_1765, x_1764); -x_1767 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1768 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1768, 0, x_1762); -lean_ctor_set(x_1768, 1, x_1767); -lean_ctor_set(x_1768, 2, x_1766); -x_1769 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1755); -x_1770 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1770, 0, x_1755); -lean_ctor_set(x_1770, 1, x_1769); -x_1771 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1755); -x_1772 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1772, 0, x_1755); -lean_ctor_set(x_1772, 1, x_1771); -lean_inc(x_14); -x_1773 = lean_array_push(x_1765, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1774 = x_14; -} else { - lean_dec_ref(x_14); - x_1774 = lean_box(0); -} -if (lean_is_scalar(x_1774)) { - x_1775 = lean_alloc_ctor(1, 3, 0); -} else { - x_1775 = x_1774; -} -lean_ctor_set(x_1775, 0, x_1762); -lean_ctor_set(x_1775, 1, x_1767); -lean_ctor_set(x_1775, 2, x_1773); -x_1776 = lean_array_push(x_1765, x_1775); -x_1777 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1777, 0, x_1762); -lean_ctor_set(x_1777, 1, x_1767); -lean_ctor_set(x_1777, 2, x_1776); -x_1778 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1779 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1779, 0, x_1755); -lean_ctor_set(x_1779, 1, x_1778); -x_1780 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1781 = lean_array_push(x_1780, x_1772); -x_1782 = lean_array_push(x_1781, x_1777); -x_1783 = lean_array_push(x_1782, x_1779); -x_1784 = lean_array_push(x_1783, x_1752); -x_1785 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1786 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1786, 0, x_1762); -lean_ctor_set(x_1786, 1, x_1785); -lean_ctor_set(x_1786, 2, x_1784); -x_1787 = lean_array_push(x_1765, x_1786); -x_1788 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1788, 0, x_1762); -lean_ctor_set(x_1788, 1, x_1767); -lean_ctor_set(x_1788, 2, x_1787); -x_1789 = lean_array_push(x_1765, x_1788); -x_1790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1791 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1791, 0, x_1762); -lean_ctor_set(x_1791, 1, x_1790); -lean_ctor_set(x_1791, 2, x_1789); -x_1792 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1793 = lean_array_push(x_1792, x_1759); -x_1794 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1795 = lean_array_push(x_1793, x_1794); -x_1796 = lean_array_push(x_1795, x_1794); -x_1797 = lean_array_push(x_1796, x_1768); -x_1798 = lean_array_push(x_1797, x_1770); -x_1799 = lean_array_push(x_1798, x_1791); -x_1800 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1801 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1801, 0, x_1762); -lean_ctor_set(x_1801, 1, x_1800); -lean_ctor_set(x_1801, 2, x_1799); -x_1802 = 1; -x_1803 = lean_box(x_1802); -if (lean_is_scalar(x_1753)) { - x_1804 = lean_alloc_ctor(0, 2, 0); -} else { - x_1804 = x_1753; -} -lean_ctor_set(x_1804, 0, x_1801); -lean_ctor_set(x_1804, 1, x_1803); -x_1805 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1805, 0, x_1751); -lean_ctor_set(x_1805, 1, x_1804); -if (lean_is_scalar(x_1757)) { - x_1806 = lean_alloc_ctor(0, 2, 0); -} else { - x_1806 = x_1757; -} -lean_ctor_set(x_1806, 0, x_1805); -lean_ctor_set(x_1806, 1, x_1756); -return x_1806; -} -} -else -{ -lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; size_t x_1811; size_t x_1812; lean_object* x_1813; lean_object* x_1814; +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; uint8_t x_1671; lean_object* x_1672; lean_dec(x_14); -x_1807 = lean_ctor_get(x_1550, 1); -lean_inc(x_1807); -lean_dec(x_1550); -x_1808 = lean_ctor_get(x_1551, 0); -lean_inc(x_1808); -lean_dec(x_1551); -x_1809 = lean_nat_add(x_3, x_1284); +x_1644 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1644, 0, x_1600); +lean_ctor_set(x_1644, 1, x_1605); +lean_ctor_set(x_1644, 2, x_1611); +x_1645 = lean_array_push(x_1603, x_1644); +x_1646 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1646, 0, x_1600); +lean_ctor_set(x_1646, 1, x_1605); +lean_ctor_set(x_1646, 2, x_1645); +x_1647 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1648 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1648, 0, x_1595); +lean_ctor_set(x_1648, 1, x_1647); +x_1649 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1650 = lean_array_push(x_1649, x_1610); +x_1651 = lean_array_push(x_1650, x_1646); +x_1652 = lean_array_push(x_1651, x_1648); +x_1653 = lean_array_push(x_1652, x_1591); +x_1654 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1655 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1655, 0, x_1600); +lean_ctor_set(x_1655, 1, x_1654); +lean_ctor_set(x_1655, 2, x_1653); +x_1656 = lean_array_push(x_1603, x_1655); +x_1657 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1657, 0, x_1600); +lean_ctor_set(x_1657, 1, x_1605); +lean_ctor_set(x_1657, 2, x_1656); +x_1658 = lean_array_push(x_1603, x_1657); +x_1659 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1660 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1660, 0, x_1600); +lean_ctor_set(x_1660, 1, x_1659); +lean_ctor_set(x_1660, 2, x_1658); +x_1661 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1662 = lean_array_push(x_1661, x_1597); +x_1663 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1664 = lean_array_push(x_1662, x_1663); +x_1665 = lean_array_push(x_1664, x_1663); +x_1666 = lean_array_push(x_1665, x_1606); +x_1667 = lean_array_push(x_1666, x_1608); +x_1668 = lean_array_push(x_1667, x_1660); +x_1669 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1670 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1670, 0, x_1600); +lean_ctor_set(x_1670, 1, x_1669); +lean_ctor_set(x_1670, 2, x_1668); +x_1671 = 1; +x_1672 = lean_box(x_1671); +lean_ctor_set(x_1586, 1, x_1672); +lean_ctor_set(x_1586, 0, x_1670); +lean_ctor_set(x_1593, 0, x_1585); +return x_1593; +} +} +else +{ +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; uint8_t x_1719; lean_object* x_1720; lean_object* x_1721; +x_1673 = lean_ctor_get(x_1593, 0); +x_1674 = lean_ctor_get(x_1593, 1); +lean_inc(x_1674); +lean_inc(x_1673); +lean_dec(x_1593); +x_1675 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1673); +x_1676 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1676, 0, x_1673); +lean_ctor_set(x_1676, 1, x_1675); +x_1677 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1678 = lean_array_push(x_1677, x_1578); +x_1679 = lean_box(2); +x_1680 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1681 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1681, 0, x_1679); +lean_ctor_set(x_1681, 1, x_1680); +lean_ctor_set(x_1681, 2, x_1678); +x_1682 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1683 = lean_array_push(x_1682, x_1681); +x_1684 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1685 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1685, 0, x_1679); +lean_ctor_set(x_1685, 1, x_1684); +lean_ctor_set(x_1685, 2, x_1683); +x_1686 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1673); +x_1687 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1687, 0, x_1673); +lean_ctor_set(x_1687, 1, x_1686); +x_1688 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1673); +x_1689 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1689, 0, x_1673); +lean_ctor_set(x_1689, 1, x_1688); +lean_inc(x_14); +x_1690 = lean_array_push(x_1682, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1691 = x_14; +} else { + lean_dec_ref(x_14); + x_1691 = lean_box(0); +} +if (lean_is_scalar(x_1691)) { + x_1692 = lean_alloc_ctor(1, 3, 0); +} else { + x_1692 = x_1691; +} +lean_ctor_set(x_1692, 0, x_1679); +lean_ctor_set(x_1692, 1, x_1684); +lean_ctor_set(x_1692, 2, x_1690); +x_1693 = lean_array_push(x_1682, x_1692); +x_1694 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1694, 0, x_1679); +lean_ctor_set(x_1694, 1, x_1684); +lean_ctor_set(x_1694, 2, x_1693); +x_1695 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1696 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1696, 0, x_1673); +lean_ctor_set(x_1696, 1, x_1695); +x_1697 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1698 = lean_array_push(x_1697, x_1689); +x_1699 = lean_array_push(x_1698, x_1694); +x_1700 = lean_array_push(x_1699, x_1696); +x_1701 = lean_array_push(x_1700, x_1591); +x_1702 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1703 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1703, 0, x_1679); +lean_ctor_set(x_1703, 1, x_1702); +lean_ctor_set(x_1703, 2, x_1701); +x_1704 = lean_array_push(x_1682, x_1703); +x_1705 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1705, 0, x_1679); +lean_ctor_set(x_1705, 1, x_1684); +lean_ctor_set(x_1705, 2, x_1704); +x_1706 = lean_array_push(x_1682, x_1705); +x_1707 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1708 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1708, 0, x_1679); +lean_ctor_set(x_1708, 1, x_1707); +lean_ctor_set(x_1708, 2, x_1706); +x_1709 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1710 = lean_array_push(x_1709, x_1676); +x_1711 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1712 = lean_array_push(x_1710, x_1711); +x_1713 = lean_array_push(x_1712, x_1711); +x_1714 = lean_array_push(x_1713, x_1685); +x_1715 = lean_array_push(x_1714, x_1687); +x_1716 = lean_array_push(x_1715, x_1708); +x_1717 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1718 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1718, 0, x_1679); +lean_ctor_set(x_1718, 1, x_1717); +lean_ctor_set(x_1718, 2, x_1716); +x_1719 = 1; +x_1720 = lean_box(x_1719); +lean_ctor_set(x_1586, 1, x_1720); +lean_ctor_set(x_1586, 0, x_1718); +x_1721 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1721, 0, x_1585); +lean_ctor_set(x_1721, 1, x_1674); +return x_1721; +} +} +else +{ +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; uint8_t x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; +x_1722 = lean_ctor_get(x_1586, 0); +lean_inc(x_1722); +lean_dec(x_1586); +x_1723 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1587); +x_1724 = lean_ctor_get(x_1723, 0); +lean_inc(x_1724); +x_1725 = lean_ctor_get(x_1723, 1); +lean_inc(x_1725); +if (lean_is_exclusive(x_1723)) { + lean_ctor_release(x_1723, 0); + lean_ctor_release(x_1723, 1); + x_1726 = x_1723; +} else { + lean_dec_ref(x_1723); + x_1726 = lean_box(0); +} +x_1727 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1724); +x_1728 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1728, 0, x_1724); +lean_ctor_set(x_1728, 1, x_1727); +x_1729 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1730 = lean_array_push(x_1729, x_1578); +x_1731 = lean_box(2); +x_1732 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1733 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1733, 0, x_1731); +lean_ctor_set(x_1733, 1, x_1732); +lean_ctor_set(x_1733, 2, x_1730); +x_1734 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1735 = lean_array_push(x_1734, x_1733); +x_1736 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1737 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1737, 0, x_1731); +lean_ctor_set(x_1737, 1, x_1736); +lean_ctor_set(x_1737, 2, x_1735); +x_1738 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1724); +x_1739 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1739, 0, x_1724); +lean_ctor_set(x_1739, 1, x_1738); +x_1740 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1724); +x_1741 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1741, 0, x_1724); +lean_ctor_set(x_1741, 1, x_1740); +lean_inc(x_14); +x_1742 = lean_array_push(x_1734, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1743 = x_14; +} else { + lean_dec_ref(x_14); + x_1743 = lean_box(0); +} +if (lean_is_scalar(x_1743)) { + x_1744 = lean_alloc_ctor(1, 3, 0); +} else { + x_1744 = x_1743; +} +lean_ctor_set(x_1744, 0, x_1731); +lean_ctor_set(x_1744, 1, x_1736); +lean_ctor_set(x_1744, 2, x_1742); +x_1745 = lean_array_push(x_1734, x_1744); +x_1746 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1746, 0, x_1731); +lean_ctor_set(x_1746, 1, x_1736); +lean_ctor_set(x_1746, 2, x_1745); +x_1747 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1748 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1748, 0, x_1724); +lean_ctor_set(x_1748, 1, x_1747); +x_1749 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1750 = lean_array_push(x_1749, x_1741); +x_1751 = lean_array_push(x_1750, x_1746); +x_1752 = lean_array_push(x_1751, x_1748); +x_1753 = lean_array_push(x_1752, x_1722); +x_1754 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1755 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1755, 0, x_1731); +lean_ctor_set(x_1755, 1, x_1754); +lean_ctor_set(x_1755, 2, x_1753); +x_1756 = lean_array_push(x_1734, x_1755); +x_1757 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1757, 0, x_1731); +lean_ctor_set(x_1757, 1, x_1736); +lean_ctor_set(x_1757, 2, x_1756); +x_1758 = lean_array_push(x_1734, x_1757); +x_1759 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1760 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1760, 0, x_1731); +lean_ctor_set(x_1760, 1, x_1759); +lean_ctor_set(x_1760, 2, x_1758); +x_1761 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1762 = lean_array_push(x_1761, x_1728); +x_1763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1764 = lean_array_push(x_1762, x_1763); +x_1765 = lean_array_push(x_1764, x_1763); +x_1766 = lean_array_push(x_1765, x_1737); +x_1767 = lean_array_push(x_1766, x_1739); +x_1768 = lean_array_push(x_1767, x_1760); +x_1769 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1770 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1770, 0, x_1731); +lean_ctor_set(x_1770, 1, x_1769); +lean_ctor_set(x_1770, 2, x_1768); +x_1771 = 1; +x_1772 = lean_box(x_1771); +x_1773 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1773, 0, x_1770); +lean_ctor_set(x_1773, 1, x_1772); +lean_ctor_set(x_1585, 1, x_1773); +if (lean_is_scalar(x_1726)) { + x_1774 = lean_alloc_ctor(0, 2, 0); +} else { + x_1774 = x_1726; +} +lean_ctor_set(x_1774, 0, x_1585); +lean_ctor_set(x_1774, 1, x_1725); +return x_1774; +} +} +else +{ +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; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* 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; uint8_t x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; +x_1775 = lean_ctor_get(x_1585, 0); +lean_inc(x_1775); +lean_dec(x_1585); +x_1776 = lean_ctor_get(x_1586, 0); +lean_inc(x_1776); +if (lean_is_exclusive(x_1586)) { + lean_ctor_release(x_1586, 0); + lean_ctor_release(x_1586, 1); + x_1777 = x_1586; +} else { + lean_dec_ref(x_1586); + x_1777 = lean_box(0); +} +x_1778 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1587); +x_1779 = lean_ctor_get(x_1778, 0); +lean_inc(x_1779); +x_1780 = lean_ctor_get(x_1778, 1); +lean_inc(x_1780); +if (lean_is_exclusive(x_1778)) { + lean_ctor_release(x_1778, 0); + lean_ctor_release(x_1778, 1); + x_1781 = x_1778; +} else { + lean_dec_ref(x_1778); + x_1781 = lean_box(0); +} +x_1782 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1779); +x_1783 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1783, 0, x_1779); +lean_ctor_set(x_1783, 1, x_1782); +x_1784 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1785 = lean_array_push(x_1784, x_1578); +x_1786 = lean_box(2); +x_1787 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1788 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1788, 0, x_1786); +lean_ctor_set(x_1788, 1, x_1787); +lean_ctor_set(x_1788, 2, x_1785); +x_1789 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1790 = lean_array_push(x_1789, x_1788); +x_1791 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1792 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1792, 0, x_1786); +lean_ctor_set(x_1792, 1, x_1791); +lean_ctor_set(x_1792, 2, x_1790); +x_1793 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1779); +x_1794 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1794, 0, x_1779); +lean_ctor_set(x_1794, 1, x_1793); +x_1795 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1779); +x_1796 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1796, 0, x_1779); +lean_ctor_set(x_1796, 1, x_1795); +lean_inc(x_14); +x_1797 = lean_array_push(x_1789, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1798 = x_14; +} else { + lean_dec_ref(x_14); + x_1798 = lean_box(0); +} +if (lean_is_scalar(x_1798)) { + x_1799 = lean_alloc_ctor(1, 3, 0); +} else { + x_1799 = x_1798; +} +lean_ctor_set(x_1799, 0, x_1786); +lean_ctor_set(x_1799, 1, x_1791); +lean_ctor_set(x_1799, 2, x_1797); +x_1800 = lean_array_push(x_1789, x_1799); +x_1801 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1801, 0, x_1786); +lean_ctor_set(x_1801, 1, x_1791); +lean_ctor_set(x_1801, 2, x_1800); +x_1802 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1803 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1803, 0, x_1779); +lean_ctor_set(x_1803, 1, x_1802); +x_1804 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1805 = lean_array_push(x_1804, x_1796); +x_1806 = lean_array_push(x_1805, x_1801); +x_1807 = lean_array_push(x_1806, x_1803); +x_1808 = lean_array_push(x_1807, x_1776); +x_1809 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1810 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1810, 0, x_1786); +lean_ctor_set(x_1810, 1, x_1809); +lean_ctor_set(x_1810, 2, x_1808); +x_1811 = lean_array_push(x_1789, x_1810); +x_1812 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1812, 0, x_1786); +lean_ctor_set(x_1812, 1, x_1791); +lean_ctor_set(x_1812, 2, x_1811); +x_1813 = lean_array_push(x_1789, x_1812); +x_1814 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1815 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1815, 0, x_1786); +lean_ctor_set(x_1815, 1, x_1814); +lean_ctor_set(x_1815, 2, x_1813); +x_1816 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1817 = lean_array_push(x_1816, x_1783); +x_1818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1819 = lean_array_push(x_1817, x_1818); +x_1820 = lean_array_push(x_1819, x_1818); +x_1821 = lean_array_push(x_1820, x_1792); +x_1822 = lean_array_push(x_1821, x_1794); +x_1823 = lean_array_push(x_1822, x_1815); +x_1824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1825 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1825, 0, x_1786); +lean_ctor_set(x_1825, 1, x_1824); +lean_ctor_set(x_1825, 2, x_1823); +x_1826 = 1; +x_1827 = lean_box(x_1826); +if (lean_is_scalar(x_1777)) { + x_1828 = lean_alloc_ctor(0, 2, 0); +} else { + x_1828 = x_1777; +} +lean_ctor_set(x_1828, 0, x_1825); +lean_ctor_set(x_1828, 1, x_1827); +x_1829 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1829, 0, x_1775); +lean_ctor_set(x_1829, 1, x_1828); +if (lean_is_scalar(x_1781)) { + x_1830 = lean_alloc_ctor(0, 2, 0); +} else { + x_1830 = x_1781; +} +lean_ctor_set(x_1830, 0, x_1829); +lean_ctor_set(x_1830, 1, x_1780); +return x_1830; +} +} +else +{ +uint8_t x_1831; +lean_dec(x_1578); +lean_dec(x_14); +lean_dec(x_5); +x_1831 = !lean_is_exclusive(x_1584); +if (x_1831 == 0) +{ +return x_1584; +} +else +{ +lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; +x_1832 = lean_ctor_get(x_1584, 0); +x_1833 = lean_ctor_get(x_1584, 1); +lean_inc(x_1833); +lean_inc(x_1832); +lean_dec(x_1584); +x_1834 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1834, 0, x_1832); +lean_ctor_set(x_1834, 1, x_1833); +return x_1834; +} +} +} +else +{ +lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; size_t x_1839; size_t x_1840; lean_object* x_1841; lean_object* x_1842; +lean_dec(x_14); +x_1835 = lean_ctor_get(x_1574, 1); +lean_inc(x_1835); +lean_dec(x_1574); +x_1836 = lean_ctor_get(x_1575, 0); +lean_inc(x_1836); +lean_dec(x_1575); +x_1837 = lean_nat_add(x_3, x_1304); lean_dec(x_3); -x_1810 = lean_array_get_size(x_1808); -x_1811 = lean_usize_of_nat(x_1810); -lean_dec(x_1810); -x_1812 = 0; -x_1813 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3(x_1549, x_1811, x_1812, x_1808); -x_1814 = l_Array_append___rarg(x_4, x_1813); -x_3 = x_1809; -x_4 = x_1814; -x_6 = x_1807; +x_1838 = lean_array_get_size(x_1836); +x_1839 = lean_usize_of_nat(x_1838); +lean_dec(x_1838); +x_1840 = 0; +x_1841 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3(x_1573, x_1839, x_1840, x_1836); +x_1842 = l_Array_append___rarg(x_4, x_1841); +x_3 = x_1837; +x_4 = x_1842; +x_6 = x_1835; goto _start; } } } else { -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; uint8_t x_1827; -lean_dec(x_1289); -lean_dec(x_1288); +lean_object* x_1844; lean_object* x_1845; +lean_dec(x_1309); +lean_inc(x_5); +x_1844 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(x_1308, x_5, x_6); +x_1845 = lean_ctor_get(x_1844, 0); +lean_inc(x_1845); +if (lean_obj_tag(x_1845) == 0) +{ +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; +x_1846 = lean_ctor_get(x_1844, 1); +lean_inc(x_1846); +lean_dec(x_1844); lean_inc(x_5); lean_inc(x_14); -x_1816 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_1817 = lean_ctor_get(x_1816, 0); -lean_inc(x_1817); -x_1818 = lean_ctor_get(x_1816, 1); -lean_inc(x_1818); -lean_dec(x_1816); -x_1819 = lean_nat_add(x_3, x_1284); +x_1847 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_1846); +x_1848 = lean_ctor_get(x_1847, 0); +lean_inc(x_1848); +x_1849 = lean_ctor_get(x_1847, 1); +lean_inc(x_1849); +lean_dec(x_1847); +x_1850 = lean_nat_add(x_3, x_1304); lean_dec(x_3); lean_inc(x_14); -x_1820 = l_Lean_mkHole(x_14); -lean_inc(x_1817); -x_1821 = l_Lean_Elab_Term_mkExplicitBinder(x_1817, x_1820); -x_1822 = lean_array_push(x_4, x_1821); +x_1851 = l_Lean_mkHole(x_14); +lean_inc(x_1848); +x_1852 = l_Lean_Elab_Term_mkExplicitBinder(x_1848, x_1851); +x_1853 = lean_array_push(x_4, x_1852); lean_inc(x_5); -x_1823 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1819, x_1822, x_5, x_1818); -x_1824 = lean_ctor_get(x_1823, 0); -lean_inc(x_1824); -x_1825 = lean_ctor_get(x_1824, 1); -lean_inc(x_1825); -x_1826 = lean_ctor_get(x_1823, 1); -lean_inc(x_1826); -lean_dec(x_1823); -x_1827 = !lean_is_exclusive(x_1824); -if (x_1827 == 0) +x_1854 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1850, x_1853, x_5, x_1849); +if (lean_obj_tag(x_1854) == 0) { -lean_object* x_1828; uint8_t x_1829; -x_1828 = lean_ctor_get(x_1824, 1); -lean_dec(x_1828); -x_1829 = !lean_is_exclusive(x_1825); -if (x_1829 == 0) -{ -lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; uint8_t x_1833; -x_1830 = lean_ctor_get(x_1825, 0); -x_1831 = lean_ctor_get(x_1825, 1); -lean_dec(x_1831); -x_1832 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1826); -x_1833 = !lean_is_exclusive(x_1832); -if (x_1833 == 0) -{ -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; uint8_t x_1851; -x_1834 = lean_ctor_get(x_1832, 0); -x_1835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1834); -x_1836 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1836, 0, x_1834); -lean_ctor_set(x_1836, 1, x_1835); -x_1837 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1838 = lean_array_push(x_1837, x_1817); -x_1839 = lean_box(2); -x_1840 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1841 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1841, 0, x_1839); -lean_ctor_set(x_1841, 1, x_1840); -lean_ctor_set(x_1841, 2, x_1838); -x_1842 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1843 = lean_array_push(x_1842, x_1841); -x_1844 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1845 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1845, 0, x_1839); -lean_ctor_set(x_1845, 1, x_1844); -lean_ctor_set(x_1845, 2, x_1843); -x_1846 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1834); -x_1847 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1847, 0, x_1834); -lean_ctor_set(x_1847, 1, x_1846); -x_1848 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1834); -x_1849 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1849, 0, x_1834); -lean_ctor_set(x_1849, 1, x_1848); -lean_inc(x_14); -x_1850 = lean_array_push(x_1842, x_14); -x_1851 = !lean_is_exclusive(x_14); -if (x_1851 == 0) -{ -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; uint8_t x_1881; lean_object* x_1882; -x_1852 = lean_ctor_get(x_14, 2); -lean_dec(x_1852); -x_1853 = lean_ctor_get(x_14, 1); -lean_dec(x_1853); -x_1854 = lean_ctor_get(x_14, 0); +lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; uint8_t x_1858; +x_1855 = lean_ctor_get(x_1854, 0); +lean_inc(x_1855); +x_1856 = lean_ctor_get(x_1855, 1); +lean_inc(x_1856); +x_1857 = lean_ctor_get(x_1854, 1); +lean_inc(x_1857); lean_dec(x_1854); -lean_ctor_set(x_14, 2, x_1850); -lean_ctor_set(x_14, 1, x_1844); -lean_ctor_set(x_14, 0, x_1839); -x_1855 = lean_array_push(x_1842, x_14); -x_1856 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1856, 0, x_1839); -lean_ctor_set(x_1856, 1, x_1844); -lean_ctor_set(x_1856, 2, x_1855); -x_1857 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1858 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1858, 0, x_1834); -lean_ctor_set(x_1858, 1, x_1857); -x_1859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1860 = lean_array_push(x_1859, x_1849); -x_1861 = lean_array_push(x_1860, x_1856); -x_1862 = lean_array_push(x_1861, x_1858); -x_1863 = lean_array_push(x_1862, x_1830); -x_1864 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1865 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1865, 0, x_1839); -lean_ctor_set(x_1865, 1, x_1864); -lean_ctor_set(x_1865, 2, x_1863); -x_1866 = lean_array_push(x_1842, x_1865); -x_1867 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1867, 0, x_1839); -lean_ctor_set(x_1867, 1, x_1844); -lean_ctor_set(x_1867, 2, x_1866); -x_1868 = lean_array_push(x_1842, x_1867); -x_1869 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1870 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1870, 0, x_1839); -lean_ctor_set(x_1870, 1, x_1869); -lean_ctor_set(x_1870, 2, x_1868); -x_1871 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1872 = lean_array_push(x_1871, x_1836); -x_1873 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1874 = lean_array_push(x_1872, x_1873); -x_1875 = lean_array_push(x_1874, x_1873); -x_1876 = lean_array_push(x_1875, x_1845); -x_1877 = lean_array_push(x_1876, x_1847); -x_1878 = lean_array_push(x_1877, x_1870); -x_1879 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1880 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1880, 0, x_1839); +x_1858 = !lean_is_exclusive(x_1855); +if (x_1858 == 0) +{ +lean_object* x_1859; uint8_t x_1860; +x_1859 = lean_ctor_get(x_1855, 1); +lean_dec(x_1859); +x_1860 = !lean_is_exclusive(x_1856); +if (x_1860 == 0) +{ +lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; uint8_t x_1864; +x_1861 = lean_ctor_get(x_1856, 0); +x_1862 = lean_ctor_get(x_1856, 1); +lean_dec(x_1862); +x_1863 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1857); +x_1864 = !lean_is_exclusive(x_1863); +if (x_1864 == 0) +{ +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; uint8_t x_1882; +x_1865 = lean_ctor_get(x_1863, 0); +x_1866 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1865); +x_1867 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1867, 0, x_1865); +lean_ctor_set(x_1867, 1, x_1866); +x_1868 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1869 = lean_array_push(x_1868, x_1848); +x_1870 = lean_box(2); +x_1871 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1872 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1872, 0, x_1870); +lean_ctor_set(x_1872, 1, x_1871); +lean_ctor_set(x_1872, 2, x_1869); +x_1873 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1874 = lean_array_push(x_1873, x_1872); +x_1875 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1876 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1876, 0, x_1870); +lean_ctor_set(x_1876, 1, x_1875); +lean_ctor_set(x_1876, 2, x_1874); +x_1877 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1865); +x_1878 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1878, 0, x_1865); +lean_ctor_set(x_1878, 1, x_1877); +x_1879 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1865); +x_1880 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1880, 0, x_1865); lean_ctor_set(x_1880, 1, x_1879); -lean_ctor_set(x_1880, 2, x_1878); -x_1881 = 1; -x_1882 = lean_box(x_1881); -lean_ctor_set(x_1825, 1, x_1882); -lean_ctor_set(x_1825, 0, x_1880); -lean_ctor_set(x_1832, 0, x_1824); -return x_1832; -} -else +lean_inc(x_14); +x_1881 = lean_array_push(x_1873, x_14); +x_1882 = !lean_is_exclusive(x_14); +if (x_1882 == 0) { -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; uint8_t x_1910; lean_object* x_1911; -lean_dec(x_14); -x_1883 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1883, 0, x_1839); -lean_ctor_set(x_1883, 1, x_1844); -lean_ctor_set(x_1883, 2, x_1850); -x_1884 = lean_array_push(x_1842, x_1883); -x_1885 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1885, 0, x_1839); -lean_ctor_set(x_1885, 1, x_1844); -lean_ctor_set(x_1885, 2, x_1884); -x_1886 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1887 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1887, 0, x_1834); -lean_ctor_set(x_1887, 1, x_1886); -x_1888 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1889 = lean_array_push(x_1888, x_1849); -x_1890 = lean_array_push(x_1889, x_1885); -x_1891 = lean_array_push(x_1890, x_1887); -x_1892 = lean_array_push(x_1891, x_1830); -x_1893 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1894 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1894, 0, x_1839); -lean_ctor_set(x_1894, 1, x_1893); -lean_ctor_set(x_1894, 2, x_1892); -x_1895 = lean_array_push(x_1842, x_1894); +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; uint8_t x_1912; lean_object* x_1913; +x_1883 = lean_ctor_get(x_14, 2); +lean_dec(x_1883); +x_1884 = lean_ctor_get(x_14, 1); +lean_dec(x_1884); +x_1885 = lean_ctor_get(x_14, 0); +lean_dec(x_1885); +lean_ctor_set(x_14, 2, x_1881); +lean_ctor_set(x_14, 1, x_1875); +lean_ctor_set(x_14, 0, x_1870); +x_1886 = lean_array_push(x_1873, x_14); +x_1887 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1887, 0, x_1870); +lean_ctor_set(x_1887, 1, x_1875); +lean_ctor_set(x_1887, 2, x_1886); +x_1888 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1889 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1889, 0, x_1865); +lean_ctor_set(x_1889, 1, x_1888); +x_1890 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1891 = lean_array_push(x_1890, x_1880); +x_1892 = lean_array_push(x_1891, x_1887); +x_1893 = lean_array_push(x_1892, x_1889); +x_1894 = lean_array_push(x_1893, x_1861); +x_1895 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_1896 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1896, 0, x_1839); -lean_ctor_set(x_1896, 1, x_1844); -lean_ctor_set(x_1896, 2, x_1895); -x_1897 = lean_array_push(x_1842, x_1896); -x_1898 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1899 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1899, 0, x_1839); -lean_ctor_set(x_1899, 1, x_1898); -lean_ctor_set(x_1899, 2, x_1897); -x_1900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1901 = lean_array_push(x_1900, x_1836); -x_1902 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1903 = lean_array_push(x_1901, x_1902); -x_1904 = lean_array_push(x_1903, x_1902); -x_1905 = lean_array_push(x_1904, x_1845); -x_1906 = lean_array_push(x_1905, x_1847); -x_1907 = lean_array_push(x_1906, x_1899); -x_1908 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1909 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1909, 0, x_1839); -lean_ctor_set(x_1909, 1, x_1908); -lean_ctor_set(x_1909, 2, x_1907); -x_1910 = 1; -x_1911 = lean_box(x_1910); -lean_ctor_set(x_1825, 1, x_1911); -lean_ctor_set(x_1825, 0, x_1909); -lean_ctor_set(x_1832, 0, x_1824); -return x_1832; +lean_ctor_set(x_1896, 0, x_1870); +lean_ctor_set(x_1896, 1, x_1895); +lean_ctor_set(x_1896, 2, x_1894); +x_1897 = lean_array_push(x_1873, x_1896); +x_1898 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1898, 0, x_1870); +lean_ctor_set(x_1898, 1, x_1875); +lean_ctor_set(x_1898, 2, x_1897); +x_1899 = lean_array_push(x_1873, x_1898); +x_1900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1901 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1901, 0, x_1870); +lean_ctor_set(x_1901, 1, x_1900); +lean_ctor_set(x_1901, 2, x_1899); +x_1902 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1903 = lean_array_push(x_1902, x_1867); +x_1904 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1905 = lean_array_push(x_1903, x_1904); +x_1906 = lean_array_push(x_1905, x_1904); +x_1907 = lean_array_push(x_1906, x_1876); +x_1908 = lean_array_push(x_1907, x_1878); +x_1909 = lean_array_push(x_1908, x_1901); +x_1910 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1911 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1911, 0, x_1870); +lean_ctor_set(x_1911, 1, x_1910); +lean_ctor_set(x_1911, 2, x_1909); +x_1912 = 1; +x_1913 = lean_box(x_1912); +lean_ctor_set(x_1856, 1, x_1913); +lean_ctor_set(x_1856, 0, x_1911); +lean_ctor_set(x_1863, 0, x_1855); +return x_1863; +} +else +{ +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; uint8_t x_1941; lean_object* x_1942; +lean_dec(x_14); +x_1914 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1914, 0, x_1870); +lean_ctor_set(x_1914, 1, x_1875); +lean_ctor_set(x_1914, 2, x_1881); +x_1915 = lean_array_push(x_1873, x_1914); +x_1916 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1916, 0, x_1870); +lean_ctor_set(x_1916, 1, x_1875); +lean_ctor_set(x_1916, 2, x_1915); +x_1917 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1918 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1918, 0, x_1865); +lean_ctor_set(x_1918, 1, x_1917); +x_1919 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1920 = lean_array_push(x_1919, x_1880); +x_1921 = lean_array_push(x_1920, x_1916); +x_1922 = lean_array_push(x_1921, x_1918); +x_1923 = lean_array_push(x_1922, x_1861); +x_1924 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1925 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1925, 0, x_1870); +lean_ctor_set(x_1925, 1, x_1924); +lean_ctor_set(x_1925, 2, x_1923); +x_1926 = lean_array_push(x_1873, x_1925); +x_1927 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1927, 0, x_1870); +lean_ctor_set(x_1927, 1, x_1875); +lean_ctor_set(x_1927, 2, x_1926); +x_1928 = lean_array_push(x_1873, x_1927); +x_1929 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1930 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1930, 0, x_1870); +lean_ctor_set(x_1930, 1, x_1929); +lean_ctor_set(x_1930, 2, x_1928); +x_1931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1932 = lean_array_push(x_1931, x_1867); +x_1933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1934 = lean_array_push(x_1932, x_1933); +x_1935 = lean_array_push(x_1934, x_1933); +x_1936 = lean_array_push(x_1935, x_1876); +x_1937 = lean_array_push(x_1936, x_1878); +x_1938 = lean_array_push(x_1937, x_1930); +x_1939 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1940 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1940, 0, x_1870); +lean_ctor_set(x_1940, 1, x_1939); +lean_ctor_set(x_1940, 2, x_1938); +x_1941 = 1; +x_1942 = lean_box(x_1941); +lean_ctor_set(x_1856, 1, x_1942); +lean_ctor_set(x_1856, 0, x_1940); +lean_ctor_set(x_1863, 0, x_1855); +return x_1863; } } else { -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; uint8_t x_1958; lean_object* x_1959; lean_object* x_1960; -x_1912 = lean_ctor_get(x_1832, 0); -x_1913 = lean_ctor_get(x_1832, 1); -lean_inc(x_1913); -lean_inc(x_1912); -lean_dec(x_1832); -x_1914 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1912); -x_1915 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1915, 0, x_1912); -lean_ctor_set(x_1915, 1, x_1914); -x_1916 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1917 = lean_array_push(x_1916, x_1817); -x_1918 = lean_box(2); -x_1919 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1920 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1920, 0, x_1918); -lean_ctor_set(x_1920, 1, x_1919); -lean_ctor_set(x_1920, 2, x_1917); -x_1921 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1922 = lean_array_push(x_1921, x_1920); -x_1923 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1924 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1924, 0, x_1918); -lean_ctor_set(x_1924, 1, x_1923); -lean_ctor_set(x_1924, 2, x_1922); -x_1925 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1912); -x_1926 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1926, 0, x_1912); -lean_ctor_set(x_1926, 1, x_1925); -x_1927 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1912); -x_1928 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1928, 0, x_1912); -lean_ctor_set(x_1928, 1, x_1927); -lean_inc(x_14); -x_1929 = lean_array_push(x_1921, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1930 = x_14; -} else { - lean_dec_ref(x_14); - x_1930 = lean_box(0); -} -if (lean_is_scalar(x_1930)) { - x_1931 = lean_alloc_ctor(1, 3, 0); -} else { - x_1931 = x_1930; -} -lean_ctor_set(x_1931, 0, x_1918); -lean_ctor_set(x_1931, 1, x_1923); -lean_ctor_set(x_1931, 2, x_1929); -x_1932 = lean_array_push(x_1921, x_1931); -x_1933 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1933, 0, x_1918); -lean_ctor_set(x_1933, 1, x_1923); -lean_ctor_set(x_1933, 2, x_1932); -x_1934 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1935 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1935, 0, x_1912); -lean_ctor_set(x_1935, 1, x_1934); -x_1936 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1937 = lean_array_push(x_1936, x_1928); -x_1938 = lean_array_push(x_1937, x_1933); -x_1939 = lean_array_push(x_1938, x_1935); -x_1940 = lean_array_push(x_1939, x_1830); -x_1941 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1942 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1942, 0, x_1918); -lean_ctor_set(x_1942, 1, x_1941); -lean_ctor_set(x_1942, 2, x_1940); -x_1943 = lean_array_push(x_1921, x_1942); -x_1944 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1944, 0, x_1918); -lean_ctor_set(x_1944, 1, x_1923); -lean_ctor_set(x_1944, 2, x_1943); -x_1945 = lean_array_push(x_1921, x_1944); -x_1946 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1947 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1947, 0, x_1918); -lean_ctor_set(x_1947, 1, x_1946); -lean_ctor_set(x_1947, 2, x_1945); -x_1948 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_1949 = lean_array_push(x_1948, x_1915); -x_1950 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_1951 = lean_array_push(x_1949, x_1950); -x_1952 = lean_array_push(x_1951, x_1950); -x_1953 = lean_array_push(x_1952, x_1924); -x_1954 = lean_array_push(x_1953, x_1926); -x_1955 = lean_array_push(x_1954, x_1947); -x_1956 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1957 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1957, 0, x_1918); +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; uint8_t x_1989; lean_object* x_1990; lean_object* x_1991; +x_1943 = lean_ctor_get(x_1863, 0); +x_1944 = lean_ctor_get(x_1863, 1); +lean_inc(x_1944); +lean_inc(x_1943); +lean_dec(x_1863); +x_1945 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1943); +x_1946 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1946, 0, x_1943); +lean_ctor_set(x_1946, 1, x_1945); +x_1947 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_1948 = lean_array_push(x_1947, x_1848); +x_1949 = lean_box(2); +x_1950 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_1951 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1951, 0, x_1949); +lean_ctor_set(x_1951, 1, x_1950); +lean_ctor_set(x_1951, 2, x_1948); +x_1952 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_1953 = lean_array_push(x_1952, x_1951); +x_1954 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_1955 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1955, 0, x_1949); +lean_ctor_set(x_1955, 1, x_1954); +lean_ctor_set(x_1955, 2, x_1953); +x_1956 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1943); +x_1957 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1957, 0, x_1943); lean_ctor_set(x_1957, 1, x_1956); -lean_ctor_set(x_1957, 2, x_1955); -x_1958 = 1; -x_1959 = lean_box(x_1958); -lean_ctor_set(x_1825, 1, x_1959); -lean_ctor_set(x_1825, 0, x_1957); -x_1960 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1960, 0, x_1824); -lean_ctor_set(x_1960, 1, x_1913); -return x_1960; -} -} -else -{ -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; uint8_t x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; -x_1961 = lean_ctor_get(x_1825, 0); -lean_inc(x_1961); -lean_dec(x_1825); -x_1962 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1826); -x_1963 = lean_ctor_get(x_1962, 0); -lean_inc(x_1963); -x_1964 = lean_ctor_get(x_1962, 1); -lean_inc(x_1964); -if (lean_is_exclusive(x_1962)) { - lean_ctor_release(x_1962, 0); - lean_ctor_release(x_1962, 1); - x_1965 = x_1962; +x_1958 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1943); +x_1959 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1959, 0, x_1943); +lean_ctor_set(x_1959, 1, x_1958); +lean_inc(x_14); +x_1960 = lean_array_push(x_1952, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_1961 = x_14; } else { - lean_dec_ref(x_1962); - x_1965 = lean_box(0); + lean_dec_ref(x_14); + x_1961 = lean_box(0); } -x_1966 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1963); -x_1967 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1967, 0, x_1963); -lean_ctor_set(x_1967, 1, x_1966); -x_1968 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_1969 = lean_array_push(x_1968, x_1817); -x_1970 = lean_box(2); -x_1971 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_1972 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1972, 0, x_1970); -lean_ctor_set(x_1972, 1, x_1971); -lean_ctor_set(x_1972, 2, x_1969); -x_1973 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_1974 = lean_array_push(x_1973, x_1972); -x_1975 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_1976 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1976, 0, x_1970); -lean_ctor_set(x_1976, 1, x_1975); -lean_ctor_set(x_1976, 2, x_1974); -x_1977 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1963); -x_1978 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1978, 0, x_1963); +if (lean_is_scalar(x_1961)) { + x_1962 = lean_alloc_ctor(1, 3, 0); +} else { + x_1962 = x_1961; +} +lean_ctor_set(x_1962, 0, x_1949); +lean_ctor_set(x_1962, 1, x_1954); +lean_ctor_set(x_1962, 2, x_1960); +x_1963 = lean_array_push(x_1952, x_1962); +x_1964 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1964, 0, x_1949); +lean_ctor_set(x_1964, 1, x_1954); +lean_ctor_set(x_1964, 2, x_1963); +x_1965 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1966 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1966, 0, x_1943); +lean_ctor_set(x_1966, 1, x_1965); +x_1967 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_1968 = lean_array_push(x_1967, x_1959); +x_1969 = lean_array_push(x_1968, x_1964); +x_1970 = lean_array_push(x_1969, x_1966); +x_1971 = lean_array_push(x_1970, x_1861); +x_1972 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_1973 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1973, 0, x_1949); +lean_ctor_set(x_1973, 1, x_1972); +lean_ctor_set(x_1973, 2, x_1971); +x_1974 = lean_array_push(x_1952, x_1973); +x_1975 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1975, 0, x_1949); +lean_ctor_set(x_1975, 1, x_1954); +lean_ctor_set(x_1975, 2, x_1974); +x_1976 = lean_array_push(x_1952, x_1975); +x_1977 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_1978 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1978, 0, x_1949); lean_ctor_set(x_1978, 1, x_1977); -x_1979 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_1963); -x_1980 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1980, 0, x_1963); -lean_ctor_set(x_1980, 1, x_1979); -lean_inc(x_14); -x_1981 = lean_array_push(x_1973, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_1982 = x_14; -} else { - lean_dec_ref(x_14); - x_1982 = lean_box(0); +lean_ctor_set(x_1978, 2, x_1976); +x_1979 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_1980 = lean_array_push(x_1979, x_1946); +x_1981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_1982 = lean_array_push(x_1980, x_1981); +x_1983 = lean_array_push(x_1982, x_1981); +x_1984 = lean_array_push(x_1983, x_1955); +x_1985 = lean_array_push(x_1984, x_1957); +x_1986 = lean_array_push(x_1985, x_1978); +x_1987 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1988 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1988, 0, x_1949); +lean_ctor_set(x_1988, 1, x_1987); +lean_ctor_set(x_1988, 2, x_1986); +x_1989 = 1; +x_1990 = lean_box(x_1989); +lean_ctor_set(x_1856, 1, x_1990); +lean_ctor_set(x_1856, 0, x_1988); +x_1991 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1991, 0, x_1855); +lean_ctor_set(x_1991, 1, x_1944); +return x_1991; } -if (lean_is_scalar(x_1982)) { - x_1983 = lean_alloc_ctor(1, 3, 0); -} else { - x_1983 = x_1982; } -lean_ctor_set(x_1983, 0, x_1970); -lean_ctor_set(x_1983, 1, x_1975); -lean_ctor_set(x_1983, 2, x_1981); -x_1984 = lean_array_push(x_1973, x_1983); -x_1985 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1985, 0, x_1970); -lean_ctor_set(x_1985, 1, x_1975); -lean_ctor_set(x_1985, 2, x_1984); -x_1986 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1987 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1987, 0, x_1963); -lean_ctor_set(x_1987, 1, x_1986); -x_1988 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_1989 = lean_array_push(x_1988, x_1980); -x_1990 = lean_array_push(x_1989, x_1985); -x_1991 = lean_array_push(x_1990, x_1987); -x_1992 = lean_array_push(x_1991, x_1961); -x_1993 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_1994 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1994, 0, x_1970); -lean_ctor_set(x_1994, 1, x_1993); -lean_ctor_set(x_1994, 2, x_1992); -x_1995 = lean_array_push(x_1973, x_1994); -x_1996 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1996, 0, x_1970); -lean_ctor_set(x_1996, 1, x_1975); -lean_ctor_set(x_1996, 2, x_1995); -x_1997 = lean_array_push(x_1973, x_1996); -x_1998 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_1999 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1999, 0, x_1970); -lean_ctor_set(x_1999, 1, x_1998); -lean_ctor_set(x_1999, 2, x_1997); -x_2000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2001 = lean_array_push(x_2000, x_1967); -x_2002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2003 = lean_array_push(x_2001, x_2002); -x_2004 = lean_array_push(x_2003, x_2002); -x_2005 = lean_array_push(x_2004, x_1976); -x_2006 = lean_array_push(x_2005, x_1978); -x_2007 = lean_array_push(x_2006, x_1999); -x_2008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2009 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2009, 0, x_1970); +else +{ +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; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; uint8_t x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; +x_1992 = lean_ctor_get(x_1856, 0); +lean_inc(x_1992); +lean_dec(x_1856); +x_1993 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1857); +x_1994 = lean_ctor_get(x_1993, 0); +lean_inc(x_1994); +x_1995 = lean_ctor_get(x_1993, 1); +lean_inc(x_1995); +if (lean_is_exclusive(x_1993)) { + lean_ctor_release(x_1993, 0); + lean_ctor_release(x_1993, 1); + x_1996 = x_1993; +} else { + lean_dec_ref(x_1993); + x_1996 = lean_box(0); +} +x_1997 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1994); +x_1998 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1998, 0, x_1994); +lean_ctor_set(x_1998, 1, x_1997); +x_1999 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2000 = lean_array_push(x_1999, x_1848); +x_2001 = lean_box(2); +x_2002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2003 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2003, 0, x_2001); +lean_ctor_set(x_2003, 1, x_2002); +lean_ctor_set(x_2003, 2, x_2000); +x_2004 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2005 = lean_array_push(x_2004, x_2003); +x_2006 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2007 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2007, 0, x_2001); +lean_ctor_set(x_2007, 1, x_2006); +lean_ctor_set(x_2007, 2, x_2005); +x_2008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1994); +x_2009 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2009, 0, x_1994); lean_ctor_set(x_2009, 1, x_2008); -lean_ctor_set(x_2009, 2, x_2007); -x_2010 = 1; -x_2011 = lean_box(x_2010); -x_2012 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2012, 0, x_2009); -lean_ctor_set(x_2012, 1, x_2011); -lean_ctor_set(x_1824, 1, x_2012); -if (lean_is_scalar(x_1965)) { - x_2013 = lean_alloc_ctor(0, 2, 0); -} else { - x_2013 = x_1965; -} -lean_ctor_set(x_2013, 0, x_1824); -lean_ctor_set(x_2013, 1, x_1964); -return x_2013; -} -} -else -{ -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; 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; lean_object* 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; uint8_t x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; -x_2014 = lean_ctor_get(x_1824, 0); -lean_inc(x_2014); -lean_dec(x_1824); -x_2015 = lean_ctor_get(x_1825, 0); -lean_inc(x_2015); -if (lean_is_exclusive(x_1825)) { - lean_ctor_release(x_1825, 0); - lean_ctor_release(x_1825, 1); - x_2016 = x_1825; -} else { - lean_dec_ref(x_1825); - x_2016 = lean_box(0); -} -x_2017 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1826); -x_2018 = lean_ctor_get(x_2017, 0); -lean_inc(x_2018); -x_2019 = lean_ctor_get(x_2017, 1); -lean_inc(x_2019); -if (lean_is_exclusive(x_2017)) { - lean_ctor_release(x_2017, 0); - lean_ctor_release(x_2017, 1); - x_2020 = x_2017; -} else { - lean_dec_ref(x_2017); - x_2020 = lean_box(0); -} -x_2021 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2018); -x_2022 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2022, 0, x_2018); -lean_ctor_set(x_2022, 1, x_2021); -x_2023 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2024 = lean_array_push(x_2023, x_1817); -x_2025 = lean_box(2); -x_2026 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2027 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2027, 0, x_2025); -lean_ctor_set(x_2027, 1, x_2026); -lean_ctor_set(x_2027, 2, x_2024); -x_2028 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2029 = lean_array_push(x_2028, x_2027); -x_2030 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2031 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2031, 0, x_2025); -lean_ctor_set(x_2031, 1, x_2030); -lean_ctor_set(x_2031, 2, x_2029); -x_2032 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2018); -x_2033 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2033, 0, x_2018); -lean_ctor_set(x_2033, 1, x_2032); -x_2034 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2018); -x_2035 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2035, 0, x_2018); -lean_ctor_set(x_2035, 1, x_2034); +x_2010 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_1994); +x_2011 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2011, 0, x_1994); +lean_ctor_set(x_2011, 1, x_2010); lean_inc(x_14); -x_2036 = lean_array_push(x_2028, x_14); +x_2012 = lean_array_push(x_2004, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_2037 = x_14; + x_2013 = x_14; } else { lean_dec_ref(x_14); - x_2037 = lean_box(0); + x_2013 = lean_box(0); } -if (lean_is_scalar(x_2037)) { - x_2038 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_2013)) { + x_2014 = lean_alloc_ctor(1, 3, 0); } else { - x_2038 = x_2037; + x_2014 = x_2013; } -lean_ctor_set(x_2038, 0, x_2025); -lean_ctor_set(x_2038, 1, x_2030); -lean_ctor_set(x_2038, 2, x_2036); -x_2039 = lean_array_push(x_2028, x_2038); +lean_ctor_set(x_2014, 0, x_2001); +lean_ctor_set(x_2014, 1, x_2006); +lean_ctor_set(x_2014, 2, x_2012); +x_2015 = lean_array_push(x_2004, x_2014); +x_2016 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2016, 0, x_2001); +lean_ctor_set(x_2016, 1, x_2006); +lean_ctor_set(x_2016, 2, x_2015); +x_2017 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2018 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2018, 0, x_1994); +lean_ctor_set(x_2018, 1, x_2017); +x_2019 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2020 = lean_array_push(x_2019, x_2011); +x_2021 = lean_array_push(x_2020, x_2016); +x_2022 = lean_array_push(x_2021, x_2018); +x_2023 = lean_array_push(x_2022, x_1992); +x_2024 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2025 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2025, 0, x_2001); +lean_ctor_set(x_2025, 1, x_2024); +lean_ctor_set(x_2025, 2, x_2023); +x_2026 = lean_array_push(x_2004, x_2025); +x_2027 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2027, 0, x_2001); +lean_ctor_set(x_2027, 1, x_2006); +lean_ctor_set(x_2027, 2, x_2026); +x_2028 = lean_array_push(x_2004, x_2027); +x_2029 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2030 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2030, 0, x_2001); +lean_ctor_set(x_2030, 1, x_2029); +lean_ctor_set(x_2030, 2, x_2028); +x_2031 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2032 = lean_array_push(x_2031, x_1998); +x_2033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2034 = lean_array_push(x_2032, x_2033); +x_2035 = lean_array_push(x_2034, x_2033); +x_2036 = lean_array_push(x_2035, x_2007); +x_2037 = lean_array_push(x_2036, x_2009); +x_2038 = lean_array_push(x_2037, x_2030); +x_2039 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; x_2040 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2040, 0, x_2025); -lean_ctor_set(x_2040, 1, x_2030); -lean_ctor_set(x_2040, 2, x_2039); -x_2041 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2042 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2042, 0, x_2018); -lean_ctor_set(x_2042, 1, x_2041); -x_2043 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2044 = lean_array_push(x_2043, x_2035); -x_2045 = lean_array_push(x_2044, x_2040); -x_2046 = lean_array_push(x_2045, x_2042); -x_2047 = lean_array_push(x_2046, x_2015); -x_2048 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2049 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2049, 0, x_2025); -lean_ctor_set(x_2049, 1, x_2048); -lean_ctor_set(x_2049, 2, x_2047); -x_2050 = lean_array_push(x_2028, x_2049); -x_2051 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2051, 0, x_2025); -lean_ctor_set(x_2051, 1, x_2030); -lean_ctor_set(x_2051, 2, x_2050); -x_2052 = lean_array_push(x_2028, x_2051); -x_2053 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2054 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2054, 0, x_2025); -lean_ctor_set(x_2054, 1, x_2053); -lean_ctor_set(x_2054, 2, x_2052); -x_2055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2056 = lean_array_push(x_2055, x_2022); -x_2057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2058 = lean_array_push(x_2056, x_2057); -x_2059 = lean_array_push(x_2058, x_2057); -x_2060 = lean_array_push(x_2059, x_2031); -x_2061 = lean_array_push(x_2060, x_2033); -x_2062 = lean_array_push(x_2061, x_2054); -x_2063 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2064 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2064, 0, x_2025); +lean_ctor_set(x_2040, 0, x_2001); +lean_ctor_set(x_2040, 1, x_2039); +lean_ctor_set(x_2040, 2, x_2038); +x_2041 = 1; +x_2042 = lean_box(x_2041); +x_2043 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2043, 0, x_2040); +lean_ctor_set(x_2043, 1, x_2042); +lean_ctor_set(x_1855, 1, x_2043); +if (lean_is_scalar(x_1996)) { + x_2044 = lean_alloc_ctor(0, 2, 0); +} else { + x_2044 = x_1996; +} +lean_ctor_set(x_2044, 0, x_1855); +lean_ctor_set(x_2044, 1, x_1995); +return x_2044; +} +} +else +{ +lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* 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; uint8_t x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; +x_2045 = lean_ctor_get(x_1855, 0); +lean_inc(x_2045); +lean_dec(x_1855); +x_2046 = lean_ctor_get(x_1856, 0); +lean_inc(x_2046); +if (lean_is_exclusive(x_1856)) { + lean_ctor_release(x_1856, 0); + lean_ctor_release(x_1856, 1); + x_2047 = x_1856; +} else { + lean_dec_ref(x_1856); + x_2047 = lean_box(0); +} +x_2048 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1857); +x_2049 = lean_ctor_get(x_2048, 0); +lean_inc(x_2049); +x_2050 = lean_ctor_get(x_2048, 1); +lean_inc(x_2050); +if (lean_is_exclusive(x_2048)) { + lean_ctor_release(x_2048, 0); + lean_ctor_release(x_2048, 1); + x_2051 = x_2048; +} else { + lean_dec_ref(x_2048); + x_2051 = lean_box(0); +} +x_2052 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2049); +x_2053 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2053, 0, x_2049); +lean_ctor_set(x_2053, 1, x_2052); +x_2054 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2055 = lean_array_push(x_2054, x_1848); +x_2056 = lean_box(2); +x_2057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2058 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2058, 0, x_2056); +lean_ctor_set(x_2058, 1, x_2057); +lean_ctor_set(x_2058, 2, x_2055); +x_2059 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2060 = lean_array_push(x_2059, x_2058); +x_2061 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2062 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2062, 0, x_2056); +lean_ctor_set(x_2062, 1, x_2061); +lean_ctor_set(x_2062, 2, x_2060); +x_2063 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2049); +x_2064 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2064, 0, x_2049); lean_ctor_set(x_2064, 1, x_2063); -lean_ctor_set(x_2064, 2, x_2062); -x_2065 = 1; -x_2066 = lean_box(x_2065); -if (lean_is_scalar(x_2016)) { - x_2067 = lean_alloc_ctor(0, 2, 0); +x_2065 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2049); +x_2066 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2066, 0, x_2049); +lean_ctor_set(x_2066, 1, x_2065); +lean_inc(x_14); +x_2067 = lean_array_push(x_2059, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_2068 = x_14; } else { - x_2067 = x_2016; + lean_dec_ref(x_14); + x_2068 = lean_box(0); } -lean_ctor_set(x_2067, 0, x_2064); -lean_ctor_set(x_2067, 1, x_2066); -x_2068 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2068, 0, x_2014); -lean_ctor_set(x_2068, 1, x_2067); -if (lean_is_scalar(x_2020)) { - x_2069 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_2068)) { + x_2069 = lean_alloc_ctor(1, 3, 0); } else { - x_2069 = x_2020; + x_2069 = x_2068; } -lean_ctor_set(x_2069, 0, x_2068); -lean_ctor_set(x_2069, 1, x_2019); -return x_2069; +lean_ctor_set(x_2069, 0, x_2056); +lean_ctor_set(x_2069, 1, x_2061); +lean_ctor_set(x_2069, 2, x_2067); +x_2070 = lean_array_push(x_2059, x_2069); +x_2071 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2071, 0, x_2056); +lean_ctor_set(x_2071, 1, x_2061); +lean_ctor_set(x_2071, 2, x_2070); +x_2072 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2073 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2073, 0, x_2049); +lean_ctor_set(x_2073, 1, x_2072); +x_2074 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2075 = lean_array_push(x_2074, x_2066); +x_2076 = lean_array_push(x_2075, x_2071); +x_2077 = lean_array_push(x_2076, x_2073); +x_2078 = lean_array_push(x_2077, x_2046); +x_2079 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2080 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2080, 0, x_2056); +lean_ctor_set(x_2080, 1, x_2079); +lean_ctor_set(x_2080, 2, x_2078); +x_2081 = lean_array_push(x_2059, x_2080); +x_2082 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2082, 0, x_2056); +lean_ctor_set(x_2082, 1, x_2061); +lean_ctor_set(x_2082, 2, x_2081); +x_2083 = lean_array_push(x_2059, x_2082); +x_2084 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2085 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2085, 0, x_2056); +lean_ctor_set(x_2085, 1, x_2084); +lean_ctor_set(x_2085, 2, x_2083); +x_2086 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2087 = lean_array_push(x_2086, x_2053); +x_2088 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2089 = lean_array_push(x_2087, x_2088); +x_2090 = lean_array_push(x_2089, x_2088); +x_2091 = lean_array_push(x_2090, x_2062); +x_2092 = lean_array_push(x_2091, x_2064); +x_2093 = lean_array_push(x_2092, x_2085); +x_2094 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2095 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2095, 0, x_2056); +lean_ctor_set(x_2095, 1, x_2094); +lean_ctor_set(x_2095, 2, x_2093); +x_2096 = 1; +x_2097 = lean_box(x_2096); +if (lean_is_scalar(x_2047)) { + x_2098 = lean_alloc_ctor(0, 2, 0); +} else { + x_2098 = x_2047; +} +lean_ctor_set(x_2098, 0, x_2095); +lean_ctor_set(x_2098, 1, x_2097); +x_2099 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2099, 0, x_2045); +lean_ctor_set(x_2099, 1, x_2098); +if (lean_is_scalar(x_2051)) { + x_2100 = lean_alloc_ctor(0, 2, 0); +} else { + x_2100 = x_2051; +} +lean_ctor_set(x_2100, 0, x_2099); +lean_ctor_set(x_2100, 1, x_2050); +return x_2100; +} +} +else +{ +uint8_t x_2101; +lean_dec(x_1848); +lean_dec(x_14); +lean_dec(x_5); +x_2101 = !lean_is_exclusive(x_1854); +if (x_2101 == 0) +{ +return x_1854; +} +else +{ +lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; +x_2102 = lean_ctor_get(x_1854, 0); +x_2103 = lean_ctor_get(x_1854, 1); +lean_inc(x_2103); +lean_inc(x_2102); +lean_dec(x_1854); +x_2104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2104, 0, x_2102); +lean_ctor_set(x_2104, 1, x_2103); +return x_2104; } } } else { -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; uint8_t x_2081; -lean_dec(x_1285); +lean_object* x_2105; lean_object* x_2106; uint8_t x_2107; lean_object* x_2108; lean_object* x_2375; uint8_t x_2376; +x_2105 = lean_ctor_get(x_1844, 1); +lean_inc(x_2105); +lean_dec(x_1844); +x_2106 = lean_ctor_get(x_1845, 0); +lean_inc(x_2106); +lean_dec(x_1845); +x_2375 = lean_array_get_size(x_2106); +x_2376 = lean_nat_dec_lt(x_1307, x_2375); +if (x_2376 == 0) +{ +lean_object* x_2377; size_t x_2378; size_t x_2379; lean_object* x_2380; lean_object* x_2381; +x_2377 = lean_nat_add(x_3, x_1304); +lean_dec(x_3); +x_2378 = lean_usize_of_nat(x_2375); +lean_dec(x_2375); +x_2379 = 0; +x_2380 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5(x_14, x_2378, x_2379, x_2106); +x_2381 = l_Array_append___rarg(x_4, x_2380); +x_3 = x_2377; +x_4 = x_2381; +x_6 = x_2105; +goto _start; +} +else +{ +uint8_t x_2383; +x_2383 = lean_nat_dec_le(x_2375, x_2375); +if (x_2383 == 0) +{ +lean_object* x_2384; size_t x_2385; size_t x_2386; lean_object* x_2387; lean_object* x_2388; +x_2384 = lean_nat_add(x_3, x_1304); +lean_dec(x_3); +x_2385 = lean_usize_of_nat(x_2375); +lean_dec(x_2375); +x_2386 = 0; +x_2387 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6(x_14, x_2385, x_2386, x_2106); +x_2388 = l_Array_append___rarg(x_4, x_2387); +x_3 = x_2384; +x_4 = x_2388; +x_6 = x_2105; +goto _start; +} +else +{ +size_t x_2390; size_t x_2391; lean_object* x_2392; +x_2390 = 0; +x_2391 = lean_usize_of_nat(x_2375); +lean_dec(x_2375); +lean_inc(x_5); +x_2392 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7(x_2106, x_2390, x_2391, x_5, x_2105); +if (lean_obj_tag(x_2392) == 0) +{ +lean_object* x_2393; uint8_t x_2394; +x_2393 = lean_ctor_get(x_2392, 0); +lean_inc(x_2393); +x_2394 = lean_unbox(x_2393); +lean_dec(x_2393); +if (x_2394 == 0) +{ +lean_object* x_2395; uint8_t x_2396; +x_2395 = lean_ctor_get(x_2392, 1); +lean_inc(x_2395); +lean_dec(x_2392); +x_2396 = 1; +x_2107 = x_2396; +x_2108 = x_2395; +goto block_2374; +} +else +{ +lean_object* x_2397; uint8_t x_2398; +x_2397 = lean_ctor_get(x_2392, 1); +lean_inc(x_2397); +lean_dec(x_2392); +x_2398 = 0; +x_2107 = x_2398; +x_2108 = x_2397; +goto block_2374; +} +} +else +{ +uint8_t x_2399; +lean_dec(x_2106); +lean_dec(x_14); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_2399 = !lean_is_exclusive(x_2392); +if (x_2399 == 0) +{ +return x_2392; +} +else +{ +lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; +x_2400 = lean_ctor_get(x_2392, 0); +x_2401 = lean_ctor_get(x_2392, 1); +lean_inc(x_2401); +lean_inc(x_2400); +lean_dec(x_2392); +x_2402 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2402, 0, x_2400); +lean_ctor_set(x_2402, 1, x_2401); +return x_2402; +} +} +} +} +block_2374: +{ +if (x_2107 == 0) +{ +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_dec(x_2106); lean_inc(x_5); lean_inc(x_14); -x_2070 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2071 = lean_ctor_get(x_2070, 0); -lean_inc(x_2071); -x_2072 = lean_ctor_get(x_2070, 1); -lean_inc(x_2072); -lean_dec(x_2070); -x_2073 = lean_nat_add(x_3, x_1284); +x_2109 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_2108); +x_2110 = lean_ctor_get(x_2109, 0); +lean_inc(x_2110); +x_2111 = lean_ctor_get(x_2109, 1); +lean_inc(x_2111); +lean_dec(x_2109); +x_2112 = lean_nat_add(x_3, x_1304); lean_dec(x_3); lean_inc(x_14); -x_2074 = l_Lean_mkHole(x_14); -lean_inc(x_2071); -x_2075 = l_Lean_Elab_Term_mkExplicitBinder(x_2071, x_2074); -x_2076 = lean_array_push(x_4, x_2075); +x_2113 = l_Lean_mkHole(x_14); +lean_inc(x_2110); +x_2114 = l_Lean_Elab_Term_mkExplicitBinder(x_2110, x_2113); +x_2115 = lean_array_push(x_4, x_2114); lean_inc(x_5); -x_2077 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2073, x_2076, x_5, x_2072); -x_2078 = lean_ctor_get(x_2077, 0); -lean_inc(x_2078); -x_2079 = lean_ctor_get(x_2078, 1); -lean_inc(x_2079); -x_2080 = lean_ctor_get(x_2077, 1); -lean_inc(x_2080); -lean_dec(x_2077); -x_2081 = !lean_is_exclusive(x_2078); -if (x_2081 == 0) +x_2116 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2112, x_2115, x_5, x_2111); +if (lean_obj_tag(x_2116) == 0) { -lean_object* x_2082; uint8_t x_2083; -x_2082 = lean_ctor_get(x_2078, 1); -lean_dec(x_2082); -x_2083 = !lean_is_exclusive(x_2079); -if (x_2083 == 0) +lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; uint8_t x_2120; +x_2117 = lean_ctor_get(x_2116, 0); +lean_inc(x_2117); +x_2118 = lean_ctor_get(x_2117, 1); +lean_inc(x_2118); +x_2119 = lean_ctor_get(x_2116, 1); +lean_inc(x_2119); +lean_dec(x_2116); +x_2120 = !lean_is_exclusive(x_2117); +if (x_2120 == 0) { -lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; uint8_t x_2087; -x_2084 = lean_ctor_get(x_2079, 0); -x_2085 = lean_ctor_get(x_2079, 1); -lean_dec(x_2085); -x_2086 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2080); -x_2087 = !lean_is_exclusive(x_2086); -if (x_2087 == 0) +lean_object* x_2121; uint8_t x_2122; +x_2121 = lean_ctor_get(x_2117, 1); +lean_dec(x_2121); +x_2122 = !lean_is_exclusive(x_2118); +if (x_2122 == 0) { -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; uint8_t x_2105; -x_2088 = lean_ctor_get(x_2086, 0); -x_2089 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2088); -x_2090 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2090, 0, x_2088); -lean_ctor_set(x_2090, 1, x_2089); -x_2091 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2092 = lean_array_push(x_2091, x_2071); -x_2093 = lean_box(2); -x_2094 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2095 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2095, 0, x_2093); -lean_ctor_set(x_2095, 1, x_2094); -lean_ctor_set(x_2095, 2, x_2092); -x_2096 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2097 = lean_array_push(x_2096, x_2095); -x_2098 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2099 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2099, 0, x_2093); -lean_ctor_set(x_2099, 1, x_2098); -lean_ctor_set(x_2099, 2, x_2097); -x_2100 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2088); -x_2101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2101, 0, x_2088); -lean_ctor_set(x_2101, 1, x_2100); -x_2102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2088); -x_2103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2103, 0, x_2088); -lean_ctor_set(x_2103, 1, x_2102); -lean_inc(x_14); -x_2104 = lean_array_push(x_2096, x_14); -x_2105 = !lean_is_exclusive(x_14); -if (x_2105 == 0) +lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; uint8_t x_2126; +x_2123 = lean_ctor_get(x_2118, 0); +x_2124 = lean_ctor_get(x_2118, 1); +lean_dec(x_2124); +x_2125 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2119); +x_2126 = !lean_is_exclusive(x_2125); +if (x_2126 == 0) { -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; uint8_t x_2135; lean_object* x_2136; -x_2106 = lean_ctor_get(x_14, 2); -lean_dec(x_2106); -x_2107 = lean_ctor_get(x_14, 1); -lean_dec(x_2107); -x_2108 = lean_ctor_get(x_14, 0); -lean_dec(x_2108); -lean_ctor_set(x_14, 2, x_2104); -lean_ctor_set(x_14, 1, x_2098); -lean_ctor_set(x_14, 0, x_2093); -x_2109 = lean_array_push(x_2096, x_14); -x_2110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2110, 0, x_2093); -lean_ctor_set(x_2110, 1, x_2098); -lean_ctor_set(x_2110, 2, x_2109); -x_2111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2112, 0, x_2088); -lean_ctor_set(x_2112, 1, x_2111); -x_2113 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2114 = lean_array_push(x_2113, x_2103); -x_2115 = lean_array_push(x_2114, x_2110); -x_2116 = lean_array_push(x_2115, x_2112); -x_2117 = lean_array_push(x_2116, x_2084); -x_2118 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2119, 0, x_2093); -lean_ctor_set(x_2119, 1, x_2118); -lean_ctor_set(x_2119, 2, x_2117); -x_2120 = lean_array_push(x_2096, x_2119); -x_2121 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2121, 0, x_2093); -lean_ctor_set(x_2121, 1, x_2098); -lean_ctor_set(x_2121, 2, x_2120); -x_2122 = lean_array_push(x_2096, x_2121); -x_2123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2124 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2124, 0, x_2093); -lean_ctor_set(x_2124, 1, x_2123); -lean_ctor_set(x_2124, 2, x_2122); -x_2125 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2126 = lean_array_push(x_2125, x_2090); -x_2127 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2128 = lean_array_push(x_2126, x_2127); -x_2129 = lean_array_push(x_2128, x_2127); -x_2130 = lean_array_push(x_2129, x_2099); -x_2131 = lean_array_push(x_2130, x_2101); -x_2132 = lean_array_push(x_2131, x_2124); -x_2133 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +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; uint8_t x_2144; +x_2127 = lean_ctor_get(x_2125, 0); +x_2128 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2127); +x_2129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2129, 0, x_2127); +lean_ctor_set(x_2129, 1, x_2128); +x_2130 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2131 = lean_array_push(x_2130, x_2110); +x_2132 = lean_box(2); +x_2133 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2134, 0, x_2093); +lean_ctor_set(x_2134, 0, x_2132); lean_ctor_set(x_2134, 1, x_2133); -lean_ctor_set(x_2134, 2, x_2132); -x_2135 = 1; -x_2136 = lean_box(x_2135); -lean_ctor_set(x_2079, 1, x_2136); -lean_ctor_set(x_2079, 0, x_2134); -lean_ctor_set(x_2086, 0, x_2078); -return x_2086; -} -else +lean_ctor_set(x_2134, 2, x_2131); +x_2135 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2136 = lean_array_push(x_2135, x_2134); +x_2137 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2138 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2138, 0, x_2132); +lean_ctor_set(x_2138, 1, x_2137); +lean_ctor_set(x_2138, 2, x_2136); +x_2139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2127); +x_2140 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2140, 0, x_2127); +lean_ctor_set(x_2140, 1, x_2139); +x_2141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2127); +x_2142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2142, 0, x_2127); +lean_ctor_set(x_2142, 1, x_2141); +lean_inc(x_14); +x_2143 = lean_array_push(x_2135, x_14); +x_2144 = !lean_is_exclusive(x_14); +if (x_2144 == 0) { -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; uint8_t x_2164; lean_object* x_2165; -lean_dec(x_14); -x_2137 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2137, 0, x_2093); -lean_ctor_set(x_2137, 1, x_2098); -lean_ctor_set(x_2137, 2, x_2104); -x_2138 = lean_array_push(x_2096, x_2137); -x_2139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2139, 0, x_2093); -lean_ctor_set(x_2139, 1, x_2098); -lean_ctor_set(x_2139, 2, x_2138); -x_2140 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2141 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2141, 0, x_2088); -lean_ctor_set(x_2141, 1, x_2140); -x_2142 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2143 = lean_array_push(x_2142, x_2103); -x_2144 = lean_array_push(x_2143, x_2139); -x_2145 = lean_array_push(x_2144, x_2141); -x_2146 = lean_array_push(x_2145, x_2084); -x_2147 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2148 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2148, 0, x_2093); -lean_ctor_set(x_2148, 1, x_2147); -lean_ctor_set(x_2148, 2, x_2146); -x_2149 = lean_array_push(x_2096, x_2148); -x_2150 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2150, 0, x_2093); -lean_ctor_set(x_2150, 1, x_2098); -lean_ctor_set(x_2150, 2, x_2149); -x_2151 = lean_array_push(x_2096, x_2150); -x_2152 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2153 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2153, 0, x_2093); -lean_ctor_set(x_2153, 1, x_2152); -lean_ctor_set(x_2153, 2, x_2151); -x_2154 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2155 = lean_array_push(x_2154, x_2090); -x_2156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2157 = lean_array_push(x_2155, x_2156); -x_2158 = lean_array_push(x_2157, x_2156); -x_2159 = lean_array_push(x_2158, x_2099); -x_2160 = lean_array_push(x_2159, x_2101); -x_2161 = lean_array_push(x_2160, x_2153); -x_2162 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +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; uint8_t x_2174; lean_object* x_2175; +x_2145 = lean_ctor_get(x_14, 2); +lean_dec(x_2145); +x_2146 = lean_ctor_get(x_14, 1); +lean_dec(x_2146); +x_2147 = lean_ctor_get(x_14, 0); +lean_dec(x_2147); +lean_ctor_set(x_14, 2, x_2143); +lean_ctor_set(x_14, 1, x_2137); +lean_ctor_set(x_14, 0, x_2132); +x_2148 = lean_array_push(x_2135, x_14); +x_2149 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2149, 0, x_2132); +lean_ctor_set(x_2149, 1, x_2137); +lean_ctor_set(x_2149, 2, x_2148); +x_2150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2151 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2151, 0, x_2127); +lean_ctor_set(x_2151, 1, x_2150); +x_2152 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2153 = lean_array_push(x_2152, x_2142); +x_2154 = lean_array_push(x_2153, x_2149); +x_2155 = lean_array_push(x_2154, x_2151); +x_2156 = lean_array_push(x_2155, x_2123); +x_2157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2158 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2158, 0, x_2132); +lean_ctor_set(x_2158, 1, x_2157); +lean_ctor_set(x_2158, 2, x_2156); +x_2159 = lean_array_push(x_2135, x_2158); +x_2160 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2160, 0, x_2132); +lean_ctor_set(x_2160, 1, x_2137); +lean_ctor_set(x_2160, 2, x_2159); +x_2161 = lean_array_push(x_2135, x_2160); +x_2162 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2163, 0, x_2093); +lean_ctor_set(x_2163, 0, x_2132); lean_ctor_set(x_2163, 1, x_2162); lean_ctor_set(x_2163, 2, x_2161); -x_2164 = 1; -x_2165 = lean_box(x_2164); -lean_ctor_set(x_2079, 1, x_2165); -lean_ctor_set(x_2079, 0, x_2163); -lean_ctor_set(x_2086, 0, x_2078); -return x_2086; -} +x_2164 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2165 = lean_array_push(x_2164, x_2129); +x_2166 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2167 = lean_array_push(x_2165, x_2166); +x_2168 = lean_array_push(x_2167, x_2166); +x_2169 = lean_array_push(x_2168, x_2138); +x_2170 = lean_array_push(x_2169, x_2140); +x_2171 = lean_array_push(x_2170, x_2163); +x_2172 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2173, 0, x_2132); +lean_ctor_set(x_2173, 1, x_2172); +lean_ctor_set(x_2173, 2, x_2171); +x_2174 = 1; +x_2175 = lean_box(x_2174); +lean_ctor_set(x_2118, 1, x_2175); +lean_ctor_set(x_2118, 0, x_2173); +lean_ctor_set(x_2125, 0, x_2117); +return x_2125; } else { -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; uint8_t x_2212; lean_object* x_2213; lean_object* x_2214; -x_2166 = lean_ctor_get(x_2086, 0); -x_2167 = lean_ctor_get(x_2086, 1); -lean_inc(x_2167); -lean_inc(x_2166); -lean_dec(x_2086); -x_2168 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2166); -x_2169 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2169, 0, x_2166); -lean_ctor_set(x_2169, 1, x_2168); -x_2170 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2171 = lean_array_push(x_2170, x_2071); -x_2172 = lean_box(2); -x_2173 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2174 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2174, 0, x_2172); -lean_ctor_set(x_2174, 1, x_2173); -lean_ctor_set(x_2174, 2, x_2171); -x_2175 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2176 = lean_array_push(x_2175, x_2174); -x_2177 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2178 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2178, 0, x_2172); -lean_ctor_set(x_2178, 1, x_2177); -lean_ctor_set(x_2178, 2, x_2176); -x_2179 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2166); -x_2180 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2180, 0, x_2166); -lean_ctor_set(x_2180, 1, x_2179); -x_2181 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2166); -x_2182 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2182, 0, x_2166); -lean_ctor_set(x_2182, 1, x_2181); -lean_inc(x_14); -x_2183 = lean_array_push(x_2175, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_2184 = x_14; -} else { - lean_dec_ref(x_14); - x_2184 = lean_box(0); -} -if (lean_is_scalar(x_2184)) { - x_2185 = lean_alloc_ctor(1, 3, 0); -} else { - x_2185 = x_2184; -} -lean_ctor_set(x_2185, 0, x_2172); -lean_ctor_set(x_2185, 1, x_2177); -lean_ctor_set(x_2185, 2, x_2183); -x_2186 = lean_array_push(x_2175, x_2185); -x_2187 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2187, 0, x_2172); -lean_ctor_set(x_2187, 1, x_2177); -lean_ctor_set(x_2187, 2, x_2186); -x_2188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2189 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2189, 0, x_2166); -lean_ctor_set(x_2189, 1, x_2188); -x_2190 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2191 = lean_array_push(x_2190, x_2182); -x_2192 = lean_array_push(x_2191, x_2187); -x_2193 = lean_array_push(x_2192, x_2189); -x_2194 = lean_array_push(x_2193, x_2084); -x_2195 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2196 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2196, 0, x_2172); -lean_ctor_set(x_2196, 1, x_2195); -lean_ctor_set(x_2196, 2, x_2194); -x_2197 = lean_array_push(x_2175, x_2196); -x_2198 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2198, 0, x_2172); -lean_ctor_set(x_2198, 1, x_2177); -lean_ctor_set(x_2198, 2, x_2197); -x_2199 = lean_array_push(x_2175, x_2198); -x_2200 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2201 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2201, 0, x_2172); -lean_ctor_set(x_2201, 1, x_2200); -lean_ctor_set(x_2201, 2, x_2199); -x_2202 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2203 = lean_array_push(x_2202, x_2169); -x_2204 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2205 = lean_array_push(x_2203, x_2204); -x_2206 = lean_array_push(x_2205, x_2204); -x_2207 = lean_array_push(x_2206, x_2178); -x_2208 = lean_array_push(x_2207, x_2180); -x_2209 = lean_array_push(x_2208, x_2201); -x_2210 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2211 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2211, 0, x_2172); -lean_ctor_set(x_2211, 1, x_2210); -lean_ctor_set(x_2211, 2, x_2209); -x_2212 = 1; -x_2213 = lean_box(x_2212); -lean_ctor_set(x_2079, 1, x_2213); -lean_ctor_set(x_2079, 0, x_2211); -x_2214 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2214, 0, x_2078); -lean_ctor_set(x_2214, 1, x_2167); -return x_2214; -} -} -else -{ -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; uint8_t x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; -x_2215 = lean_ctor_get(x_2079, 0); -lean_inc(x_2215); -lean_dec(x_2079); -x_2216 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2080); -x_2217 = lean_ctor_get(x_2216, 0); -lean_inc(x_2217); -x_2218 = lean_ctor_get(x_2216, 1); -lean_inc(x_2218); -if (lean_is_exclusive(x_2216)) { - lean_ctor_release(x_2216, 0); - lean_ctor_release(x_2216, 1); - x_2219 = x_2216; -} else { - lean_dec_ref(x_2216); - x_2219 = lean_box(0); -} -x_2220 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2217); -x_2221 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2221, 0, x_2217); -lean_ctor_set(x_2221, 1, x_2220); -x_2222 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2223 = lean_array_push(x_2222, x_2071); -x_2224 = lean_box(2); -x_2225 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2226 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2226, 0, x_2224); -lean_ctor_set(x_2226, 1, x_2225); -lean_ctor_set(x_2226, 2, x_2223); -x_2227 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2228 = lean_array_push(x_2227, x_2226); -x_2229 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2230 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2230, 0, x_2224); -lean_ctor_set(x_2230, 1, x_2229); -lean_ctor_set(x_2230, 2, x_2228); -x_2231 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2217); -x_2232 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2232, 0, x_2217); -lean_ctor_set(x_2232, 1, x_2231); -x_2233 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2217); -x_2234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2234, 0, x_2217); -lean_ctor_set(x_2234, 1, x_2233); -lean_inc(x_14); -x_2235 = lean_array_push(x_2227, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_2236 = x_14; -} else { - lean_dec_ref(x_14); - x_2236 = lean_box(0); -} -if (lean_is_scalar(x_2236)) { - x_2237 = lean_alloc_ctor(1, 3, 0); -} else { - x_2237 = x_2236; -} -lean_ctor_set(x_2237, 0, x_2224); -lean_ctor_set(x_2237, 1, x_2229); -lean_ctor_set(x_2237, 2, x_2235); -x_2238 = lean_array_push(x_2227, x_2237); -x_2239 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2239, 0, x_2224); -lean_ctor_set(x_2239, 1, x_2229); -lean_ctor_set(x_2239, 2, x_2238); -x_2240 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2241 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2241, 0, x_2217); -lean_ctor_set(x_2241, 1, x_2240); -x_2242 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2243 = lean_array_push(x_2242, x_2234); -x_2244 = lean_array_push(x_2243, x_2239); -x_2245 = lean_array_push(x_2244, x_2241); -x_2246 = lean_array_push(x_2245, x_2215); -x_2247 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2248 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2248, 0, x_2224); -lean_ctor_set(x_2248, 1, x_2247); -lean_ctor_set(x_2248, 2, x_2246); -x_2249 = lean_array_push(x_2227, x_2248); -x_2250 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2250, 0, x_2224); -lean_ctor_set(x_2250, 1, x_2229); -lean_ctor_set(x_2250, 2, x_2249); -x_2251 = lean_array_push(x_2227, x_2250); -x_2252 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2253 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2253, 0, x_2224); -lean_ctor_set(x_2253, 1, x_2252); -lean_ctor_set(x_2253, 2, x_2251); -x_2254 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2255 = lean_array_push(x_2254, x_2221); -x_2256 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2257 = lean_array_push(x_2255, x_2256); -x_2258 = lean_array_push(x_2257, x_2256); -x_2259 = lean_array_push(x_2258, x_2230); -x_2260 = lean_array_push(x_2259, x_2232); -x_2261 = lean_array_push(x_2260, x_2253); -x_2262 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2263 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2263, 0, x_2224); -lean_ctor_set(x_2263, 1, x_2262); -lean_ctor_set(x_2263, 2, x_2261); -x_2264 = 1; -x_2265 = lean_box(x_2264); -x_2266 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2266, 0, x_2263); -lean_ctor_set(x_2266, 1, x_2265); -lean_ctor_set(x_2078, 1, x_2266); -if (lean_is_scalar(x_2219)) { - x_2267 = lean_alloc_ctor(0, 2, 0); -} else { - x_2267 = x_2219; -} -lean_ctor_set(x_2267, 0, x_2078); -lean_ctor_set(x_2267, 1, x_2218); -return x_2267; -} -} -else -{ -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; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; uint8_t x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; -x_2268 = lean_ctor_get(x_2078, 0); -lean_inc(x_2268); -lean_dec(x_2078); -x_2269 = lean_ctor_get(x_2079, 0); -lean_inc(x_2269); -if (lean_is_exclusive(x_2079)) { - lean_ctor_release(x_2079, 0); - lean_ctor_release(x_2079, 1); - x_2270 = x_2079; -} else { - lean_dec_ref(x_2079); - x_2270 = lean_box(0); -} -x_2271 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2080); -x_2272 = lean_ctor_get(x_2271, 0); -lean_inc(x_2272); -x_2273 = lean_ctor_get(x_2271, 1); -lean_inc(x_2273); -if (lean_is_exclusive(x_2271)) { - lean_ctor_release(x_2271, 0); - lean_ctor_release(x_2271, 1); - x_2274 = x_2271; -} else { - lean_dec_ref(x_2271); - x_2274 = lean_box(0); -} -x_2275 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2272); -x_2276 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2276, 0, x_2272); -lean_ctor_set(x_2276, 1, x_2275); -x_2277 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2278 = lean_array_push(x_2277, x_2071); -x_2279 = lean_box(2); -x_2280 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2281 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2281, 0, x_2279); -lean_ctor_set(x_2281, 1, x_2280); -lean_ctor_set(x_2281, 2, x_2278); -x_2282 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2283 = lean_array_push(x_2282, x_2281); -x_2284 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2285 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2285, 0, x_2279); -lean_ctor_set(x_2285, 1, x_2284); -lean_ctor_set(x_2285, 2, x_2283); -x_2286 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2272); -x_2287 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2287, 0, x_2272); -lean_ctor_set(x_2287, 1, x_2286); -x_2288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2272); -x_2289 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2289, 0, x_2272); -lean_ctor_set(x_2289, 1, x_2288); -lean_inc(x_14); -x_2290 = lean_array_push(x_2282, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_2291 = x_14; -} else { - lean_dec_ref(x_14); - x_2291 = lean_box(0); -} -if (lean_is_scalar(x_2291)) { - x_2292 = lean_alloc_ctor(1, 3, 0); -} else { - x_2292 = x_2291; -} -lean_ctor_set(x_2292, 0, x_2279); -lean_ctor_set(x_2292, 1, x_2284); -lean_ctor_set(x_2292, 2, x_2290); -x_2293 = lean_array_push(x_2282, x_2292); -x_2294 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2294, 0, x_2279); -lean_ctor_set(x_2294, 1, x_2284); -lean_ctor_set(x_2294, 2, x_2293); -x_2295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2296 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2296, 0, x_2272); -lean_ctor_set(x_2296, 1, x_2295); -x_2297 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2298 = lean_array_push(x_2297, x_2289); -x_2299 = lean_array_push(x_2298, x_2294); -x_2300 = lean_array_push(x_2299, x_2296); -x_2301 = lean_array_push(x_2300, x_2269); -x_2302 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2303 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2303, 0, x_2279); -lean_ctor_set(x_2303, 1, x_2302); -lean_ctor_set(x_2303, 2, x_2301); -x_2304 = lean_array_push(x_2282, x_2303); -x_2305 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2305, 0, x_2279); -lean_ctor_set(x_2305, 1, x_2284); -lean_ctor_set(x_2305, 2, x_2304); -x_2306 = lean_array_push(x_2282, x_2305); -x_2307 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2308 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2308, 0, x_2279); -lean_ctor_set(x_2308, 1, x_2307); -lean_ctor_set(x_2308, 2, x_2306); -x_2309 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2310 = lean_array_push(x_2309, x_2276); -x_2311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2312 = lean_array_push(x_2310, x_2311); -x_2313 = lean_array_push(x_2312, x_2311); -x_2314 = lean_array_push(x_2313, x_2285); -x_2315 = lean_array_push(x_2314, x_2287); -x_2316 = lean_array_push(x_2315, x_2308); -x_2317 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2318 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2318, 0, x_2279); -lean_ctor_set(x_2318, 1, x_2317); -lean_ctor_set(x_2318, 2, x_2316); -x_2319 = 1; -x_2320 = lean_box(x_2319); -if (lean_is_scalar(x_2270)) { - x_2321 = lean_alloc_ctor(0, 2, 0); -} else { - x_2321 = x_2270; -} -lean_ctor_set(x_2321, 0, x_2318); -lean_ctor_set(x_2321, 1, x_2320); -x_2322 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2322, 0, x_2268); -lean_ctor_set(x_2322, 1, x_2321); -if (lean_is_scalar(x_2274)) { - x_2323 = lean_alloc_ctor(0, 2, 0); -} else { - x_2323 = x_2274; -} -lean_ctor_set(x_2323, 0, x_2322); -lean_ctor_set(x_2323, 1, x_2273); -return x_2323; -} -} -} -} -else -{ -lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; -lean_dec(x_240); -lean_inc(x_5); -lean_inc(x_14); -x_2324 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2325 = lean_ctor_get(x_2324, 0); -lean_inc(x_2325); -x_2326 = lean_ctor_get(x_2324, 1); -lean_inc(x_2326); -lean_dec(x_2324); -x_2327 = lean_unsigned_to_nat(1u); -x_2328 = lean_nat_add(x_3, x_2327); -lean_dec(x_3); -x_2329 = l_Lean_Elab_Term_mkExplicitBinder(x_2325, x_14); -x_2330 = lean_array_push(x_4, x_2329); -x_3 = x_2328; -x_4 = x_2330; -x_6 = x_2326; -goto _start; -} -} -else -{ -lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; -lean_dec(x_240); -x_2332 = lean_unsigned_to_nat(1u); -x_2333 = lean_nat_add(x_3, x_2332); -lean_dec(x_3); -x_2334 = lean_array_push(x_4, x_14); -x_3 = x_2333; -x_4 = x_2334; -goto _start; -} -} -else -{ -lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; -lean_dec(x_240); -x_2336 = lean_unsigned_to_nat(1u); -x_2337 = lean_nat_add(x_3, x_2336); -lean_dec(x_3); -x_2338 = lean_array_push(x_4, x_14); -x_3 = x_2337; -x_4 = x_2338; -goto _start; -} -} -else -{ -lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; -lean_dec(x_240); -x_2340 = lean_unsigned_to_nat(1u); -x_2341 = lean_nat_add(x_3, x_2340); -lean_dec(x_3); -x_2342 = lean_array_push(x_4, x_14); -x_3 = x_2341; -x_4 = x_2342; -goto _start; -} -} -else -{ -lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; -lean_dec(x_240); -x_2344 = lean_unsigned_to_nat(1u); -x_2345 = lean_nat_add(x_3, x_2344); -lean_dec(x_3); -x_2346 = lean_array_push(x_4, x_14); -x_3 = x_2345; -x_4 = x_2346; -goto _start; -} -} -else -{ -lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; -lean_dec(x_240); -x_2348 = lean_unsigned_to_nat(1u); -x_2349 = lean_nat_add(x_3, x_2348); -lean_dec(x_3); -x_2350 = lean_array_push(x_4, x_14); -x_3 = x_2349; -x_4 = x_2350; -goto _start; -} -} -} -} -} -else -{ -lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; uint8_t x_2364; -lean_dec(x_239); -lean_dec(x_238); -lean_dec(x_237); -lean_dec(x_236); -lean_dec(x_235); -lean_inc(x_5); -lean_inc(x_14); -x_2352 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2353 = lean_ctor_get(x_2352, 0); -lean_inc(x_2353); -x_2354 = lean_ctor_get(x_2352, 1); -lean_inc(x_2354); -lean_dec(x_2352); -x_2355 = lean_unsigned_to_nat(1u); -x_2356 = lean_nat_add(x_3, x_2355); -lean_dec(x_3); -lean_inc(x_14); -x_2357 = l_Lean_mkHole(x_14); -lean_inc(x_2353); -x_2358 = l_Lean_Elab_Term_mkExplicitBinder(x_2353, x_2357); -x_2359 = lean_array_push(x_4, x_2358); -lean_inc(x_5); -x_2360 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2356, x_2359, x_5, x_2354); -x_2361 = lean_ctor_get(x_2360, 0); -lean_inc(x_2361); -x_2362 = lean_ctor_get(x_2361, 1); -lean_inc(x_2362); -x_2363 = lean_ctor_get(x_2360, 1); -lean_inc(x_2363); -lean_dec(x_2360); -x_2364 = !lean_is_exclusive(x_2361); -if (x_2364 == 0) -{ -lean_object* x_2365; uint8_t x_2366; -x_2365 = lean_ctor_get(x_2361, 1); -lean_dec(x_2365); -x_2366 = !lean_is_exclusive(x_2362); -if (x_2366 == 0) -{ -lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; uint8_t x_2370; -x_2367 = lean_ctor_get(x_2362, 0); -x_2368 = lean_ctor_get(x_2362, 1); -lean_dec(x_2368); -x_2369 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2363); -x_2370 = !lean_is_exclusive(x_2369); -if (x_2370 == 0) -{ -lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; uint8_t x_2388; -x_2371 = lean_ctor_get(x_2369, 0); -x_2372 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2371); -x_2373 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2373, 0, x_2371); -lean_ctor_set(x_2373, 1, x_2372); -x_2374 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2375 = lean_array_push(x_2374, x_2353); -x_2376 = lean_box(2); -x_2377 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2378 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2378, 0, x_2376); -lean_ctor_set(x_2378, 1, x_2377); -lean_ctor_set(x_2378, 2, x_2375); -x_2379 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2380 = lean_array_push(x_2379, x_2378); -x_2381 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2382 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2382, 0, x_2376); -lean_ctor_set(x_2382, 1, x_2381); -lean_ctor_set(x_2382, 2, x_2380); -x_2383 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2371); -x_2384 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2384, 0, x_2371); -lean_ctor_set(x_2384, 1, x_2383); -x_2385 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2371); -x_2386 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2386, 0, x_2371); -lean_ctor_set(x_2386, 1, x_2385); -lean_inc(x_14); -x_2387 = lean_array_push(x_2379, x_14); -x_2388 = !lean_is_exclusive(x_14); -if (x_2388 == 0) -{ -lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; uint8_t x_2418; lean_object* x_2419; -x_2389 = lean_ctor_get(x_14, 2); -lean_dec(x_2389); -x_2390 = lean_ctor_get(x_14, 1); -lean_dec(x_2390); -x_2391 = lean_ctor_get(x_14, 0); -lean_dec(x_2391); -lean_ctor_set(x_14, 2, x_2387); -lean_ctor_set(x_14, 1, x_2381); -lean_ctor_set(x_14, 0, x_2376); -x_2392 = lean_array_push(x_2379, x_14); -x_2393 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2393, 0, x_2376); -lean_ctor_set(x_2393, 1, x_2381); -lean_ctor_set(x_2393, 2, x_2392); -x_2394 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2395 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2395, 0, x_2371); -lean_ctor_set(x_2395, 1, x_2394); -x_2396 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2397 = lean_array_push(x_2396, x_2386); -x_2398 = lean_array_push(x_2397, x_2393); -x_2399 = lean_array_push(x_2398, x_2395); -x_2400 = lean_array_push(x_2399, x_2367); -x_2401 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2402 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2402, 0, x_2376); -lean_ctor_set(x_2402, 1, x_2401); -lean_ctor_set(x_2402, 2, x_2400); -x_2403 = lean_array_push(x_2379, x_2402); -x_2404 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2404, 0, x_2376); -lean_ctor_set(x_2404, 1, x_2381); -lean_ctor_set(x_2404, 2, x_2403); -x_2405 = lean_array_push(x_2379, x_2404); -x_2406 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2407 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2407, 0, x_2376); -lean_ctor_set(x_2407, 1, x_2406); -lean_ctor_set(x_2407, 2, x_2405); -x_2408 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2409 = lean_array_push(x_2408, x_2373); -x_2410 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2411 = lean_array_push(x_2409, x_2410); -x_2412 = lean_array_push(x_2411, x_2410); -x_2413 = lean_array_push(x_2412, x_2382); -x_2414 = lean_array_push(x_2413, x_2384); -x_2415 = lean_array_push(x_2414, x_2407); -x_2416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2417 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2417, 0, x_2376); -lean_ctor_set(x_2417, 1, x_2416); -lean_ctor_set(x_2417, 2, x_2415); -x_2418 = 1; -x_2419 = lean_box(x_2418); -lean_ctor_set(x_2362, 1, x_2419); -lean_ctor_set(x_2362, 0, x_2417); -lean_ctor_set(x_2369, 0, x_2361); -return x_2369; -} -else -{ -lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; uint8_t x_2447; lean_object* x_2448; +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; uint8_t x_2203; lean_object* x_2204; lean_dec(x_14); -x_2420 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2420, 0, x_2376); -lean_ctor_set(x_2420, 1, x_2381); -lean_ctor_set(x_2420, 2, x_2387); -x_2421 = lean_array_push(x_2379, x_2420); -x_2422 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2422, 0, x_2376); -lean_ctor_set(x_2422, 1, x_2381); -lean_ctor_set(x_2422, 2, x_2421); -x_2423 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2424 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2424, 0, x_2371); -lean_ctor_set(x_2424, 1, x_2423); -x_2425 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2426 = lean_array_push(x_2425, x_2386); -x_2427 = lean_array_push(x_2426, x_2422); -x_2428 = lean_array_push(x_2427, x_2424); -x_2429 = lean_array_push(x_2428, x_2367); -x_2430 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2431 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2431, 0, x_2376); -lean_ctor_set(x_2431, 1, x_2430); -lean_ctor_set(x_2431, 2, x_2429); -x_2432 = lean_array_push(x_2379, x_2431); -x_2433 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2433, 0, x_2376); -lean_ctor_set(x_2433, 1, x_2381); -lean_ctor_set(x_2433, 2, x_2432); -x_2434 = lean_array_push(x_2379, x_2433); -x_2435 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2436 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2436, 0, x_2376); +x_2176 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2176, 0, x_2132); +lean_ctor_set(x_2176, 1, x_2137); +lean_ctor_set(x_2176, 2, x_2143); +x_2177 = lean_array_push(x_2135, x_2176); +x_2178 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2178, 0, x_2132); +lean_ctor_set(x_2178, 1, x_2137); +lean_ctor_set(x_2178, 2, x_2177); +x_2179 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2180 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2180, 0, x_2127); +lean_ctor_set(x_2180, 1, x_2179); +x_2181 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2182 = lean_array_push(x_2181, x_2142); +x_2183 = lean_array_push(x_2182, x_2178); +x_2184 = lean_array_push(x_2183, x_2180); +x_2185 = lean_array_push(x_2184, x_2123); +x_2186 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2187 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2187, 0, x_2132); +lean_ctor_set(x_2187, 1, x_2186); +lean_ctor_set(x_2187, 2, x_2185); +x_2188 = lean_array_push(x_2135, x_2187); +x_2189 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2189, 0, x_2132); +lean_ctor_set(x_2189, 1, x_2137); +lean_ctor_set(x_2189, 2, x_2188); +x_2190 = lean_array_push(x_2135, x_2189); +x_2191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2192 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2192, 0, x_2132); +lean_ctor_set(x_2192, 1, x_2191); +lean_ctor_set(x_2192, 2, x_2190); +x_2193 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2194 = lean_array_push(x_2193, x_2129); +x_2195 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2196 = lean_array_push(x_2194, x_2195); +x_2197 = lean_array_push(x_2196, x_2195); +x_2198 = lean_array_push(x_2197, x_2138); +x_2199 = lean_array_push(x_2198, x_2140); +x_2200 = lean_array_push(x_2199, x_2192); +x_2201 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2202 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2202, 0, x_2132); +lean_ctor_set(x_2202, 1, x_2201); +lean_ctor_set(x_2202, 2, x_2200); +x_2203 = 1; +x_2204 = lean_box(x_2203); +lean_ctor_set(x_2118, 1, x_2204); +lean_ctor_set(x_2118, 0, x_2202); +lean_ctor_set(x_2125, 0, x_2117); +return x_2125; +} +} +else +{ +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; uint8_t x_2251; lean_object* x_2252; lean_object* x_2253; +x_2205 = lean_ctor_get(x_2125, 0); +x_2206 = lean_ctor_get(x_2125, 1); +lean_inc(x_2206); +lean_inc(x_2205); +lean_dec(x_2125); +x_2207 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2205); +x_2208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2208, 0, x_2205); +lean_ctor_set(x_2208, 1, x_2207); +x_2209 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2210 = lean_array_push(x_2209, x_2110); +x_2211 = lean_box(2); +x_2212 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2213 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2213, 0, x_2211); +lean_ctor_set(x_2213, 1, x_2212); +lean_ctor_set(x_2213, 2, x_2210); +x_2214 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2215 = lean_array_push(x_2214, x_2213); +x_2216 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2217 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2217, 0, x_2211); +lean_ctor_set(x_2217, 1, x_2216); +lean_ctor_set(x_2217, 2, x_2215); +x_2218 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2205); +x_2219 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2219, 0, x_2205); +lean_ctor_set(x_2219, 1, x_2218); +x_2220 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2205); +x_2221 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2221, 0, x_2205); +lean_ctor_set(x_2221, 1, x_2220); +lean_inc(x_14); +x_2222 = lean_array_push(x_2214, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_2223 = x_14; +} else { + lean_dec_ref(x_14); + x_2223 = lean_box(0); +} +if (lean_is_scalar(x_2223)) { + x_2224 = lean_alloc_ctor(1, 3, 0); +} else { + x_2224 = x_2223; +} +lean_ctor_set(x_2224, 0, x_2211); +lean_ctor_set(x_2224, 1, x_2216); +lean_ctor_set(x_2224, 2, x_2222); +x_2225 = lean_array_push(x_2214, x_2224); +x_2226 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2226, 0, x_2211); +lean_ctor_set(x_2226, 1, x_2216); +lean_ctor_set(x_2226, 2, x_2225); +x_2227 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2228, 0, x_2205); +lean_ctor_set(x_2228, 1, x_2227); +x_2229 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2230 = lean_array_push(x_2229, x_2221); +x_2231 = lean_array_push(x_2230, x_2226); +x_2232 = lean_array_push(x_2231, x_2228); +x_2233 = lean_array_push(x_2232, x_2123); +x_2234 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2235 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2235, 0, x_2211); +lean_ctor_set(x_2235, 1, x_2234); +lean_ctor_set(x_2235, 2, x_2233); +x_2236 = lean_array_push(x_2214, x_2235); +x_2237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2237, 0, x_2211); +lean_ctor_set(x_2237, 1, x_2216); +lean_ctor_set(x_2237, 2, x_2236); +x_2238 = lean_array_push(x_2214, x_2237); +x_2239 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2240 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2240, 0, x_2211); +lean_ctor_set(x_2240, 1, x_2239); +lean_ctor_set(x_2240, 2, x_2238); +x_2241 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2242 = lean_array_push(x_2241, x_2208); +x_2243 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2244 = lean_array_push(x_2242, x_2243); +x_2245 = lean_array_push(x_2244, x_2243); +x_2246 = lean_array_push(x_2245, x_2217); +x_2247 = lean_array_push(x_2246, x_2219); +x_2248 = lean_array_push(x_2247, x_2240); +x_2249 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2250 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2250, 0, x_2211); +lean_ctor_set(x_2250, 1, x_2249); +lean_ctor_set(x_2250, 2, x_2248); +x_2251 = 1; +x_2252 = lean_box(x_2251); +lean_ctor_set(x_2118, 1, x_2252); +lean_ctor_set(x_2118, 0, x_2250); +x_2253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2253, 0, x_2117); +lean_ctor_set(x_2253, 1, x_2206); +return x_2253; +} +} +else +{ +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; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; uint8_t x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; +x_2254 = lean_ctor_get(x_2118, 0); +lean_inc(x_2254); +lean_dec(x_2118); +x_2255 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2119); +x_2256 = lean_ctor_get(x_2255, 0); +lean_inc(x_2256); +x_2257 = lean_ctor_get(x_2255, 1); +lean_inc(x_2257); +if (lean_is_exclusive(x_2255)) { + lean_ctor_release(x_2255, 0); + lean_ctor_release(x_2255, 1); + x_2258 = x_2255; +} else { + lean_dec_ref(x_2255); + x_2258 = lean_box(0); +} +x_2259 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2256); +x_2260 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2260, 0, x_2256); +lean_ctor_set(x_2260, 1, x_2259); +x_2261 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2262 = lean_array_push(x_2261, x_2110); +x_2263 = lean_box(2); +x_2264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2265 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2265, 0, x_2263); +lean_ctor_set(x_2265, 1, x_2264); +lean_ctor_set(x_2265, 2, x_2262); +x_2266 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2267 = lean_array_push(x_2266, x_2265); +x_2268 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2269 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2269, 0, x_2263); +lean_ctor_set(x_2269, 1, x_2268); +lean_ctor_set(x_2269, 2, x_2267); +x_2270 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2256); +x_2271 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2271, 0, x_2256); +lean_ctor_set(x_2271, 1, x_2270); +x_2272 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2256); +x_2273 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2273, 0, x_2256); +lean_ctor_set(x_2273, 1, x_2272); +lean_inc(x_14); +x_2274 = lean_array_push(x_2266, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_2275 = x_14; +} else { + lean_dec_ref(x_14); + x_2275 = lean_box(0); +} +if (lean_is_scalar(x_2275)) { + x_2276 = lean_alloc_ctor(1, 3, 0); +} else { + x_2276 = x_2275; +} +lean_ctor_set(x_2276, 0, x_2263); +lean_ctor_set(x_2276, 1, x_2268); +lean_ctor_set(x_2276, 2, x_2274); +x_2277 = lean_array_push(x_2266, x_2276); +x_2278 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2278, 0, x_2263); +lean_ctor_set(x_2278, 1, x_2268); +lean_ctor_set(x_2278, 2, x_2277); +x_2279 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2280 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2280, 0, x_2256); +lean_ctor_set(x_2280, 1, x_2279); +x_2281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2282 = lean_array_push(x_2281, x_2273); +x_2283 = lean_array_push(x_2282, x_2278); +x_2284 = lean_array_push(x_2283, x_2280); +x_2285 = lean_array_push(x_2284, x_2254); +x_2286 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2287 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2287, 0, x_2263); +lean_ctor_set(x_2287, 1, x_2286); +lean_ctor_set(x_2287, 2, x_2285); +x_2288 = lean_array_push(x_2266, x_2287); +x_2289 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2289, 0, x_2263); +lean_ctor_set(x_2289, 1, x_2268); +lean_ctor_set(x_2289, 2, x_2288); +x_2290 = lean_array_push(x_2266, x_2289); +x_2291 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2292 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2292, 0, x_2263); +lean_ctor_set(x_2292, 1, x_2291); +lean_ctor_set(x_2292, 2, x_2290); +x_2293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2294 = lean_array_push(x_2293, x_2260); +x_2295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2296 = lean_array_push(x_2294, x_2295); +x_2297 = lean_array_push(x_2296, x_2295); +x_2298 = lean_array_push(x_2297, x_2269); +x_2299 = lean_array_push(x_2298, x_2271); +x_2300 = lean_array_push(x_2299, x_2292); +x_2301 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2302 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2302, 0, x_2263); +lean_ctor_set(x_2302, 1, x_2301); +lean_ctor_set(x_2302, 2, x_2300); +x_2303 = 1; +x_2304 = lean_box(x_2303); +x_2305 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2305, 0, x_2302); +lean_ctor_set(x_2305, 1, x_2304); +lean_ctor_set(x_2117, 1, x_2305); +if (lean_is_scalar(x_2258)) { + x_2306 = lean_alloc_ctor(0, 2, 0); +} else { + x_2306 = x_2258; +} +lean_ctor_set(x_2306, 0, x_2117); +lean_ctor_set(x_2306, 1, x_2257); +return x_2306; +} +} +else +{ +lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; uint8_t x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; +x_2307 = lean_ctor_get(x_2117, 0); +lean_inc(x_2307); +lean_dec(x_2117); +x_2308 = lean_ctor_get(x_2118, 0); +lean_inc(x_2308); +if (lean_is_exclusive(x_2118)) { + lean_ctor_release(x_2118, 0); + lean_ctor_release(x_2118, 1); + x_2309 = x_2118; +} else { + lean_dec_ref(x_2118); + x_2309 = lean_box(0); +} +x_2310 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2119); +x_2311 = lean_ctor_get(x_2310, 0); +lean_inc(x_2311); +x_2312 = lean_ctor_get(x_2310, 1); +lean_inc(x_2312); +if (lean_is_exclusive(x_2310)) { + lean_ctor_release(x_2310, 0); + lean_ctor_release(x_2310, 1); + x_2313 = x_2310; +} else { + lean_dec_ref(x_2310); + x_2313 = lean_box(0); +} +x_2314 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2311); +x_2315 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2315, 0, x_2311); +lean_ctor_set(x_2315, 1, x_2314); +x_2316 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2317 = lean_array_push(x_2316, x_2110); +x_2318 = lean_box(2); +x_2319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2320 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2320, 0, x_2318); +lean_ctor_set(x_2320, 1, x_2319); +lean_ctor_set(x_2320, 2, x_2317); +x_2321 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2322 = lean_array_push(x_2321, x_2320); +x_2323 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2324 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2324, 0, x_2318); +lean_ctor_set(x_2324, 1, x_2323); +lean_ctor_set(x_2324, 2, x_2322); +x_2325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2311); +x_2326 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2326, 0, x_2311); +lean_ctor_set(x_2326, 1, x_2325); +x_2327 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2311); +x_2328 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2328, 0, x_2311); +lean_ctor_set(x_2328, 1, x_2327); +lean_inc(x_14); +x_2329 = lean_array_push(x_2321, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_2330 = x_14; +} else { + lean_dec_ref(x_14); + x_2330 = lean_box(0); +} +if (lean_is_scalar(x_2330)) { + x_2331 = lean_alloc_ctor(1, 3, 0); +} else { + x_2331 = x_2330; +} +lean_ctor_set(x_2331, 0, x_2318); +lean_ctor_set(x_2331, 1, x_2323); +lean_ctor_set(x_2331, 2, x_2329); +x_2332 = lean_array_push(x_2321, x_2331); +x_2333 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2333, 0, x_2318); +lean_ctor_set(x_2333, 1, x_2323); +lean_ctor_set(x_2333, 2, x_2332); +x_2334 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2335 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2335, 0, x_2311); +lean_ctor_set(x_2335, 1, x_2334); +x_2336 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2337 = lean_array_push(x_2336, x_2328); +x_2338 = lean_array_push(x_2337, x_2333); +x_2339 = lean_array_push(x_2338, x_2335); +x_2340 = lean_array_push(x_2339, x_2308); +x_2341 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2342 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2342, 0, x_2318); +lean_ctor_set(x_2342, 1, x_2341); +lean_ctor_set(x_2342, 2, x_2340); +x_2343 = lean_array_push(x_2321, x_2342); +x_2344 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2344, 0, x_2318); +lean_ctor_set(x_2344, 1, x_2323); +lean_ctor_set(x_2344, 2, x_2343); +x_2345 = lean_array_push(x_2321, x_2344); +x_2346 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2347 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2347, 0, x_2318); +lean_ctor_set(x_2347, 1, x_2346); +lean_ctor_set(x_2347, 2, x_2345); +x_2348 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2349 = lean_array_push(x_2348, x_2315); +x_2350 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2351 = lean_array_push(x_2349, x_2350); +x_2352 = lean_array_push(x_2351, x_2350); +x_2353 = lean_array_push(x_2352, x_2324); +x_2354 = lean_array_push(x_2353, x_2326); +x_2355 = lean_array_push(x_2354, x_2347); +x_2356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2357 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2357, 0, x_2318); +lean_ctor_set(x_2357, 1, x_2356); +lean_ctor_set(x_2357, 2, x_2355); +x_2358 = 1; +x_2359 = lean_box(x_2358); +if (lean_is_scalar(x_2309)) { + x_2360 = lean_alloc_ctor(0, 2, 0); +} else { + x_2360 = x_2309; +} +lean_ctor_set(x_2360, 0, x_2357); +lean_ctor_set(x_2360, 1, x_2359); +x_2361 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2361, 0, x_2307); +lean_ctor_set(x_2361, 1, x_2360); +if (lean_is_scalar(x_2313)) { + x_2362 = lean_alloc_ctor(0, 2, 0); +} else { + x_2362 = x_2313; +} +lean_ctor_set(x_2362, 0, x_2361); +lean_ctor_set(x_2362, 1, x_2312); +return x_2362; +} +} +else +{ +uint8_t x_2363; +lean_dec(x_2110); +lean_dec(x_14); +lean_dec(x_5); +x_2363 = !lean_is_exclusive(x_2116); +if (x_2363 == 0) +{ +return x_2116; +} +else +{ +lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; +x_2364 = lean_ctor_get(x_2116, 0); +x_2365 = lean_ctor_get(x_2116, 1); +lean_inc(x_2365); +lean_inc(x_2364); +lean_dec(x_2116); +x_2366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2366, 0, x_2364); +lean_ctor_set(x_2366, 1, x_2365); +return x_2366; +} +} +} +else +{ +lean_object* x_2367; lean_object* x_2368; size_t x_2369; size_t x_2370; lean_object* x_2371; lean_object* x_2372; +x_2367 = lean_nat_add(x_3, x_1304); +lean_dec(x_3); +x_2368 = lean_array_get_size(x_2106); +x_2369 = lean_usize_of_nat(x_2368); +lean_dec(x_2368); +x_2370 = 0; +x_2371 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(x_14, x_2369, x_2370, x_2106); +x_2372 = l_Array_append___rarg(x_4, x_2371); +x_3 = x_2367; +x_4 = x_2372; +x_6 = x_2108; +goto _start; +} +} +} +} +} +else +{ +lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; +lean_dec(x_1305); +lean_inc(x_5); +lean_inc(x_14); +x_2403 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_2404 = lean_ctor_get(x_2403, 0); +lean_inc(x_2404); +x_2405 = lean_ctor_get(x_2403, 1); +lean_inc(x_2405); +lean_dec(x_2403); +x_2406 = lean_nat_add(x_3, x_1304); +lean_dec(x_3); +lean_inc(x_14); +x_2407 = l_Lean_mkHole(x_14); +lean_inc(x_2404); +x_2408 = l_Lean_Elab_Term_mkExplicitBinder(x_2404, x_2407); +x_2409 = lean_array_push(x_4, x_2408); +lean_inc(x_5); +x_2410 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2406, x_2409, x_5, x_2405); +if (lean_obj_tag(x_2410) == 0) +{ +lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; uint8_t x_2414; +x_2411 = lean_ctor_get(x_2410, 0); +lean_inc(x_2411); +x_2412 = lean_ctor_get(x_2411, 1); +lean_inc(x_2412); +x_2413 = lean_ctor_get(x_2410, 1); +lean_inc(x_2413); +lean_dec(x_2410); +x_2414 = !lean_is_exclusive(x_2411); +if (x_2414 == 0) +{ +lean_object* x_2415; uint8_t x_2416; +x_2415 = lean_ctor_get(x_2411, 1); +lean_dec(x_2415); +x_2416 = !lean_is_exclusive(x_2412); +if (x_2416 == 0) +{ +lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; uint8_t x_2420; +x_2417 = lean_ctor_get(x_2412, 0); +x_2418 = lean_ctor_get(x_2412, 1); +lean_dec(x_2418); +x_2419 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2413); +x_2420 = !lean_is_exclusive(x_2419); +if (x_2420 == 0) +{ +lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; uint8_t x_2438; +x_2421 = lean_ctor_get(x_2419, 0); +x_2422 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2421); +x_2423 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2423, 0, x_2421); +lean_ctor_set(x_2423, 1, x_2422); +x_2424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2425 = lean_array_push(x_2424, x_2404); +x_2426 = lean_box(2); +x_2427 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2428 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2428, 0, x_2426); +lean_ctor_set(x_2428, 1, x_2427); +lean_ctor_set(x_2428, 2, x_2425); +x_2429 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2430 = lean_array_push(x_2429, x_2428); +x_2431 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2432 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2432, 0, x_2426); +lean_ctor_set(x_2432, 1, x_2431); +lean_ctor_set(x_2432, 2, x_2430); +x_2433 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2421); +x_2434 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2434, 0, x_2421); +lean_ctor_set(x_2434, 1, x_2433); +x_2435 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2421); +x_2436 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2436, 0, x_2421); lean_ctor_set(x_2436, 1, x_2435); -lean_ctor_set(x_2436, 2, x_2434); -x_2437 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2438 = lean_array_push(x_2437, x_2373); -x_2439 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2440 = lean_array_push(x_2438, x_2439); -x_2441 = lean_array_push(x_2440, x_2439); -x_2442 = lean_array_push(x_2441, x_2382); -x_2443 = lean_array_push(x_2442, x_2384); -x_2444 = lean_array_push(x_2443, x_2436); -x_2445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2446 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2446, 0, x_2376); -lean_ctor_set(x_2446, 1, x_2445); -lean_ctor_set(x_2446, 2, x_2444); -x_2447 = 1; -x_2448 = lean_box(x_2447); -lean_ctor_set(x_2362, 1, x_2448); -lean_ctor_set(x_2362, 0, x_2446); -lean_ctor_set(x_2369, 0, x_2361); -return x_2369; -} -} -else +lean_inc(x_14); +x_2437 = lean_array_push(x_2429, x_14); +x_2438 = !lean_is_exclusive(x_14); +if (x_2438 == 0) { -lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; uint8_t x_2495; lean_object* x_2496; lean_object* x_2497; -x_2449 = lean_ctor_get(x_2369, 0); -x_2450 = lean_ctor_get(x_2369, 1); -lean_inc(x_2450); -lean_inc(x_2449); -lean_dec(x_2369); -x_2451 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2449); -x_2452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2452, 0, x_2449); +lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; uint8_t x_2468; lean_object* x_2469; +x_2439 = lean_ctor_get(x_14, 2); +lean_dec(x_2439); +x_2440 = lean_ctor_get(x_14, 1); +lean_dec(x_2440); +x_2441 = lean_ctor_get(x_14, 0); +lean_dec(x_2441); +lean_ctor_set(x_14, 2, x_2437); +lean_ctor_set(x_14, 1, x_2431); +lean_ctor_set(x_14, 0, x_2426); +x_2442 = lean_array_push(x_2429, x_14); +x_2443 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2443, 0, x_2426); +lean_ctor_set(x_2443, 1, x_2431); +lean_ctor_set(x_2443, 2, x_2442); +x_2444 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2445 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2445, 0, x_2421); +lean_ctor_set(x_2445, 1, x_2444); +x_2446 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2447 = lean_array_push(x_2446, x_2436); +x_2448 = lean_array_push(x_2447, x_2443); +x_2449 = lean_array_push(x_2448, x_2445); +x_2450 = lean_array_push(x_2449, x_2417); +x_2451 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2452 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2452, 0, x_2426); lean_ctor_set(x_2452, 1, x_2451); -x_2453 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2454 = lean_array_push(x_2453, x_2353); -x_2455 = lean_box(2); -x_2456 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_ctor_set(x_2452, 2, x_2450); +x_2453 = lean_array_push(x_2429, x_2452); +x_2454 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2454, 0, x_2426); +lean_ctor_set(x_2454, 1, x_2431); +lean_ctor_set(x_2454, 2, x_2453); +x_2455 = lean_array_push(x_2429, x_2454); +x_2456 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2457 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2457, 0, x_2455); +lean_ctor_set(x_2457, 0, x_2426); lean_ctor_set(x_2457, 1, x_2456); -lean_ctor_set(x_2457, 2, x_2454); -x_2458 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2459 = lean_array_push(x_2458, x_2457); -x_2460 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2461 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2461, 0, x_2455); -lean_ctor_set(x_2461, 1, x_2460); -lean_ctor_set(x_2461, 2, x_2459); -x_2462 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2449); -x_2463 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2463, 0, x_2449); -lean_ctor_set(x_2463, 1, x_2462); -x_2464 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2449); -x_2465 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2465, 0, x_2449); -lean_ctor_set(x_2465, 1, x_2464); -lean_inc(x_14); -x_2466 = lean_array_push(x_2458, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_2467 = x_14; -} else { - lean_dec_ref(x_14); - x_2467 = lean_box(0); +lean_ctor_set(x_2457, 2, x_2455); +x_2458 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2459 = lean_array_push(x_2458, x_2423); +x_2460 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2461 = lean_array_push(x_2459, x_2460); +x_2462 = lean_array_push(x_2461, x_2460); +x_2463 = lean_array_push(x_2462, x_2432); +x_2464 = lean_array_push(x_2463, x_2434); +x_2465 = lean_array_push(x_2464, x_2457); +x_2466 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2467 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2467, 0, x_2426); +lean_ctor_set(x_2467, 1, x_2466); +lean_ctor_set(x_2467, 2, x_2465); +x_2468 = 1; +x_2469 = lean_box(x_2468); +lean_ctor_set(x_2412, 1, x_2469); +lean_ctor_set(x_2412, 0, x_2467); +lean_ctor_set(x_2419, 0, x_2411); +return x_2419; } -if (lean_is_scalar(x_2467)) { - x_2468 = lean_alloc_ctor(1, 3, 0); -} else { - x_2468 = x_2467; -} -lean_ctor_set(x_2468, 0, x_2455); -lean_ctor_set(x_2468, 1, x_2460); -lean_ctor_set(x_2468, 2, x_2466); -x_2469 = lean_array_push(x_2458, x_2468); +else +{ +lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; uint8_t x_2497; lean_object* x_2498; +lean_dec(x_14); x_2470 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2470, 0, x_2455); -lean_ctor_set(x_2470, 1, x_2460); -lean_ctor_set(x_2470, 2, x_2469); -x_2471 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2472 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2472, 0, x_2449); -lean_ctor_set(x_2472, 1, x_2471); -x_2473 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2474 = lean_array_push(x_2473, x_2465); -x_2475 = lean_array_push(x_2474, x_2470); -x_2476 = lean_array_push(x_2475, x_2472); -x_2477 = lean_array_push(x_2476, x_2367); -x_2478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2479 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2479, 0, x_2455); -lean_ctor_set(x_2479, 1, x_2478); -lean_ctor_set(x_2479, 2, x_2477); -x_2480 = lean_array_push(x_2458, x_2479); +lean_ctor_set(x_2470, 0, x_2426); +lean_ctor_set(x_2470, 1, x_2431); +lean_ctor_set(x_2470, 2, x_2437); +x_2471 = lean_array_push(x_2429, x_2470); +x_2472 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2472, 0, x_2426); +lean_ctor_set(x_2472, 1, x_2431); +lean_ctor_set(x_2472, 2, x_2471); +x_2473 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2474 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2474, 0, x_2421); +lean_ctor_set(x_2474, 1, x_2473); +x_2475 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2476 = lean_array_push(x_2475, x_2436); +x_2477 = lean_array_push(x_2476, x_2472); +x_2478 = lean_array_push(x_2477, x_2474); +x_2479 = lean_array_push(x_2478, x_2417); +x_2480 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2481 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2481, 0, x_2455); -lean_ctor_set(x_2481, 1, x_2460); -lean_ctor_set(x_2481, 2, x_2480); -x_2482 = lean_array_push(x_2458, x_2481); -x_2483 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2484 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2484, 0, x_2455); -lean_ctor_set(x_2484, 1, x_2483); -lean_ctor_set(x_2484, 2, x_2482); -x_2485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2486 = lean_array_push(x_2485, x_2452); -x_2487 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2488 = lean_array_push(x_2486, x_2487); -x_2489 = lean_array_push(x_2488, x_2487); -x_2490 = lean_array_push(x_2489, x_2461); -x_2491 = lean_array_push(x_2490, x_2463); -x_2492 = lean_array_push(x_2491, x_2484); -x_2493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2494 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2494, 0, x_2455); -lean_ctor_set(x_2494, 1, x_2493); -lean_ctor_set(x_2494, 2, x_2492); -x_2495 = 1; -x_2496 = lean_box(x_2495); -lean_ctor_set(x_2362, 1, x_2496); -lean_ctor_set(x_2362, 0, x_2494); -x_2497 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2497, 0, x_2361); -lean_ctor_set(x_2497, 1, x_2450); -return x_2497; +lean_ctor_set(x_2481, 0, x_2426); +lean_ctor_set(x_2481, 1, x_2480); +lean_ctor_set(x_2481, 2, x_2479); +x_2482 = lean_array_push(x_2429, x_2481); +x_2483 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2483, 0, x_2426); +lean_ctor_set(x_2483, 1, x_2431); +lean_ctor_set(x_2483, 2, x_2482); +x_2484 = lean_array_push(x_2429, x_2483); +x_2485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2486 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2486, 0, x_2426); +lean_ctor_set(x_2486, 1, x_2485); +lean_ctor_set(x_2486, 2, x_2484); +x_2487 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2488 = lean_array_push(x_2487, x_2423); +x_2489 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2490 = lean_array_push(x_2488, x_2489); +x_2491 = lean_array_push(x_2490, x_2489); +x_2492 = lean_array_push(x_2491, x_2432); +x_2493 = lean_array_push(x_2492, x_2434); +x_2494 = lean_array_push(x_2493, x_2486); +x_2495 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2496 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2496, 0, x_2426); +lean_ctor_set(x_2496, 1, x_2495); +lean_ctor_set(x_2496, 2, x_2494); +x_2497 = 1; +x_2498 = lean_box(x_2497); +lean_ctor_set(x_2412, 1, x_2498); +lean_ctor_set(x_2412, 0, x_2496); +lean_ctor_set(x_2419, 0, x_2411); +return x_2419; } } else { -lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; uint8_t x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; -x_2498 = lean_ctor_get(x_2362, 0); -lean_inc(x_2498); -lean_dec(x_2362); -x_2499 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2363); -x_2500 = lean_ctor_get(x_2499, 0); +lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; uint8_t x_2545; lean_object* x_2546; lean_object* x_2547; +x_2499 = lean_ctor_get(x_2419, 0); +x_2500 = lean_ctor_get(x_2419, 1); lean_inc(x_2500); -x_2501 = lean_ctor_get(x_2499, 1); -lean_inc(x_2501); -if (lean_is_exclusive(x_2499)) { - lean_ctor_release(x_2499, 0); - lean_ctor_release(x_2499, 1); - x_2502 = x_2499; -} else { - lean_dec_ref(x_2499); - x_2502 = lean_box(0); -} -x_2503 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2500); -x_2504 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2504, 0, x_2500); -lean_ctor_set(x_2504, 1, x_2503); -x_2505 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2506 = lean_array_push(x_2505, x_2353); -x_2507 = lean_box(2); -x_2508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2509 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2509, 0, x_2507); -lean_ctor_set(x_2509, 1, x_2508); -lean_ctor_set(x_2509, 2, x_2506); -x_2510 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2511 = lean_array_push(x_2510, x_2509); -x_2512 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2513 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2513, 0, x_2507); +lean_inc(x_2499); +lean_dec(x_2419); +x_2501 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2499); +x_2502 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2502, 0, x_2499); +lean_ctor_set(x_2502, 1, x_2501); +x_2503 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2504 = lean_array_push(x_2503, x_2404); +x_2505 = lean_box(2); +x_2506 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2507 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2507, 0, x_2505); +lean_ctor_set(x_2507, 1, x_2506); +lean_ctor_set(x_2507, 2, x_2504); +x_2508 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2509 = lean_array_push(x_2508, x_2507); +x_2510 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2511 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2511, 0, x_2505); +lean_ctor_set(x_2511, 1, x_2510); +lean_ctor_set(x_2511, 2, x_2509); +x_2512 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2499); +x_2513 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2513, 0, x_2499); lean_ctor_set(x_2513, 1, x_2512); -lean_ctor_set(x_2513, 2, x_2511); -x_2514 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2500); +x_2514 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2499); x_2515 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2515, 0, x_2500); +lean_ctor_set(x_2515, 0, x_2499); lean_ctor_set(x_2515, 1, x_2514); -x_2516 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2500); -x_2517 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2517, 0, x_2500); -lean_ctor_set(x_2517, 1, x_2516); lean_inc(x_14); -x_2518 = lean_array_push(x_2510, x_14); +x_2516 = lean_array_push(x_2508, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_2519 = x_14; + x_2517 = x_14; } else { lean_dec_ref(x_14); - x_2519 = lean_box(0); + x_2517 = lean_box(0); } -if (lean_is_scalar(x_2519)) { - x_2520 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_2517)) { + x_2518 = lean_alloc_ctor(1, 3, 0); } else { - x_2520 = x_2519; + x_2518 = x_2517; } -lean_ctor_set(x_2520, 0, x_2507); -lean_ctor_set(x_2520, 1, x_2512); -lean_ctor_set(x_2520, 2, x_2518); -x_2521 = lean_array_push(x_2510, x_2520); -x_2522 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2522, 0, x_2507); -lean_ctor_set(x_2522, 1, x_2512); -lean_ctor_set(x_2522, 2, x_2521); -x_2523 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2524, 0, x_2500); -lean_ctor_set(x_2524, 1, x_2523); -x_2525 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2526 = lean_array_push(x_2525, x_2517); -x_2527 = lean_array_push(x_2526, x_2522); -x_2528 = lean_array_push(x_2527, x_2524); -x_2529 = lean_array_push(x_2528, x_2498); -x_2530 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_ctor_set(x_2518, 0, x_2505); +lean_ctor_set(x_2518, 1, x_2510); +lean_ctor_set(x_2518, 2, x_2516); +x_2519 = lean_array_push(x_2508, x_2518); +x_2520 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2520, 0, x_2505); +lean_ctor_set(x_2520, 1, x_2510); +lean_ctor_set(x_2520, 2, x_2519); +x_2521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2522 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2522, 0, x_2499); +lean_ctor_set(x_2522, 1, x_2521); +x_2523 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2524 = lean_array_push(x_2523, x_2515); +x_2525 = lean_array_push(x_2524, x_2520); +x_2526 = lean_array_push(x_2525, x_2522); +x_2527 = lean_array_push(x_2526, x_2417); +x_2528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2529 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2529, 0, x_2505); +lean_ctor_set(x_2529, 1, x_2528); +lean_ctor_set(x_2529, 2, x_2527); +x_2530 = lean_array_push(x_2508, x_2529); x_2531 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2531, 0, x_2507); -lean_ctor_set(x_2531, 1, x_2530); -lean_ctor_set(x_2531, 2, x_2529); -x_2532 = lean_array_push(x_2510, x_2531); -x_2533 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2533, 0, x_2507); -lean_ctor_set(x_2533, 1, x_2512); -lean_ctor_set(x_2533, 2, x_2532); -x_2534 = lean_array_push(x_2510, x_2533); -x_2535 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2536 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2536, 0, x_2507); -lean_ctor_set(x_2536, 1, x_2535); -lean_ctor_set(x_2536, 2, x_2534); -x_2537 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2538 = lean_array_push(x_2537, x_2504); -x_2539 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2540 = lean_array_push(x_2538, x_2539); -x_2541 = lean_array_push(x_2540, x_2539); -x_2542 = lean_array_push(x_2541, x_2513); -x_2543 = lean_array_push(x_2542, x_2515); -x_2544 = lean_array_push(x_2543, x_2536); -x_2545 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2546 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2546, 0, x_2507); -lean_ctor_set(x_2546, 1, x_2545); -lean_ctor_set(x_2546, 2, x_2544); -x_2547 = 1; -x_2548 = lean_box(x_2547); -x_2549 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2549, 0, x_2546); -lean_ctor_set(x_2549, 1, x_2548); -lean_ctor_set(x_2361, 1, x_2549); -if (lean_is_scalar(x_2502)) { - x_2550 = lean_alloc_ctor(0, 2, 0); -} else { - x_2550 = x_2502; -} -lean_ctor_set(x_2550, 0, x_2361); -lean_ctor_set(x_2550, 1, x_2501); -return x_2550; +lean_ctor_set(x_2531, 0, x_2505); +lean_ctor_set(x_2531, 1, x_2510); +lean_ctor_set(x_2531, 2, x_2530); +x_2532 = lean_array_push(x_2508, x_2531); +x_2533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2534 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2534, 0, x_2505); +lean_ctor_set(x_2534, 1, x_2533); +lean_ctor_set(x_2534, 2, x_2532); +x_2535 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2536 = lean_array_push(x_2535, x_2502); +x_2537 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2538 = lean_array_push(x_2536, x_2537); +x_2539 = lean_array_push(x_2538, x_2537); +x_2540 = lean_array_push(x_2539, x_2511); +x_2541 = lean_array_push(x_2540, x_2513); +x_2542 = lean_array_push(x_2541, x_2534); +x_2543 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2544 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2544, 0, x_2505); +lean_ctor_set(x_2544, 1, x_2543); +lean_ctor_set(x_2544, 2, x_2542); +x_2545 = 1; +x_2546 = lean_box(x_2545); +lean_ctor_set(x_2412, 1, x_2546); +lean_ctor_set(x_2412, 0, x_2544); +x_2547 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2547, 0, x_2411); +lean_ctor_set(x_2547, 1, x_2500); +return x_2547; } } else { -lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; uint8_t x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; -x_2551 = lean_ctor_get(x_2361, 0); +lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; uint8_t x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; +x_2548 = lean_ctor_get(x_2412, 0); +lean_inc(x_2548); +lean_dec(x_2412); +x_2549 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2413); +x_2550 = lean_ctor_get(x_2549, 0); +lean_inc(x_2550); +x_2551 = lean_ctor_get(x_2549, 1); lean_inc(x_2551); -lean_dec(x_2361); -x_2552 = lean_ctor_get(x_2362, 0); -lean_inc(x_2552); -if (lean_is_exclusive(x_2362)) { - lean_ctor_release(x_2362, 0); - lean_ctor_release(x_2362, 1); - x_2553 = x_2362; +if (lean_is_exclusive(x_2549)) { + lean_ctor_release(x_2549, 0); + lean_ctor_release(x_2549, 1); + x_2552 = x_2549; } else { - lean_dec_ref(x_2362); - x_2553 = lean_box(0); + lean_dec_ref(x_2549); + x_2552 = lean_box(0); } -x_2554 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2363); -x_2555 = lean_ctor_get(x_2554, 0); -lean_inc(x_2555); -x_2556 = lean_ctor_get(x_2554, 1); -lean_inc(x_2556); -if (lean_is_exclusive(x_2554)) { - lean_ctor_release(x_2554, 0); - lean_ctor_release(x_2554, 1); - x_2557 = x_2554; -} else { - lean_dec_ref(x_2554); - x_2557 = lean_box(0); -} -x_2558 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2555); -x_2559 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2559, 0, x_2555); +x_2553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2550); +x_2554 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2554, 0, x_2550); +lean_ctor_set(x_2554, 1, x_2553); +x_2555 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2556 = lean_array_push(x_2555, x_2404); +x_2557 = lean_box(2); +x_2558 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2559 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2559, 0, x_2557); lean_ctor_set(x_2559, 1, x_2558); -x_2560 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2561 = lean_array_push(x_2560, x_2353); -x_2562 = lean_box(2); -x_2563 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2564 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2564, 0, x_2562); -lean_ctor_set(x_2564, 1, x_2563); -lean_ctor_set(x_2564, 2, x_2561); -x_2565 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2566 = lean_array_push(x_2565, x_2564); -x_2567 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2568 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2568, 0, x_2562); -lean_ctor_set(x_2568, 1, x_2567); -lean_ctor_set(x_2568, 2, x_2566); -x_2569 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2555); -x_2570 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2570, 0, x_2555); -lean_ctor_set(x_2570, 1, x_2569); -x_2571 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2555); -x_2572 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2572, 0, x_2555); -lean_ctor_set(x_2572, 1, x_2571); +lean_ctor_set(x_2559, 2, x_2556); +x_2560 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2561 = lean_array_push(x_2560, x_2559); +x_2562 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2563 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2563, 0, x_2557); +lean_ctor_set(x_2563, 1, x_2562); +lean_ctor_set(x_2563, 2, x_2561); +x_2564 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2550); +x_2565 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2565, 0, x_2550); +lean_ctor_set(x_2565, 1, x_2564); +x_2566 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2550); +x_2567 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2567, 0, x_2550); +lean_ctor_set(x_2567, 1, x_2566); lean_inc(x_14); -x_2573 = lean_array_push(x_2565, x_14); +x_2568 = lean_array_push(x_2560, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_2574 = x_14; + x_2569 = x_14; } else { lean_dec_ref(x_14); - x_2574 = lean_box(0); + x_2569 = lean_box(0); } -if (lean_is_scalar(x_2574)) { - x_2575 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_2569)) { + x_2570 = lean_alloc_ctor(1, 3, 0); } else { - x_2575 = x_2574; + x_2570 = x_2569; } -lean_ctor_set(x_2575, 0, x_2562); -lean_ctor_set(x_2575, 1, x_2567); -lean_ctor_set(x_2575, 2, x_2573); -x_2576 = lean_array_push(x_2565, x_2575); -x_2577 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2577, 0, x_2562); -lean_ctor_set(x_2577, 1, x_2567); -lean_ctor_set(x_2577, 2, x_2576); -x_2578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2579 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2579, 0, x_2555); -lean_ctor_set(x_2579, 1, x_2578); -x_2580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2581 = lean_array_push(x_2580, x_2572); -x_2582 = lean_array_push(x_2581, x_2577); -x_2583 = lean_array_push(x_2582, x_2579); -x_2584 = lean_array_push(x_2583, x_2552); -x_2585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_ctor_set(x_2570, 0, x_2557); +lean_ctor_set(x_2570, 1, x_2562); +lean_ctor_set(x_2570, 2, x_2568); +x_2571 = lean_array_push(x_2560, x_2570); +x_2572 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2572, 0, x_2557); +lean_ctor_set(x_2572, 1, x_2562); +lean_ctor_set(x_2572, 2, x_2571); +x_2573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2574 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2574, 0, x_2550); +lean_ctor_set(x_2574, 1, x_2573); +x_2575 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2576 = lean_array_push(x_2575, x_2567); +x_2577 = lean_array_push(x_2576, x_2572); +x_2578 = lean_array_push(x_2577, x_2574); +x_2579 = lean_array_push(x_2578, x_2548); +x_2580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2581 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2581, 0, x_2557); +lean_ctor_set(x_2581, 1, x_2580); +lean_ctor_set(x_2581, 2, x_2579); +x_2582 = lean_array_push(x_2560, x_2581); +x_2583 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2583, 0, x_2557); +lean_ctor_set(x_2583, 1, x_2562); +lean_ctor_set(x_2583, 2, x_2582); +x_2584 = lean_array_push(x_2560, x_2583); +x_2585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_2586 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2586, 0, x_2562); +lean_ctor_set(x_2586, 0, x_2557); lean_ctor_set(x_2586, 1, x_2585); lean_ctor_set(x_2586, 2, x_2584); -x_2587 = lean_array_push(x_2565, x_2586); -x_2588 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2588, 0, x_2562); -lean_ctor_set(x_2588, 1, x_2567); -lean_ctor_set(x_2588, 2, x_2587); -x_2589 = lean_array_push(x_2565, x_2588); -x_2590 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2591 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2591, 0, x_2562); -lean_ctor_set(x_2591, 1, x_2590); -lean_ctor_set(x_2591, 2, x_2589); -x_2592 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2593 = lean_array_push(x_2592, x_2559); -x_2594 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2595 = lean_array_push(x_2593, x_2594); -x_2596 = lean_array_push(x_2595, x_2594); -x_2597 = lean_array_push(x_2596, x_2568); -x_2598 = lean_array_push(x_2597, x_2570); -x_2599 = lean_array_push(x_2598, x_2591); -x_2600 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2601 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2601, 0, x_2562); -lean_ctor_set(x_2601, 1, x_2600); -lean_ctor_set(x_2601, 2, x_2599); -x_2602 = 1; -x_2603 = lean_box(x_2602); -if (lean_is_scalar(x_2553)) { - x_2604 = lean_alloc_ctor(0, 2, 0); +x_2587 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2588 = lean_array_push(x_2587, x_2554); +x_2589 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2590 = lean_array_push(x_2588, x_2589); +x_2591 = lean_array_push(x_2590, x_2589); +x_2592 = lean_array_push(x_2591, x_2563); +x_2593 = lean_array_push(x_2592, x_2565); +x_2594 = lean_array_push(x_2593, x_2586); +x_2595 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2596 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2596, 0, x_2557); +lean_ctor_set(x_2596, 1, x_2595); +lean_ctor_set(x_2596, 2, x_2594); +x_2597 = 1; +x_2598 = lean_box(x_2597); +x_2599 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2599, 0, x_2596); +lean_ctor_set(x_2599, 1, x_2598); +lean_ctor_set(x_2411, 1, x_2599); +if (lean_is_scalar(x_2552)) { + x_2600 = lean_alloc_ctor(0, 2, 0); } else { - x_2604 = x_2553; + x_2600 = x_2552; } -lean_ctor_set(x_2604, 0, x_2601); -lean_ctor_set(x_2604, 1, x_2603); -x_2605 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2605, 0, x_2551); -lean_ctor_set(x_2605, 1, x_2604); -if (lean_is_scalar(x_2557)) { - x_2606 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2600, 0, x_2411); +lean_ctor_set(x_2600, 1, x_2551); +return x_2600; +} +} +else +{ +lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; lean_object* x_2651; uint8_t x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; +x_2601 = lean_ctor_get(x_2411, 0); +lean_inc(x_2601); +lean_dec(x_2411); +x_2602 = lean_ctor_get(x_2412, 0); +lean_inc(x_2602); +if (lean_is_exclusive(x_2412)) { + lean_ctor_release(x_2412, 0); + lean_ctor_release(x_2412, 1); + x_2603 = x_2412; } else { - x_2606 = x_2557; + lean_dec_ref(x_2412); + x_2603 = lean_box(0); } -lean_ctor_set(x_2606, 0, x_2605); -lean_ctor_set(x_2606, 1, x_2556); -return x_2606; +x_2604 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2413); +x_2605 = lean_ctor_get(x_2604, 0); +lean_inc(x_2605); +x_2606 = lean_ctor_get(x_2604, 1); +lean_inc(x_2606); +if (lean_is_exclusive(x_2604)) { + lean_ctor_release(x_2604, 0); + lean_ctor_release(x_2604, 1); + x_2607 = x_2604; +} else { + lean_dec_ref(x_2604); + x_2607 = lean_box(0); } -} -} -else -{ -lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; uint8_t x_2619; -lean_dec(x_238); -lean_dec(x_237); -lean_dec(x_236); -lean_dec(x_235); -lean_inc(x_5); +x_2608 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2605); +x_2609 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2609, 0, x_2605); +lean_ctor_set(x_2609, 1, x_2608); +x_2610 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2611 = lean_array_push(x_2610, x_2404); +x_2612 = lean_box(2); +x_2613 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2614 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2614, 0, x_2612); +lean_ctor_set(x_2614, 1, x_2613); +lean_ctor_set(x_2614, 2, x_2611); +x_2615 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2616 = lean_array_push(x_2615, x_2614); +x_2617 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2618 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2618, 0, x_2612); +lean_ctor_set(x_2618, 1, x_2617); +lean_ctor_set(x_2618, 2, x_2616); +x_2619 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2605); +x_2620 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2620, 0, x_2605); +lean_ctor_set(x_2620, 1, x_2619); +x_2621 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2605); +x_2622 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2622, 0, x_2605); +lean_ctor_set(x_2622, 1, x_2621); lean_inc(x_14); -x_2607 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2608 = lean_ctor_get(x_2607, 0); -lean_inc(x_2608); -x_2609 = lean_ctor_get(x_2607, 1); -lean_inc(x_2609); -lean_dec(x_2607); -x_2610 = lean_unsigned_to_nat(1u); -x_2611 = lean_nat_add(x_3, x_2610); -lean_dec(x_3); -lean_inc(x_14); -x_2612 = l_Lean_mkHole(x_14); -lean_inc(x_2608); -x_2613 = l_Lean_Elab_Term_mkExplicitBinder(x_2608, x_2612); -x_2614 = lean_array_push(x_4, x_2613); -lean_inc(x_5); -x_2615 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2611, x_2614, x_5, x_2609); -x_2616 = lean_ctor_get(x_2615, 0); -lean_inc(x_2616); -x_2617 = lean_ctor_get(x_2616, 1); -lean_inc(x_2617); -x_2618 = lean_ctor_get(x_2615, 1); -lean_inc(x_2618); -lean_dec(x_2615); -x_2619 = !lean_is_exclusive(x_2616); -if (x_2619 == 0) -{ -lean_object* x_2620; uint8_t x_2621; -x_2620 = lean_ctor_get(x_2616, 1); -lean_dec(x_2620); -x_2621 = !lean_is_exclusive(x_2617); -if (x_2621 == 0) -{ -lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; uint8_t x_2625; -x_2622 = lean_ctor_get(x_2617, 0); -x_2623 = lean_ctor_get(x_2617, 1); -lean_dec(x_2623); -x_2624 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2618); -x_2625 = !lean_is_exclusive(x_2624); -if (x_2625 == 0) -{ -lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; uint8_t x_2643; -x_2626 = lean_ctor_get(x_2624, 0); -x_2627 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2626); -x_2628 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2628, 0, x_2626); -lean_ctor_set(x_2628, 1, x_2627); -x_2629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2630 = lean_array_push(x_2629, x_2608); -x_2631 = lean_box(2); -x_2632 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2633 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2633, 0, x_2631); -lean_ctor_set(x_2633, 1, x_2632); -lean_ctor_set(x_2633, 2, x_2630); -x_2634 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2635 = lean_array_push(x_2634, x_2633); -x_2636 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2637 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2637, 0, x_2631); -lean_ctor_set(x_2637, 1, x_2636); -lean_ctor_set(x_2637, 2, x_2635); -x_2638 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2626); -x_2639 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2639, 0, x_2626); -lean_ctor_set(x_2639, 1, x_2638); -x_2640 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2626); -x_2641 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2641, 0, x_2626); -lean_ctor_set(x_2641, 1, x_2640); -lean_inc(x_14); -x_2642 = lean_array_push(x_2634, x_14); -x_2643 = !lean_is_exclusive(x_14); -if (x_2643 == 0) -{ -lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; uint8_t x_2673; lean_object* x_2674; -x_2644 = lean_ctor_get(x_14, 2); -lean_dec(x_2644); -x_2645 = lean_ctor_get(x_14, 1); -lean_dec(x_2645); -x_2646 = lean_ctor_get(x_14, 0); -lean_dec(x_2646); -lean_ctor_set(x_14, 2, x_2642); -lean_ctor_set(x_14, 1, x_2636); -lean_ctor_set(x_14, 0, x_2631); -x_2647 = lean_array_push(x_2634, x_14); -x_2648 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2648, 0, x_2631); -lean_ctor_set(x_2648, 1, x_2636); -lean_ctor_set(x_2648, 2, x_2647); -x_2649 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2650 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2650, 0, x_2626); -lean_ctor_set(x_2650, 1, x_2649); -x_2651 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2652 = lean_array_push(x_2651, x_2641); -x_2653 = lean_array_push(x_2652, x_2648); -x_2654 = lean_array_push(x_2653, x_2650); -x_2655 = lean_array_push(x_2654, x_2622); -x_2656 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2657 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2657, 0, x_2631); -lean_ctor_set(x_2657, 1, x_2656); -lean_ctor_set(x_2657, 2, x_2655); -x_2658 = lean_array_push(x_2634, x_2657); -x_2659 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2659, 0, x_2631); -lean_ctor_set(x_2659, 1, x_2636); -lean_ctor_set(x_2659, 2, x_2658); -x_2660 = lean_array_push(x_2634, x_2659); -x_2661 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2662 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2662, 0, x_2631); -lean_ctor_set(x_2662, 1, x_2661); -lean_ctor_set(x_2662, 2, x_2660); -x_2663 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2664 = lean_array_push(x_2663, x_2628); -x_2665 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2666 = lean_array_push(x_2664, x_2665); -x_2667 = lean_array_push(x_2666, x_2665); -x_2668 = lean_array_push(x_2667, x_2637); -x_2669 = lean_array_push(x_2668, x_2639); -x_2670 = lean_array_push(x_2669, x_2662); -x_2671 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2672 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2672, 0, x_2631); -lean_ctor_set(x_2672, 1, x_2671); -lean_ctor_set(x_2672, 2, x_2670); -x_2673 = 1; -x_2674 = lean_box(x_2673); -lean_ctor_set(x_2617, 1, x_2674); -lean_ctor_set(x_2617, 0, x_2672); -lean_ctor_set(x_2624, 0, x_2616); -return x_2624; -} -else -{ -lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; lean_object* x_2684; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; uint8_t x_2702; lean_object* x_2703; -lean_dec(x_14); -x_2675 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2675, 0, x_2631); -lean_ctor_set(x_2675, 1, x_2636); -lean_ctor_set(x_2675, 2, x_2642); -x_2676 = lean_array_push(x_2634, x_2675); -x_2677 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2677, 0, x_2631); -lean_ctor_set(x_2677, 1, x_2636); -lean_ctor_set(x_2677, 2, x_2676); -x_2678 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2679 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2679, 0, x_2626); -lean_ctor_set(x_2679, 1, x_2678); -x_2680 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2681 = lean_array_push(x_2680, x_2641); -x_2682 = lean_array_push(x_2681, x_2677); -x_2683 = lean_array_push(x_2682, x_2679); -x_2684 = lean_array_push(x_2683, x_2622); -x_2685 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2686 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2686, 0, x_2631); -lean_ctor_set(x_2686, 1, x_2685); -lean_ctor_set(x_2686, 2, x_2684); -x_2687 = lean_array_push(x_2634, x_2686); -x_2688 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2688, 0, x_2631); -lean_ctor_set(x_2688, 1, x_2636); -lean_ctor_set(x_2688, 2, x_2687); -x_2689 = lean_array_push(x_2634, x_2688); -x_2690 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2691 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2691, 0, x_2631); -lean_ctor_set(x_2691, 1, x_2690); -lean_ctor_set(x_2691, 2, x_2689); -x_2692 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2693 = lean_array_push(x_2692, x_2628); -x_2694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2695 = lean_array_push(x_2693, x_2694); -x_2696 = lean_array_push(x_2695, x_2694); -x_2697 = lean_array_push(x_2696, x_2637); -x_2698 = lean_array_push(x_2697, x_2639); -x_2699 = lean_array_push(x_2698, x_2691); -x_2700 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2701 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2701, 0, x_2631); -lean_ctor_set(x_2701, 1, x_2700); -lean_ctor_set(x_2701, 2, x_2699); -x_2702 = 1; -x_2703 = lean_box(x_2702); -lean_ctor_set(x_2617, 1, x_2703); -lean_ctor_set(x_2617, 0, x_2701); -lean_ctor_set(x_2624, 0, x_2616); -return x_2624; -} -} -else -{ -lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; uint8_t x_2750; lean_object* x_2751; lean_object* x_2752; -x_2704 = lean_ctor_get(x_2624, 0); -x_2705 = lean_ctor_get(x_2624, 1); -lean_inc(x_2705); -lean_inc(x_2704); -lean_dec(x_2624); -x_2706 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2704); -x_2707 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2707, 0, x_2704); -lean_ctor_set(x_2707, 1, x_2706); -x_2708 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2709 = lean_array_push(x_2708, x_2608); -x_2710 = lean_box(2); -x_2711 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2712 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2712, 0, x_2710); -lean_ctor_set(x_2712, 1, x_2711); -lean_ctor_set(x_2712, 2, x_2709); -x_2713 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2714 = lean_array_push(x_2713, x_2712); -x_2715 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2716 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2716, 0, x_2710); -lean_ctor_set(x_2716, 1, x_2715); -lean_ctor_set(x_2716, 2, x_2714); -x_2717 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2704); -x_2718 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2718, 0, x_2704); -lean_ctor_set(x_2718, 1, x_2717); -x_2719 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2704); -x_2720 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2720, 0, x_2704); -lean_ctor_set(x_2720, 1, x_2719); -lean_inc(x_14); -x_2721 = lean_array_push(x_2713, x_14); +x_2623 = lean_array_push(x_2615, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_2722 = x_14; + x_2624 = x_14; } else { lean_dec_ref(x_14); - x_2722 = lean_box(0); + x_2624 = lean_box(0); } -if (lean_is_scalar(x_2722)) { - x_2723 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_2624)) { + x_2625 = lean_alloc_ctor(1, 3, 0); } else { - x_2723 = x_2722; + x_2625 = x_2624; } -lean_ctor_set(x_2723, 0, x_2710); -lean_ctor_set(x_2723, 1, x_2715); -lean_ctor_set(x_2723, 2, x_2721); -x_2724 = lean_array_push(x_2713, x_2723); -x_2725 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2725, 0, x_2710); -lean_ctor_set(x_2725, 1, x_2715); -lean_ctor_set(x_2725, 2, x_2724); -x_2726 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2727 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2727, 0, x_2704); -lean_ctor_set(x_2727, 1, x_2726); -x_2728 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2729 = lean_array_push(x_2728, x_2720); -x_2730 = lean_array_push(x_2729, x_2725); -x_2731 = lean_array_push(x_2730, x_2727); -x_2732 = lean_array_push(x_2731, x_2622); -x_2733 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2734 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2734, 0, x_2710); -lean_ctor_set(x_2734, 1, x_2733); -lean_ctor_set(x_2734, 2, x_2732); -x_2735 = lean_array_push(x_2713, x_2734); -x_2736 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2736, 0, x_2710); -lean_ctor_set(x_2736, 1, x_2715); -lean_ctor_set(x_2736, 2, x_2735); -x_2737 = lean_array_push(x_2713, x_2736); -x_2738 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_ctor_set(x_2625, 0, x_2612); +lean_ctor_set(x_2625, 1, x_2617); +lean_ctor_set(x_2625, 2, x_2623); +x_2626 = lean_array_push(x_2615, x_2625); +x_2627 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2627, 0, x_2612); +lean_ctor_set(x_2627, 1, x_2617); +lean_ctor_set(x_2627, 2, x_2626); +x_2628 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2629 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2629, 0, x_2605); +lean_ctor_set(x_2629, 1, x_2628); +x_2630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2631 = lean_array_push(x_2630, x_2622); +x_2632 = lean_array_push(x_2631, x_2627); +x_2633 = lean_array_push(x_2632, x_2629); +x_2634 = lean_array_push(x_2633, x_2602); +x_2635 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2636 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2636, 0, x_2612); +lean_ctor_set(x_2636, 1, x_2635); +lean_ctor_set(x_2636, 2, x_2634); +x_2637 = lean_array_push(x_2615, x_2636); +x_2638 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2638, 0, x_2612); +lean_ctor_set(x_2638, 1, x_2617); +lean_ctor_set(x_2638, 2, x_2637); +x_2639 = lean_array_push(x_2615, x_2638); +x_2640 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2641 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2641, 0, x_2612); +lean_ctor_set(x_2641, 1, x_2640); +lean_ctor_set(x_2641, 2, x_2639); +x_2642 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2643 = lean_array_push(x_2642, x_2609); +x_2644 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2645 = lean_array_push(x_2643, x_2644); +x_2646 = lean_array_push(x_2645, x_2644); +x_2647 = lean_array_push(x_2646, x_2618); +x_2648 = lean_array_push(x_2647, x_2620); +x_2649 = lean_array_push(x_2648, x_2641); +x_2650 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2651 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2651, 0, x_2612); +lean_ctor_set(x_2651, 1, x_2650); +lean_ctor_set(x_2651, 2, x_2649); +x_2652 = 1; +x_2653 = lean_box(x_2652); +if (lean_is_scalar(x_2603)) { + x_2654 = lean_alloc_ctor(0, 2, 0); +} else { + x_2654 = x_2603; +} +lean_ctor_set(x_2654, 0, x_2651); +lean_ctor_set(x_2654, 1, x_2653); +x_2655 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2655, 0, x_2601); +lean_ctor_set(x_2655, 1, x_2654); +if (lean_is_scalar(x_2607)) { + x_2656 = lean_alloc_ctor(0, 2, 0); +} else { + x_2656 = x_2607; +} +lean_ctor_set(x_2656, 0, x_2655); +lean_ctor_set(x_2656, 1, x_2606); +return x_2656; +} +} +else +{ +uint8_t x_2657; +lean_dec(x_2404); +lean_dec(x_14); +lean_dec(x_5); +x_2657 = !lean_is_exclusive(x_2410); +if (x_2657 == 0) +{ +return x_2410; +} +else +{ +lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; +x_2658 = lean_ctor_get(x_2410, 0); +x_2659 = lean_ctor_get(x_2410, 1); +lean_inc(x_2659); +lean_inc(x_2658); +lean_dec(x_2410); +x_2660 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2660, 0, x_2658); +lean_ctor_set(x_2660, 1, x_2659); +return x_2660; +} +} +} +} +} +else +{ +lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; lean_object* x_2666; lean_object* x_2667; +lean_dec(x_244); +lean_inc(x_5); +lean_inc(x_14); +x_2661 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_2662 = lean_ctor_get(x_2661, 0); +lean_inc(x_2662); +x_2663 = lean_ctor_get(x_2661, 1); +lean_inc(x_2663); +lean_dec(x_2661); +x_2664 = lean_unsigned_to_nat(1u); +x_2665 = lean_nat_add(x_3, x_2664); +lean_dec(x_3); +x_2666 = l_Lean_Elab_Term_mkExplicitBinder(x_2662, x_14); +x_2667 = lean_array_push(x_4, x_2666); +x_3 = x_2665; +x_4 = x_2667; +x_6 = x_2663; +goto _start; +} +} +else +{ +lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; +lean_dec(x_244); +x_2669 = lean_unsigned_to_nat(1u); +x_2670 = lean_nat_add(x_3, x_2669); +lean_dec(x_3); +x_2671 = lean_array_push(x_4, x_14); +x_3 = x_2670; +x_4 = x_2671; +goto _start; +} +} +else +{ +lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; +lean_dec(x_244); +x_2673 = lean_unsigned_to_nat(1u); +x_2674 = lean_nat_add(x_3, x_2673); +lean_dec(x_3); +x_2675 = lean_array_push(x_4, x_14); +x_3 = x_2674; +x_4 = x_2675; +goto _start; +} +} +else +{ +lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; +lean_dec(x_244); +x_2677 = lean_unsigned_to_nat(1u); +x_2678 = lean_nat_add(x_3, x_2677); +lean_dec(x_3); +x_2679 = lean_array_push(x_4, x_14); +x_3 = x_2678; +x_4 = x_2679; +goto _start; +} +} +else +{ +lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; +lean_dec(x_244); +x_2681 = lean_unsigned_to_nat(1u); +x_2682 = lean_nat_add(x_3, x_2681); +lean_dec(x_3); +x_2683 = lean_array_push(x_4, x_14); +x_3 = x_2682; +x_4 = x_2683; +goto _start; +} +} +else +{ +lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; +lean_dec(x_244); +x_2685 = lean_unsigned_to_nat(1u); +x_2686 = lean_nat_add(x_3, x_2685); +lean_dec(x_3); +x_2687 = lean_array_push(x_4, x_14); +x_3 = x_2686; +x_4 = x_2687; +goto _start; +} +} +} +} +} +else +{ +lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; +lean_dec(x_243); +lean_dec(x_242); +lean_dec(x_241); +lean_dec(x_240); +lean_dec(x_239); +lean_inc(x_5); +lean_inc(x_14); +x_2689 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_2690 = lean_ctor_get(x_2689, 0); +lean_inc(x_2690); +x_2691 = lean_ctor_get(x_2689, 1); +lean_inc(x_2691); +lean_dec(x_2689); +x_2692 = lean_unsigned_to_nat(1u); +x_2693 = lean_nat_add(x_3, x_2692); +lean_dec(x_3); +lean_inc(x_14); +x_2694 = l_Lean_mkHole(x_14); +lean_inc(x_2690); +x_2695 = l_Lean_Elab_Term_mkExplicitBinder(x_2690, x_2694); +x_2696 = lean_array_push(x_4, x_2695); +lean_inc(x_5); +x_2697 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2693, x_2696, x_5, x_2691); +if (lean_obj_tag(x_2697) == 0) +{ +lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; uint8_t x_2701; +x_2698 = lean_ctor_get(x_2697, 0); +lean_inc(x_2698); +x_2699 = lean_ctor_get(x_2698, 1); +lean_inc(x_2699); +x_2700 = lean_ctor_get(x_2697, 1); +lean_inc(x_2700); +lean_dec(x_2697); +x_2701 = !lean_is_exclusive(x_2698); +if (x_2701 == 0) +{ +lean_object* x_2702; uint8_t x_2703; +x_2702 = lean_ctor_get(x_2698, 1); +lean_dec(x_2702); +x_2703 = !lean_is_exclusive(x_2699); +if (x_2703 == 0) +{ +lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; uint8_t x_2707; +x_2704 = lean_ctor_get(x_2699, 0); +x_2705 = lean_ctor_get(x_2699, 1); +lean_dec(x_2705); +x_2706 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2700); +x_2707 = !lean_is_exclusive(x_2706); +if (x_2707 == 0) +{ +lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; uint8_t x_2725; +x_2708 = lean_ctor_get(x_2706, 0); +x_2709 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2708); +x_2710 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2710, 0, x_2708); +lean_ctor_set(x_2710, 1, x_2709); +x_2711 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2712 = lean_array_push(x_2711, x_2690); +x_2713 = lean_box(2); +x_2714 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2715 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2715, 0, x_2713); +lean_ctor_set(x_2715, 1, x_2714); +lean_ctor_set(x_2715, 2, x_2712); +x_2716 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2717 = lean_array_push(x_2716, x_2715); +x_2718 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2719 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2719, 0, x_2713); +lean_ctor_set(x_2719, 1, x_2718); +lean_ctor_set(x_2719, 2, x_2717); +x_2720 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2708); +x_2721 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2721, 0, x_2708); +lean_ctor_set(x_2721, 1, x_2720); +x_2722 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2708); +x_2723 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2723, 0, x_2708); +lean_ctor_set(x_2723, 1, x_2722); +lean_inc(x_14); +x_2724 = lean_array_push(x_2716, x_14); +x_2725 = !lean_is_exclusive(x_14); +if (x_2725 == 0) +{ +lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; uint8_t x_2755; lean_object* x_2756; +x_2726 = lean_ctor_get(x_14, 2); +lean_dec(x_2726); +x_2727 = lean_ctor_get(x_14, 1); +lean_dec(x_2727); +x_2728 = lean_ctor_get(x_14, 0); +lean_dec(x_2728); +lean_ctor_set(x_14, 2, x_2724); +lean_ctor_set(x_14, 1, x_2718); +lean_ctor_set(x_14, 0, x_2713); +x_2729 = lean_array_push(x_2716, x_14); +x_2730 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2730, 0, x_2713); +lean_ctor_set(x_2730, 1, x_2718); +lean_ctor_set(x_2730, 2, x_2729); +x_2731 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2732 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2732, 0, x_2708); +lean_ctor_set(x_2732, 1, x_2731); +x_2733 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2734 = lean_array_push(x_2733, x_2723); +x_2735 = lean_array_push(x_2734, x_2730); +x_2736 = lean_array_push(x_2735, x_2732); +x_2737 = lean_array_push(x_2736, x_2704); +x_2738 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2739 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2739, 0, x_2710); +lean_ctor_set(x_2739, 0, x_2713); lean_ctor_set(x_2739, 1, x_2738); lean_ctor_set(x_2739, 2, x_2737); -x_2740 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2741 = lean_array_push(x_2740, x_2707); -x_2742 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2743 = lean_array_push(x_2741, x_2742); -x_2744 = lean_array_push(x_2743, x_2742); -x_2745 = lean_array_push(x_2744, x_2716); -x_2746 = lean_array_push(x_2745, x_2718); -x_2747 = lean_array_push(x_2746, x_2739); -x_2748 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2749 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2749, 0, x_2710); -lean_ctor_set(x_2749, 1, x_2748); -lean_ctor_set(x_2749, 2, x_2747); -x_2750 = 1; -x_2751 = lean_box(x_2750); -lean_ctor_set(x_2617, 1, x_2751); -lean_ctor_set(x_2617, 0, x_2749); -x_2752 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2752, 0, x_2616); -lean_ctor_set(x_2752, 1, x_2705); -return x_2752; -} +x_2740 = lean_array_push(x_2716, x_2739); +x_2741 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2741, 0, x_2713); +lean_ctor_set(x_2741, 1, x_2718); +lean_ctor_set(x_2741, 2, x_2740); +x_2742 = lean_array_push(x_2716, x_2741); +x_2743 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2744 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2744, 0, x_2713); +lean_ctor_set(x_2744, 1, x_2743); +lean_ctor_set(x_2744, 2, x_2742); +x_2745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2746 = lean_array_push(x_2745, x_2710); +x_2747 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2748 = lean_array_push(x_2746, x_2747); +x_2749 = lean_array_push(x_2748, x_2747); +x_2750 = lean_array_push(x_2749, x_2719); +x_2751 = lean_array_push(x_2750, x_2721); +x_2752 = lean_array_push(x_2751, x_2744); +x_2753 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2754 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2754, 0, x_2713); +lean_ctor_set(x_2754, 1, x_2753); +lean_ctor_set(x_2754, 2, x_2752); +x_2755 = 1; +x_2756 = lean_box(x_2755); +lean_ctor_set(x_2699, 1, x_2756); +lean_ctor_set(x_2699, 0, x_2754); +lean_ctor_set(x_2706, 0, x_2698); +return x_2706; } else { -lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; uint8_t x_2802; lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; -x_2753 = lean_ctor_get(x_2617, 0); -lean_inc(x_2753); -lean_dec(x_2617); -x_2754 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2618); -x_2755 = lean_ctor_get(x_2754, 0); -lean_inc(x_2755); -x_2756 = lean_ctor_get(x_2754, 1); -lean_inc(x_2756); -if (lean_is_exclusive(x_2754)) { - lean_ctor_release(x_2754, 0); - lean_ctor_release(x_2754, 1); - x_2757 = x_2754; -} else { - lean_dec_ref(x_2754); - x_2757 = lean_box(0); -} -x_2758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2755); -x_2759 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2759, 0, x_2755); -lean_ctor_set(x_2759, 1, x_2758); -x_2760 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2761 = lean_array_push(x_2760, x_2608); -x_2762 = lean_box(2); -x_2763 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2764 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2764, 0, x_2762); -lean_ctor_set(x_2764, 1, x_2763); -lean_ctor_set(x_2764, 2, x_2761); -x_2765 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2766 = lean_array_push(x_2765, x_2764); -x_2767 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; uint8_t x_2784; lean_object* x_2785; +lean_dec(x_14); +x_2757 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2757, 0, x_2713); +lean_ctor_set(x_2757, 1, x_2718); +lean_ctor_set(x_2757, 2, x_2724); +x_2758 = lean_array_push(x_2716, x_2757); +x_2759 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2759, 0, x_2713); +lean_ctor_set(x_2759, 1, x_2718); +lean_ctor_set(x_2759, 2, x_2758); +x_2760 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2761 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2761, 0, x_2708); +lean_ctor_set(x_2761, 1, x_2760); +x_2762 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2763 = lean_array_push(x_2762, x_2723); +x_2764 = lean_array_push(x_2763, x_2759); +x_2765 = lean_array_push(x_2764, x_2761); +x_2766 = lean_array_push(x_2765, x_2704); +x_2767 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_2768 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2768, 0, x_2762); +lean_ctor_set(x_2768, 0, x_2713); lean_ctor_set(x_2768, 1, x_2767); lean_ctor_set(x_2768, 2, x_2766); -x_2769 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2755); -x_2770 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2770, 0, x_2755); -lean_ctor_set(x_2770, 1, x_2769); -x_2771 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2755); -x_2772 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2772, 0, x_2755); -lean_ctor_set(x_2772, 1, x_2771); -lean_inc(x_14); -x_2773 = lean_array_push(x_2765, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_2774 = x_14; -} else { - lean_dec_ref(x_14); - x_2774 = lean_box(0); +x_2769 = lean_array_push(x_2716, x_2768); +x_2770 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2770, 0, x_2713); +lean_ctor_set(x_2770, 1, x_2718); +lean_ctor_set(x_2770, 2, x_2769); +x_2771 = lean_array_push(x_2716, x_2770); +x_2772 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2773 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2773, 0, x_2713); +lean_ctor_set(x_2773, 1, x_2772); +lean_ctor_set(x_2773, 2, x_2771); +x_2774 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2775 = lean_array_push(x_2774, x_2710); +x_2776 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2777 = lean_array_push(x_2775, x_2776); +x_2778 = lean_array_push(x_2777, x_2776); +x_2779 = lean_array_push(x_2778, x_2719); +x_2780 = lean_array_push(x_2779, x_2721); +x_2781 = lean_array_push(x_2780, x_2773); +x_2782 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2783 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2783, 0, x_2713); +lean_ctor_set(x_2783, 1, x_2782); +lean_ctor_set(x_2783, 2, x_2781); +x_2784 = 1; +x_2785 = lean_box(x_2784); +lean_ctor_set(x_2699, 1, x_2785); +lean_ctor_set(x_2699, 0, x_2783); +lean_ctor_set(x_2706, 0, x_2698); +return x_2706; } -if (lean_is_scalar(x_2774)) { - x_2775 = lean_alloc_ctor(1, 3, 0); -} else { - x_2775 = x_2774; } -lean_ctor_set(x_2775, 0, x_2762); -lean_ctor_set(x_2775, 1, x_2767); -lean_ctor_set(x_2775, 2, x_2773); -x_2776 = lean_array_push(x_2765, x_2775); -x_2777 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2777, 0, x_2762); -lean_ctor_set(x_2777, 1, x_2767); -lean_ctor_set(x_2777, 2, x_2776); -x_2778 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2779 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2779, 0, x_2755); -lean_ctor_set(x_2779, 1, x_2778); -x_2780 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2781 = lean_array_push(x_2780, x_2772); -x_2782 = lean_array_push(x_2781, x_2777); -x_2783 = lean_array_push(x_2782, x_2779); -x_2784 = lean_array_push(x_2783, x_2753); -x_2785 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2786 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2786, 0, x_2762); -lean_ctor_set(x_2786, 1, x_2785); -lean_ctor_set(x_2786, 2, x_2784); -x_2787 = lean_array_push(x_2765, x_2786); -x_2788 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2788, 0, x_2762); -lean_ctor_set(x_2788, 1, x_2767); -lean_ctor_set(x_2788, 2, x_2787); -x_2789 = lean_array_push(x_2765, x_2788); -x_2790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2791 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2791, 0, x_2762); -lean_ctor_set(x_2791, 1, x_2790); -lean_ctor_set(x_2791, 2, x_2789); -x_2792 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2793 = lean_array_push(x_2792, x_2759); -x_2794 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2795 = lean_array_push(x_2793, x_2794); +else +{ +lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; lean_object* x_2810; lean_object* x_2811; lean_object* x_2812; lean_object* x_2813; lean_object* x_2814; lean_object* x_2815; lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; lean_object* x_2826; lean_object* x_2827; lean_object* x_2828; lean_object* x_2829; lean_object* x_2830; lean_object* x_2831; uint8_t x_2832; lean_object* x_2833; lean_object* x_2834; +x_2786 = lean_ctor_get(x_2706, 0); +x_2787 = lean_ctor_get(x_2706, 1); +lean_inc(x_2787); +lean_inc(x_2786); +lean_dec(x_2706); +x_2788 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2786); +x_2789 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2789, 0, x_2786); +lean_ctor_set(x_2789, 1, x_2788); +x_2790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2791 = lean_array_push(x_2790, x_2690); +x_2792 = lean_box(2); +x_2793 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2794 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2794, 0, x_2792); +lean_ctor_set(x_2794, 1, x_2793); +lean_ctor_set(x_2794, 2, x_2791); +x_2795 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; x_2796 = lean_array_push(x_2795, x_2794); -x_2797 = lean_array_push(x_2796, x_2768); -x_2798 = lean_array_push(x_2797, x_2770); -x_2799 = lean_array_push(x_2798, x_2791); -x_2800 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2801 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2801, 0, x_2762); -lean_ctor_set(x_2801, 1, x_2800); -lean_ctor_set(x_2801, 2, x_2799); -x_2802 = 1; -x_2803 = lean_box(x_2802); -x_2804 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2804, 0, x_2801); -lean_ctor_set(x_2804, 1, x_2803); -lean_ctor_set(x_2616, 1, x_2804); -if (lean_is_scalar(x_2757)) { - x_2805 = lean_alloc_ctor(0, 2, 0); -} else { - x_2805 = x_2757; -} -lean_ctor_set(x_2805, 0, x_2616); -lean_ctor_set(x_2805, 1, x_2756); -return x_2805; -} -} -else -{ -lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; lean_object* x_2810; lean_object* x_2811; lean_object* x_2812; lean_object* x_2813; lean_object* x_2814; lean_object* x_2815; lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; lean_object* x_2826; lean_object* x_2827; lean_object* x_2828; lean_object* x_2829; lean_object* x_2830; lean_object* x_2831; lean_object* x_2832; lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; lean_object* x_2850; lean_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; lean_object* x_2856; uint8_t x_2857; lean_object* x_2858; lean_object* x_2859; lean_object* x_2860; lean_object* x_2861; -x_2806 = lean_ctor_get(x_2616, 0); -lean_inc(x_2806); -lean_dec(x_2616); -x_2807 = lean_ctor_get(x_2617, 0); -lean_inc(x_2807); -if (lean_is_exclusive(x_2617)) { - lean_ctor_release(x_2617, 0); - lean_ctor_release(x_2617, 1); - x_2808 = x_2617; -} else { - lean_dec_ref(x_2617); - x_2808 = lean_box(0); -} -x_2809 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2618); -x_2810 = lean_ctor_get(x_2809, 0); -lean_inc(x_2810); -x_2811 = lean_ctor_get(x_2809, 1); -lean_inc(x_2811); -if (lean_is_exclusive(x_2809)) { - lean_ctor_release(x_2809, 0); - lean_ctor_release(x_2809, 1); - x_2812 = x_2809; -} else { - lean_dec_ref(x_2809); - x_2812 = lean_box(0); -} -x_2813 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2810); -x_2814 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2814, 0, x_2810); -lean_ctor_set(x_2814, 1, x_2813); -x_2815 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2816 = lean_array_push(x_2815, x_2608); -x_2817 = lean_box(2); -x_2818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2819 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2819, 0, x_2817); -lean_ctor_set(x_2819, 1, x_2818); -lean_ctor_set(x_2819, 2, x_2816); -x_2820 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2821 = lean_array_push(x_2820, x_2819); -x_2822 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2823 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2823, 0, x_2817); -lean_ctor_set(x_2823, 1, x_2822); -lean_ctor_set(x_2823, 2, x_2821); -x_2824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2810); -x_2825 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2825, 0, x_2810); -lean_ctor_set(x_2825, 1, x_2824); -x_2826 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2810); -x_2827 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2827, 0, x_2810); -lean_ctor_set(x_2827, 1, x_2826); +x_2797 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2798 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2798, 0, x_2792); +lean_ctor_set(x_2798, 1, x_2797); +lean_ctor_set(x_2798, 2, x_2796); +x_2799 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2786); +x_2800 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2800, 0, x_2786); +lean_ctor_set(x_2800, 1, x_2799); +x_2801 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2786); +x_2802 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2802, 0, x_2786); +lean_ctor_set(x_2802, 1, x_2801); lean_inc(x_14); -x_2828 = lean_array_push(x_2820, x_14); +x_2803 = lean_array_push(x_2795, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_2829 = x_14; + x_2804 = x_14; } else { lean_dec_ref(x_14); - x_2829 = lean_box(0); + x_2804 = lean_box(0); } -if (lean_is_scalar(x_2829)) { - x_2830 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_2804)) { + x_2805 = lean_alloc_ctor(1, 3, 0); } else { - x_2830 = x_2829; + x_2805 = x_2804; } -lean_ctor_set(x_2830, 0, x_2817); -lean_ctor_set(x_2830, 1, x_2822); -lean_ctor_set(x_2830, 2, x_2828); -x_2831 = lean_array_push(x_2820, x_2830); -x_2832 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2832, 0, x_2817); -lean_ctor_set(x_2832, 1, x_2822); -lean_ctor_set(x_2832, 2, x_2831); -x_2833 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2834 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2834, 0, x_2810); -lean_ctor_set(x_2834, 1, x_2833); -x_2835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2836 = lean_array_push(x_2835, x_2827); -x_2837 = lean_array_push(x_2836, x_2832); -x_2838 = lean_array_push(x_2837, x_2834); -x_2839 = lean_array_push(x_2838, x_2807); -x_2840 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2841 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2841, 0, x_2817); +lean_ctor_set(x_2805, 0, x_2792); +lean_ctor_set(x_2805, 1, x_2797); +lean_ctor_set(x_2805, 2, x_2803); +x_2806 = lean_array_push(x_2795, x_2805); +x_2807 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2807, 0, x_2792); +lean_ctor_set(x_2807, 1, x_2797); +lean_ctor_set(x_2807, 2, x_2806); +x_2808 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2809 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2809, 0, x_2786); +lean_ctor_set(x_2809, 1, x_2808); +x_2810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2811 = lean_array_push(x_2810, x_2802); +x_2812 = lean_array_push(x_2811, x_2807); +x_2813 = lean_array_push(x_2812, x_2809); +x_2814 = lean_array_push(x_2813, x_2704); +x_2815 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2816 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2816, 0, x_2792); +lean_ctor_set(x_2816, 1, x_2815); +lean_ctor_set(x_2816, 2, x_2814); +x_2817 = lean_array_push(x_2795, x_2816); +x_2818 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2818, 0, x_2792); +lean_ctor_set(x_2818, 1, x_2797); +lean_ctor_set(x_2818, 2, x_2817); +x_2819 = lean_array_push(x_2795, x_2818); +x_2820 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2821 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2821, 0, x_2792); +lean_ctor_set(x_2821, 1, x_2820); +lean_ctor_set(x_2821, 2, x_2819); +x_2822 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2823 = lean_array_push(x_2822, x_2789); +x_2824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2825 = lean_array_push(x_2823, x_2824); +x_2826 = lean_array_push(x_2825, x_2824); +x_2827 = lean_array_push(x_2826, x_2798); +x_2828 = lean_array_push(x_2827, x_2800); +x_2829 = lean_array_push(x_2828, x_2821); +x_2830 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2831 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2831, 0, x_2792); +lean_ctor_set(x_2831, 1, x_2830); +lean_ctor_set(x_2831, 2, x_2829); +x_2832 = 1; +x_2833 = lean_box(x_2832); +lean_ctor_set(x_2699, 1, x_2833); +lean_ctor_set(x_2699, 0, x_2831); +x_2834 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2834, 0, x_2698); +lean_ctor_set(x_2834, 1, x_2787); +return x_2834; +} +} +else +{ +lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; lean_object* x_2850; lean_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; lean_object* x_2856; lean_object* x_2857; lean_object* x_2858; lean_object* x_2859; lean_object* x_2860; lean_object* x_2861; lean_object* x_2862; lean_object* x_2863; lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; lean_object* x_2867; lean_object* x_2868; lean_object* x_2869; lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; lean_object* x_2873; lean_object* x_2874; lean_object* x_2875; lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; lean_object* x_2879; lean_object* x_2880; lean_object* x_2881; lean_object* x_2882; lean_object* x_2883; uint8_t x_2884; lean_object* x_2885; lean_object* x_2886; lean_object* x_2887; +x_2835 = lean_ctor_get(x_2699, 0); +lean_inc(x_2835); +lean_dec(x_2699); +x_2836 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2700); +x_2837 = lean_ctor_get(x_2836, 0); +lean_inc(x_2837); +x_2838 = lean_ctor_get(x_2836, 1); +lean_inc(x_2838); +if (lean_is_exclusive(x_2836)) { + lean_ctor_release(x_2836, 0); + lean_ctor_release(x_2836, 1); + x_2839 = x_2836; +} else { + lean_dec_ref(x_2836); + x_2839 = lean_box(0); +} +x_2840 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2837); +x_2841 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2841, 0, x_2837); lean_ctor_set(x_2841, 1, x_2840); -lean_ctor_set(x_2841, 2, x_2839); -x_2842 = lean_array_push(x_2820, x_2841); -x_2843 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2843, 0, x_2817); -lean_ctor_set(x_2843, 1, x_2822); -lean_ctor_set(x_2843, 2, x_2842); -x_2844 = lean_array_push(x_2820, x_2843); -x_2845 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2842 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2843 = lean_array_push(x_2842, x_2690); +x_2844 = lean_box(2); +x_2845 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_2846 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2846, 0, x_2817); +lean_ctor_set(x_2846, 0, x_2844); lean_ctor_set(x_2846, 1, x_2845); -lean_ctor_set(x_2846, 2, x_2844); -x_2847 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2848 = lean_array_push(x_2847, x_2814); -x_2849 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2850 = lean_array_push(x_2848, x_2849); -x_2851 = lean_array_push(x_2850, x_2849); -x_2852 = lean_array_push(x_2851, x_2823); -x_2853 = lean_array_push(x_2852, x_2825); -x_2854 = lean_array_push(x_2853, x_2846); -x_2855 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2856 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2856, 0, x_2817); -lean_ctor_set(x_2856, 1, x_2855); -lean_ctor_set(x_2856, 2, x_2854); -x_2857 = 1; -x_2858 = lean_box(x_2857); -if (lean_is_scalar(x_2808)) { - x_2859 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2846, 2, x_2843); +x_2847 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2848 = lean_array_push(x_2847, x_2846); +x_2849 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2850 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2850, 0, x_2844); +lean_ctor_set(x_2850, 1, x_2849); +lean_ctor_set(x_2850, 2, x_2848); +x_2851 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2837); +x_2852 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2852, 0, x_2837); +lean_ctor_set(x_2852, 1, x_2851); +x_2853 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2837); +x_2854 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2854, 0, x_2837); +lean_ctor_set(x_2854, 1, x_2853); +lean_inc(x_14); +x_2855 = lean_array_push(x_2847, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_2856 = x_14; } else { - x_2859 = x_2808; + lean_dec_ref(x_14); + x_2856 = lean_box(0); } -lean_ctor_set(x_2859, 0, x_2856); -lean_ctor_set(x_2859, 1, x_2858); -x_2860 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2860, 0, x_2806); -lean_ctor_set(x_2860, 1, x_2859); -if (lean_is_scalar(x_2812)) { - x_2861 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_2856)) { + x_2857 = lean_alloc_ctor(1, 3, 0); } else { - x_2861 = x_2812; + x_2857 = x_2856; +} +lean_ctor_set(x_2857, 0, x_2844); +lean_ctor_set(x_2857, 1, x_2849); +lean_ctor_set(x_2857, 2, x_2855); +x_2858 = lean_array_push(x_2847, x_2857); +x_2859 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2859, 0, x_2844); +lean_ctor_set(x_2859, 1, x_2849); +lean_ctor_set(x_2859, 2, x_2858); +x_2860 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2861 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2861, 0, x_2837); +lean_ctor_set(x_2861, 1, x_2860); +x_2862 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2863 = lean_array_push(x_2862, x_2854); +x_2864 = lean_array_push(x_2863, x_2859); +x_2865 = lean_array_push(x_2864, x_2861); +x_2866 = lean_array_push(x_2865, x_2835); +x_2867 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2868 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2868, 0, x_2844); +lean_ctor_set(x_2868, 1, x_2867); +lean_ctor_set(x_2868, 2, x_2866); +x_2869 = lean_array_push(x_2847, x_2868); +x_2870 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2870, 0, x_2844); +lean_ctor_set(x_2870, 1, x_2849); +lean_ctor_set(x_2870, 2, x_2869); +x_2871 = lean_array_push(x_2847, x_2870); +x_2872 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2873 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2873, 0, x_2844); +lean_ctor_set(x_2873, 1, x_2872); +lean_ctor_set(x_2873, 2, x_2871); +x_2874 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2875 = lean_array_push(x_2874, x_2841); +x_2876 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2877 = lean_array_push(x_2875, x_2876); +x_2878 = lean_array_push(x_2877, x_2876); +x_2879 = lean_array_push(x_2878, x_2850); +x_2880 = lean_array_push(x_2879, x_2852); +x_2881 = lean_array_push(x_2880, x_2873); +x_2882 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2883 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2883, 0, x_2844); +lean_ctor_set(x_2883, 1, x_2882); +lean_ctor_set(x_2883, 2, x_2881); +x_2884 = 1; +x_2885 = lean_box(x_2884); +x_2886 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2886, 0, x_2883); +lean_ctor_set(x_2886, 1, x_2885); +lean_ctor_set(x_2698, 1, x_2886); +if (lean_is_scalar(x_2839)) { + x_2887 = lean_alloc_ctor(0, 2, 0); +} else { + x_2887 = x_2839; +} +lean_ctor_set(x_2887, 0, x_2698); +lean_ctor_set(x_2887, 1, x_2838); +return x_2887; +} +} +else +{ +lean_object* x_2888; lean_object* x_2889; lean_object* x_2890; lean_object* x_2891; lean_object* x_2892; lean_object* x_2893; lean_object* x_2894; lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; lean_object* x_2898; lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; lean_object* x_2908; lean_object* x_2909; lean_object* x_2910; lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; lean_object* x_2916; lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; lean_object* x_2921; lean_object* x_2922; lean_object* x_2923; lean_object* x_2924; lean_object* x_2925; lean_object* x_2926; lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; lean_object* x_2930; lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; uint8_t x_2939; lean_object* x_2940; lean_object* x_2941; lean_object* x_2942; lean_object* x_2943; +x_2888 = lean_ctor_get(x_2698, 0); +lean_inc(x_2888); +lean_dec(x_2698); +x_2889 = lean_ctor_get(x_2699, 0); +lean_inc(x_2889); +if (lean_is_exclusive(x_2699)) { + lean_ctor_release(x_2699, 0); + lean_ctor_release(x_2699, 1); + x_2890 = x_2699; +} else { + lean_dec_ref(x_2699); + x_2890 = lean_box(0); +} +x_2891 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2700); +x_2892 = lean_ctor_get(x_2891, 0); +lean_inc(x_2892); +x_2893 = lean_ctor_get(x_2891, 1); +lean_inc(x_2893); +if (lean_is_exclusive(x_2891)) { + lean_ctor_release(x_2891, 0); + lean_ctor_release(x_2891, 1); + x_2894 = x_2891; +} else { + lean_dec_ref(x_2891); + x_2894 = lean_box(0); +} +x_2895 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2892); +x_2896 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2896, 0, x_2892); +lean_ctor_set(x_2896, 1, x_2895); +x_2897 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2898 = lean_array_push(x_2897, x_2690); +x_2899 = lean_box(2); +x_2900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2901 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2901, 0, x_2899); +lean_ctor_set(x_2901, 1, x_2900); +lean_ctor_set(x_2901, 2, x_2898); +x_2902 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2903 = lean_array_push(x_2902, x_2901); +x_2904 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2905 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2905, 0, x_2899); +lean_ctor_set(x_2905, 1, x_2904); +lean_ctor_set(x_2905, 2, x_2903); +x_2906 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2892); +x_2907 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2907, 0, x_2892); +lean_ctor_set(x_2907, 1, x_2906); +x_2908 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2892); +x_2909 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2909, 0, x_2892); +lean_ctor_set(x_2909, 1, x_2908); +lean_inc(x_14); +x_2910 = lean_array_push(x_2902, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_2911 = x_14; +} else { + lean_dec_ref(x_14); + x_2911 = lean_box(0); +} +if (lean_is_scalar(x_2911)) { + x_2912 = lean_alloc_ctor(1, 3, 0); +} else { + x_2912 = x_2911; +} +lean_ctor_set(x_2912, 0, x_2899); +lean_ctor_set(x_2912, 1, x_2904); +lean_ctor_set(x_2912, 2, x_2910); +x_2913 = lean_array_push(x_2902, x_2912); +x_2914 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2914, 0, x_2899); +lean_ctor_set(x_2914, 1, x_2904); +lean_ctor_set(x_2914, 2, x_2913); +x_2915 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2916 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2916, 0, x_2892); +lean_ctor_set(x_2916, 1, x_2915); +x_2917 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2918 = lean_array_push(x_2917, x_2909); +x_2919 = lean_array_push(x_2918, x_2914); +x_2920 = lean_array_push(x_2919, x_2916); +x_2921 = lean_array_push(x_2920, x_2889); +x_2922 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2923 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2923, 0, x_2899); +lean_ctor_set(x_2923, 1, x_2922); +lean_ctor_set(x_2923, 2, x_2921); +x_2924 = lean_array_push(x_2902, x_2923); +x_2925 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2925, 0, x_2899); +lean_ctor_set(x_2925, 1, x_2904); +lean_ctor_set(x_2925, 2, x_2924); +x_2926 = lean_array_push(x_2902, x_2925); +x_2927 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_2928 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2928, 0, x_2899); +lean_ctor_set(x_2928, 1, x_2927); +lean_ctor_set(x_2928, 2, x_2926); +x_2929 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_2930 = lean_array_push(x_2929, x_2896); +x_2931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_2932 = lean_array_push(x_2930, x_2931); +x_2933 = lean_array_push(x_2932, x_2931); +x_2934 = lean_array_push(x_2933, x_2905); +x_2935 = lean_array_push(x_2934, x_2907); +x_2936 = lean_array_push(x_2935, x_2928); +x_2937 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2938 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2938, 0, x_2899); +lean_ctor_set(x_2938, 1, x_2937); +lean_ctor_set(x_2938, 2, x_2936); +x_2939 = 1; +x_2940 = lean_box(x_2939); +if (lean_is_scalar(x_2890)) { + x_2941 = lean_alloc_ctor(0, 2, 0); +} else { + x_2941 = x_2890; +} +lean_ctor_set(x_2941, 0, x_2938); +lean_ctor_set(x_2941, 1, x_2940); +x_2942 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2942, 0, x_2888); +lean_ctor_set(x_2942, 1, x_2941); +if (lean_is_scalar(x_2894)) { + x_2943 = lean_alloc_ctor(0, 2, 0); +} else { + x_2943 = x_2894; +} +lean_ctor_set(x_2943, 0, x_2942); +lean_ctor_set(x_2943, 1, x_2893); +return x_2943; +} +} +else +{ +uint8_t x_2944; +lean_dec(x_2690); +lean_dec(x_14); +lean_dec(x_5); +x_2944 = !lean_is_exclusive(x_2697); +if (x_2944 == 0) +{ +return x_2697; +} +else +{ +lean_object* x_2945; lean_object* x_2946; lean_object* x_2947; +x_2945 = lean_ctor_get(x_2697, 0); +x_2946 = lean_ctor_get(x_2697, 1); +lean_inc(x_2946); +lean_inc(x_2945); +lean_dec(x_2697); +x_2947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2947, 0, x_2945); +lean_ctor_set(x_2947, 1, x_2946); +return x_2947; } -lean_ctor_set(x_2861, 0, x_2860); -lean_ctor_set(x_2861, 1, x_2811); -return x_2861; } } } else { -lean_object* x_2862; lean_object* x_2863; lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; lean_object* x_2867; lean_object* x_2868; lean_object* x_2869; lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; lean_object* x_2873; uint8_t x_2874; -lean_dec(x_237); -lean_dec(x_236); -lean_dec(x_235); +lean_object* x_2948; lean_object* x_2949; lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; lean_object* x_2956; +lean_dec(x_242); +lean_dec(x_241); +lean_dec(x_240); +lean_dec(x_239); lean_inc(x_5); lean_inc(x_14); -x_2862 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2863 = lean_ctor_get(x_2862, 0); -lean_inc(x_2863); -x_2864 = lean_ctor_get(x_2862, 1); -lean_inc(x_2864); -lean_dec(x_2862); -x_2865 = lean_unsigned_to_nat(1u); -x_2866 = lean_nat_add(x_3, x_2865); +x_2948 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_2949 = lean_ctor_get(x_2948, 0); +lean_inc(x_2949); +x_2950 = lean_ctor_get(x_2948, 1); +lean_inc(x_2950); +lean_dec(x_2948); +x_2951 = lean_unsigned_to_nat(1u); +x_2952 = lean_nat_add(x_3, x_2951); lean_dec(x_3); lean_inc(x_14); -x_2867 = l_Lean_mkHole(x_14); -lean_inc(x_2863); -x_2868 = l_Lean_Elab_Term_mkExplicitBinder(x_2863, x_2867); -x_2869 = lean_array_push(x_4, x_2868); +x_2953 = l_Lean_mkHole(x_14); +lean_inc(x_2949); +x_2954 = l_Lean_Elab_Term_mkExplicitBinder(x_2949, x_2953); +x_2955 = lean_array_push(x_4, x_2954); lean_inc(x_5); -x_2870 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2866, x_2869, x_5, x_2864); -x_2871 = lean_ctor_get(x_2870, 0); -lean_inc(x_2871); -x_2872 = lean_ctor_get(x_2871, 1); -lean_inc(x_2872); -x_2873 = lean_ctor_get(x_2870, 1); -lean_inc(x_2873); -lean_dec(x_2870); -x_2874 = !lean_is_exclusive(x_2871); -if (x_2874 == 0) +x_2956 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2952, x_2955, x_5, x_2950); +if (lean_obj_tag(x_2956) == 0) { -lean_object* x_2875; uint8_t x_2876; -x_2875 = lean_ctor_get(x_2871, 1); -lean_dec(x_2875); -x_2876 = !lean_is_exclusive(x_2872); -if (x_2876 == 0) -{ -lean_object* x_2877; lean_object* x_2878; lean_object* x_2879; uint8_t x_2880; -x_2877 = lean_ctor_get(x_2872, 0); -x_2878 = lean_ctor_get(x_2872, 1); -lean_dec(x_2878); -x_2879 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2873); -x_2880 = !lean_is_exclusive(x_2879); -if (x_2880 == 0) -{ -lean_object* x_2881; lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; lean_object* x_2885; lean_object* x_2886; lean_object* x_2887; lean_object* x_2888; lean_object* x_2889; lean_object* x_2890; lean_object* x_2891; lean_object* x_2892; lean_object* x_2893; lean_object* x_2894; lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; uint8_t x_2898; -x_2881 = lean_ctor_get(x_2879, 0); -x_2882 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2881); -x_2883 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2883, 0, x_2881); -lean_ctor_set(x_2883, 1, x_2882); -x_2884 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2885 = lean_array_push(x_2884, x_2863); -x_2886 = lean_box(2); -x_2887 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2888 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2888, 0, x_2886); -lean_ctor_set(x_2888, 1, x_2887); -lean_ctor_set(x_2888, 2, x_2885); -x_2889 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2890 = lean_array_push(x_2889, x_2888); -x_2891 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2892 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2892, 0, x_2886); -lean_ctor_set(x_2892, 1, x_2891); -lean_ctor_set(x_2892, 2, x_2890); -x_2893 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2881); -x_2894 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2894, 0, x_2881); -lean_ctor_set(x_2894, 1, x_2893); -x_2895 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2881); -x_2896 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2896, 0, x_2881); -lean_ctor_set(x_2896, 1, x_2895); -lean_inc(x_14); -x_2897 = lean_array_push(x_2889, x_14); -x_2898 = !lean_is_exclusive(x_14); -if (x_2898 == 0) -{ -lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; lean_object* x_2908; lean_object* x_2909; lean_object* x_2910; lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; lean_object* x_2916; lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; lean_object* x_2921; lean_object* x_2922; lean_object* x_2923; lean_object* x_2924; lean_object* x_2925; lean_object* x_2926; lean_object* x_2927; uint8_t x_2928; lean_object* x_2929; -x_2899 = lean_ctor_get(x_14, 2); -lean_dec(x_2899); -x_2900 = lean_ctor_get(x_14, 1); -lean_dec(x_2900); -x_2901 = lean_ctor_get(x_14, 0); -lean_dec(x_2901); -lean_ctor_set(x_14, 2, x_2897); -lean_ctor_set(x_14, 1, x_2891); -lean_ctor_set(x_14, 0, x_2886); -x_2902 = lean_array_push(x_2889, x_14); -x_2903 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2903, 0, x_2886); -lean_ctor_set(x_2903, 1, x_2891); -lean_ctor_set(x_2903, 2, x_2902); -x_2904 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2905 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2905, 0, x_2881); -lean_ctor_set(x_2905, 1, x_2904); -x_2906 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2907 = lean_array_push(x_2906, x_2896); -x_2908 = lean_array_push(x_2907, x_2903); -x_2909 = lean_array_push(x_2908, x_2905); -x_2910 = lean_array_push(x_2909, x_2877); -x_2911 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2912 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2912, 0, x_2886); -lean_ctor_set(x_2912, 1, x_2911); -lean_ctor_set(x_2912, 2, x_2910); -x_2913 = lean_array_push(x_2889, x_2912); -x_2914 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2914, 0, x_2886); -lean_ctor_set(x_2914, 1, x_2891); -lean_ctor_set(x_2914, 2, x_2913); -x_2915 = lean_array_push(x_2889, x_2914); -x_2916 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2917 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2917, 0, x_2886); -lean_ctor_set(x_2917, 1, x_2916); -lean_ctor_set(x_2917, 2, x_2915); -x_2918 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2919 = lean_array_push(x_2918, x_2883); -x_2920 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2921 = lean_array_push(x_2919, x_2920); -x_2922 = lean_array_push(x_2921, x_2920); -x_2923 = lean_array_push(x_2922, x_2892); -x_2924 = lean_array_push(x_2923, x_2894); -x_2925 = lean_array_push(x_2924, x_2917); -x_2926 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2927 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2927, 0, x_2886); -lean_ctor_set(x_2927, 1, x_2926); -lean_ctor_set(x_2927, 2, x_2925); -x_2928 = 1; -x_2929 = lean_box(x_2928); -lean_ctor_set(x_2872, 1, x_2929); -lean_ctor_set(x_2872, 0, x_2927); -lean_ctor_set(x_2879, 0, x_2871); -return x_2879; -} -else -{ -lean_object* x_2930; lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; lean_object* x_2939; lean_object* x_2940; lean_object* x_2941; lean_object* x_2942; lean_object* x_2943; lean_object* x_2944; lean_object* x_2945; lean_object* x_2946; lean_object* x_2947; lean_object* x_2948; lean_object* x_2949; lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; lean_object* x_2956; uint8_t x_2957; lean_object* x_2958; -lean_dec(x_14); -x_2930 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2930, 0, x_2886); -lean_ctor_set(x_2930, 1, x_2891); -lean_ctor_set(x_2930, 2, x_2897); -x_2931 = lean_array_push(x_2889, x_2930); -x_2932 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2932, 0, x_2886); -lean_ctor_set(x_2932, 1, x_2891); -lean_ctor_set(x_2932, 2, x_2931); -x_2933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2934 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2934, 0, x_2881); -lean_ctor_set(x_2934, 1, x_2933); -x_2935 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2936 = lean_array_push(x_2935, x_2896); -x_2937 = lean_array_push(x_2936, x_2932); -x_2938 = lean_array_push(x_2937, x_2934); -x_2939 = lean_array_push(x_2938, x_2877); -x_2940 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_2941 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2941, 0, x_2886); -lean_ctor_set(x_2941, 1, x_2940); -lean_ctor_set(x_2941, 2, x_2939); -x_2942 = lean_array_push(x_2889, x_2941); -x_2943 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2943, 0, x_2886); -lean_ctor_set(x_2943, 1, x_2891); -lean_ctor_set(x_2943, 2, x_2942); -x_2944 = lean_array_push(x_2889, x_2943); -x_2945 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2946 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2946, 0, x_2886); -lean_ctor_set(x_2946, 1, x_2945); -lean_ctor_set(x_2946, 2, x_2944); -x_2947 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2948 = lean_array_push(x_2947, x_2883); -x_2949 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2950 = lean_array_push(x_2948, x_2949); -x_2951 = lean_array_push(x_2950, x_2949); -x_2952 = lean_array_push(x_2951, x_2892); -x_2953 = lean_array_push(x_2952, x_2894); -x_2954 = lean_array_push(x_2953, x_2946); -x_2955 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2956 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2956, 0, x_2886); -lean_ctor_set(x_2956, 1, x_2955); -lean_ctor_set(x_2956, 2, x_2954); -x_2957 = 1; -x_2958 = lean_box(x_2957); -lean_ctor_set(x_2872, 1, x_2958); -lean_ctor_set(x_2872, 0, x_2956); -lean_ctor_set(x_2879, 0, x_2871); -return x_2879; -} -} -else -{ -lean_object* x_2959; lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; lean_object* x_2966; lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; lean_object* x_2971; lean_object* x_2972; lean_object* x_2973; lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; lean_object* x_2989; lean_object* x_2990; lean_object* x_2991; lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; lean_object* x_3000; lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; uint8_t x_3005; lean_object* x_3006; lean_object* x_3007; -x_2959 = lean_ctor_get(x_2879, 0); -x_2960 = lean_ctor_get(x_2879, 1); -lean_inc(x_2960); +lean_object* x_2957; lean_object* x_2958; lean_object* x_2959; uint8_t x_2960; +x_2957 = lean_ctor_get(x_2956, 0); +lean_inc(x_2957); +x_2958 = lean_ctor_get(x_2957, 1); +lean_inc(x_2958); +x_2959 = lean_ctor_get(x_2956, 1); lean_inc(x_2959); -lean_dec(x_2879); -x_2961 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2959); -x_2962 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2962, 0, x_2959); -lean_ctor_set(x_2962, 1, x_2961); -x_2963 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_2964 = lean_array_push(x_2963, x_2863); -x_2965 = lean_box(2); -x_2966 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_2967 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2967, 0, x_2965); -lean_ctor_set(x_2967, 1, x_2966); -lean_ctor_set(x_2967, 2, x_2964); -x_2968 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_2969 = lean_array_push(x_2968, x_2967); -x_2970 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_2971 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2971, 0, x_2965); -lean_ctor_set(x_2971, 1, x_2970); -lean_ctor_set(x_2971, 2, x_2969); -x_2972 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2959); -x_2973 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2973, 0, x_2959); -lean_ctor_set(x_2973, 1, x_2972); -x_2974 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_2959); -x_2975 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2975, 0, x_2959); -lean_ctor_set(x_2975, 1, x_2974); -lean_inc(x_14); -x_2976 = lean_array_push(x_2968, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_2977 = x_14; -} else { - lean_dec_ref(x_14); - x_2977 = lean_box(0); -} -if (lean_is_scalar(x_2977)) { - x_2978 = lean_alloc_ctor(1, 3, 0); -} else { - x_2978 = x_2977; -} -lean_ctor_set(x_2978, 0, x_2965); -lean_ctor_set(x_2978, 1, x_2970); +lean_dec(x_2956); +x_2960 = !lean_is_exclusive(x_2957); +if (x_2960 == 0) +{ +lean_object* x_2961; uint8_t x_2962; +x_2961 = lean_ctor_get(x_2957, 1); +lean_dec(x_2961); +x_2962 = !lean_is_exclusive(x_2958); +if (x_2962 == 0) +{ +lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; uint8_t x_2966; +x_2963 = lean_ctor_get(x_2958, 0); +x_2964 = lean_ctor_get(x_2958, 1); +lean_dec(x_2964); +x_2965 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2959); +x_2966 = !lean_is_exclusive(x_2965); +if (x_2966 == 0) +{ +lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; lean_object* x_2971; lean_object* x_2972; lean_object* x_2973; lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; uint8_t x_2984; +x_2967 = lean_ctor_get(x_2965, 0); +x_2968 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2967); +x_2969 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2969, 0, x_2967); +lean_ctor_set(x_2969, 1, x_2968); +x_2970 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_2971 = lean_array_push(x_2970, x_2949); +x_2972 = lean_box(2); +x_2973 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_2974 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2974, 0, x_2972); +lean_ctor_set(x_2974, 1, x_2973); +lean_ctor_set(x_2974, 2, x_2971); +x_2975 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_2976 = lean_array_push(x_2975, x_2974); +x_2977 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_2978 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2978, 0, x_2972); +lean_ctor_set(x_2978, 1, x_2977); lean_ctor_set(x_2978, 2, x_2976); -x_2979 = lean_array_push(x_2968, x_2978); -x_2980 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2980, 0, x_2965); -lean_ctor_set(x_2980, 1, x_2970); -lean_ctor_set(x_2980, 2, x_2979); -x_2981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2979 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2967); +x_2980 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2980, 0, x_2967); +lean_ctor_set(x_2980, 1, x_2979); +x_2981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_2967); x_2982 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2982, 0, x_2959); +lean_ctor_set(x_2982, 0, x_2967); lean_ctor_set(x_2982, 1, x_2981); -x_2983 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_2984 = lean_array_push(x_2983, x_2975); -x_2985 = lean_array_push(x_2984, x_2980); -x_2986 = lean_array_push(x_2985, x_2982); -x_2987 = lean_array_push(x_2986, x_2877); -x_2988 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_14); +x_2983 = lean_array_push(x_2975, x_14); +x_2984 = !lean_is_exclusive(x_14); +if (x_2984 == 0) +{ +lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; lean_object* x_2989; lean_object* x_2990; lean_object* x_2991; lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; lean_object* x_3000; lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; uint8_t x_3014; lean_object* x_3015; +x_2985 = lean_ctor_get(x_14, 2); +lean_dec(x_2985); +x_2986 = lean_ctor_get(x_14, 1); +lean_dec(x_2986); +x_2987 = lean_ctor_get(x_14, 0); +lean_dec(x_2987); +lean_ctor_set(x_14, 2, x_2983); +lean_ctor_set(x_14, 1, x_2977); +lean_ctor_set(x_14, 0, x_2972); +x_2988 = lean_array_push(x_2975, x_14); x_2989 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2989, 0, x_2965); -lean_ctor_set(x_2989, 1, x_2988); -lean_ctor_set(x_2989, 2, x_2987); -x_2990 = lean_array_push(x_2968, x_2989); -x_2991 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2991, 0, x_2965); -lean_ctor_set(x_2991, 1, x_2970); -lean_ctor_set(x_2991, 2, x_2990); -x_2992 = lean_array_push(x_2968, x_2991); -x_2993 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_2994 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2994, 0, x_2965); -lean_ctor_set(x_2994, 1, x_2993); -lean_ctor_set(x_2994, 2, x_2992); -x_2995 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_2996 = lean_array_push(x_2995, x_2962); -x_2997 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_2998 = lean_array_push(x_2996, x_2997); -x_2999 = lean_array_push(x_2998, x_2997); -x_3000 = lean_array_push(x_2999, x_2971); -x_3001 = lean_array_push(x_3000, x_2973); -x_3002 = lean_array_push(x_3001, x_2994); -x_3003 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3004 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3004, 0, x_2965); -lean_ctor_set(x_3004, 1, x_3003); -lean_ctor_set(x_3004, 2, x_3002); -x_3005 = 1; -x_3006 = lean_box(x_3005); -lean_ctor_set(x_2872, 1, x_3006); -lean_ctor_set(x_2872, 0, x_3004); -x_3007 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3007, 0, x_2871); -lean_ctor_set(x_3007, 1, x_2960); -return x_3007; +lean_ctor_set(x_2989, 0, x_2972); +lean_ctor_set(x_2989, 1, x_2977); +lean_ctor_set(x_2989, 2, x_2988); +x_2990 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2991 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2991, 0, x_2967); +lean_ctor_set(x_2991, 1, x_2990); +x_2992 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_2993 = lean_array_push(x_2992, x_2982); +x_2994 = lean_array_push(x_2993, x_2989); +x_2995 = lean_array_push(x_2994, x_2991); +x_2996 = lean_array_push(x_2995, x_2963); +x_2997 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_2998 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2998, 0, x_2972); +lean_ctor_set(x_2998, 1, x_2997); +lean_ctor_set(x_2998, 2, x_2996); +x_2999 = lean_array_push(x_2975, x_2998); +x_3000 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3000, 0, x_2972); +lean_ctor_set(x_3000, 1, x_2977); +lean_ctor_set(x_3000, 2, x_2999); +x_3001 = lean_array_push(x_2975, x_3000); +x_3002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3003 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3003, 0, x_2972); +lean_ctor_set(x_3003, 1, x_3002); +lean_ctor_set(x_3003, 2, x_3001); +x_3004 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3005 = lean_array_push(x_3004, x_2969); +x_3006 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3007 = lean_array_push(x_3005, x_3006); +x_3008 = lean_array_push(x_3007, x_3006); +x_3009 = lean_array_push(x_3008, x_2978); +x_3010 = lean_array_push(x_3009, x_2980); +x_3011 = lean_array_push(x_3010, x_3003); +x_3012 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3013 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3013, 0, x_2972); +lean_ctor_set(x_3013, 1, x_3012); +lean_ctor_set(x_3013, 2, x_3011); +x_3014 = 1; +x_3015 = lean_box(x_3014); +lean_ctor_set(x_2958, 1, x_3015); +lean_ctor_set(x_2958, 0, x_3013); +lean_ctor_set(x_2965, 0, x_2957); +return x_2965; +} +else +{ +lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; lean_object* x_3020; lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; uint8_t x_3043; lean_object* x_3044; +lean_dec(x_14); +x_3016 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3016, 0, x_2972); +lean_ctor_set(x_3016, 1, x_2977); +lean_ctor_set(x_3016, 2, x_2983); +x_3017 = lean_array_push(x_2975, x_3016); +x_3018 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3018, 0, x_2972); +lean_ctor_set(x_3018, 1, x_2977); +lean_ctor_set(x_3018, 2, x_3017); +x_3019 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3020 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3020, 0, x_2967); +lean_ctor_set(x_3020, 1, x_3019); +x_3021 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3022 = lean_array_push(x_3021, x_2982); +x_3023 = lean_array_push(x_3022, x_3018); +x_3024 = lean_array_push(x_3023, x_3020); +x_3025 = lean_array_push(x_3024, x_2963); +x_3026 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3027 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3027, 0, x_2972); +lean_ctor_set(x_3027, 1, x_3026); +lean_ctor_set(x_3027, 2, x_3025); +x_3028 = lean_array_push(x_2975, x_3027); +x_3029 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3029, 0, x_2972); +lean_ctor_set(x_3029, 1, x_2977); +lean_ctor_set(x_3029, 2, x_3028); +x_3030 = lean_array_push(x_2975, x_3029); +x_3031 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3032 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3032, 0, x_2972); +lean_ctor_set(x_3032, 1, x_3031); +lean_ctor_set(x_3032, 2, x_3030); +x_3033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3034 = lean_array_push(x_3033, x_2969); +x_3035 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3036 = lean_array_push(x_3034, x_3035); +x_3037 = lean_array_push(x_3036, x_3035); +x_3038 = lean_array_push(x_3037, x_2978); +x_3039 = lean_array_push(x_3038, x_2980); +x_3040 = lean_array_push(x_3039, x_3032); +x_3041 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3042 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3042, 0, x_2972); +lean_ctor_set(x_3042, 1, x_3041); +lean_ctor_set(x_3042, 2, x_3040); +x_3043 = 1; +x_3044 = lean_box(x_3043); +lean_ctor_set(x_2958, 1, x_3044); +lean_ctor_set(x_2958, 0, x_3042); +lean_ctor_set(x_2965, 0, x_2957); +return x_2965; } } else { -lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; lean_object* x_3020; lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; lean_object* x_3044; lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; lean_object* x_3048; lean_object* x_3049; lean_object* x_3050; lean_object* x_3051; lean_object* x_3052; lean_object* x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; uint8_t x_3057; lean_object* x_3058; lean_object* x_3059; lean_object* x_3060; -x_3008 = lean_ctor_get(x_2872, 0); -lean_inc(x_3008); -lean_dec(x_2872); -x_3009 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2873); -x_3010 = lean_ctor_get(x_3009, 0); -lean_inc(x_3010); -x_3011 = lean_ctor_get(x_3009, 1); -lean_inc(x_3011); -if (lean_is_exclusive(x_3009)) { - lean_ctor_release(x_3009, 0); - lean_ctor_release(x_3009, 1); - x_3012 = x_3009; -} else { - lean_dec_ref(x_3009); - x_3012 = lean_box(0); -} -x_3013 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3010); -x_3014 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3014, 0, x_3010); -lean_ctor_set(x_3014, 1, x_3013); -x_3015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3016 = lean_array_push(x_3015, x_2863); -x_3017 = lean_box(2); -x_3018 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3019 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3019, 0, x_3017); -lean_ctor_set(x_3019, 1, x_3018); -lean_ctor_set(x_3019, 2, x_3016); -x_3020 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3021 = lean_array_push(x_3020, x_3019); -x_3022 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3023 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3023, 0, x_3017); -lean_ctor_set(x_3023, 1, x_3022); -lean_ctor_set(x_3023, 2, x_3021); -x_3024 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3010); -x_3025 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3025, 0, x_3010); -lean_ctor_set(x_3025, 1, x_3024); -x_3026 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3010); -x_3027 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3027, 0, x_3010); -lean_ctor_set(x_3027, 1, x_3026); +lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; lean_object* x_3048; lean_object* x_3049; lean_object* x_3050; lean_object* x_3051; lean_object* x_3052; lean_object* x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; lean_object* x_3060; lean_object* x_3061; lean_object* x_3062; lean_object* x_3063; lean_object* x_3064; lean_object* x_3065; lean_object* x_3066; lean_object* x_3067; lean_object* x_3068; lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; lean_object* x_3083; lean_object* x_3084; lean_object* x_3085; lean_object* x_3086; lean_object* x_3087; lean_object* x_3088; lean_object* x_3089; lean_object* x_3090; uint8_t x_3091; lean_object* x_3092; lean_object* x_3093; +x_3045 = lean_ctor_get(x_2965, 0); +x_3046 = lean_ctor_get(x_2965, 1); +lean_inc(x_3046); +lean_inc(x_3045); +lean_dec(x_2965); +x_3047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3045); +x_3048 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3048, 0, x_3045); +lean_ctor_set(x_3048, 1, x_3047); +x_3049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3050 = lean_array_push(x_3049, x_2949); +x_3051 = lean_box(2); +x_3052 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3053 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3053, 0, x_3051); +lean_ctor_set(x_3053, 1, x_3052); +lean_ctor_set(x_3053, 2, x_3050); +x_3054 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3055 = lean_array_push(x_3054, x_3053); +x_3056 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3057 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3057, 0, x_3051); +lean_ctor_set(x_3057, 1, x_3056); +lean_ctor_set(x_3057, 2, x_3055); +x_3058 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3045); +x_3059 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3059, 0, x_3045); +lean_ctor_set(x_3059, 1, x_3058); +x_3060 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3045); +x_3061 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3061, 0, x_3045); +lean_ctor_set(x_3061, 1, x_3060); lean_inc(x_14); -x_3028 = lean_array_push(x_3020, x_14); +x_3062 = lean_array_push(x_3054, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_3029 = x_14; + x_3063 = x_14; } else { lean_dec_ref(x_14); - x_3029 = lean_box(0); -} -if (lean_is_scalar(x_3029)) { - x_3030 = lean_alloc_ctor(1, 3, 0); -} else { - x_3030 = x_3029; -} -lean_ctor_set(x_3030, 0, x_3017); -lean_ctor_set(x_3030, 1, x_3022); -lean_ctor_set(x_3030, 2, x_3028); -x_3031 = lean_array_push(x_3020, x_3030); -x_3032 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3032, 0, x_3017); -lean_ctor_set(x_3032, 1, x_3022); -lean_ctor_set(x_3032, 2, x_3031); -x_3033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3034 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3034, 0, x_3010); -lean_ctor_set(x_3034, 1, x_3033); -x_3035 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3036 = lean_array_push(x_3035, x_3027); -x_3037 = lean_array_push(x_3036, x_3032); -x_3038 = lean_array_push(x_3037, x_3034); -x_3039 = lean_array_push(x_3038, x_3008); -x_3040 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3041 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3041, 0, x_3017); -lean_ctor_set(x_3041, 1, x_3040); -lean_ctor_set(x_3041, 2, x_3039); -x_3042 = lean_array_push(x_3020, x_3041); -x_3043 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3043, 0, x_3017); -lean_ctor_set(x_3043, 1, x_3022); -lean_ctor_set(x_3043, 2, x_3042); -x_3044 = lean_array_push(x_3020, x_3043); -x_3045 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3046 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3046, 0, x_3017); -lean_ctor_set(x_3046, 1, x_3045); -lean_ctor_set(x_3046, 2, x_3044); -x_3047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3048 = lean_array_push(x_3047, x_3014); -x_3049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3050 = lean_array_push(x_3048, x_3049); -x_3051 = lean_array_push(x_3050, x_3049); -x_3052 = lean_array_push(x_3051, x_3023); -x_3053 = lean_array_push(x_3052, x_3025); -x_3054 = lean_array_push(x_3053, x_3046); -x_3055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3056 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3056, 0, x_3017); -lean_ctor_set(x_3056, 1, x_3055); -lean_ctor_set(x_3056, 2, x_3054); -x_3057 = 1; -x_3058 = lean_box(x_3057); -x_3059 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3059, 0, x_3056); -lean_ctor_set(x_3059, 1, x_3058); -lean_ctor_set(x_2871, 1, x_3059); -if (lean_is_scalar(x_3012)) { - x_3060 = lean_alloc_ctor(0, 2, 0); -} else { - x_3060 = x_3012; -} -lean_ctor_set(x_3060, 0, x_2871); -lean_ctor_set(x_3060, 1, x_3011); -return x_3060; -} -} -else -{ -lean_object* x_3061; lean_object* x_3062; lean_object* x_3063; lean_object* x_3064; lean_object* x_3065; lean_object* x_3066; lean_object* x_3067; lean_object* x_3068; lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; lean_object* x_3083; lean_object* x_3084; lean_object* x_3085; lean_object* x_3086; lean_object* x_3087; lean_object* x_3088; lean_object* x_3089; lean_object* x_3090; lean_object* x_3091; lean_object* x_3092; lean_object* x_3093; lean_object* x_3094; lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; lean_object* x_3099; lean_object* x_3100; lean_object* x_3101; lean_object* x_3102; lean_object* x_3103; lean_object* x_3104; lean_object* x_3105; lean_object* x_3106; lean_object* x_3107; lean_object* x_3108; lean_object* x_3109; lean_object* x_3110; lean_object* x_3111; uint8_t x_3112; lean_object* x_3113; lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; -x_3061 = lean_ctor_get(x_2871, 0); -lean_inc(x_3061); -lean_dec(x_2871); -x_3062 = lean_ctor_get(x_2872, 0); -lean_inc(x_3062); -if (lean_is_exclusive(x_2872)) { - lean_ctor_release(x_2872, 0); - lean_ctor_release(x_2872, 1); - x_3063 = x_2872; -} else { - lean_dec_ref(x_2872); x_3063 = lean_box(0); } -x_3064 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2873); -x_3065 = lean_ctor_get(x_3064, 0); -lean_inc(x_3065); -x_3066 = lean_ctor_get(x_3064, 1); -lean_inc(x_3066); -if (lean_is_exclusive(x_3064)) { - lean_ctor_release(x_3064, 0); - lean_ctor_release(x_3064, 1); - x_3067 = x_3064; -} else { - lean_dec_ref(x_3064); - x_3067 = lean_box(0); -} -x_3068 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3065); -x_3069 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3069, 0, x_3065); -lean_ctor_set(x_3069, 1, x_3068); -x_3070 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3071 = lean_array_push(x_3070, x_2863); -x_3072 = lean_box(2); -x_3073 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3074 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3074, 0, x_3072); -lean_ctor_set(x_3074, 1, x_3073); -lean_ctor_set(x_3074, 2, x_3071); -x_3075 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3076 = lean_array_push(x_3075, x_3074); -x_3077 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3078 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3078, 0, x_3072); -lean_ctor_set(x_3078, 1, x_3077); -lean_ctor_set(x_3078, 2, x_3076); -x_3079 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3065); -x_3080 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3080, 0, x_3065); -lean_ctor_set(x_3080, 1, x_3079); -x_3081 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3065); -x_3082 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3082, 0, x_3065); -lean_ctor_set(x_3082, 1, x_3081); -lean_inc(x_14); -x_3083 = lean_array_push(x_3075, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_3084 = x_14; -} else { - lean_dec_ref(x_14); - x_3084 = lean_box(0); -} -if (lean_is_scalar(x_3084)) { - x_3085 = lean_alloc_ctor(1, 3, 0); -} else { - x_3085 = x_3084; -} -lean_ctor_set(x_3085, 0, x_3072); -lean_ctor_set(x_3085, 1, x_3077); -lean_ctor_set(x_3085, 2, x_3083); -x_3086 = lean_array_push(x_3075, x_3085); -x_3087 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3087, 0, x_3072); -lean_ctor_set(x_3087, 1, x_3077); -lean_ctor_set(x_3087, 2, x_3086); -x_3088 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3089 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3089, 0, x_3065); -lean_ctor_set(x_3089, 1, x_3088); -x_3090 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3091 = lean_array_push(x_3090, x_3082); -x_3092 = lean_array_push(x_3091, x_3087); -x_3093 = lean_array_push(x_3092, x_3089); -x_3094 = lean_array_push(x_3093, x_3062); -x_3095 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3096 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3096, 0, x_3072); -lean_ctor_set(x_3096, 1, x_3095); -lean_ctor_set(x_3096, 2, x_3094); -x_3097 = lean_array_push(x_3075, x_3096); -x_3098 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3098, 0, x_3072); -lean_ctor_set(x_3098, 1, x_3077); -lean_ctor_set(x_3098, 2, x_3097); -x_3099 = lean_array_push(x_3075, x_3098); -x_3100 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3101 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3101, 0, x_3072); -lean_ctor_set(x_3101, 1, x_3100); -lean_ctor_set(x_3101, 2, x_3099); -x_3102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3103 = lean_array_push(x_3102, x_3069); -x_3104 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3105 = lean_array_push(x_3103, x_3104); -x_3106 = lean_array_push(x_3105, x_3104); -x_3107 = lean_array_push(x_3106, x_3078); -x_3108 = lean_array_push(x_3107, x_3080); -x_3109 = lean_array_push(x_3108, x_3101); -x_3110 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3111, 0, x_3072); -lean_ctor_set(x_3111, 1, x_3110); -lean_ctor_set(x_3111, 2, x_3109); -x_3112 = 1; -x_3113 = lean_box(x_3112); if (lean_is_scalar(x_3063)) { - x_3114 = lean_alloc_ctor(0, 2, 0); + x_3064 = lean_alloc_ctor(1, 3, 0); } else { - x_3114 = x_3063; -} -lean_ctor_set(x_3114, 0, x_3111); -lean_ctor_set(x_3114, 1, x_3113); -x_3115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3115, 0, x_3061); -lean_ctor_set(x_3115, 1, x_3114); -if (lean_is_scalar(x_3067)) { - x_3116 = lean_alloc_ctor(0, 2, 0); -} else { - x_3116 = x_3067; -} -lean_ctor_set(x_3116, 0, x_3115); -lean_ctor_set(x_3116, 1, x_3066); -return x_3116; + x_3064 = x_3063; } +lean_ctor_set(x_3064, 0, x_3051); +lean_ctor_set(x_3064, 1, x_3056); +lean_ctor_set(x_3064, 2, x_3062); +x_3065 = lean_array_push(x_3054, x_3064); +x_3066 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3066, 0, x_3051); +lean_ctor_set(x_3066, 1, x_3056); +lean_ctor_set(x_3066, 2, x_3065); +x_3067 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3068 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3068, 0, x_3045); +lean_ctor_set(x_3068, 1, x_3067); +x_3069 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3070 = lean_array_push(x_3069, x_3061); +x_3071 = lean_array_push(x_3070, x_3066); +x_3072 = lean_array_push(x_3071, x_3068); +x_3073 = lean_array_push(x_3072, x_2963); +x_3074 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3075 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3075, 0, x_3051); +lean_ctor_set(x_3075, 1, x_3074); +lean_ctor_set(x_3075, 2, x_3073); +x_3076 = lean_array_push(x_3054, x_3075); +x_3077 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3077, 0, x_3051); +lean_ctor_set(x_3077, 1, x_3056); +lean_ctor_set(x_3077, 2, x_3076); +x_3078 = lean_array_push(x_3054, x_3077); +x_3079 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3080 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3080, 0, x_3051); +lean_ctor_set(x_3080, 1, x_3079); +lean_ctor_set(x_3080, 2, x_3078); +x_3081 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3082 = lean_array_push(x_3081, x_3048); +x_3083 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3084 = lean_array_push(x_3082, x_3083); +x_3085 = lean_array_push(x_3084, x_3083); +x_3086 = lean_array_push(x_3085, x_3057); +x_3087 = lean_array_push(x_3086, x_3059); +x_3088 = lean_array_push(x_3087, x_3080); +x_3089 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3090 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3090, 0, x_3051); +lean_ctor_set(x_3090, 1, x_3089); +lean_ctor_set(x_3090, 2, x_3088); +x_3091 = 1; +x_3092 = lean_box(x_3091); +lean_ctor_set(x_2958, 1, x_3092); +lean_ctor_set(x_2958, 0, x_3090); +x_3093 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3093, 0, x_2957); +lean_ctor_set(x_3093, 1, x_3046); +return x_3093; } } else { -lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; lean_object* x_3120; lean_object* x_3121; lean_object* x_3122; lean_object* x_3123; lean_object* x_3124; lean_object* x_3125; lean_object* x_3126; lean_object* x_3127; lean_object* x_3128; uint8_t x_3129; -lean_dec(x_236); -lean_dec(x_235); -lean_inc(x_5); +lean_object* x_3094; lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; lean_object* x_3099; lean_object* x_3100; lean_object* x_3101; lean_object* x_3102; lean_object* x_3103; lean_object* x_3104; lean_object* x_3105; lean_object* x_3106; lean_object* x_3107; lean_object* x_3108; lean_object* x_3109; lean_object* x_3110; lean_object* x_3111; lean_object* x_3112; lean_object* x_3113; lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; lean_object* x_3120; lean_object* x_3121; lean_object* x_3122; lean_object* x_3123; lean_object* x_3124; lean_object* x_3125; lean_object* x_3126; lean_object* x_3127; lean_object* x_3128; lean_object* x_3129; lean_object* x_3130; lean_object* x_3131; lean_object* x_3132; lean_object* x_3133; lean_object* x_3134; lean_object* x_3135; lean_object* x_3136; lean_object* x_3137; lean_object* x_3138; lean_object* x_3139; lean_object* x_3140; lean_object* x_3141; lean_object* x_3142; uint8_t x_3143; lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; +x_3094 = lean_ctor_get(x_2958, 0); +lean_inc(x_3094); +lean_dec(x_2958); +x_3095 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2959); +x_3096 = lean_ctor_get(x_3095, 0); +lean_inc(x_3096); +x_3097 = lean_ctor_get(x_3095, 1); +lean_inc(x_3097); +if (lean_is_exclusive(x_3095)) { + lean_ctor_release(x_3095, 0); + lean_ctor_release(x_3095, 1); + x_3098 = x_3095; +} else { + lean_dec_ref(x_3095); + x_3098 = lean_box(0); +} +x_3099 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3096); +x_3100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3100, 0, x_3096); +lean_ctor_set(x_3100, 1, x_3099); +x_3101 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3102 = lean_array_push(x_3101, x_2949); +x_3103 = lean_box(2); +x_3104 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3105 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3105, 0, x_3103); +lean_ctor_set(x_3105, 1, x_3104); +lean_ctor_set(x_3105, 2, x_3102); +x_3106 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3107 = lean_array_push(x_3106, x_3105); +x_3108 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3109, 0, x_3103); +lean_ctor_set(x_3109, 1, x_3108); +lean_ctor_set(x_3109, 2, x_3107); +x_3110 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3096); +x_3111 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3111, 0, x_3096); +lean_ctor_set(x_3111, 1, x_3110); +x_3112 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3096); +x_3113 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3113, 0, x_3096); +lean_ctor_set(x_3113, 1, x_3112); lean_inc(x_14); -x_3117 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_3118 = lean_ctor_get(x_3117, 0); -lean_inc(x_3118); -x_3119 = lean_ctor_get(x_3117, 1); -lean_inc(x_3119); -lean_dec(x_3117); -x_3120 = lean_unsigned_to_nat(1u); -x_3121 = lean_nat_add(x_3, x_3120); -lean_dec(x_3); -lean_inc(x_14); -x_3122 = l_Lean_mkHole(x_14); -lean_inc(x_3118); -x_3123 = l_Lean_Elab_Term_mkExplicitBinder(x_3118, x_3122); -x_3124 = lean_array_push(x_4, x_3123); -lean_inc(x_5); -x_3125 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3121, x_3124, x_5, x_3119); -x_3126 = lean_ctor_get(x_3125, 0); -lean_inc(x_3126); -x_3127 = lean_ctor_get(x_3126, 1); -lean_inc(x_3127); -x_3128 = lean_ctor_get(x_3125, 1); -lean_inc(x_3128); -lean_dec(x_3125); -x_3129 = !lean_is_exclusive(x_3126); -if (x_3129 == 0) +x_3114 = lean_array_push(x_3106, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3115 = x_14; +} else { + lean_dec_ref(x_14); + x_3115 = lean_box(0); +} +if (lean_is_scalar(x_3115)) { + x_3116 = lean_alloc_ctor(1, 3, 0); +} else { + x_3116 = x_3115; +} +lean_ctor_set(x_3116, 0, x_3103); +lean_ctor_set(x_3116, 1, x_3108); +lean_ctor_set(x_3116, 2, x_3114); +x_3117 = lean_array_push(x_3106, x_3116); +x_3118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3118, 0, x_3103); +lean_ctor_set(x_3118, 1, x_3108); +lean_ctor_set(x_3118, 2, x_3117); +x_3119 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3120, 0, x_3096); +lean_ctor_set(x_3120, 1, x_3119); +x_3121 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3122 = lean_array_push(x_3121, x_3113); +x_3123 = lean_array_push(x_3122, x_3118); +x_3124 = lean_array_push(x_3123, x_3120); +x_3125 = lean_array_push(x_3124, x_3094); +x_3126 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3127 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3127, 0, x_3103); +lean_ctor_set(x_3127, 1, x_3126); +lean_ctor_set(x_3127, 2, x_3125); +x_3128 = lean_array_push(x_3106, x_3127); +x_3129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3129, 0, x_3103); +lean_ctor_set(x_3129, 1, x_3108); +lean_ctor_set(x_3129, 2, x_3128); +x_3130 = lean_array_push(x_3106, x_3129); +x_3131 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3132, 0, x_3103); +lean_ctor_set(x_3132, 1, x_3131); +lean_ctor_set(x_3132, 2, x_3130); +x_3133 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3134 = lean_array_push(x_3133, x_3100); +x_3135 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3136 = lean_array_push(x_3134, x_3135); +x_3137 = lean_array_push(x_3136, x_3135); +x_3138 = lean_array_push(x_3137, x_3109); +x_3139 = lean_array_push(x_3138, x_3111); +x_3140 = lean_array_push(x_3139, x_3132); +x_3141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3142 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3142, 0, x_3103); +lean_ctor_set(x_3142, 1, x_3141); +lean_ctor_set(x_3142, 2, x_3140); +x_3143 = 1; +x_3144 = lean_box(x_3143); +x_3145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3145, 0, x_3142); +lean_ctor_set(x_3145, 1, x_3144); +lean_ctor_set(x_2957, 1, x_3145); +if (lean_is_scalar(x_3098)) { + x_3146 = lean_alloc_ctor(0, 2, 0); +} else { + x_3146 = x_3098; +} +lean_ctor_set(x_3146, 0, x_2957); +lean_ctor_set(x_3146, 1, x_3097); +return x_3146; +} +} +else { -lean_object* x_3130; uint8_t x_3131; -x_3130 = lean_ctor_get(x_3126, 1); -lean_dec(x_3130); -x_3131 = !lean_is_exclusive(x_3127); -if (x_3131 == 0) -{ -lean_object* x_3132; lean_object* x_3133; lean_object* x_3134; uint8_t x_3135; -x_3132 = lean_ctor_get(x_3127, 0); -x_3133 = lean_ctor_get(x_3127, 1); -lean_dec(x_3133); -x_3134 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3128); -x_3135 = !lean_is_exclusive(x_3134); -if (x_3135 == 0) -{ -lean_object* x_3136; lean_object* x_3137; lean_object* x_3138; lean_object* x_3139; lean_object* x_3140; lean_object* x_3141; lean_object* x_3142; lean_object* x_3143; lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; lean_object* x_3147; lean_object* x_3148; lean_object* x_3149; lean_object* x_3150; lean_object* x_3151; lean_object* x_3152; uint8_t x_3153; -x_3136 = lean_ctor_get(x_3134, 0); -x_3137 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3136); -x_3138 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3138, 0, x_3136); -lean_ctor_set(x_3138, 1, x_3137); -x_3139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3140 = lean_array_push(x_3139, x_3118); -x_3141 = lean_box(2); -x_3142 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3143 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3143, 0, x_3141); -lean_ctor_set(x_3143, 1, x_3142); -lean_ctor_set(x_3143, 2, x_3140); -x_3144 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3145 = lean_array_push(x_3144, x_3143); -x_3146 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3147, 0, x_3141); -lean_ctor_set(x_3147, 1, x_3146); -lean_ctor_set(x_3147, 2, x_3145); -x_3148 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3136); -x_3149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3149, 0, x_3136); -lean_ctor_set(x_3149, 1, x_3148); -x_3150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3136); -x_3151 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3151, 0, x_3136); -lean_ctor_set(x_3151, 1, x_3150); -lean_inc(x_14); -x_3152 = lean_array_push(x_3144, x_14); -x_3153 = !lean_is_exclusive(x_14); -if (x_3153 == 0) -{ -lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; lean_object* x_3166; lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; lean_object* x_3170; lean_object* x_3171; lean_object* x_3172; lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; lean_object* x_3178; lean_object* x_3179; lean_object* x_3180; lean_object* x_3181; lean_object* x_3182; uint8_t x_3183; lean_object* x_3184; -x_3154 = lean_ctor_get(x_14, 2); -lean_dec(x_3154); -x_3155 = lean_ctor_get(x_14, 1); -lean_dec(x_3155); -x_3156 = lean_ctor_get(x_14, 0); -lean_dec(x_3156); -lean_ctor_set(x_14, 2, x_3152); -lean_ctor_set(x_14, 1, x_3146); -lean_ctor_set(x_14, 0, x_3141); -x_3157 = lean_array_push(x_3144, x_14); -x_3158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3158, 0, x_3141); -lean_ctor_set(x_3158, 1, x_3146); -lean_ctor_set(x_3158, 2, x_3157); -x_3159 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3160 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3160, 0, x_3136); +lean_object* x_3147; lean_object* x_3148; lean_object* x_3149; lean_object* x_3150; lean_object* x_3151; lean_object* x_3152; lean_object* x_3153; lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; lean_object* x_3166; lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; lean_object* x_3170; lean_object* x_3171; lean_object* x_3172; lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; lean_object* x_3178; lean_object* x_3179; lean_object* x_3180; lean_object* x_3181; lean_object* x_3182; lean_object* x_3183; lean_object* x_3184; lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; lean_object* x_3190; lean_object* x_3191; lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; uint8_t x_3198; lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; +x_3147 = lean_ctor_get(x_2957, 0); +lean_inc(x_3147); +lean_dec(x_2957); +x_3148 = lean_ctor_get(x_2958, 0); +lean_inc(x_3148); +if (lean_is_exclusive(x_2958)) { + lean_ctor_release(x_2958, 0); + lean_ctor_release(x_2958, 1); + x_3149 = x_2958; +} else { + lean_dec_ref(x_2958); + x_3149 = lean_box(0); +} +x_3150 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2959); +x_3151 = lean_ctor_get(x_3150, 0); +lean_inc(x_3151); +x_3152 = lean_ctor_get(x_3150, 1); +lean_inc(x_3152); +if (lean_is_exclusive(x_3150)) { + lean_ctor_release(x_3150, 0); + lean_ctor_release(x_3150, 1); + x_3153 = x_3150; +} else { + lean_dec_ref(x_3150); + x_3153 = lean_box(0); +} +x_3154 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3151); +x_3155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3155, 0, x_3151); +lean_ctor_set(x_3155, 1, x_3154); +x_3156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3157 = lean_array_push(x_3156, x_2949); +x_3158 = lean_box(2); +x_3159 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3160 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3160, 0, x_3158); lean_ctor_set(x_3160, 1, x_3159); -x_3161 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3162 = lean_array_push(x_3161, x_3151); -x_3163 = lean_array_push(x_3162, x_3158); -x_3164 = lean_array_push(x_3163, x_3160); -x_3165 = lean_array_push(x_3164, x_3132); -x_3166 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3167 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3167, 0, x_3141); -lean_ctor_set(x_3167, 1, x_3166); -lean_ctor_set(x_3167, 2, x_3165); -x_3168 = lean_array_push(x_3144, x_3167); -x_3169 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3169, 0, x_3141); -lean_ctor_set(x_3169, 1, x_3146); -lean_ctor_set(x_3169, 2, x_3168); -x_3170 = lean_array_push(x_3144, x_3169); -x_3171 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3172 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3172, 0, x_3141); -lean_ctor_set(x_3172, 1, x_3171); -lean_ctor_set(x_3172, 2, x_3170); -x_3173 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3174 = lean_array_push(x_3173, x_3138); -x_3175 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3176 = lean_array_push(x_3174, x_3175); -x_3177 = lean_array_push(x_3176, x_3175); -x_3178 = lean_array_push(x_3177, x_3147); -x_3179 = lean_array_push(x_3178, x_3149); -x_3180 = lean_array_push(x_3179, x_3172); -x_3181 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +lean_ctor_set(x_3160, 2, x_3157); +x_3161 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3162 = lean_array_push(x_3161, x_3160); +x_3163 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3164, 0, x_3158); +lean_ctor_set(x_3164, 1, x_3163); +lean_ctor_set(x_3164, 2, x_3162); +x_3165 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3151); +x_3166 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3166, 0, x_3151); +lean_ctor_set(x_3166, 1, x_3165); +x_3167 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3151); +x_3168 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3168, 0, x_3151); +lean_ctor_set(x_3168, 1, x_3167); +lean_inc(x_14); +x_3169 = lean_array_push(x_3161, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3170 = x_14; +} else { + lean_dec_ref(x_14); + x_3170 = lean_box(0); +} +if (lean_is_scalar(x_3170)) { + x_3171 = lean_alloc_ctor(1, 3, 0); +} else { + x_3171 = x_3170; +} +lean_ctor_set(x_3171, 0, x_3158); +lean_ctor_set(x_3171, 1, x_3163); +lean_ctor_set(x_3171, 2, x_3169); +x_3172 = lean_array_push(x_3161, x_3171); +x_3173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3173, 0, x_3158); +lean_ctor_set(x_3173, 1, x_3163); +lean_ctor_set(x_3173, 2, x_3172); +x_3174 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3175 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3175, 0, x_3151); +lean_ctor_set(x_3175, 1, x_3174); +x_3176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3177 = lean_array_push(x_3176, x_3168); +x_3178 = lean_array_push(x_3177, x_3173); +x_3179 = lean_array_push(x_3178, x_3175); +x_3180 = lean_array_push(x_3179, x_3148); +x_3181 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; x_3182 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3182, 0, x_3141); +lean_ctor_set(x_3182, 0, x_3158); lean_ctor_set(x_3182, 1, x_3181); lean_ctor_set(x_3182, 2, x_3180); -x_3183 = 1; -x_3184 = lean_box(x_3183); -lean_ctor_set(x_3127, 1, x_3184); -lean_ctor_set(x_3127, 0, x_3182); -lean_ctor_set(x_3134, 0, x_3126); -return x_3134; -} -else -{ -lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; lean_object* x_3190; lean_object* x_3191; lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; lean_object* x_3207; lean_object* x_3208; lean_object* x_3209; lean_object* x_3210; lean_object* x_3211; uint8_t x_3212; lean_object* x_3213; -lean_dec(x_14); -x_3185 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3185, 0, x_3141); -lean_ctor_set(x_3185, 1, x_3146); -lean_ctor_set(x_3185, 2, x_3152); -x_3186 = lean_array_push(x_3144, x_3185); +x_3183 = lean_array_push(x_3161, x_3182); +x_3184 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3184, 0, x_3158); +lean_ctor_set(x_3184, 1, x_3163); +lean_ctor_set(x_3184, 2, x_3183); +x_3185 = lean_array_push(x_3161, x_3184); +x_3186 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; x_3187 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3187, 0, x_3141); -lean_ctor_set(x_3187, 1, x_3146); -lean_ctor_set(x_3187, 2, x_3186); -x_3188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3189 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3189, 0, x_3136); -lean_ctor_set(x_3189, 1, x_3188); -x_3190 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3191 = lean_array_push(x_3190, x_3151); -x_3192 = lean_array_push(x_3191, x_3187); -x_3193 = lean_array_push(x_3192, x_3189); -x_3194 = lean_array_push(x_3193, x_3132); -x_3195 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3196 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3196, 0, x_3141); -lean_ctor_set(x_3196, 1, x_3195); -lean_ctor_set(x_3196, 2, x_3194); -x_3197 = lean_array_push(x_3144, x_3196); -x_3198 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3198, 0, x_3141); -lean_ctor_set(x_3198, 1, x_3146); -lean_ctor_set(x_3198, 2, x_3197); -x_3199 = lean_array_push(x_3144, x_3198); -x_3200 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3201 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3201, 0, x_3141); +lean_ctor_set(x_3187, 0, x_3158); +lean_ctor_set(x_3187, 1, x_3186); +lean_ctor_set(x_3187, 2, x_3185); +x_3188 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3189 = lean_array_push(x_3188, x_3155); +x_3190 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3191 = lean_array_push(x_3189, x_3190); +x_3192 = lean_array_push(x_3191, x_3190); +x_3193 = lean_array_push(x_3192, x_3164); +x_3194 = lean_array_push(x_3193, x_3166); +x_3195 = lean_array_push(x_3194, x_3187); +x_3196 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3197 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3197, 0, x_3158); +lean_ctor_set(x_3197, 1, x_3196); +lean_ctor_set(x_3197, 2, x_3195); +x_3198 = 1; +x_3199 = lean_box(x_3198); +if (lean_is_scalar(x_3149)) { + x_3200 = lean_alloc_ctor(0, 2, 0); +} else { + x_3200 = x_3149; +} +lean_ctor_set(x_3200, 0, x_3197); +lean_ctor_set(x_3200, 1, x_3199); +x_3201 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3201, 0, x_3147); lean_ctor_set(x_3201, 1, x_3200); -lean_ctor_set(x_3201, 2, x_3199); -x_3202 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3203 = lean_array_push(x_3202, x_3138); -x_3204 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3205 = lean_array_push(x_3203, x_3204); -x_3206 = lean_array_push(x_3205, x_3204); -x_3207 = lean_array_push(x_3206, x_3147); -x_3208 = lean_array_push(x_3207, x_3149); -x_3209 = lean_array_push(x_3208, x_3201); -x_3210 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3211 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3211, 0, x_3141); -lean_ctor_set(x_3211, 1, x_3210); -lean_ctor_set(x_3211, 2, x_3209); -x_3212 = 1; -x_3213 = lean_box(x_3212); -lean_ctor_set(x_3127, 1, x_3213); -lean_ctor_set(x_3127, 0, x_3211); -lean_ctor_set(x_3134, 0, x_3126); -return x_3134; +if (lean_is_scalar(x_3153)) { + x_3202 = lean_alloc_ctor(0, 2, 0); +} else { + x_3202 = x_3153; +} +lean_ctor_set(x_3202, 0, x_3201); +lean_ctor_set(x_3202, 1, x_3152); +return x_3202; } } else { -lean_object* x_3214; lean_object* x_3215; lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; lean_object* x_3220; lean_object* x_3221; lean_object* x_3222; lean_object* x_3223; lean_object* x_3224; lean_object* x_3225; lean_object* x_3226; lean_object* x_3227; lean_object* x_3228; lean_object* x_3229; lean_object* x_3230; lean_object* x_3231; lean_object* x_3232; lean_object* x_3233; lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; lean_object* x_3237; lean_object* x_3238; lean_object* x_3239; lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; lean_object* x_3243; lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; lean_object* x_3250; lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; lean_object* x_3254; lean_object* x_3255; lean_object* x_3256; lean_object* x_3257; lean_object* x_3258; lean_object* x_3259; uint8_t x_3260; lean_object* x_3261; lean_object* x_3262; -x_3214 = lean_ctor_get(x_3134, 0); -x_3215 = lean_ctor_get(x_3134, 1); -lean_inc(x_3215); -lean_inc(x_3214); -lean_dec(x_3134); -x_3216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3214); -x_3217 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3217, 0, x_3214); -lean_ctor_set(x_3217, 1, x_3216); -x_3218 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3219 = lean_array_push(x_3218, x_3118); -x_3220 = lean_box(2); -x_3221 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3222 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3222, 0, x_3220); -lean_ctor_set(x_3222, 1, x_3221); -lean_ctor_set(x_3222, 2, x_3219); -x_3223 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3224 = lean_array_push(x_3223, x_3222); -x_3225 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3226 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3226, 0, x_3220); -lean_ctor_set(x_3226, 1, x_3225); -lean_ctor_set(x_3226, 2, x_3224); -x_3227 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3214); -x_3228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3228, 0, x_3214); -lean_ctor_set(x_3228, 1, x_3227); -x_3229 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3214); -x_3230 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3230, 0, x_3214); -lean_ctor_set(x_3230, 1, x_3229); -lean_inc(x_14); -x_3231 = lean_array_push(x_3223, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_3232 = x_14; -} else { - lean_dec_ref(x_14); - x_3232 = lean_box(0); -} -if (lean_is_scalar(x_3232)) { - x_3233 = lean_alloc_ctor(1, 3, 0); -} else { - x_3233 = x_3232; -} -lean_ctor_set(x_3233, 0, x_3220); -lean_ctor_set(x_3233, 1, x_3225); -lean_ctor_set(x_3233, 2, x_3231); -x_3234 = lean_array_push(x_3223, x_3233); -x_3235 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3235, 0, x_3220); -lean_ctor_set(x_3235, 1, x_3225); -lean_ctor_set(x_3235, 2, x_3234); -x_3236 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3237, 0, x_3214); -lean_ctor_set(x_3237, 1, x_3236); -x_3238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3239 = lean_array_push(x_3238, x_3230); -x_3240 = lean_array_push(x_3239, x_3235); -x_3241 = lean_array_push(x_3240, x_3237); -x_3242 = lean_array_push(x_3241, x_3132); -x_3243 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3244 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3244, 0, x_3220); -lean_ctor_set(x_3244, 1, x_3243); -lean_ctor_set(x_3244, 2, x_3242); -x_3245 = lean_array_push(x_3223, x_3244); -x_3246 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3246, 0, x_3220); -lean_ctor_set(x_3246, 1, x_3225); -lean_ctor_set(x_3246, 2, x_3245); -x_3247 = lean_array_push(x_3223, x_3246); -x_3248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3249 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3249, 0, x_3220); -lean_ctor_set(x_3249, 1, x_3248); -lean_ctor_set(x_3249, 2, x_3247); -x_3250 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3251 = lean_array_push(x_3250, x_3217); -x_3252 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3253 = lean_array_push(x_3251, x_3252); -x_3254 = lean_array_push(x_3253, x_3252); -x_3255 = lean_array_push(x_3254, x_3226); -x_3256 = lean_array_push(x_3255, x_3228); -x_3257 = lean_array_push(x_3256, x_3249); -x_3258 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3259 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3259, 0, x_3220); -lean_ctor_set(x_3259, 1, x_3258); -lean_ctor_set(x_3259, 2, x_3257); -x_3260 = 1; -x_3261 = lean_box(x_3260); -lean_ctor_set(x_3127, 1, x_3261); -lean_ctor_set(x_3127, 0, x_3259); -x_3262 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3262, 0, x_3126); -lean_ctor_set(x_3262, 1, x_3215); -return x_3262; -} +uint8_t x_3203; +lean_dec(x_2949); +lean_dec(x_14); +lean_dec(x_5); +x_3203 = !lean_is_exclusive(x_2956); +if (x_3203 == 0) +{ +return x_2956; } else { -lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; lean_object* x_3268; lean_object* x_3269; lean_object* x_3270; lean_object* x_3271; lean_object* x_3272; lean_object* x_3273; lean_object* x_3274; lean_object* x_3275; lean_object* x_3276; lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; lean_object* x_3280; lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; lean_object* x_3284; lean_object* x_3285; lean_object* x_3286; lean_object* x_3287; lean_object* x_3288; lean_object* x_3289; lean_object* x_3290; lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; lean_object* x_3299; lean_object* x_3300; lean_object* x_3301; lean_object* x_3302; lean_object* x_3303; lean_object* x_3304; lean_object* x_3305; lean_object* x_3306; lean_object* x_3307; lean_object* x_3308; lean_object* x_3309; lean_object* x_3310; lean_object* x_3311; uint8_t x_3312; lean_object* x_3313; lean_object* x_3314; lean_object* x_3315; -x_3263 = lean_ctor_get(x_3127, 0); -lean_inc(x_3263); -lean_dec(x_3127); -x_3264 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3128); -x_3265 = lean_ctor_get(x_3264, 0); -lean_inc(x_3265); -x_3266 = lean_ctor_get(x_3264, 1); -lean_inc(x_3266); -if (lean_is_exclusive(x_3264)) { - lean_ctor_release(x_3264, 0); - lean_ctor_release(x_3264, 1); - x_3267 = x_3264; -} else { - lean_dec_ref(x_3264); - x_3267 = lean_box(0); +lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; +x_3204 = lean_ctor_get(x_2956, 0); +x_3205 = lean_ctor_get(x_2956, 1); +lean_inc(x_3205); +lean_inc(x_3204); +lean_dec(x_2956); +x_3206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3206, 0, x_3204); +lean_ctor_set(x_3206, 1, x_3205); +return x_3206; } -x_3268 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3265); -x_3269 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3269, 0, x_3265); -lean_ctor_set(x_3269, 1, x_3268); -x_3270 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3271 = lean_array_push(x_3270, x_3118); -x_3272 = lean_box(2); -x_3273 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3274 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3274, 0, x_3272); -lean_ctor_set(x_3274, 1, x_3273); -lean_ctor_set(x_3274, 2, x_3271); -x_3275 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3276 = lean_array_push(x_3275, x_3274); -x_3277 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3278 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3278, 0, x_3272); -lean_ctor_set(x_3278, 1, x_3277); -lean_ctor_set(x_3278, 2, x_3276); -x_3279 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3265); -x_3280 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3280, 0, x_3265); -lean_ctor_set(x_3280, 1, x_3279); -x_3281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3265); -x_3282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3282, 0, x_3265); -lean_ctor_set(x_3282, 1, x_3281); -lean_inc(x_14); -x_3283 = lean_array_push(x_3275, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_3284 = x_14; -} else { - lean_dec_ref(x_14); - x_3284 = lean_box(0); -} -if (lean_is_scalar(x_3284)) { - x_3285 = lean_alloc_ctor(1, 3, 0); -} else { - x_3285 = x_3284; -} -lean_ctor_set(x_3285, 0, x_3272); -lean_ctor_set(x_3285, 1, x_3277); -lean_ctor_set(x_3285, 2, x_3283); -x_3286 = lean_array_push(x_3275, x_3285); -x_3287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3287, 0, x_3272); -lean_ctor_set(x_3287, 1, x_3277); -lean_ctor_set(x_3287, 2, x_3286); -x_3288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3289 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3289, 0, x_3265); -lean_ctor_set(x_3289, 1, x_3288); -x_3290 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3291 = lean_array_push(x_3290, x_3282); -x_3292 = lean_array_push(x_3291, x_3287); -x_3293 = lean_array_push(x_3292, x_3289); -x_3294 = lean_array_push(x_3293, x_3263); -x_3295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3296 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3296, 0, x_3272); -lean_ctor_set(x_3296, 1, x_3295); -lean_ctor_set(x_3296, 2, x_3294); -x_3297 = lean_array_push(x_3275, x_3296); -x_3298 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3298, 0, x_3272); -lean_ctor_set(x_3298, 1, x_3277); -lean_ctor_set(x_3298, 2, x_3297); -x_3299 = lean_array_push(x_3275, x_3298); -x_3300 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3301 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3301, 0, x_3272); -lean_ctor_set(x_3301, 1, x_3300); -lean_ctor_set(x_3301, 2, x_3299); -x_3302 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3303 = lean_array_push(x_3302, x_3269); -x_3304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3305 = lean_array_push(x_3303, x_3304); -x_3306 = lean_array_push(x_3305, x_3304); -x_3307 = lean_array_push(x_3306, x_3278); -x_3308 = lean_array_push(x_3307, x_3280); -x_3309 = lean_array_push(x_3308, x_3301); -x_3310 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3311 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3311, 0, x_3272); -lean_ctor_set(x_3311, 1, x_3310); -lean_ctor_set(x_3311, 2, x_3309); -x_3312 = 1; -x_3313 = lean_box(x_3312); -x_3314 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3314, 0, x_3311); -lean_ctor_set(x_3314, 1, x_3313); -lean_ctor_set(x_3126, 1, x_3314); -if (lean_is_scalar(x_3267)) { - x_3315 = lean_alloc_ctor(0, 2, 0); -} else { - x_3315 = x_3267; -} -lean_ctor_set(x_3315, 0, x_3126); -lean_ctor_set(x_3315, 1, x_3266); -return x_3315; -} -} -else -{ -lean_object* x_3316; lean_object* x_3317; lean_object* x_3318; lean_object* x_3319; lean_object* x_3320; lean_object* x_3321; lean_object* x_3322; lean_object* x_3323; lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; lean_object* x_3327; lean_object* x_3328; lean_object* x_3329; lean_object* x_3330; lean_object* x_3331; lean_object* x_3332; lean_object* x_3333; lean_object* x_3334; lean_object* x_3335; lean_object* x_3336; lean_object* x_3337; lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; lean_object* x_3341; lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_object* x_3347; lean_object* x_3348; lean_object* x_3349; lean_object* x_3350; lean_object* x_3351; lean_object* x_3352; lean_object* x_3353; lean_object* x_3354; lean_object* x_3355; lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; lean_object* x_3361; lean_object* x_3362; lean_object* x_3363; lean_object* x_3364; lean_object* x_3365; lean_object* x_3366; uint8_t x_3367; lean_object* x_3368; lean_object* x_3369; lean_object* x_3370; lean_object* x_3371; -x_3316 = lean_ctor_get(x_3126, 0); -lean_inc(x_3316); -lean_dec(x_3126); -x_3317 = lean_ctor_get(x_3127, 0); -lean_inc(x_3317); -if (lean_is_exclusive(x_3127)) { - lean_ctor_release(x_3127, 0); - lean_ctor_release(x_3127, 1); - x_3318 = x_3127; -} else { - lean_dec_ref(x_3127); - x_3318 = lean_box(0); -} -x_3319 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3128); -x_3320 = lean_ctor_get(x_3319, 0); -lean_inc(x_3320); -x_3321 = lean_ctor_get(x_3319, 1); -lean_inc(x_3321); -if (lean_is_exclusive(x_3319)) { - lean_ctor_release(x_3319, 0); - lean_ctor_release(x_3319, 1); - x_3322 = x_3319; -} else { - lean_dec_ref(x_3319); - x_3322 = lean_box(0); -} -x_3323 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3320); -x_3324 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3324, 0, x_3320); -lean_ctor_set(x_3324, 1, x_3323); -x_3325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3326 = lean_array_push(x_3325, x_3118); -x_3327 = lean_box(2); -x_3328 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3329 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3329, 0, x_3327); -lean_ctor_set(x_3329, 1, x_3328); -lean_ctor_set(x_3329, 2, x_3326); -x_3330 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3331 = lean_array_push(x_3330, x_3329); -x_3332 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3333 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3333, 0, x_3327); -lean_ctor_set(x_3333, 1, x_3332); -lean_ctor_set(x_3333, 2, x_3331); -x_3334 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3320); -x_3335 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3335, 0, x_3320); -lean_ctor_set(x_3335, 1, x_3334); -x_3336 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3320); -x_3337 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3337, 0, x_3320); -lean_ctor_set(x_3337, 1, x_3336); -lean_inc(x_14); -x_3338 = lean_array_push(x_3330, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_3339 = x_14; -} else { - lean_dec_ref(x_14); - x_3339 = lean_box(0); -} -if (lean_is_scalar(x_3339)) { - x_3340 = lean_alloc_ctor(1, 3, 0); -} else { - x_3340 = x_3339; -} -lean_ctor_set(x_3340, 0, x_3327); -lean_ctor_set(x_3340, 1, x_3332); -lean_ctor_set(x_3340, 2, x_3338); -x_3341 = lean_array_push(x_3330, x_3340); -x_3342 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3342, 0, x_3327); -lean_ctor_set(x_3342, 1, x_3332); -lean_ctor_set(x_3342, 2, x_3341); -x_3343 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3344 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3344, 0, x_3320); -lean_ctor_set(x_3344, 1, x_3343); -x_3345 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3346 = lean_array_push(x_3345, x_3337); -x_3347 = lean_array_push(x_3346, x_3342); -x_3348 = lean_array_push(x_3347, x_3344); -x_3349 = lean_array_push(x_3348, x_3317); -x_3350 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3351 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3351, 0, x_3327); -lean_ctor_set(x_3351, 1, x_3350); -lean_ctor_set(x_3351, 2, x_3349); -x_3352 = lean_array_push(x_3330, x_3351); -x_3353 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3353, 0, x_3327); -lean_ctor_set(x_3353, 1, x_3332); -lean_ctor_set(x_3353, 2, x_3352); -x_3354 = lean_array_push(x_3330, x_3353); -x_3355 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3356 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3356, 0, x_3327); -lean_ctor_set(x_3356, 1, x_3355); -lean_ctor_set(x_3356, 2, x_3354); -x_3357 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3358 = lean_array_push(x_3357, x_3324); -x_3359 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3360 = lean_array_push(x_3358, x_3359); -x_3361 = lean_array_push(x_3360, x_3359); -x_3362 = lean_array_push(x_3361, x_3333); -x_3363 = lean_array_push(x_3362, x_3335); -x_3364 = lean_array_push(x_3363, x_3356); -x_3365 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3366 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3366, 0, x_3327); -lean_ctor_set(x_3366, 1, x_3365); -lean_ctor_set(x_3366, 2, x_3364); -x_3367 = 1; -x_3368 = lean_box(x_3367); -if (lean_is_scalar(x_3318)) { - x_3369 = lean_alloc_ctor(0, 2, 0); -} else { - x_3369 = x_3318; -} -lean_ctor_set(x_3369, 0, x_3366); -lean_ctor_set(x_3369, 1, x_3368); -x_3370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3370, 0, x_3316); -lean_ctor_set(x_3370, 1, x_3369); -if (lean_is_scalar(x_3322)) { - x_3371 = lean_alloc_ctor(0, 2, 0); -} else { - x_3371 = x_3322; -} -lean_ctor_set(x_3371, 0, x_3370); -lean_ctor_set(x_3371, 1, x_3321); -return x_3371; } } } else { -lean_object* x_3372; lean_object* x_3373; lean_object* x_3374; lean_object* x_3375; lean_object* x_3376; lean_object* x_3377; lean_object* x_3378; lean_object* x_3379; lean_object* x_3380; lean_object* x_3381; lean_object* x_3382; lean_object* x_3383; uint8_t x_3384; -lean_dec(x_235); +lean_object* x_3207; lean_object* x_3208; lean_object* x_3209; lean_object* x_3210; lean_object* x_3211; lean_object* x_3212; lean_object* x_3213; lean_object* x_3214; lean_object* x_3215; +lean_dec(x_241); +lean_dec(x_240); +lean_dec(x_239); lean_inc(x_5); lean_inc(x_14); -x_3372 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_3373 = lean_ctor_get(x_3372, 0); -lean_inc(x_3373); -x_3374 = lean_ctor_get(x_3372, 1); -lean_inc(x_3374); -lean_dec(x_3372); -x_3375 = lean_unsigned_to_nat(1u); -x_3376 = lean_nat_add(x_3, x_3375); +x_3207 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_3208 = lean_ctor_get(x_3207, 0); +lean_inc(x_3208); +x_3209 = lean_ctor_get(x_3207, 1); +lean_inc(x_3209); +lean_dec(x_3207); +x_3210 = lean_unsigned_to_nat(1u); +x_3211 = lean_nat_add(x_3, x_3210); lean_dec(x_3); lean_inc(x_14); -x_3377 = l_Lean_mkHole(x_14); -lean_inc(x_3373); -x_3378 = l_Lean_Elab_Term_mkExplicitBinder(x_3373, x_3377); -x_3379 = lean_array_push(x_4, x_3378); +x_3212 = l_Lean_mkHole(x_14); +lean_inc(x_3208); +x_3213 = l_Lean_Elab_Term_mkExplicitBinder(x_3208, x_3212); +x_3214 = lean_array_push(x_4, x_3213); lean_inc(x_5); -x_3380 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3376, x_3379, x_5, x_3374); -x_3381 = lean_ctor_get(x_3380, 0); -lean_inc(x_3381); -x_3382 = lean_ctor_get(x_3381, 1); -lean_inc(x_3382); -x_3383 = lean_ctor_get(x_3380, 1); -lean_inc(x_3383); -lean_dec(x_3380); -x_3384 = !lean_is_exclusive(x_3381); -if (x_3384 == 0) +x_3215 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3211, x_3214, x_5, x_3209); +if (lean_obj_tag(x_3215) == 0) { -lean_object* x_3385; uint8_t x_3386; -x_3385 = lean_ctor_get(x_3381, 1); -lean_dec(x_3385); -x_3386 = !lean_is_exclusive(x_3382); -if (x_3386 == 0) +lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; uint8_t x_3219; +x_3216 = lean_ctor_get(x_3215, 0); +lean_inc(x_3216); +x_3217 = lean_ctor_get(x_3216, 1); +lean_inc(x_3217); +x_3218 = lean_ctor_get(x_3215, 1); +lean_inc(x_3218); +lean_dec(x_3215); +x_3219 = !lean_is_exclusive(x_3216); +if (x_3219 == 0) { -lean_object* x_3387; lean_object* x_3388; lean_object* x_3389; uint8_t x_3390; -x_3387 = lean_ctor_get(x_3382, 0); -x_3388 = lean_ctor_get(x_3382, 1); -lean_dec(x_3388); -x_3389 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3383); -x_3390 = !lean_is_exclusive(x_3389); -if (x_3390 == 0) +lean_object* x_3220; uint8_t x_3221; +x_3220 = lean_ctor_get(x_3216, 1); +lean_dec(x_3220); +x_3221 = !lean_is_exclusive(x_3217); +if (x_3221 == 0) { -lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; lean_object* x_3394; lean_object* x_3395; lean_object* x_3396; lean_object* x_3397; lean_object* x_3398; lean_object* x_3399; lean_object* x_3400; lean_object* x_3401; lean_object* x_3402; lean_object* x_3403; lean_object* x_3404; lean_object* x_3405; lean_object* x_3406; lean_object* x_3407; uint8_t x_3408; -x_3391 = lean_ctor_get(x_3389, 0); -x_3392 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3391); -x_3393 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3393, 0, x_3391); -lean_ctor_set(x_3393, 1, x_3392); -x_3394 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3395 = lean_array_push(x_3394, x_3373); -x_3396 = lean_box(2); -x_3397 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3398 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3398, 0, x_3396); -lean_ctor_set(x_3398, 1, x_3397); -lean_ctor_set(x_3398, 2, x_3395); -x_3399 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3400 = lean_array_push(x_3399, x_3398); -x_3401 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3402 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3402, 0, x_3396); -lean_ctor_set(x_3402, 1, x_3401); -lean_ctor_set(x_3402, 2, x_3400); -x_3403 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3391); -x_3404 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3404, 0, x_3391); -lean_ctor_set(x_3404, 1, x_3403); -x_3405 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3391); -x_3406 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3406, 0, x_3391); -lean_ctor_set(x_3406, 1, x_3405); +lean_object* x_3222; lean_object* x_3223; lean_object* x_3224; uint8_t x_3225; +x_3222 = lean_ctor_get(x_3217, 0); +x_3223 = lean_ctor_get(x_3217, 1); +lean_dec(x_3223); +x_3224 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3218); +x_3225 = !lean_is_exclusive(x_3224); +if (x_3225 == 0) +{ +lean_object* x_3226; lean_object* x_3227; lean_object* x_3228; lean_object* x_3229; lean_object* x_3230; lean_object* x_3231; lean_object* x_3232; lean_object* x_3233; lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; lean_object* x_3237; lean_object* x_3238; lean_object* x_3239; lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; uint8_t x_3243; +x_3226 = lean_ctor_get(x_3224, 0); +x_3227 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3226); +x_3228 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3228, 0, x_3226); +lean_ctor_set(x_3228, 1, x_3227); +x_3229 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3230 = lean_array_push(x_3229, x_3208); +x_3231 = lean_box(2); +x_3232 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3233, 0, x_3231); +lean_ctor_set(x_3233, 1, x_3232); +lean_ctor_set(x_3233, 2, x_3230); +x_3234 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3235 = lean_array_push(x_3234, x_3233); +x_3236 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3237, 0, x_3231); +lean_ctor_set(x_3237, 1, x_3236); +lean_ctor_set(x_3237, 2, x_3235); +x_3238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3226); +x_3239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3239, 0, x_3226); +lean_ctor_set(x_3239, 1, x_3238); +x_3240 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3226); +x_3241 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3241, 0, x_3226); +lean_ctor_set(x_3241, 1, x_3240); lean_inc(x_14); -x_3407 = lean_array_push(x_3399, x_14); -x_3408 = !lean_is_exclusive(x_14); -if (x_3408 == 0) +x_3242 = lean_array_push(x_3234, x_14); +x_3243 = !lean_is_exclusive(x_14); +if (x_3243 == 0) { -lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; lean_object* x_3412; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; lean_object* x_3416; lean_object* x_3417; lean_object* x_3418; lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; lean_object* x_3424; lean_object* x_3425; lean_object* x_3426; lean_object* x_3427; lean_object* x_3428; lean_object* x_3429; lean_object* x_3430; lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; lean_object* x_3434; lean_object* x_3435; lean_object* x_3436; lean_object* x_3437; uint8_t x_3438; lean_object* x_3439; -x_3409 = lean_ctor_get(x_14, 2); -lean_dec(x_3409); -x_3410 = lean_ctor_get(x_14, 1); -lean_dec(x_3410); -x_3411 = lean_ctor_get(x_14, 0); -lean_dec(x_3411); -lean_ctor_set(x_14, 2, x_3407); -lean_ctor_set(x_14, 1, x_3401); -lean_ctor_set(x_14, 0, x_3396); -x_3412 = lean_array_push(x_3399, x_14); -x_3413 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3413, 0, x_3396); -lean_ctor_set(x_3413, 1, x_3401); -lean_ctor_set(x_3413, 2, x_3412); -x_3414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3415 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3415, 0, x_3391); -lean_ctor_set(x_3415, 1, x_3414); -x_3416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3417 = lean_array_push(x_3416, x_3406); -x_3418 = lean_array_push(x_3417, x_3413); -x_3419 = lean_array_push(x_3418, x_3415); -x_3420 = lean_array_push(x_3419, x_3387); -x_3421 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3422 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3422, 0, x_3396); -lean_ctor_set(x_3422, 1, x_3421); -lean_ctor_set(x_3422, 2, x_3420); -x_3423 = lean_array_push(x_3399, x_3422); -x_3424 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3424, 0, x_3396); -lean_ctor_set(x_3424, 1, x_3401); -lean_ctor_set(x_3424, 2, x_3423); -x_3425 = lean_array_push(x_3399, x_3424); -x_3426 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3427, 0, x_3396); -lean_ctor_set(x_3427, 1, x_3426); -lean_ctor_set(x_3427, 2, x_3425); -x_3428 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3429 = lean_array_push(x_3428, x_3393); -x_3430 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3431 = lean_array_push(x_3429, x_3430); -x_3432 = lean_array_push(x_3431, x_3430); -x_3433 = lean_array_push(x_3432, x_3402); -x_3434 = lean_array_push(x_3433, x_3404); -x_3435 = lean_array_push(x_3434, x_3427); -x_3436 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3437 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3437, 0, x_3396); -lean_ctor_set(x_3437, 1, x_3436); -lean_ctor_set(x_3437, 2, x_3435); -x_3438 = 1; -x_3439 = lean_box(x_3438); -lean_ctor_set(x_3382, 1, x_3439); -lean_ctor_set(x_3382, 0, x_3437); -lean_ctor_set(x_3389, 0, x_3381); -return x_3389; +lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; lean_object* x_3250; lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; lean_object* x_3254; lean_object* x_3255; lean_object* x_3256; lean_object* x_3257; lean_object* x_3258; lean_object* x_3259; lean_object* x_3260; lean_object* x_3261; lean_object* x_3262; lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; lean_object* x_3268; lean_object* x_3269; lean_object* x_3270; lean_object* x_3271; lean_object* x_3272; uint8_t x_3273; lean_object* x_3274; +x_3244 = lean_ctor_get(x_14, 2); +lean_dec(x_3244); +x_3245 = lean_ctor_get(x_14, 1); +lean_dec(x_3245); +x_3246 = lean_ctor_get(x_14, 0); +lean_dec(x_3246); +lean_ctor_set(x_14, 2, x_3242); +lean_ctor_set(x_14, 1, x_3236); +lean_ctor_set(x_14, 0, x_3231); +x_3247 = lean_array_push(x_3234, x_14); +x_3248 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3248, 0, x_3231); +lean_ctor_set(x_3248, 1, x_3236); +lean_ctor_set(x_3248, 2, x_3247); +x_3249 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3250 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3250, 0, x_3226); +lean_ctor_set(x_3250, 1, x_3249); +x_3251 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3252 = lean_array_push(x_3251, x_3241); +x_3253 = lean_array_push(x_3252, x_3248); +x_3254 = lean_array_push(x_3253, x_3250); +x_3255 = lean_array_push(x_3254, x_3222); +x_3256 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3257 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3257, 0, x_3231); +lean_ctor_set(x_3257, 1, x_3256); +lean_ctor_set(x_3257, 2, x_3255); +x_3258 = lean_array_push(x_3234, x_3257); +x_3259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3259, 0, x_3231); +lean_ctor_set(x_3259, 1, x_3236); +lean_ctor_set(x_3259, 2, x_3258); +x_3260 = lean_array_push(x_3234, x_3259); +x_3261 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3262 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3262, 0, x_3231); +lean_ctor_set(x_3262, 1, x_3261); +lean_ctor_set(x_3262, 2, x_3260); +x_3263 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3264 = lean_array_push(x_3263, x_3228); +x_3265 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3266 = lean_array_push(x_3264, x_3265); +x_3267 = lean_array_push(x_3266, x_3265); +x_3268 = lean_array_push(x_3267, x_3237); +x_3269 = lean_array_push(x_3268, x_3239); +x_3270 = lean_array_push(x_3269, x_3262); +x_3271 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3272 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3272, 0, x_3231); +lean_ctor_set(x_3272, 1, x_3271); +lean_ctor_set(x_3272, 2, x_3270); +x_3273 = 1; +x_3274 = lean_box(x_3273); +lean_ctor_set(x_3217, 1, x_3274); +lean_ctor_set(x_3217, 0, x_3272); +lean_ctor_set(x_3224, 0, x_3216); +return x_3224; } else { -lean_object* x_3440; lean_object* x_3441; lean_object* x_3442; lean_object* x_3443; lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; lean_object* x_3448; lean_object* x_3449; lean_object* x_3450; lean_object* x_3451; lean_object* x_3452; lean_object* x_3453; lean_object* x_3454; lean_object* x_3455; lean_object* x_3456; lean_object* x_3457; lean_object* x_3458; lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; lean_object* x_3462; lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; lean_object* x_3466; uint8_t x_3467; lean_object* x_3468; +lean_object* x_3275; lean_object* x_3276; lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; lean_object* x_3280; lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; lean_object* x_3284; lean_object* x_3285; lean_object* x_3286; lean_object* x_3287; lean_object* x_3288; lean_object* x_3289; lean_object* x_3290; lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; lean_object* x_3299; lean_object* x_3300; lean_object* x_3301; uint8_t x_3302; lean_object* x_3303; lean_dec(x_14); -x_3440 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3440, 0, x_3396); -lean_ctor_set(x_3440, 1, x_3401); -lean_ctor_set(x_3440, 2, x_3407); -x_3441 = lean_array_push(x_3399, x_3440); -x_3442 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3442, 0, x_3396); -lean_ctor_set(x_3442, 1, x_3401); -lean_ctor_set(x_3442, 2, x_3441); -x_3443 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3444 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3444, 0, x_3391); -lean_ctor_set(x_3444, 1, x_3443); -x_3445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3446 = lean_array_push(x_3445, x_3406); -x_3447 = lean_array_push(x_3446, x_3442); -x_3448 = lean_array_push(x_3447, x_3444); -x_3449 = lean_array_push(x_3448, x_3387); -x_3450 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3451 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3451, 0, x_3396); -lean_ctor_set(x_3451, 1, x_3450); -lean_ctor_set(x_3451, 2, x_3449); -x_3452 = lean_array_push(x_3399, x_3451); -x_3453 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3453, 0, x_3396); -lean_ctor_set(x_3453, 1, x_3401); -lean_ctor_set(x_3453, 2, x_3452); -x_3454 = lean_array_push(x_3399, x_3453); -x_3455 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3275 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3275, 0, x_3231); +lean_ctor_set(x_3275, 1, x_3236); +lean_ctor_set(x_3275, 2, x_3242); +x_3276 = lean_array_push(x_3234, x_3275); +x_3277 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3277, 0, x_3231); +lean_ctor_set(x_3277, 1, x_3236); +lean_ctor_set(x_3277, 2, x_3276); +x_3278 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3279 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3279, 0, x_3226); +lean_ctor_set(x_3279, 1, x_3278); +x_3280 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3281 = lean_array_push(x_3280, x_3241); +x_3282 = lean_array_push(x_3281, x_3277); +x_3283 = lean_array_push(x_3282, x_3279); +x_3284 = lean_array_push(x_3283, x_3222); +x_3285 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3286 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3286, 0, x_3231); +lean_ctor_set(x_3286, 1, x_3285); +lean_ctor_set(x_3286, 2, x_3284); +x_3287 = lean_array_push(x_3234, x_3286); +x_3288 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3288, 0, x_3231); +lean_ctor_set(x_3288, 1, x_3236); +lean_ctor_set(x_3288, 2, x_3287); +x_3289 = lean_array_push(x_3234, x_3288); +x_3290 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3291 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3291, 0, x_3231); +lean_ctor_set(x_3291, 1, x_3290); +lean_ctor_set(x_3291, 2, x_3289); +x_3292 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3293 = lean_array_push(x_3292, x_3228); +x_3294 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3295 = lean_array_push(x_3293, x_3294); +x_3296 = lean_array_push(x_3295, x_3294); +x_3297 = lean_array_push(x_3296, x_3237); +x_3298 = lean_array_push(x_3297, x_3239); +x_3299 = lean_array_push(x_3298, x_3291); +x_3300 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3301 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3301, 0, x_3231); +lean_ctor_set(x_3301, 1, x_3300); +lean_ctor_set(x_3301, 2, x_3299); +x_3302 = 1; +x_3303 = lean_box(x_3302); +lean_ctor_set(x_3217, 1, x_3303); +lean_ctor_set(x_3217, 0, x_3301); +lean_ctor_set(x_3224, 0, x_3216); +return x_3224; +} +} +else +{ +lean_object* x_3304; lean_object* x_3305; lean_object* x_3306; lean_object* x_3307; lean_object* x_3308; lean_object* x_3309; lean_object* x_3310; lean_object* x_3311; lean_object* x_3312; lean_object* x_3313; lean_object* x_3314; lean_object* x_3315; lean_object* x_3316; lean_object* x_3317; lean_object* x_3318; lean_object* x_3319; lean_object* x_3320; lean_object* x_3321; lean_object* x_3322; lean_object* x_3323; lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; lean_object* x_3327; lean_object* x_3328; lean_object* x_3329; lean_object* x_3330; lean_object* x_3331; lean_object* x_3332; lean_object* x_3333; lean_object* x_3334; lean_object* x_3335; lean_object* x_3336; lean_object* x_3337; lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; lean_object* x_3341; lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_object* x_3347; lean_object* x_3348; lean_object* x_3349; uint8_t x_3350; lean_object* x_3351; lean_object* x_3352; +x_3304 = lean_ctor_get(x_3224, 0); +x_3305 = lean_ctor_get(x_3224, 1); +lean_inc(x_3305); +lean_inc(x_3304); +lean_dec(x_3224); +x_3306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3304); +x_3307 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3307, 0, x_3304); +lean_ctor_set(x_3307, 1, x_3306); +x_3308 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3309 = lean_array_push(x_3308, x_3208); +x_3310 = lean_box(2); +x_3311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3312 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3312, 0, x_3310); +lean_ctor_set(x_3312, 1, x_3311); +lean_ctor_set(x_3312, 2, x_3309); +x_3313 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3314 = lean_array_push(x_3313, x_3312); +x_3315 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3316 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3316, 0, x_3310); +lean_ctor_set(x_3316, 1, x_3315); +lean_ctor_set(x_3316, 2, x_3314); +x_3317 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3304); +x_3318 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3318, 0, x_3304); +lean_ctor_set(x_3318, 1, x_3317); +x_3319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3304); +x_3320 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3320, 0, x_3304); +lean_ctor_set(x_3320, 1, x_3319); +lean_inc(x_14); +x_3321 = lean_array_push(x_3313, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3322 = x_14; +} else { + lean_dec_ref(x_14); + x_3322 = lean_box(0); +} +if (lean_is_scalar(x_3322)) { + x_3323 = lean_alloc_ctor(1, 3, 0); +} else { + x_3323 = x_3322; +} +lean_ctor_set(x_3323, 0, x_3310); +lean_ctor_set(x_3323, 1, x_3315); +lean_ctor_set(x_3323, 2, x_3321); +x_3324 = lean_array_push(x_3313, x_3323); +x_3325 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3325, 0, x_3310); +lean_ctor_set(x_3325, 1, x_3315); +lean_ctor_set(x_3325, 2, x_3324); +x_3326 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3327 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3327, 0, x_3304); +lean_ctor_set(x_3327, 1, x_3326); +x_3328 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3329 = lean_array_push(x_3328, x_3320); +x_3330 = lean_array_push(x_3329, x_3325); +x_3331 = lean_array_push(x_3330, x_3327); +x_3332 = lean_array_push(x_3331, x_3222); +x_3333 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3334 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3334, 0, x_3310); +lean_ctor_set(x_3334, 1, x_3333); +lean_ctor_set(x_3334, 2, x_3332); +x_3335 = lean_array_push(x_3313, x_3334); +x_3336 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3336, 0, x_3310); +lean_ctor_set(x_3336, 1, x_3315); +lean_ctor_set(x_3336, 2, x_3335); +x_3337 = lean_array_push(x_3313, x_3336); +x_3338 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3339 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3339, 0, x_3310); +lean_ctor_set(x_3339, 1, x_3338); +lean_ctor_set(x_3339, 2, x_3337); +x_3340 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3341 = lean_array_push(x_3340, x_3307); +x_3342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3343 = lean_array_push(x_3341, x_3342); +x_3344 = lean_array_push(x_3343, x_3342); +x_3345 = lean_array_push(x_3344, x_3316); +x_3346 = lean_array_push(x_3345, x_3318); +x_3347 = lean_array_push(x_3346, x_3339); +x_3348 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3349 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3349, 0, x_3310); +lean_ctor_set(x_3349, 1, x_3348); +lean_ctor_set(x_3349, 2, x_3347); +x_3350 = 1; +x_3351 = lean_box(x_3350); +lean_ctor_set(x_3217, 1, x_3351); +lean_ctor_set(x_3217, 0, x_3349); +x_3352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3352, 0, x_3216); +lean_ctor_set(x_3352, 1, x_3305); +return x_3352; +} +} +else +{ +lean_object* x_3353; lean_object* x_3354; lean_object* x_3355; lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; lean_object* x_3361; lean_object* x_3362; lean_object* x_3363; lean_object* x_3364; lean_object* x_3365; lean_object* x_3366; lean_object* x_3367; lean_object* x_3368; lean_object* x_3369; lean_object* x_3370; lean_object* x_3371; lean_object* x_3372; lean_object* x_3373; lean_object* x_3374; lean_object* x_3375; lean_object* x_3376; lean_object* x_3377; lean_object* x_3378; lean_object* x_3379; lean_object* x_3380; lean_object* x_3381; lean_object* x_3382; lean_object* x_3383; lean_object* x_3384; lean_object* x_3385; lean_object* x_3386; lean_object* x_3387; lean_object* x_3388; lean_object* x_3389; lean_object* x_3390; lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; lean_object* x_3394; lean_object* x_3395; lean_object* x_3396; lean_object* x_3397; lean_object* x_3398; lean_object* x_3399; lean_object* x_3400; lean_object* x_3401; uint8_t x_3402; lean_object* x_3403; lean_object* x_3404; lean_object* x_3405; +x_3353 = lean_ctor_get(x_3217, 0); +lean_inc(x_3353); +lean_dec(x_3217); +x_3354 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3218); +x_3355 = lean_ctor_get(x_3354, 0); +lean_inc(x_3355); +x_3356 = lean_ctor_get(x_3354, 1); +lean_inc(x_3356); +if (lean_is_exclusive(x_3354)) { + lean_ctor_release(x_3354, 0); + lean_ctor_release(x_3354, 1); + x_3357 = x_3354; +} else { + lean_dec_ref(x_3354); + x_3357 = lean_box(0); +} +x_3358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3355); +x_3359 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3359, 0, x_3355); +lean_ctor_set(x_3359, 1, x_3358); +x_3360 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3361 = lean_array_push(x_3360, x_3208); +x_3362 = lean_box(2); +x_3363 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3364 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3364, 0, x_3362); +lean_ctor_set(x_3364, 1, x_3363); +lean_ctor_set(x_3364, 2, x_3361); +x_3365 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3366 = lean_array_push(x_3365, x_3364); +x_3367 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3368 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3368, 0, x_3362); +lean_ctor_set(x_3368, 1, x_3367); +lean_ctor_set(x_3368, 2, x_3366); +x_3369 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3355); +x_3370 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3370, 0, x_3355); +lean_ctor_set(x_3370, 1, x_3369); +x_3371 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3355); +x_3372 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3372, 0, x_3355); +lean_ctor_set(x_3372, 1, x_3371); +lean_inc(x_14); +x_3373 = lean_array_push(x_3365, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3374 = x_14; +} else { + lean_dec_ref(x_14); + x_3374 = lean_box(0); +} +if (lean_is_scalar(x_3374)) { + x_3375 = lean_alloc_ctor(1, 3, 0); +} else { + x_3375 = x_3374; +} +lean_ctor_set(x_3375, 0, x_3362); +lean_ctor_set(x_3375, 1, x_3367); +lean_ctor_set(x_3375, 2, x_3373); +x_3376 = lean_array_push(x_3365, x_3375); +x_3377 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3377, 0, x_3362); +lean_ctor_set(x_3377, 1, x_3367); +lean_ctor_set(x_3377, 2, x_3376); +x_3378 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3379 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3379, 0, x_3355); +lean_ctor_set(x_3379, 1, x_3378); +x_3380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3381 = lean_array_push(x_3380, x_3372); +x_3382 = lean_array_push(x_3381, x_3377); +x_3383 = lean_array_push(x_3382, x_3379); +x_3384 = lean_array_push(x_3383, x_3353); +x_3385 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3386 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3386, 0, x_3362); +lean_ctor_set(x_3386, 1, x_3385); +lean_ctor_set(x_3386, 2, x_3384); +x_3387 = lean_array_push(x_3365, x_3386); +x_3388 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3388, 0, x_3362); +lean_ctor_set(x_3388, 1, x_3367); +lean_ctor_set(x_3388, 2, x_3387); +x_3389 = lean_array_push(x_3365, x_3388); +x_3390 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3391 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3391, 0, x_3362); +lean_ctor_set(x_3391, 1, x_3390); +lean_ctor_set(x_3391, 2, x_3389); +x_3392 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3393 = lean_array_push(x_3392, x_3359); +x_3394 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3395 = lean_array_push(x_3393, x_3394); +x_3396 = lean_array_push(x_3395, x_3394); +x_3397 = lean_array_push(x_3396, x_3368); +x_3398 = lean_array_push(x_3397, x_3370); +x_3399 = lean_array_push(x_3398, x_3391); +x_3400 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3401 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3401, 0, x_3362); +lean_ctor_set(x_3401, 1, x_3400); +lean_ctor_set(x_3401, 2, x_3399); +x_3402 = 1; +x_3403 = lean_box(x_3402); +x_3404 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3404, 0, x_3401); +lean_ctor_set(x_3404, 1, x_3403); +lean_ctor_set(x_3216, 1, x_3404); +if (lean_is_scalar(x_3357)) { + x_3405 = lean_alloc_ctor(0, 2, 0); +} else { + x_3405 = x_3357; +} +lean_ctor_set(x_3405, 0, x_3216); +lean_ctor_set(x_3405, 1, x_3356); +return x_3405; +} +} +else +{ +lean_object* x_3406; lean_object* x_3407; lean_object* x_3408; lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; lean_object* x_3412; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; lean_object* x_3416; lean_object* x_3417; lean_object* x_3418; lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; lean_object* x_3424; lean_object* x_3425; lean_object* x_3426; lean_object* x_3427; lean_object* x_3428; lean_object* x_3429; lean_object* x_3430; lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; lean_object* x_3434; lean_object* x_3435; lean_object* x_3436; lean_object* x_3437; lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; lean_object* x_3441; lean_object* x_3442; lean_object* x_3443; lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; lean_object* x_3448; lean_object* x_3449; lean_object* x_3450; lean_object* x_3451; lean_object* x_3452; lean_object* x_3453; lean_object* x_3454; lean_object* x_3455; lean_object* x_3456; uint8_t x_3457; lean_object* x_3458; lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; +x_3406 = lean_ctor_get(x_3216, 0); +lean_inc(x_3406); +lean_dec(x_3216); +x_3407 = lean_ctor_get(x_3217, 0); +lean_inc(x_3407); +if (lean_is_exclusive(x_3217)) { + lean_ctor_release(x_3217, 0); + lean_ctor_release(x_3217, 1); + x_3408 = x_3217; +} else { + lean_dec_ref(x_3217); + x_3408 = lean_box(0); +} +x_3409 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3218); +x_3410 = lean_ctor_get(x_3409, 0); +lean_inc(x_3410); +x_3411 = lean_ctor_get(x_3409, 1); +lean_inc(x_3411); +if (lean_is_exclusive(x_3409)) { + lean_ctor_release(x_3409, 0); + lean_ctor_release(x_3409, 1); + x_3412 = x_3409; +} else { + lean_dec_ref(x_3409); + x_3412 = lean_box(0); +} +x_3413 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3410); +x_3414 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3414, 0, x_3410); +lean_ctor_set(x_3414, 1, x_3413); +x_3415 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3416 = lean_array_push(x_3415, x_3208); +x_3417 = lean_box(2); +x_3418 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3419 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3419, 0, x_3417); +lean_ctor_set(x_3419, 1, x_3418); +lean_ctor_set(x_3419, 2, x_3416); +x_3420 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3421 = lean_array_push(x_3420, x_3419); +x_3422 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3423 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3423, 0, x_3417); +lean_ctor_set(x_3423, 1, x_3422); +lean_ctor_set(x_3423, 2, x_3421); +x_3424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3410); +x_3425 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3425, 0, x_3410); +lean_ctor_set(x_3425, 1, x_3424); +x_3426 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3410); +x_3427 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3427, 0, x_3410); +lean_ctor_set(x_3427, 1, x_3426); +lean_inc(x_14); +x_3428 = lean_array_push(x_3420, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3429 = x_14; +} else { + lean_dec_ref(x_14); + x_3429 = lean_box(0); +} +if (lean_is_scalar(x_3429)) { + x_3430 = lean_alloc_ctor(1, 3, 0); +} else { + x_3430 = x_3429; +} +lean_ctor_set(x_3430, 0, x_3417); +lean_ctor_set(x_3430, 1, x_3422); +lean_ctor_set(x_3430, 2, x_3428); +x_3431 = lean_array_push(x_3420, x_3430); +x_3432 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3432, 0, x_3417); +lean_ctor_set(x_3432, 1, x_3422); +lean_ctor_set(x_3432, 2, x_3431); +x_3433 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3434 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3434, 0, x_3410); +lean_ctor_set(x_3434, 1, x_3433); +x_3435 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3436 = lean_array_push(x_3435, x_3427); +x_3437 = lean_array_push(x_3436, x_3432); +x_3438 = lean_array_push(x_3437, x_3434); +x_3439 = lean_array_push(x_3438, x_3407); +x_3440 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3441 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3441, 0, x_3417); +lean_ctor_set(x_3441, 1, x_3440); +lean_ctor_set(x_3441, 2, x_3439); +x_3442 = lean_array_push(x_3420, x_3441); +x_3443 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3443, 0, x_3417); +lean_ctor_set(x_3443, 1, x_3422); +lean_ctor_set(x_3443, 2, x_3442); +x_3444 = lean_array_push(x_3420, x_3443); +x_3445 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3446 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3446, 0, x_3417); +lean_ctor_set(x_3446, 1, x_3445); +lean_ctor_set(x_3446, 2, x_3444); +x_3447 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3448 = lean_array_push(x_3447, x_3414); +x_3449 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3450 = lean_array_push(x_3448, x_3449); +x_3451 = lean_array_push(x_3450, x_3449); +x_3452 = lean_array_push(x_3451, x_3423); +x_3453 = lean_array_push(x_3452, x_3425); +x_3454 = lean_array_push(x_3453, x_3446); +x_3455 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; x_3456 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3456, 0, x_3396); +lean_ctor_set(x_3456, 0, x_3417); lean_ctor_set(x_3456, 1, x_3455); lean_ctor_set(x_3456, 2, x_3454); -x_3457 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3458 = lean_array_push(x_3457, x_3393); -x_3459 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3460 = lean_array_push(x_3458, x_3459); -x_3461 = lean_array_push(x_3460, x_3459); -x_3462 = lean_array_push(x_3461, x_3402); -x_3463 = lean_array_push(x_3462, x_3404); -x_3464 = lean_array_push(x_3463, x_3456); -x_3465 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3466 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3466, 0, x_3396); -lean_ctor_set(x_3466, 1, x_3465); -lean_ctor_set(x_3466, 2, x_3464); -x_3467 = 1; -x_3468 = lean_box(x_3467); -lean_ctor_set(x_3382, 1, x_3468); -lean_ctor_set(x_3382, 0, x_3466); -lean_ctor_set(x_3389, 0, x_3381); -return x_3389; +x_3457 = 1; +x_3458 = lean_box(x_3457); +if (lean_is_scalar(x_3408)) { + x_3459 = lean_alloc_ctor(0, 2, 0); +} else { + x_3459 = x_3408; +} +lean_ctor_set(x_3459, 0, x_3456); +lean_ctor_set(x_3459, 1, x_3458); +x_3460 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3460, 0, x_3406); +lean_ctor_set(x_3460, 1, x_3459); +if (lean_is_scalar(x_3412)) { + x_3461 = lean_alloc_ctor(0, 2, 0); +} else { + x_3461 = x_3412; +} +lean_ctor_set(x_3461, 0, x_3460); +lean_ctor_set(x_3461, 1, x_3411); +return x_3461; } } else { -lean_object* x_3469; lean_object* x_3470; lean_object* x_3471; lean_object* x_3472; lean_object* x_3473; lean_object* x_3474; lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; lean_object* x_3479; lean_object* x_3480; lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; lean_object* x_3484; lean_object* x_3485; lean_object* x_3486; lean_object* x_3487; lean_object* x_3488; lean_object* x_3489; lean_object* x_3490; lean_object* x_3491; lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; lean_object* x_3496; lean_object* x_3497; lean_object* x_3498; lean_object* x_3499; lean_object* x_3500; lean_object* x_3501; lean_object* x_3502; lean_object* x_3503; lean_object* x_3504; lean_object* x_3505; lean_object* x_3506; lean_object* x_3507; lean_object* x_3508; lean_object* x_3509; lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; lean_object* x_3513; lean_object* x_3514; uint8_t x_3515; lean_object* x_3516; lean_object* x_3517; -x_3469 = lean_ctor_get(x_3389, 0); -x_3470 = lean_ctor_get(x_3389, 1); -lean_inc(x_3470); -lean_inc(x_3469); -lean_dec(x_3389); -x_3471 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3469); -x_3472 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3472, 0, x_3469); -lean_ctor_set(x_3472, 1, x_3471); -x_3473 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3474 = lean_array_push(x_3473, x_3373); -x_3475 = lean_box(2); -x_3476 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3477 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3477, 0, x_3475); -lean_ctor_set(x_3477, 1, x_3476); -lean_ctor_set(x_3477, 2, x_3474); -x_3478 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3479 = lean_array_push(x_3478, x_3477); -x_3480 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3481 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3481, 0, x_3475); -lean_ctor_set(x_3481, 1, x_3480); -lean_ctor_set(x_3481, 2, x_3479); -x_3482 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3469); -x_3483 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3483, 0, x_3469); -lean_ctor_set(x_3483, 1, x_3482); -x_3484 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3469); -x_3485 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3485, 0, x_3469); -lean_ctor_set(x_3485, 1, x_3484); +uint8_t x_3462; +lean_dec(x_3208); +lean_dec(x_14); +lean_dec(x_5); +x_3462 = !lean_is_exclusive(x_3215); +if (x_3462 == 0) +{ +return x_3215; +} +else +{ +lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; +x_3463 = lean_ctor_get(x_3215, 0); +x_3464 = lean_ctor_get(x_3215, 1); +lean_inc(x_3464); +lean_inc(x_3463); +lean_dec(x_3215); +x_3465 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3465, 0, x_3463); +lean_ctor_set(x_3465, 1, x_3464); +return x_3465; +} +} +} +} +else +{ +lean_object* x_3466; lean_object* x_3467; lean_object* x_3468; lean_object* x_3469; lean_object* x_3470; lean_object* x_3471; lean_object* x_3472; lean_object* x_3473; lean_object* x_3474; +lean_dec(x_240); +lean_dec(x_239); +lean_inc(x_5); lean_inc(x_14); -x_3486 = lean_array_push(x_3478, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_3487 = x_14; -} else { - lean_dec_ref(x_14); - x_3487 = lean_box(0); -} -if (lean_is_scalar(x_3487)) { - x_3488 = lean_alloc_ctor(1, 3, 0); -} else { - x_3488 = x_3487; -} -lean_ctor_set(x_3488, 0, x_3475); -lean_ctor_set(x_3488, 1, x_3480); -lean_ctor_set(x_3488, 2, x_3486); -x_3489 = lean_array_push(x_3478, x_3488); -x_3490 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3490, 0, x_3475); -lean_ctor_set(x_3490, 1, x_3480); -lean_ctor_set(x_3490, 2, x_3489); -x_3491 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3492 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3492, 0, x_3469); +x_3466 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_3467 = lean_ctor_get(x_3466, 0); +lean_inc(x_3467); +x_3468 = lean_ctor_get(x_3466, 1); +lean_inc(x_3468); +lean_dec(x_3466); +x_3469 = lean_unsigned_to_nat(1u); +x_3470 = lean_nat_add(x_3, x_3469); +lean_dec(x_3); +lean_inc(x_14); +x_3471 = l_Lean_mkHole(x_14); +lean_inc(x_3467); +x_3472 = l_Lean_Elab_Term_mkExplicitBinder(x_3467, x_3471); +x_3473 = lean_array_push(x_4, x_3472); +lean_inc(x_5); +x_3474 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3470, x_3473, x_5, x_3468); +if (lean_obj_tag(x_3474) == 0) +{ +lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; uint8_t x_3478; +x_3475 = lean_ctor_get(x_3474, 0); +lean_inc(x_3475); +x_3476 = lean_ctor_get(x_3475, 1); +lean_inc(x_3476); +x_3477 = lean_ctor_get(x_3474, 1); +lean_inc(x_3477); +lean_dec(x_3474); +x_3478 = !lean_is_exclusive(x_3475); +if (x_3478 == 0) +{ +lean_object* x_3479; uint8_t x_3480; +x_3479 = lean_ctor_get(x_3475, 1); +lean_dec(x_3479); +x_3480 = !lean_is_exclusive(x_3476); +if (x_3480 == 0) +{ +lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; uint8_t x_3484; +x_3481 = lean_ctor_get(x_3476, 0); +x_3482 = lean_ctor_get(x_3476, 1); +lean_dec(x_3482); +x_3483 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3477); +x_3484 = !lean_is_exclusive(x_3483); +if (x_3484 == 0) +{ +lean_object* x_3485; lean_object* x_3486; lean_object* x_3487; lean_object* x_3488; lean_object* x_3489; lean_object* x_3490; lean_object* x_3491; lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; lean_object* x_3496; lean_object* x_3497; lean_object* x_3498; lean_object* x_3499; lean_object* x_3500; lean_object* x_3501; uint8_t x_3502; +x_3485 = lean_ctor_get(x_3483, 0); +x_3486 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3485); +x_3487 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3487, 0, x_3485); +lean_ctor_set(x_3487, 1, x_3486); +x_3488 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3489 = lean_array_push(x_3488, x_3467); +x_3490 = lean_box(2); +x_3491 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3492 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3492, 0, x_3490); lean_ctor_set(x_3492, 1, x_3491); -x_3493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3494 = lean_array_push(x_3493, x_3485); -x_3495 = lean_array_push(x_3494, x_3490); -x_3496 = lean_array_push(x_3495, x_3492); -x_3497 = lean_array_push(x_3496, x_3387); -x_3498 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3499 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3499, 0, x_3475); -lean_ctor_set(x_3499, 1, x_3498); -lean_ctor_set(x_3499, 2, x_3497); -x_3500 = lean_array_push(x_3478, x_3499); -x_3501 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3501, 0, x_3475); -lean_ctor_set(x_3501, 1, x_3480); -lean_ctor_set(x_3501, 2, x_3500); -x_3502 = lean_array_push(x_3478, x_3501); -x_3503 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3504 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3504, 0, x_3475); -lean_ctor_set(x_3504, 1, x_3503); -lean_ctor_set(x_3504, 2, x_3502); -x_3505 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3506 = lean_array_push(x_3505, x_3472); -x_3507 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3508 = lean_array_push(x_3506, x_3507); -x_3509 = lean_array_push(x_3508, x_3507); -x_3510 = lean_array_push(x_3509, x_3481); -x_3511 = lean_array_push(x_3510, x_3483); -x_3512 = lean_array_push(x_3511, x_3504); -x_3513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3514 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3514, 0, x_3475); -lean_ctor_set(x_3514, 1, x_3513); -lean_ctor_set(x_3514, 2, x_3512); -x_3515 = 1; -x_3516 = lean_box(x_3515); -lean_ctor_set(x_3382, 1, x_3516); -lean_ctor_set(x_3382, 0, x_3514); -x_3517 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3517, 0, x_3381); -lean_ctor_set(x_3517, 1, x_3470); -return x_3517; +lean_ctor_set(x_3492, 2, x_3489); +x_3493 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3494 = lean_array_push(x_3493, x_3492); +x_3495 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3496 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3496, 0, x_3490); +lean_ctor_set(x_3496, 1, x_3495); +lean_ctor_set(x_3496, 2, x_3494); +x_3497 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3485); +x_3498 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3498, 0, x_3485); +lean_ctor_set(x_3498, 1, x_3497); +x_3499 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3485); +x_3500 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3500, 0, x_3485); +lean_ctor_set(x_3500, 1, x_3499); +lean_inc(x_14); +x_3501 = lean_array_push(x_3493, x_14); +x_3502 = !lean_is_exclusive(x_14); +if (x_3502 == 0) +{ +lean_object* x_3503; lean_object* x_3504; lean_object* x_3505; lean_object* x_3506; lean_object* x_3507; lean_object* x_3508; lean_object* x_3509; lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; lean_object* x_3513; lean_object* x_3514; lean_object* x_3515; lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; lean_object* x_3522; lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; lean_object* x_3526; lean_object* x_3527; lean_object* x_3528; lean_object* x_3529; lean_object* x_3530; lean_object* x_3531; uint8_t x_3532; lean_object* x_3533; +x_3503 = lean_ctor_get(x_14, 2); +lean_dec(x_3503); +x_3504 = lean_ctor_get(x_14, 1); +lean_dec(x_3504); +x_3505 = lean_ctor_get(x_14, 0); +lean_dec(x_3505); +lean_ctor_set(x_14, 2, x_3501); +lean_ctor_set(x_14, 1, x_3495); +lean_ctor_set(x_14, 0, x_3490); +x_3506 = lean_array_push(x_3493, x_14); +x_3507 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3507, 0, x_3490); +lean_ctor_set(x_3507, 1, x_3495); +lean_ctor_set(x_3507, 2, x_3506); +x_3508 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3509 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3509, 0, x_3485); +lean_ctor_set(x_3509, 1, x_3508); +x_3510 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3511 = lean_array_push(x_3510, x_3500); +x_3512 = lean_array_push(x_3511, x_3507); +x_3513 = lean_array_push(x_3512, x_3509); +x_3514 = lean_array_push(x_3513, x_3481); +x_3515 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3516 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3516, 0, x_3490); +lean_ctor_set(x_3516, 1, x_3515); +lean_ctor_set(x_3516, 2, x_3514); +x_3517 = lean_array_push(x_3493, x_3516); +x_3518 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3518, 0, x_3490); +lean_ctor_set(x_3518, 1, x_3495); +lean_ctor_set(x_3518, 2, x_3517); +x_3519 = lean_array_push(x_3493, x_3518); +x_3520 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3521 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3521, 0, x_3490); +lean_ctor_set(x_3521, 1, x_3520); +lean_ctor_set(x_3521, 2, x_3519); +x_3522 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3523 = lean_array_push(x_3522, x_3487); +x_3524 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3525 = lean_array_push(x_3523, x_3524); +x_3526 = lean_array_push(x_3525, x_3524); +x_3527 = lean_array_push(x_3526, x_3496); +x_3528 = lean_array_push(x_3527, x_3498); +x_3529 = lean_array_push(x_3528, x_3521); +x_3530 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3531 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3531, 0, x_3490); +lean_ctor_set(x_3531, 1, x_3530); +lean_ctor_set(x_3531, 2, x_3529); +x_3532 = 1; +x_3533 = lean_box(x_3532); +lean_ctor_set(x_3476, 1, x_3533); +lean_ctor_set(x_3476, 0, x_3531); +lean_ctor_set(x_3483, 0, x_3475); +return x_3483; +} +else +{ +lean_object* x_3534; lean_object* x_3535; lean_object* x_3536; lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; lean_object* x_3540; lean_object* x_3541; lean_object* x_3542; lean_object* x_3543; lean_object* x_3544; lean_object* x_3545; lean_object* x_3546; lean_object* x_3547; lean_object* x_3548; lean_object* x_3549; lean_object* x_3550; lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; lean_object* x_3554; lean_object* x_3555; lean_object* x_3556; lean_object* x_3557; lean_object* x_3558; lean_object* x_3559; lean_object* x_3560; uint8_t x_3561; lean_object* x_3562; +lean_dec(x_14); +x_3534 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3534, 0, x_3490); +lean_ctor_set(x_3534, 1, x_3495); +lean_ctor_set(x_3534, 2, x_3501); +x_3535 = lean_array_push(x_3493, x_3534); +x_3536 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3536, 0, x_3490); +lean_ctor_set(x_3536, 1, x_3495); +lean_ctor_set(x_3536, 2, x_3535); +x_3537 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3538 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3538, 0, x_3485); +lean_ctor_set(x_3538, 1, x_3537); +x_3539 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3540 = lean_array_push(x_3539, x_3500); +x_3541 = lean_array_push(x_3540, x_3536); +x_3542 = lean_array_push(x_3541, x_3538); +x_3543 = lean_array_push(x_3542, x_3481); +x_3544 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3545 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3545, 0, x_3490); +lean_ctor_set(x_3545, 1, x_3544); +lean_ctor_set(x_3545, 2, x_3543); +x_3546 = lean_array_push(x_3493, x_3545); +x_3547 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3547, 0, x_3490); +lean_ctor_set(x_3547, 1, x_3495); +lean_ctor_set(x_3547, 2, x_3546); +x_3548 = lean_array_push(x_3493, x_3547); +x_3549 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3550 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3550, 0, x_3490); +lean_ctor_set(x_3550, 1, x_3549); +lean_ctor_set(x_3550, 2, x_3548); +x_3551 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3552 = lean_array_push(x_3551, x_3487); +x_3553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3554 = lean_array_push(x_3552, x_3553); +x_3555 = lean_array_push(x_3554, x_3553); +x_3556 = lean_array_push(x_3555, x_3496); +x_3557 = lean_array_push(x_3556, x_3498); +x_3558 = lean_array_push(x_3557, x_3550); +x_3559 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3560 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3560, 0, x_3490); +lean_ctor_set(x_3560, 1, x_3559); +lean_ctor_set(x_3560, 2, x_3558); +x_3561 = 1; +x_3562 = lean_box(x_3561); +lean_ctor_set(x_3476, 1, x_3562); +lean_ctor_set(x_3476, 0, x_3560); +lean_ctor_set(x_3483, 0, x_3475); +return x_3483; } } else { -lean_object* x_3518; lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; lean_object* x_3522; lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; lean_object* x_3526; lean_object* x_3527; lean_object* x_3528; lean_object* x_3529; lean_object* x_3530; lean_object* x_3531; lean_object* x_3532; lean_object* x_3533; lean_object* x_3534; lean_object* x_3535; lean_object* x_3536; lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; lean_object* x_3540; lean_object* x_3541; lean_object* x_3542; lean_object* x_3543; lean_object* x_3544; lean_object* x_3545; lean_object* x_3546; lean_object* x_3547; lean_object* x_3548; lean_object* x_3549; lean_object* x_3550; lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; lean_object* x_3554; lean_object* x_3555; lean_object* x_3556; lean_object* x_3557; lean_object* x_3558; lean_object* x_3559; lean_object* x_3560; lean_object* x_3561; lean_object* x_3562; lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; lean_object* x_3566; uint8_t x_3567; lean_object* x_3568; lean_object* x_3569; lean_object* x_3570; -x_3518 = lean_ctor_get(x_3382, 0); -lean_inc(x_3518); -lean_dec(x_3382); -x_3519 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3383); -x_3520 = lean_ctor_get(x_3519, 0); -lean_inc(x_3520); -x_3521 = lean_ctor_get(x_3519, 1); -lean_inc(x_3521); -if (lean_is_exclusive(x_3519)) { - lean_ctor_release(x_3519, 0); - lean_ctor_release(x_3519, 1); - x_3522 = x_3519; -} else { - lean_dec_ref(x_3519); - x_3522 = lean_box(0); -} -x_3523 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3520); -x_3524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3524, 0, x_3520); -lean_ctor_set(x_3524, 1, x_3523); -x_3525 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3526 = lean_array_push(x_3525, x_3373); -x_3527 = lean_box(2); -x_3528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3529 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3529, 0, x_3527); -lean_ctor_set(x_3529, 1, x_3528); -lean_ctor_set(x_3529, 2, x_3526); -x_3530 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3531 = lean_array_push(x_3530, x_3529); -x_3532 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3533 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3533, 0, x_3527); -lean_ctor_set(x_3533, 1, x_3532); -lean_ctor_set(x_3533, 2, x_3531); -x_3534 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3520); -x_3535 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3535, 0, x_3520); -lean_ctor_set(x_3535, 1, x_3534); -x_3536 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3520); -x_3537 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3537, 0, x_3520); -lean_ctor_set(x_3537, 1, x_3536); -lean_inc(x_14); -x_3538 = lean_array_push(x_3530, x_14); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - lean_ctor_release(x_14, 2); - x_3539 = x_14; -} else { - lean_dec_ref(x_14); - x_3539 = lean_box(0); -} -if (lean_is_scalar(x_3539)) { - x_3540 = lean_alloc_ctor(1, 3, 0); -} else { - x_3540 = x_3539; -} -lean_ctor_set(x_3540, 0, x_3527); -lean_ctor_set(x_3540, 1, x_3532); -lean_ctor_set(x_3540, 2, x_3538); -x_3541 = lean_array_push(x_3530, x_3540); -x_3542 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3542, 0, x_3527); -lean_ctor_set(x_3542, 1, x_3532); -lean_ctor_set(x_3542, 2, x_3541); -x_3543 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3544 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3544, 0, x_3520); -lean_ctor_set(x_3544, 1, x_3543); -x_3545 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3546 = lean_array_push(x_3545, x_3537); -x_3547 = lean_array_push(x_3546, x_3542); -x_3548 = lean_array_push(x_3547, x_3544); -x_3549 = lean_array_push(x_3548, x_3518); -x_3550 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3551 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3551, 0, x_3527); -lean_ctor_set(x_3551, 1, x_3550); -lean_ctor_set(x_3551, 2, x_3549); -x_3552 = lean_array_push(x_3530, x_3551); -x_3553 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3553, 0, x_3527); -lean_ctor_set(x_3553, 1, x_3532); -lean_ctor_set(x_3553, 2, x_3552); -x_3554 = lean_array_push(x_3530, x_3553); -x_3555 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3556 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3556, 0, x_3527); -lean_ctor_set(x_3556, 1, x_3555); -lean_ctor_set(x_3556, 2, x_3554); -x_3557 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3558 = lean_array_push(x_3557, x_3524); -x_3559 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3560 = lean_array_push(x_3558, x_3559); -x_3561 = lean_array_push(x_3560, x_3559); -x_3562 = lean_array_push(x_3561, x_3533); -x_3563 = lean_array_push(x_3562, x_3535); -x_3564 = lean_array_push(x_3563, x_3556); -x_3565 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3566 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3566, 0, x_3527); +lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; lean_object* x_3566; lean_object* x_3567; lean_object* x_3568; lean_object* x_3569; lean_object* x_3570; lean_object* x_3571; lean_object* x_3572; lean_object* x_3573; lean_object* x_3574; lean_object* x_3575; lean_object* x_3576; lean_object* x_3577; lean_object* x_3578; lean_object* x_3579; lean_object* x_3580; lean_object* x_3581; lean_object* x_3582; lean_object* x_3583; lean_object* x_3584; lean_object* x_3585; lean_object* x_3586; lean_object* x_3587; lean_object* x_3588; lean_object* x_3589; lean_object* x_3590; lean_object* x_3591; lean_object* x_3592; lean_object* x_3593; lean_object* x_3594; lean_object* x_3595; lean_object* x_3596; lean_object* x_3597; lean_object* x_3598; lean_object* x_3599; lean_object* x_3600; lean_object* x_3601; lean_object* x_3602; lean_object* x_3603; lean_object* x_3604; lean_object* x_3605; lean_object* x_3606; lean_object* x_3607; lean_object* x_3608; uint8_t x_3609; lean_object* x_3610; lean_object* x_3611; +x_3563 = lean_ctor_get(x_3483, 0); +x_3564 = lean_ctor_get(x_3483, 1); +lean_inc(x_3564); +lean_inc(x_3563); +lean_dec(x_3483); +x_3565 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3563); +x_3566 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3566, 0, x_3563); lean_ctor_set(x_3566, 1, x_3565); -lean_ctor_set(x_3566, 2, x_3564); -x_3567 = 1; -x_3568 = lean_box(x_3567); -x_3569 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3569, 0, x_3566); -lean_ctor_set(x_3569, 1, x_3568); -lean_ctor_set(x_3381, 1, x_3569); -if (lean_is_scalar(x_3522)) { - x_3570 = lean_alloc_ctor(0, 2, 0); -} else { - x_3570 = x_3522; -} -lean_ctor_set(x_3570, 0, x_3381); -lean_ctor_set(x_3570, 1, x_3521); -return x_3570; -} -} -else -{ -lean_object* x_3571; lean_object* x_3572; lean_object* x_3573; lean_object* x_3574; lean_object* x_3575; lean_object* x_3576; lean_object* x_3577; lean_object* x_3578; lean_object* x_3579; lean_object* x_3580; lean_object* x_3581; lean_object* x_3582; lean_object* x_3583; lean_object* x_3584; lean_object* x_3585; lean_object* x_3586; lean_object* x_3587; lean_object* x_3588; lean_object* x_3589; lean_object* x_3590; lean_object* x_3591; lean_object* x_3592; lean_object* x_3593; lean_object* x_3594; lean_object* x_3595; lean_object* x_3596; lean_object* x_3597; lean_object* x_3598; lean_object* x_3599; lean_object* x_3600; lean_object* x_3601; lean_object* x_3602; lean_object* x_3603; lean_object* x_3604; lean_object* x_3605; lean_object* x_3606; lean_object* x_3607; lean_object* x_3608; lean_object* x_3609; lean_object* x_3610; lean_object* x_3611; lean_object* x_3612; lean_object* x_3613; lean_object* x_3614; lean_object* x_3615; lean_object* x_3616; lean_object* x_3617; lean_object* x_3618; lean_object* x_3619; lean_object* x_3620; lean_object* x_3621; uint8_t x_3622; lean_object* x_3623; lean_object* x_3624; lean_object* x_3625; lean_object* x_3626; -x_3571 = lean_ctor_get(x_3381, 0); -lean_inc(x_3571); -lean_dec(x_3381); -x_3572 = lean_ctor_get(x_3382, 0); -lean_inc(x_3572); -if (lean_is_exclusive(x_3382)) { - lean_ctor_release(x_3382, 0); - lean_ctor_release(x_3382, 1); - x_3573 = x_3382; -} else { - lean_dec_ref(x_3382); - x_3573 = lean_box(0); -} -x_3574 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3383); -x_3575 = lean_ctor_get(x_3574, 0); -lean_inc(x_3575); -x_3576 = lean_ctor_get(x_3574, 1); -lean_inc(x_3576); -if (lean_is_exclusive(x_3574)) { - lean_ctor_release(x_3574, 0); - lean_ctor_release(x_3574, 1); - x_3577 = x_3574; -} else { - lean_dec_ref(x_3574); - x_3577 = lean_box(0); -} -x_3578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3575); +x_3567 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3568 = lean_array_push(x_3567, x_3467); +x_3569 = lean_box(2); +x_3570 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3571 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3571, 0, x_3569); +lean_ctor_set(x_3571, 1, x_3570); +lean_ctor_set(x_3571, 2, x_3568); +x_3572 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3573 = lean_array_push(x_3572, x_3571); +x_3574 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3575 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3575, 0, x_3569); +lean_ctor_set(x_3575, 1, x_3574); +lean_ctor_set(x_3575, 2, x_3573); +x_3576 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3563); +x_3577 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3577, 0, x_3563); +lean_ctor_set(x_3577, 1, x_3576); +x_3578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3563); x_3579 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3579, 0, x_3575); +lean_ctor_set(x_3579, 0, x_3563); lean_ctor_set(x_3579, 1, x_3578); -x_3580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3581 = lean_array_push(x_3580, x_3373); -x_3582 = lean_box(2); -x_3583 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3584 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3584, 0, x_3582); -lean_ctor_set(x_3584, 1, x_3583); -lean_ctor_set(x_3584, 2, x_3581); -x_3585 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3586 = lean_array_push(x_3585, x_3584); -x_3587 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3588 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3588, 0, x_3582); -lean_ctor_set(x_3588, 1, x_3587); -lean_ctor_set(x_3588, 2, x_3586); -x_3589 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3575); -x_3590 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3590, 0, x_3575); -lean_ctor_set(x_3590, 1, x_3589); -x_3591 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3575); -x_3592 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3592, 0, x_3575); -lean_ctor_set(x_3592, 1, x_3591); lean_inc(x_14); -x_3593 = lean_array_push(x_3585, x_14); +x_3580 = lean_array_push(x_3572, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); lean_ctor_release(x_14, 2); - x_3594 = x_14; + x_3581 = x_14; } else { lean_dec_ref(x_14); - x_3594 = lean_box(0); + x_3581 = lean_box(0); } -if (lean_is_scalar(x_3594)) { - x_3595 = lean_alloc_ctor(1, 3, 0); +if (lean_is_scalar(x_3581)) { + x_3582 = lean_alloc_ctor(1, 3, 0); } else { - x_3595 = x_3594; + x_3582 = x_3581; } -lean_ctor_set(x_3595, 0, x_3582); -lean_ctor_set(x_3595, 1, x_3587); -lean_ctor_set(x_3595, 2, x_3593); -x_3596 = lean_array_push(x_3585, x_3595); -x_3597 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3597, 0, x_3582); -lean_ctor_set(x_3597, 1, x_3587); -lean_ctor_set(x_3597, 2, x_3596); -x_3598 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3599 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3599, 0, x_3575); -lean_ctor_set(x_3599, 1, x_3598); -x_3600 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3601 = lean_array_push(x_3600, x_3592); -x_3602 = lean_array_push(x_3601, x_3597); -x_3603 = lean_array_push(x_3602, x_3599); -x_3604 = lean_array_push(x_3603, x_3572); -x_3605 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3606 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3606, 0, x_3582); -lean_ctor_set(x_3606, 1, x_3605); -lean_ctor_set(x_3606, 2, x_3604); -x_3607 = lean_array_push(x_3585, x_3606); +lean_ctor_set(x_3582, 0, x_3569); +lean_ctor_set(x_3582, 1, x_3574); +lean_ctor_set(x_3582, 2, x_3580); +x_3583 = lean_array_push(x_3572, x_3582); +x_3584 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3584, 0, x_3569); +lean_ctor_set(x_3584, 1, x_3574); +lean_ctor_set(x_3584, 2, x_3583); +x_3585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3586 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3586, 0, x_3563); +lean_ctor_set(x_3586, 1, x_3585); +x_3587 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3588 = lean_array_push(x_3587, x_3579); +x_3589 = lean_array_push(x_3588, x_3584); +x_3590 = lean_array_push(x_3589, x_3586); +x_3591 = lean_array_push(x_3590, x_3481); +x_3592 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3593 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3593, 0, x_3569); +lean_ctor_set(x_3593, 1, x_3592); +lean_ctor_set(x_3593, 2, x_3591); +x_3594 = lean_array_push(x_3572, x_3593); +x_3595 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3595, 0, x_3569); +lean_ctor_set(x_3595, 1, x_3574); +lean_ctor_set(x_3595, 2, x_3594); +x_3596 = lean_array_push(x_3572, x_3595); +x_3597 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3598 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3598, 0, x_3569); +lean_ctor_set(x_3598, 1, x_3597); +lean_ctor_set(x_3598, 2, x_3596); +x_3599 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3600 = lean_array_push(x_3599, x_3566); +x_3601 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3602 = lean_array_push(x_3600, x_3601); +x_3603 = lean_array_push(x_3602, x_3601); +x_3604 = lean_array_push(x_3603, x_3575); +x_3605 = lean_array_push(x_3604, x_3577); +x_3606 = lean_array_push(x_3605, x_3598); +x_3607 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; x_3608 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3608, 0, x_3582); -lean_ctor_set(x_3608, 1, x_3587); -lean_ctor_set(x_3608, 2, x_3607); -x_3609 = lean_array_push(x_3585, x_3608); -x_3610 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3611 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3611, 0, x_3582); -lean_ctor_set(x_3611, 1, x_3610); -lean_ctor_set(x_3611, 2, x_3609); -x_3612 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3613 = lean_array_push(x_3612, x_3579); -x_3614 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3615 = lean_array_push(x_3613, x_3614); -x_3616 = lean_array_push(x_3615, x_3614); -x_3617 = lean_array_push(x_3616, x_3588); -x_3618 = lean_array_push(x_3617, x_3590); -x_3619 = lean_array_push(x_3618, x_3611); -x_3620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3621 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3621, 0, x_3582); -lean_ctor_set(x_3621, 1, x_3620); -lean_ctor_set(x_3621, 2, x_3619); -x_3622 = 1; -x_3623 = lean_box(x_3622); -if (lean_is_scalar(x_3573)) { - x_3624 = lean_alloc_ctor(0, 2, 0); -} else { - x_3624 = x_3573; +lean_ctor_set(x_3608, 0, x_3569); +lean_ctor_set(x_3608, 1, x_3607); +lean_ctor_set(x_3608, 2, x_3606); +x_3609 = 1; +x_3610 = lean_box(x_3609); +lean_ctor_set(x_3476, 1, x_3610); +lean_ctor_set(x_3476, 0, x_3608); +x_3611 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3611, 0, x_3475); +lean_ctor_set(x_3611, 1, x_3564); +return x_3611; } -lean_ctor_set(x_3624, 0, x_3621); -lean_ctor_set(x_3624, 1, x_3623); -x_3625 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3625, 0, x_3571); -lean_ctor_set(x_3625, 1, x_3624); -if (lean_is_scalar(x_3577)) { - x_3626 = lean_alloc_ctor(0, 2, 0); -} else { - x_3626 = x_3577; } -lean_ctor_set(x_3626, 0, x_3625); -lean_ctor_set(x_3626, 1, x_3576); -return x_3626; +else +{ +lean_object* x_3612; lean_object* x_3613; lean_object* x_3614; lean_object* x_3615; lean_object* x_3616; lean_object* x_3617; lean_object* x_3618; lean_object* x_3619; lean_object* x_3620; lean_object* x_3621; lean_object* x_3622; lean_object* x_3623; lean_object* x_3624; lean_object* x_3625; lean_object* x_3626; lean_object* x_3627; lean_object* x_3628; lean_object* x_3629; lean_object* x_3630; lean_object* x_3631; lean_object* x_3632; lean_object* x_3633; lean_object* x_3634; lean_object* x_3635; lean_object* x_3636; lean_object* x_3637; lean_object* x_3638; lean_object* x_3639; lean_object* x_3640; lean_object* x_3641; lean_object* x_3642; lean_object* x_3643; lean_object* x_3644; lean_object* x_3645; lean_object* x_3646; lean_object* x_3647; lean_object* x_3648; lean_object* x_3649; lean_object* x_3650; lean_object* x_3651; lean_object* x_3652; lean_object* x_3653; lean_object* x_3654; lean_object* x_3655; lean_object* x_3656; lean_object* x_3657; lean_object* x_3658; lean_object* x_3659; lean_object* x_3660; uint8_t x_3661; lean_object* x_3662; lean_object* x_3663; lean_object* x_3664; +x_3612 = lean_ctor_get(x_3476, 0); +lean_inc(x_3612); +lean_dec(x_3476); +x_3613 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3477); +x_3614 = lean_ctor_get(x_3613, 0); +lean_inc(x_3614); +x_3615 = lean_ctor_get(x_3613, 1); +lean_inc(x_3615); +if (lean_is_exclusive(x_3613)) { + lean_ctor_release(x_3613, 0); + lean_ctor_release(x_3613, 1); + x_3616 = x_3613; +} else { + lean_dec_ref(x_3613); + x_3616 = lean_box(0); +} +x_3617 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3614); +x_3618 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3618, 0, x_3614); +lean_ctor_set(x_3618, 1, x_3617); +x_3619 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3620 = lean_array_push(x_3619, x_3467); +x_3621 = lean_box(2); +x_3622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3623 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3623, 0, x_3621); +lean_ctor_set(x_3623, 1, x_3622); +lean_ctor_set(x_3623, 2, x_3620); +x_3624 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3625 = lean_array_push(x_3624, x_3623); +x_3626 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3627 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3627, 0, x_3621); +lean_ctor_set(x_3627, 1, x_3626); +lean_ctor_set(x_3627, 2, x_3625); +x_3628 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3614); +x_3629 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3629, 0, x_3614); +lean_ctor_set(x_3629, 1, x_3628); +x_3630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3614); +x_3631 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3631, 0, x_3614); +lean_ctor_set(x_3631, 1, x_3630); +lean_inc(x_14); +x_3632 = lean_array_push(x_3624, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3633 = x_14; +} else { + lean_dec_ref(x_14); + x_3633 = lean_box(0); +} +if (lean_is_scalar(x_3633)) { + x_3634 = lean_alloc_ctor(1, 3, 0); +} else { + x_3634 = x_3633; +} +lean_ctor_set(x_3634, 0, x_3621); +lean_ctor_set(x_3634, 1, x_3626); +lean_ctor_set(x_3634, 2, x_3632); +x_3635 = lean_array_push(x_3624, x_3634); +x_3636 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3636, 0, x_3621); +lean_ctor_set(x_3636, 1, x_3626); +lean_ctor_set(x_3636, 2, x_3635); +x_3637 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3638 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3638, 0, x_3614); +lean_ctor_set(x_3638, 1, x_3637); +x_3639 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3640 = lean_array_push(x_3639, x_3631); +x_3641 = lean_array_push(x_3640, x_3636); +x_3642 = lean_array_push(x_3641, x_3638); +x_3643 = lean_array_push(x_3642, x_3612); +x_3644 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3645 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3645, 0, x_3621); +lean_ctor_set(x_3645, 1, x_3644); +lean_ctor_set(x_3645, 2, x_3643); +x_3646 = lean_array_push(x_3624, x_3645); +x_3647 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3647, 0, x_3621); +lean_ctor_set(x_3647, 1, x_3626); +lean_ctor_set(x_3647, 2, x_3646); +x_3648 = lean_array_push(x_3624, x_3647); +x_3649 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3650 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3650, 0, x_3621); +lean_ctor_set(x_3650, 1, x_3649); +lean_ctor_set(x_3650, 2, x_3648); +x_3651 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3652 = lean_array_push(x_3651, x_3618); +x_3653 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3654 = lean_array_push(x_3652, x_3653); +x_3655 = lean_array_push(x_3654, x_3653); +x_3656 = lean_array_push(x_3655, x_3627); +x_3657 = lean_array_push(x_3656, x_3629); +x_3658 = lean_array_push(x_3657, x_3650); +x_3659 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3660 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3660, 0, x_3621); +lean_ctor_set(x_3660, 1, x_3659); +lean_ctor_set(x_3660, 2, x_3658); +x_3661 = 1; +x_3662 = lean_box(x_3661); +x_3663 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3663, 0, x_3660); +lean_ctor_set(x_3663, 1, x_3662); +lean_ctor_set(x_3475, 1, x_3663); +if (lean_is_scalar(x_3616)) { + x_3664 = lean_alloc_ctor(0, 2, 0); +} else { + x_3664 = x_3616; +} +lean_ctor_set(x_3664, 0, x_3475); +lean_ctor_set(x_3664, 1, x_3615); +return x_3664; +} +} +else +{ +lean_object* x_3665; lean_object* x_3666; lean_object* x_3667; lean_object* x_3668; lean_object* x_3669; lean_object* x_3670; lean_object* x_3671; lean_object* x_3672; lean_object* x_3673; lean_object* x_3674; lean_object* x_3675; lean_object* x_3676; lean_object* x_3677; lean_object* x_3678; lean_object* x_3679; lean_object* x_3680; lean_object* x_3681; lean_object* x_3682; lean_object* x_3683; lean_object* x_3684; lean_object* x_3685; lean_object* x_3686; lean_object* x_3687; lean_object* x_3688; lean_object* x_3689; lean_object* x_3690; lean_object* x_3691; lean_object* x_3692; lean_object* x_3693; lean_object* x_3694; lean_object* x_3695; lean_object* x_3696; lean_object* x_3697; lean_object* x_3698; lean_object* x_3699; lean_object* x_3700; lean_object* x_3701; lean_object* x_3702; lean_object* x_3703; lean_object* x_3704; lean_object* x_3705; lean_object* x_3706; lean_object* x_3707; lean_object* x_3708; lean_object* x_3709; lean_object* x_3710; lean_object* x_3711; lean_object* x_3712; lean_object* x_3713; lean_object* x_3714; lean_object* x_3715; uint8_t x_3716; lean_object* x_3717; lean_object* x_3718; lean_object* x_3719; lean_object* x_3720; +x_3665 = lean_ctor_get(x_3475, 0); +lean_inc(x_3665); +lean_dec(x_3475); +x_3666 = lean_ctor_get(x_3476, 0); +lean_inc(x_3666); +if (lean_is_exclusive(x_3476)) { + lean_ctor_release(x_3476, 0); + lean_ctor_release(x_3476, 1); + x_3667 = x_3476; +} else { + lean_dec_ref(x_3476); + x_3667 = lean_box(0); +} +x_3668 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3477); +x_3669 = lean_ctor_get(x_3668, 0); +lean_inc(x_3669); +x_3670 = lean_ctor_get(x_3668, 1); +lean_inc(x_3670); +if (lean_is_exclusive(x_3668)) { + lean_ctor_release(x_3668, 0); + lean_ctor_release(x_3668, 1); + x_3671 = x_3668; +} else { + lean_dec_ref(x_3668); + x_3671 = lean_box(0); +} +x_3672 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3669); +x_3673 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3673, 0, x_3669); +lean_ctor_set(x_3673, 1, x_3672); +x_3674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3675 = lean_array_push(x_3674, x_3467); +x_3676 = lean_box(2); +x_3677 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3678 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3678, 0, x_3676); +lean_ctor_set(x_3678, 1, x_3677); +lean_ctor_set(x_3678, 2, x_3675); +x_3679 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3680 = lean_array_push(x_3679, x_3678); +x_3681 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3682 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3682, 0, x_3676); +lean_ctor_set(x_3682, 1, x_3681); +lean_ctor_set(x_3682, 2, x_3680); +x_3683 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3669); +x_3684 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3684, 0, x_3669); +lean_ctor_set(x_3684, 1, x_3683); +x_3685 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3669); +x_3686 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3686, 0, x_3669); +lean_ctor_set(x_3686, 1, x_3685); +lean_inc(x_14); +x_3687 = lean_array_push(x_3679, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3688 = x_14; +} else { + lean_dec_ref(x_14); + x_3688 = lean_box(0); +} +if (lean_is_scalar(x_3688)) { + x_3689 = lean_alloc_ctor(1, 3, 0); +} else { + x_3689 = x_3688; +} +lean_ctor_set(x_3689, 0, x_3676); +lean_ctor_set(x_3689, 1, x_3681); +lean_ctor_set(x_3689, 2, x_3687); +x_3690 = lean_array_push(x_3679, x_3689); +x_3691 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3691, 0, x_3676); +lean_ctor_set(x_3691, 1, x_3681); +lean_ctor_set(x_3691, 2, x_3690); +x_3692 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3693 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3693, 0, x_3669); +lean_ctor_set(x_3693, 1, x_3692); +x_3694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3695 = lean_array_push(x_3694, x_3686); +x_3696 = lean_array_push(x_3695, x_3691); +x_3697 = lean_array_push(x_3696, x_3693); +x_3698 = lean_array_push(x_3697, x_3666); +x_3699 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3700 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3700, 0, x_3676); +lean_ctor_set(x_3700, 1, x_3699); +lean_ctor_set(x_3700, 2, x_3698); +x_3701 = lean_array_push(x_3679, x_3700); +x_3702 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3702, 0, x_3676); +lean_ctor_set(x_3702, 1, x_3681); +lean_ctor_set(x_3702, 2, x_3701); +x_3703 = lean_array_push(x_3679, x_3702); +x_3704 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3705 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3705, 0, x_3676); +lean_ctor_set(x_3705, 1, x_3704); +lean_ctor_set(x_3705, 2, x_3703); +x_3706 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3707 = lean_array_push(x_3706, x_3673); +x_3708 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3709 = lean_array_push(x_3707, x_3708); +x_3710 = lean_array_push(x_3709, x_3708); +x_3711 = lean_array_push(x_3710, x_3682); +x_3712 = lean_array_push(x_3711, x_3684); +x_3713 = lean_array_push(x_3712, x_3705); +x_3714 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3715 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3715, 0, x_3676); +lean_ctor_set(x_3715, 1, x_3714); +lean_ctor_set(x_3715, 2, x_3713); +x_3716 = 1; +x_3717 = lean_box(x_3716); +if (lean_is_scalar(x_3667)) { + x_3718 = lean_alloc_ctor(0, 2, 0); +} else { + x_3718 = x_3667; +} +lean_ctor_set(x_3718, 0, x_3715); +lean_ctor_set(x_3718, 1, x_3717); +x_3719 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3719, 0, x_3665); +lean_ctor_set(x_3719, 1, x_3718); +if (lean_is_scalar(x_3671)) { + x_3720 = lean_alloc_ctor(0, 2, 0); +} else { + x_3720 = x_3671; +} +lean_ctor_set(x_3720, 0, x_3719); +lean_ctor_set(x_3720, 1, x_3670); +return x_3720; +} +} +else +{ +uint8_t x_3721; +lean_dec(x_3467); +lean_dec(x_14); +lean_dec(x_5); +x_3721 = !lean_is_exclusive(x_3474); +if (x_3721 == 0) +{ +return x_3474; +} +else +{ +lean_object* x_3722; lean_object* x_3723; lean_object* x_3724; +x_3722 = lean_ctor_get(x_3474, 0); +x_3723 = lean_ctor_get(x_3474, 1); +lean_inc(x_3723); +lean_inc(x_3722); +lean_dec(x_3474); +x_3724 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3724, 0, x_3722); +lean_ctor_set(x_3724, 1, x_3723); +return x_3724; +} +} +} +} +else +{ +lean_object* x_3725; lean_object* x_3726; lean_object* x_3727; lean_object* x_3728; lean_object* x_3729; lean_object* x_3730; lean_object* x_3731; lean_object* x_3732; lean_object* x_3733; +lean_dec(x_239); +lean_inc(x_5); +lean_inc(x_14); +x_3725 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_3726 = lean_ctor_get(x_3725, 0); +lean_inc(x_3726); +x_3727 = lean_ctor_get(x_3725, 1); +lean_inc(x_3727); +lean_dec(x_3725); +x_3728 = lean_unsigned_to_nat(1u); +x_3729 = lean_nat_add(x_3, x_3728); +lean_dec(x_3); +lean_inc(x_14); +x_3730 = l_Lean_mkHole(x_14); +lean_inc(x_3726); +x_3731 = l_Lean_Elab_Term_mkExplicitBinder(x_3726, x_3730); +x_3732 = lean_array_push(x_4, x_3731); +lean_inc(x_5); +x_3733 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3729, x_3732, x_5, x_3727); +if (lean_obj_tag(x_3733) == 0) +{ +lean_object* x_3734; lean_object* x_3735; lean_object* x_3736; uint8_t x_3737; +x_3734 = lean_ctor_get(x_3733, 0); +lean_inc(x_3734); +x_3735 = lean_ctor_get(x_3734, 1); +lean_inc(x_3735); +x_3736 = lean_ctor_get(x_3733, 1); +lean_inc(x_3736); +lean_dec(x_3733); +x_3737 = !lean_is_exclusive(x_3734); +if (x_3737 == 0) +{ +lean_object* x_3738; uint8_t x_3739; +x_3738 = lean_ctor_get(x_3734, 1); +lean_dec(x_3738); +x_3739 = !lean_is_exclusive(x_3735); +if (x_3739 == 0) +{ +lean_object* x_3740; lean_object* x_3741; lean_object* x_3742; uint8_t x_3743; +x_3740 = lean_ctor_get(x_3735, 0); +x_3741 = lean_ctor_get(x_3735, 1); +lean_dec(x_3741); +x_3742 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3736); +x_3743 = !lean_is_exclusive(x_3742); +if (x_3743 == 0) +{ +lean_object* x_3744; lean_object* x_3745; lean_object* x_3746; lean_object* x_3747; lean_object* x_3748; lean_object* x_3749; lean_object* x_3750; lean_object* x_3751; lean_object* x_3752; lean_object* x_3753; lean_object* x_3754; lean_object* x_3755; lean_object* x_3756; lean_object* x_3757; lean_object* x_3758; lean_object* x_3759; lean_object* x_3760; uint8_t x_3761; +x_3744 = lean_ctor_get(x_3742, 0); +x_3745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3744); +x_3746 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3746, 0, x_3744); +lean_ctor_set(x_3746, 1, x_3745); +x_3747 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3748 = lean_array_push(x_3747, x_3726); +x_3749 = lean_box(2); +x_3750 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3751 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3751, 0, x_3749); +lean_ctor_set(x_3751, 1, x_3750); +lean_ctor_set(x_3751, 2, x_3748); +x_3752 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3753 = lean_array_push(x_3752, x_3751); +x_3754 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3755 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3755, 0, x_3749); +lean_ctor_set(x_3755, 1, x_3754); +lean_ctor_set(x_3755, 2, x_3753); +x_3756 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3744); +x_3757 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3757, 0, x_3744); +lean_ctor_set(x_3757, 1, x_3756); +x_3758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3744); +x_3759 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3759, 0, x_3744); +lean_ctor_set(x_3759, 1, x_3758); +lean_inc(x_14); +x_3760 = lean_array_push(x_3752, x_14); +x_3761 = !lean_is_exclusive(x_14); +if (x_3761 == 0) +{ +lean_object* x_3762; lean_object* x_3763; lean_object* x_3764; lean_object* x_3765; lean_object* x_3766; lean_object* x_3767; lean_object* x_3768; lean_object* x_3769; lean_object* x_3770; lean_object* x_3771; lean_object* x_3772; lean_object* x_3773; lean_object* x_3774; lean_object* x_3775; lean_object* x_3776; lean_object* x_3777; lean_object* x_3778; lean_object* x_3779; lean_object* x_3780; lean_object* x_3781; lean_object* x_3782; lean_object* x_3783; lean_object* x_3784; lean_object* x_3785; lean_object* x_3786; lean_object* x_3787; lean_object* x_3788; lean_object* x_3789; lean_object* x_3790; uint8_t x_3791; lean_object* x_3792; +x_3762 = lean_ctor_get(x_14, 2); +lean_dec(x_3762); +x_3763 = lean_ctor_get(x_14, 1); +lean_dec(x_3763); +x_3764 = lean_ctor_get(x_14, 0); +lean_dec(x_3764); +lean_ctor_set(x_14, 2, x_3760); +lean_ctor_set(x_14, 1, x_3754); +lean_ctor_set(x_14, 0, x_3749); +x_3765 = lean_array_push(x_3752, x_14); +x_3766 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3766, 0, x_3749); +lean_ctor_set(x_3766, 1, x_3754); +lean_ctor_set(x_3766, 2, x_3765); +x_3767 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3768 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3768, 0, x_3744); +lean_ctor_set(x_3768, 1, x_3767); +x_3769 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3770 = lean_array_push(x_3769, x_3759); +x_3771 = lean_array_push(x_3770, x_3766); +x_3772 = lean_array_push(x_3771, x_3768); +x_3773 = lean_array_push(x_3772, x_3740); +x_3774 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3775 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3775, 0, x_3749); +lean_ctor_set(x_3775, 1, x_3774); +lean_ctor_set(x_3775, 2, x_3773); +x_3776 = lean_array_push(x_3752, x_3775); +x_3777 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3777, 0, x_3749); +lean_ctor_set(x_3777, 1, x_3754); +lean_ctor_set(x_3777, 2, x_3776); +x_3778 = lean_array_push(x_3752, x_3777); +x_3779 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3780 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3780, 0, x_3749); +lean_ctor_set(x_3780, 1, x_3779); +lean_ctor_set(x_3780, 2, x_3778); +x_3781 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3782 = lean_array_push(x_3781, x_3746); +x_3783 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3784 = lean_array_push(x_3782, x_3783); +x_3785 = lean_array_push(x_3784, x_3783); +x_3786 = lean_array_push(x_3785, x_3755); +x_3787 = lean_array_push(x_3786, x_3757); +x_3788 = lean_array_push(x_3787, x_3780); +x_3789 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3790 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3790, 0, x_3749); +lean_ctor_set(x_3790, 1, x_3789); +lean_ctor_set(x_3790, 2, x_3788); +x_3791 = 1; +x_3792 = lean_box(x_3791); +lean_ctor_set(x_3735, 1, x_3792); +lean_ctor_set(x_3735, 0, x_3790); +lean_ctor_set(x_3742, 0, x_3734); +return x_3742; +} +else +{ +lean_object* x_3793; lean_object* x_3794; lean_object* x_3795; lean_object* x_3796; lean_object* x_3797; lean_object* x_3798; lean_object* x_3799; lean_object* x_3800; lean_object* x_3801; lean_object* x_3802; lean_object* x_3803; lean_object* x_3804; lean_object* x_3805; lean_object* x_3806; lean_object* x_3807; lean_object* x_3808; lean_object* x_3809; lean_object* x_3810; lean_object* x_3811; lean_object* x_3812; lean_object* x_3813; lean_object* x_3814; lean_object* x_3815; lean_object* x_3816; lean_object* x_3817; lean_object* x_3818; lean_object* x_3819; uint8_t x_3820; lean_object* x_3821; +lean_dec(x_14); +x_3793 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3793, 0, x_3749); +lean_ctor_set(x_3793, 1, x_3754); +lean_ctor_set(x_3793, 2, x_3760); +x_3794 = lean_array_push(x_3752, x_3793); +x_3795 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3795, 0, x_3749); +lean_ctor_set(x_3795, 1, x_3754); +lean_ctor_set(x_3795, 2, x_3794); +x_3796 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3797 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3797, 0, x_3744); +lean_ctor_set(x_3797, 1, x_3796); +x_3798 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3799 = lean_array_push(x_3798, x_3759); +x_3800 = lean_array_push(x_3799, x_3795); +x_3801 = lean_array_push(x_3800, x_3797); +x_3802 = lean_array_push(x_3801, x_3740); +x_3803 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3804 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3804, 0, x_3749); +lean_ctor_set(x_3804, 1, x_3803); +lean_ctor_set(x_3804, 2, x_3802); +x_3805 = lean_array_push(x_3752, x_3804); +x_3806 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3806, 0, x_3749); +lean_ctor_set(x_3806, 1, x_3754); +lean_ctor_set(x_3806, 2, x_3805); +x_3807 = lean_array_push(x_3752, x_3806); +x_3808 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3809 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3809, 0, x_3749); +lean_ctor_set(x_3809, 1, x_3808); +lean_ctor_set(x_3809, 2, x_3807); +x_3810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3811 = lean_array_push(x_3810, x_3746); +x_3812 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3813 = lean_array_push(x_3811, x_3812); +x_3814 = lean_array_push(x_3813, x_3812); +x_3815 = lean_array_push(x_3814, x_3755); +x_3816 = lean_array_push(x_3815, x_3757); +x_3817 = lean_array_push(x_3816, x_3809); +x_3818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3819 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3819, 0, x_3749); +lean_ctor_set(x_3819, 1, x_3818); +lean_ctor_set(x_3819, 2, x_3817); +x_3820 = 1; +x_3821 = lean_box(x_3820); +lean_ctor_set(x_3735, 1, x_3821); +lean_ctor_set(x_3735, 0, x_3819); +lean_ctor_set(x_3742, 0, x_3734); +return x_3742; +} +} +else +{ +lean_object* x_3822; lean_object* x_3823; lean_object* x_3824; lean_object* x_3825; lean_object* x_3826; lean_object* x_3827; lean_object* x_3828; lean_object* x_3829; lean_object* x_3830; lean_object* x_3831; lean_object* x_3832; lean_object* x_3833; lean_object* x_3834; lean_object* x_3835; lean_object* x_3836; lean_object* x_3837; lean_object* x_3838; lean_object* x_3839; lean_object* x_3840; lean_object* x_3841; lean_object* x_3842; lean_object* x_3843; lean_object* x_3844; lean_object* x_3845; lean_object* x_3846; lean_object* x_3847; lean_object* x_3848; lean_object* x_3849; lean_object* x_3850; lean_object* x_3851; lean_object* x_3852; lean_object* x_3853; lean_object* x_3854; lean_object* x_3855; lean_object* x_3856; lean_object* x_3857; lean_object* x_3858; lean_object* x_3859; lean_object* x_3860; lean_object* x_3861; lean_object* x_3862; lean_object* x_3863; lean_object* x_3864; lean_object* x_3865; lean_object* x_3866; lean_object* x_3867; uint8_t x_3868; lean_object* x_3869; lean_object* x_3870; +x_3822 = lean_ctor_get(x_3742, 0); +x_3823 = lean_ctor_get(x_3742, 1); +lean_inc(x_3823); +lean_inc(x_3822); +lean_dec(x_3742); +x_3824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3822); +x_3825 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3825, 0, x_3822); +lean_ctor_set(x_3825, 1, x_3824); +x_3826 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3827 = lean_array_push(x_3826, x_3726); +x_3828 = lean_box(2); +x_3829 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3830 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3830, 0, x_3828); +lean_ctor_set(x_3830, 1, x_3829); +lean_ctor_set(x_3830, 2, x_3827); +x_3831 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3832 = lean_array_push(x_3831, x_3830); +x_3833 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3834 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3834, 0, x_3828); +lean_ctor_set(x_3834, 1, x_3833); +lean_ctor_set(x_3834, 2, x_3832); +x_3835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3822); +x_3836 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3836, 0, x_3822); +lean_ctor_set(x_3836, 1, x_3835); +x_3837 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3822); +x_3838 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3838, 0, x_3822); +lean_ctor_set(x_3838, 1, x_3837); +lean_inc(x_14); +x_3839 = lean_array_push(x_3831, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3840 = x_14; +} else { + lean_dec_ref(x_14); + x_3840 = lean_box(0); +} +if (lean_is_scalar(x_3840)) { + x_3841 = lean_alloc_ctor(1, 3, 0); +} else { + x_3841 = x_3840; +} +lean_ctor_set(x_3841, 0, x_3828); +lean_ctor_set(x_3841, 1, x_3833); +lean_ctor_set(x_3841, 2, x_3839); +x_3842 = lean_array_push(x_3831, x_3841); +x_3843 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3843, 0, x_3828); +lean_ctor_set(x_3843, 1, x_3833); +lean_ctor_set(x_3843, 2, x_3842); +x_3844 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3845 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3845, 0, x_3822); +lean_ctor_set(x_3845, 1, x_3844); +x_3846 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3847 = lean_array_push(x_3846, x_3838); +x_3848 = lean_array_push(x_3847, x_3843); +x_3849 = lean_array_push(x_3848, x_3845); +x_3850 = lean_array_push(x_3849, x_3740); +x_3851 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3852 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3852, 0, x_3828); +lean_ctor_set(x_3852, 1, x_3851); +lean_ctor_set(x_3852, 2, x_3850); +x_3853 = lean_array_push(x_3831, x_3852); +x_3854 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3854, 0, x_3828); +lean_ctor_set(x_3854, 1, x_3833); +lean_ctor_set(x_3854, 2, x_3853); +x_3855 = lean_array_push(x_3831, x_3854); +x_3856 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3857 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3857, 0, x_3828); +lean_ctor_set(x_3857, 1, x_3856); +lean_ctor_set(x_3857, 2, x_3855); +x_3858 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3859 = lean_array_push(x_3858, x_3825); +x_3860 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3861 = lean_array_push(x_3859, x_3860); +x_3862 = lean_array_push(x_3861, x_3860); +x_3863 = lean_array_push(x_3862, x_3834); +x_3864 = lean_array_push(x_3863, x_3836); +x_3865 = lean_array_push(x_3864, x_3857); +x_3866 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3867 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3867, 0, x_3828); +lean_ctor_set(x_3867, 1, x_3866); +lean_ctor_set(x_3867, 2, x_3865); +x_3868 = 1; +x_3869 = lean_box(x_3868); +lean_ctor_set(x_3735, 1, x_3869); +lean_ctor_set(x_3735, 0, x_3867); +x_3870 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3870, 0, x_3734); +lean_ctor_set(x_3870, 1, x_3823); +return x_3870; +} +} +else +{ +lean_object* x_3871; lean_object* x_3872; lean_object* x_3873; lean_object* x_3874; lean_object* x_3875; lean_object* x_3876; lean_object* x_3877; lean_object* x_3878; lean_object* x_3879; lean_object* x_3880; lean_object* x_3881; lean_object* x_3882; lean_object* x_3883; lean_object* x_3884; lean_object* x_3885; lean_object* x_3886; lean_object* x_3887; lean_object* x_3888; lean_object* x_3889; lean_object* x_3890; lean_object* x_3891; lean_object* x_3892; lean_object* x_3893; lean_object* x_3894; lean_object* x_3895; lean_object* x_3896; lean_object* x_3897; lean_object* x_3898; lean_object* x_3899; lean_object* x_3900; lean_object* x_3901; lean_object* x_3902; lean_object* x_3903; lean_object* x_3904; lean_object* x_3905; lean_object* x_3906; lean_object* x_3907; lean_object* x_3908; lean_object* x_3909; lean_object* x_3910; lean_object* x_3911; lean_object* x_3912; lean_object* x_3913; lean_object* x_3914; lean_object* x_3915; lean_object* x_3916; lean_object* x_3917; lean_object* x_3918; lean_object* x_3919; uint8_t x_3920; lean_object* x_3921; lean_object* x_3922; lean_object* x_3923; +x_3871 = lean_ctor_get(x_3735, 0); +lean_inc(x_3871); +lean_dec(x_3735); +x_3872 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3736); +x_3873 = lean_ctor_get(x_3872, 0); +lean_inc(x_3873); +x_3874 = lean_ctor_get(x_3872, 1); +lean_inc(x_3874); +if (lean_is_exclusive(x_3872)) { + lean_ctor_release(x_3872, 0); + lean_ctor_release(x_3872, 1); + x_3875 = x_3872; +} else { + lean_dec_ref(x_3872); + x_3875 = lean_box(0); +} +x_3876 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3873); +x_3877 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3877, 0, x_3873); +lean_ctor_set(x_3877, 1, x_3876); +x_3878 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3879 = lean_array_push(x_3878, x_3726); +x_3880 = lean_box(2); +x_3881 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3882 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3882, 0, x_3880); +lean_ctor_set(x_3882, 1, x_3881); +lean_ctor_set(x_3882, 2, x_3879); +x_3883 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3884 = lean_array_push(x_3883, x_3882); +x_3885 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3886 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3886, 0, x_3880); +lean_ctor_set(x_3886, 1, x_3885); +lean_ctor_set(x_3886, 2, x_3884); +x_3887 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3873); +x_3888 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3888, 0, x_3873); +lean_ctor_set(x_3888, 1, x_3887); +x_3889 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3873); +x_3890 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3890, 0, x_3873); +lean_ctor_set(x_3890, 1, x_3889); +lean_inc(x_14); +x_3891 = lean_array_push(x_3883, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3892 = x_14; +} else { + lean_dec_ref(x_14); + x_3892 = lean_box(0); +} +if (lean_is_scalar(x_3892)) { + x_3893 = lean_alloc_ctor(1, 3, 0); +} else { + x_3893 = x_3892; +} +lean_ctor_set(x_3893, 0, x_3880); +lean_ctor_set(x_3893, 1, x_3885); +lean_ctor_set(x_3893, 2, x_3891); +x_3894 = lean_array_push(x_3883, x_3893); +x_3895 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3895, 0, x_3880); +lean_ctor_set(x_3895, 1, x_3885); +lean_ctor_set(x_3895, 2, x_3894); +x_3896 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3897 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3897, 0, x_3873); +lean_ctor_set(x_3897, 1, x_3896); +x_3898 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3899 = lean_array_push(x_3898, x_3890); +x_3900 = lean_array_push(x_3899, x_3895); +x_3901 = lean_array_push(x_3900, x_3897); +x_3902 = lean_array_push(x_3901, x_3871); +x_3903 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3904 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3904, 0, x_3880); +lean_ctor_set(x_3904, 1, x_3903); +lean_ctor_set(x_3904, 2, x_3902); +x_3905 = lean_array_push(x_3883, x_3904); +x_3906 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3906, 0, x_3880); +lean_ctor_set(x_3906, 1, x_3885); +lean_ctor_set(x_3906, 2, x_3905); +x_3907 = lean_array_push(x_3883, x_3906); +x_3908 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3909 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3909, 0, x_3880); +lean_ctor_set(x_3909, 1, x_3908); +lean_ctor_set(x_3909, 2, x_3907); +x_3910 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3911 = lean_array_push(x_3910, x_3877); +x_3912 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3913 = lean_array_push(x_3911, x_3912); +x_3914 = lean_array_push(x_3913, x_3912); +x_3915 = lean_array_push(x_3914, x_3886); +x_3916 = lean_array_push(x_3915, x_3888); +x_3917 = lean_array_push(x_3916, x_3909); +x_3918 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3919 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3919, 0, x_3880); +lean_ctor_set(x_3919, 1, x_3918); +lean_ctor_set(x_3919, 2, x_3917); +x_3920 = 1; +x_3921 = lean_box(x_3920); +x_3922 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3922, 0, x_3919); +lean_ctor_set(x_3922, 1, x_3921); +lean_ctor_set(x_3734, 1, x_3922); +if (lean_is_scalar(x_3875)) { + x_3923 = lean_alloc_ctor(0, 2, 0); +} else { + x_3923 = x_3875; +} +lean_ctor_set(x_3923, 0, x_3734); +lean_ctor_set(x_3923, 1, x_3874); +return x_3923; +} +} +else +{ +lean_object* x_3924; lean_object* x_3925; lean_object* x_3926; lean_object* x_3927; lean_object* x_3928; lean_object* x_3929; lean_object* x_3930; lean_object* x_3931; lean_object* x_3932; lean_object* x_3933; lean_object* x_3934; lean_object* x_3935; lean_object* x_3936; lean_object* x_3937; lean_object* x_3938; lean_object* x_3939; lean_object* x_3940; lean_object* x_3941; lean_object* x_3942; lean_object* x_3943; lean_object* x_3944; lean_object* x_3945; lean_object* x_3946; lean_object* x_3947; lean_object* x_3948; lean_object* x_3949; lean_object* x_3950; lean_object* x_3951; lean_object* x_3952; lean_object* x_3953; lean_object* x_3954; lean_object* x_3955; lean_object* x_3956; lean_object* x_3957; lean_object* x_3958; lean_object* x_3959; lean_object* x_3960; lean_object* x_3961; lean_object* x_3962; lean_object* x_3963; lean_object* x_3964; lean_object* x_3965; lean_object* x_3966; lean_object* x_3967; lean_object* x_3968; lean_object* x_3969; lean_object* x_3970; lean_object* x_3971; lean_object* x_3972; lean_object* x_3973; lean_object* x_3974; uint8_t x_3975; lean_object* x_3976; lean_object* x_3977; lean_object* x_3978; lean_object* x_3979; +x_3924 = lean_ctor_get(x_3734, 0); +lean_inc(x_3924); +lean_dec(x_3734); +x_3925 = lean_ctor_get(x_3735, 0); +lean_inc(x_3925); +if (lean_is_exclusive(x_3735)) { + lean_ctor_release(x_3735, 0); + lean_ctor_release(x_3735, 1); + x_3926 = x_3735; +} else { + lean_dec_ref(x_3735); + x_3926 = lean_box(0); +} +x_3927 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3736); +x_3928 = lean_ctor_get(x_3927, 0); +lean_inc(x_3928); +x_3929 = lean_ctor_get(x_3927, 1); +lean_inc(x_3929); +if (lean_is_exclusive(x_3927)) { + lean_ctor_release(x_3927, 0); + lean_ctor_release(x_3927, 1); + x_3930 = x_3927; +} else { + lean_dec_ref(x_3927); + x_3930 = lean_box(0); +} +x_3931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3928); +x_3932 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3932, 0, x_3928); +lean_ctor_set(x_3932, 1, x_3931); +x_3933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_3934 = lean_array_push(x_3933, x_3726); +x_3935 = lean_box(2); +x_3936 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_3937 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3937, 0, x_3935); +lean_ctor_set(x_3937, 1, x_3936); +lean_ctor_set(x_3937, 2, x_3934); +x_3938 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_3939 = lean_array_push(x_3938, x_3937); +x_3940 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_3941 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3941, 0, x_3935); +lean_ctor_set(x_3941, 1, x_3940); +lean_ctor_set(x_3941, 2, x_3939); +x_3942 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3928); +x_3943 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3943, 0, x_3928); +lean_ctor_set(x_3943, 1, x_3942); +x_3944 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_3928); +x_3945 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3945, 0, x_3928); +lean_ctor_set(x_3945, 1, x_3944); +lean_inc(x_14); +x_3946 = lean_array_push(x_3938, x_14); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + lean_ctor_release(x_14, 2); + x_3947 = x_14; +} else { + lean_dec_ref(x_14); + x_3947 = lean_box(0); +} +if (lean_is_scalar(x_3947)) { + x_3948 = lean_alloc_ctor(1, 3, 0); +} else { + x_3948 = x_3947; +} +lean_ctor_set(x_3948, 0, x_3935); +lean_ctor_set(x_3948, 1, x_3940); +lean_ctor_set(x_3948, 2, x_3946); +x_3949 = lean_array_push(x_3938, x_3948); +x_3950 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3950, 0, x_3935); +lean_ctor_set(x_3950, 1, x_3940); +lean_ctor_set(x_3950, 2, x_3949); +x_3951 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3952 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3952, 0, x_3928); +lean_ctor_set(x_3952, 1, x_3951); +x_3953 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_3954 = lean_array_push(x_3953, x_3945); +x_3955 = lean_array_push(x_3954, x_3950); +x_3956 = lean_array_push(x_3955, x_3952); +x_3957 = lean_array_push(x_3956, x_3925); +x_3958 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_3959 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3959, 0, x_3935); +lean_ctor_set(x_3959, 1, x_3958); +lean_ctor_set(x_3959, 2, x_3957); +x_3960 = lean_array_push(x_3938, x_3959); +x_3961 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3961, 0, x_3935); +lean_ctor_set(x_3961, 1, x_3940); +lean_ctor_set(x_3961, 2, x_3960); +x_3962 = lean_array_push(x_3938, x_3961); +x_3963 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_3964 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3964, 0, x_3935); +lean_ctor_set(x_3964, 1, x_3963); +lean_ctor_set(x_3964, 2, x_3962); +x_3965 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_3966 = lean_array_push(x_3965, x_3932); +x_3967 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_3968 = lean_array_push(x_3966, x_3967); +x_3969 = lean_array_push(x_3968, x_3967); +x_3970 = lean_array_push(x_3969, x_3941); +x_3971 = lean_array_push(x_3970, x_3943); +x_3972 = lean_array_push(x_3971, x_3964); +x_3973 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3974 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3974, 0, x_3935); +lean_ctor_set(x_3974, 1, x_3973); +lean_ctor_set(x_3974, 2, x_3972); +x_3975 = 1; +x_3976 = lean_box(x_3975); +if (lean_is_scalar(x_3926)) { + x_3977 = lean_alloc_ctor(0, 2, 0); +} else { + x_3977 = x_3926; +} +lean_ctor_set(x_3977, 0, x_3974); +lean_ctor_set(x_3977, 1, x_3976); +x_3978 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3978, 0, x_3924); +lean_ctor_set(x_3978, 1, x_3977); +if (lean_is_scalar(x_3930)) { + x_3979 = lean_alloc_ctor(0, 2, 0); +} else { + x_3979 = x_3930; +} +lean_ctor_set(x_3979, 0, x_3978); +lean_ctor_set(x_3979, 1, x_3929); +return x_3979; +} +} +else +{ +uint8_t x_3980; +lean_dec(x_3726); +lean_dec(x_14); +lean_dec(x_5); +x_3980 = !lean_is_exclusive(x_3733); +if (x_3980 == 0) +{ +return x_3733; +} +else +{ +lean_object* x_3981; lean_object* x_3982; lean_object* x_3983; +x_3981 = lean_ctor_get(x_3733, 0); +x_3982 = lean_ctor_get(x_3733, 1); +lean_inc(x_3982); +lean_inc(x_3981); +lean_dec(x_3733); +x_3983 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3983, 0, x_3981); +lean_ctor_set(x_3983, 1, x_3982); +return x_3983; +} } } } case 2: { -lean_object* x_3627; lean_object* x_3628; lean_object* x_3629; lean_object* x_3630; lean_object* x_3631; lean_object* x_3632; lean_object* x_3633; lean_object* x_3634; lean_object* x_3635; lean_object* x_3636; lean_object* x_3637; lean_object* x_3638; uint8_t x_3639; +lean_object* x_3984; lean_object* x_3985; lean_object* x_3986; lean_object* x_3987; lean_object* x_3988; lean_object* x_3989; lean_object* x_3990; lean_object* x_3991; lean_object* x_3992; lean_inc(x_5); lean_inc(x_14); -x_3627 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_3628 = lean_ctor_get(x_3627, 0); -lean_inc(x_3628); -x_3629 = lean_ctor_get(x_3627, 1); -lean_inc(x_3629); -lean_dec(x_3627); -x_3630 = lean_unsigned_to_nat(1u); -x_3631 = lean_nat_add(x_3, x_3630); +x_3984 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); +x_3985 = lean_ctor_get(x_3984, 0); +lean_inc(x_3985); +x_3986 = lean_ctor_get(x_3984, 1); +lean_inc(x_3986); +lean_dec(x_3984); +x_3987 = lean_unsigned_to_nat(1u); +x_3988 = lean_nat_add(x_3, x_3987); lean_dec(x_3); lean_inc(x_14); -x_3632 = l_Lean_mkHole(x_14); -lean_inc(x_3628); -x_3633 = l_Lean_Elab_Term_mkExplicitBinder(x_3628, x_3632); -x_3634 = lean_array_push(x_4, x_3633); +x_3989 = l_Lean_mkHole(x_14); +lean_inc(x_3985); +x_3990 = l_Lean_Elab_Term_mkExplicitBinder(x_3985, x_3989); +x_3991 = lean_array_push(x_4, x_3990); lean_inc(x_5); -x_3635 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3631, x_3634, x_5, x_3629); -x_3636 = lean_ctor_get(x_3635, 0); -lean_inc(x_3636); -x_3637 = lean_ctor_get(x_3636, 1); -lean_inc(x_3637); -x_3638 = lean_ctor_get(x_3635, 1); -lean_inc(x_3638); -lean_dec(x_3635); -x_3639 = !lean_is_exclusive(x_3636); -if (x_3639 == 0) +x_3992 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3988, x_3991, x_5, x_3986); +if (lean_obj_tag(x_3992) == 0) { -lean_object* x_3640; uint8_t x_3641; -x_3640 = lean_ctor_get(x_3636, 1); -lean_dec(x_3640); -x_3641 = !lean_is_exclusive(x_3637); -if (x_3641 == 0) +lean_object* x_3993; lean_object* x_3994; lean_object* x_3995; uint8_t x_3996; +x_3993 = lean_ctor_get(x_3992, 0); +lean_inc(x_3993); +x_3994 = lean_ctor_get(x_3993, 1); +lean_inc(x_3994); +x_3995 = lean_ctor_get(x_3992, 1); +lean_inc(x_3995); +lean_dec(x_3992); +x_3996 = !lean_is_exclusive(x_3993); +if (x_3996 == 0) { -lean_object* x_3642; lean_object* x_3643; lean_object* x_3644; uint8_t x_3645; -x_3642 = lean_ctor_get(x_3637, 0); -x_3643 = lean_ctor_get(x_3637, 1); -lean_dec(x_3643); -x_3644 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3638); -x_3645 = !lean_is_exclusive(x_3644); -if (x_3645 == 0) +lean_object* x_3997; uint8_t x_3998; +x_3997 = lean_ctor_get(x_3993, 1); +lean_dec(x_3997); +x_3998 = !lean_is_exclusive(x_3994); +if (x_3998 == 0) { -lean_object* x_3646; lean_object* x_3647; lean_object* x_3648; lean_object* x_3649; lean_object* x_3650; lean_object* x_3651; lean_object* x_3652; lean_object* x_3653; lean_object* x_3654; lean_object* x_3655; lean_object* x_3656; lean_object* x_3657; lean_object* x_3658; lean_object* x_3659; lean_object* x_3660; lean_object* x_3661; lean_object* x_3662; uint8_t x_3663; -x_3646 = lean_ctor_get(x_3644, 0); -x_3647 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3646); -x_3648 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3648, 0, x_3646); -lean_ctor_set(x_3648, 1, x_3647); -x_3649 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3650 = lean_array_push(x_3649, x_3628); -x_3651 = lean_box(2); -x_3652 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3653 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3653, 0, x_3651); -lean_ctor_set(x_3653, 1, x_3652); -lean_ctor_set(x_3653, 2, x_3650); -x_3654 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3655 = lean_array_push(x_3654, x_3653); -x_3656 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3657 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3657, 0, x_3651); -lean_ctor_set(x_3657, 1, x_3656); -lean_ctor_set(x_3657, 2, x_3655); -x_3658 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3646); -x_3659 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3659, 0, x_3646); -lean_ctor_set(x_3659, 1, x_3658); -x_3660 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3646); -x_3661 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3661, 0, x_3646); -lean_ctor_set(x_3661, 1, x_3660); +lean_object* x_3999; lean_object* x_4000; lean_object* x_4001; uint8_t x_4002; +x_3999 = lean_ctor_get(x_3994, 0); +x_4000 = lean_ctor_get(x_3994, 1); +lean_dec(x_4000); +x_4001 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3995); +x_4002 = !lean_is_exclusive(x_4001); +if (x_4002 == 0) +{ +lean_object* x_4003; lean_object* x_4004; lean_object* x_4005; lean_object* x_4006; lean_object* x_4007; lean_object* x_4008; lean_object* x_4009; lean_object* x_4010; lean_object* x_4011; lean_object* x_4012; lean_object* x_4013; lean_object* x_4014; lean_object* x_4015; lean_object* x_4016; lean_object* x_4017; lean_object* x_4018; lean_object* x_4019; uint8_t x_4020; +x_4003 = lean_ctor_get(x_4001, 0); +x_4004 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_4003); +x_4005 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4005, 0, x_4003); +lean_ctor_set(x_4005, 1, x_4004); +x_4006 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_4007 = lean_array_push(x_4006, x_3985); +x_4008 = lean_box(2); +x_4009 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_4010 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4010, 0, x_4008); +lean_ctor_set(x_4010, 1, x_4009); +lean_ctor_set(x_4010, 2, x_4007); +x_4011 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_4012 = lean_array_push(x_4011, x_4010); +x_4013 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_4014 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4014, 0, x_4008); +lean_ctor_set(x_4014, 1, x_4013); +lean_ctor_set(x_4014, 2, x_4012); +x_4015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_4003); +x_4016 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4016, 0, x_4003); +lean_ctor_set(x_4016, 1, x_4015); +x_4017 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_4003); +x_4018 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4018, 0, x_4003); +lean_ctor_set(x_4018, 1, x_4017); lean_inc(x_14); -x_3662 = lean_array_push(x_3654, x_14); -x_3663 = !lean_is_exclusive(x_14); -if (x_3663 == 0) +x_4019 = lean_array_push(x_4011, x_14); +x_4020 = !lean_is_exclusive(x_14); +if (x_4020 == 0) { -lean_object* x_3664; lean_object* x_3665; lean_object* x_3666; lean_object* x_3667; lean_object* x_3668; lean_object* x_3669; lean_object* x_3670; lean_object* x_3671; lean_object* x_3672; lean_object* x_3673; lean_object* x_3674; lean_object* x_3675; lean_object* x_3676; lean_object* x_3677; lean_object* x_3678; lean_object* x_3679; lean_object* x_3680; lean_object* x_3681; lean_object* x_3682; lean_object* x_3683; lean_object* x_3684; lean_object* x_3685; lean_object* x_3686; lean_object* x_3687; lean_object* x_3688; lean_object* x_3689; lean_object* x_3690; lean_object* x_3691; uint8_t x_3692; lean_object* x_3693; -x_3664 = lean_ctor_get(x_14, 1); -lean_dec(x_3664); -x_3665 = lean_ctor_get(x_14, 0); -lean_dec(x_3665); -x_3666 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3666, 0, x_3651); -lean_ctor_set(x_3666, 1, x_3656); -lean_ctor_set(x_3666, 2, x_3662); -x_3667 = lean_array_push(x_3654, x_3666); -x_3668 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3668, 0, x_3651); -lean_ctor_set(x_3668, 1, x_3656); -lean_ctor_set(x_3668, 2, x_3667); -x_3669 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -lean_ctor_set(x_14, 1, x_3669); -lean_ctor_set(x_14, 0, x_3646); -x_3670 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3671 = lean_array_push(x_3670, x_3661); -x_3672 = lean_array_push(x_3671, x_3668); -x_3673 = lean_array_push(x_3672, x_14); -x_3674 = lean_array_push(x_3673, x_3642); -x_3675 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3676 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3676, 0, x_3651); -lean_ctor_set(x_3676, 1, x_3675); -lean_ctor_set(x_3676, 2, x_3674); -x_3677 = lean_array_push(x_3654, x_3676); -x_3678 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3678, 0, x_3651); -lean_ctor_set(x_3678, 1, x_3656); -lean_ctor_set(x_3678, 2, x_3677); -x_3679 = lean_array_push(x_3654, x_3678); -x_3680 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3681 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3681, 0, x_3651); -lean_ctor_set(x_3681, 1, x_3680); -lean_ctor_set(x_3681, 2, x_3679); -x_3682 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3683 = lean_array_push(x_3682, x_3648); -x_3684 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3685 = lean_array_push(x_3683, x_3684); -x_3686 = lean_array_push(x_3685, x_3684); -x_3687 = lean_array_push(x_3686, x_3657); -x_3688 = lean_array_push(x_3687, x_3659); -x_3689 = lean_array_push(x_3688, x_3681); -x_3690 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3691 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3691, 0, x_3651); -lean_ctor_set(x_3691, 1, x_3690); -lean_ctor_set(x_3691, 2, x_3689); -x_3692 = 1; -x_3693 = lean_box(x_3692); -lean_ctor_set(x_3637, 1, x_3693); -lean_ctor_set(x_3637, 0, x_3691); -lean_ctor_set(x_3644, 0, x_3636); -return x_3644; +lean_object* x_4021; lean_object* x_4022; lean_object* x_4023; lean_object* x_4024; lean_object* x_4025; lean_object* x_4026; lean_object* x_4027; lean_object* x_4028; lean_object* x_4029; lean_object* x_4030; lean_object* x_4031; lean_object* x_4032; lean_object* x_4033; lean_object* x_4034; lean_object* x_4035; lean_object* x_4036; lean_object* x_4037; lean_object* x_4038; lean_object* x_4039; lean_object* x_4040; lean_object* x_4041; lean_object* x_4042; lean_object* x_4043; lean_object* x_4044; lean_object* x_4045; lean_object* x_4046; lean_object* x_4047; lean_object* x_4048; uint8_t x_4049; lean_object* x_4050; +x_4021 = lean_ctor_get(x_14, 1); +lean_dec(x_4021); +x_4022 = lean_ctor_get(x_14, 0); +lean_dec(x_4022); +x_4023 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4023, 0, x_4008); +lean_ctor_set(x_4023, 1, x_4013); +lean_ctor_set(x_4023, 2, x_4019); +x_4024 = lean_array_push(x_4011, x_4023); +x_4025 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4025, 0, x_4008); +lean_ctor_set(x_4025, 1, x_4013); +lean_ctor_set(x_4025, 2, x_4024); +x_4026 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +lean_ctor_set(x_14, 1, x_4026); +lean_ctor_set(x_14, 0, x_4003); +x_4027 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_4028 = lean_array_push(x_4027, x_4018); +x_4029 = lean_array_push(x_4028, x_4025); +x_4030 = lean_array_push(x_4029, x_14); +x_4031 = lean_array_push(x_4030, x_3999); +x_4032 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_4033 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4033, 0, x_4008); +lean_ctor_set(x_4033, 1, x_4032); +lean_ctor_set(x_4033, 2, x_4031); +x_4034 = lean_array_push(x_4011, x_4033); +x_4035 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4035, 0, x_4008); +lean_ctor_set(x_4035, 1, x_4013); +lean_ctor_set(x_4035, 2, x_4034); +x_4036 = lean_array_push(x_4011, x_4035); +x_4037 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_4038 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4038, 0, x_4008); +lean_ctor_set(x_4038, 1, x_4037); +lean_ctor_set(x_4038, 2, x_4036); +x_4039 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_4040 = lean_array_push(x_4039, x_4005); +x_4041 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_4042 = lean_array_push(x_4040, x_4041); +x_4043 = lean_array_push(x_4042, x_4041); +x_4044 = lean_array_push(x_4043, x_4014); +x_4045 = lean_array_push(x_4044, x_4016); +x_4046 = lean_array_push(x_4045, x_4038); +x_4047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_4048 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4048, 0, x_4008); +lean_ctor_set(x_4048, 1, x_4047); +lean_ctor_set(x_4048, 2, x_4046); +x_4049 = 1; +x_4050 = lean_box(x_4049); +lean_ctor_set(x_3994, 1, x_4050); +lean_ctor_set(x_3994, 0, x_4048); +lean_ctor_set(x_4001, 0, x_3993); +return x_4001; } else { -lean_object* x_3694; lean_object* x_3695; lean_object* x_3696; lean_object* x_3697; lean_object* x_3698; lean_object* x_3699; lean_object* x_3700; lean_object* x_3701; lean_object* x_3702; lean_object* x_3703; lean_object* x_3704; lean_object* x_3705; lean_object* x_3706; lean_object* x_3707; lean_object* x_3708; lean_object* x_3709; lean_object* x_3710; lean_object* x_3711; lean_object* x_3712; lean_object* x_3713; lean_object* x_3714; lean_object* x_3715; lean_object* x_3716; lean_object* x_3717; lean_object* x_3718; lean_object* x_3719; lean_object* x_3720; uint8_t x_3721; lean_object* x_3722; +lean_object* x_4051; lean_object* x_4052; lean_object* x_4053; lean_object* x_4054; lean_object* x_4055; lean_object* x_4056; lean_object* x_4057; lean_object* x_4058; lean_object* x_4059; lean_object* x_4060; lean_object* x_4061; lean_object* x_4062; lean_object* x_4063; lean_object* x_4064; lean_object* x_4065; lean_object* x_4066; lean_object* x_4067; lean_object* x_4068; lean_object* x_4069; lean_object* x_4070; lean_object* x_4071; lean_object* x_4072; lean_object* x_4073; lean_object* x_4074; lean_object* x_4075; lean_object* x_4076; lean_object* x_4077; uint8_t x_4078; lean_object* x_4079; lean_dec(x_14); -x_3694 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3694, 0, x_3651); -lean_ctor_set(x_3694, 1, x_3656); -lean_ctor_set(x_3694, 2, x_3662); -x_3695 = lean_array_push(x_3654, x_3694); -x_3696 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3696, 0, x_3651); -lean_ctor_set(x_3696, 1, x_3656); -lean_ctor_set(x_3696, 2, x_3695); -x_3697 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3698 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3698, 0, x_3646); -lean_ctor_set(x_3698, 1, x_3697); -x_3699 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3700 = lean_array_push(x_3699, x_3661); -x_3701 = lean_array_push(x_3700, x_3696); -x_3702 = lean_array_push(x_3701, x_3698); -x_3703 = lean_array_push(x_3702, x_3642); -x_3704 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3705 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3705, 0, x_3651); -lean_ctor_set(x_3705, 1, x_3704); -lean_ctor_set(x_3705, 2, x_3703); -x_3706 = lean_array_push(x_3654, x_3705); -x_3707 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3707, 0, x_3651); -lean_ctor_set(x_3707, 1, x_3656); -lean_ctor_set(x_3707, 2, x_3706); -x_3708 = lean_array_push(x_3654, x_3707); -x_3709 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3710 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3710, 0, x_3651); -lean_ctor_set(x_3710, 1, x_3709); -lean_ctor_set(x_3710, 2, x_3708); -x_3711 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3712 = lean_array_push(x_3711, x_3648); -x_3713 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3714 = lean_array_push(x_3712, x_3713); -x_3715 = lean_array_push(x_3714, x_3713); -x_3716 = lean_array_push(x_3715, x_3657); -x_3717 = lean_array_push(x_3716, x_3659); -x_3718 = lean_array_push(x_3717, x_3710); -x_3719 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3720 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3720, 0, x_3651); -lean_ctor_set(x_3720, 1, x_3719); -lean_ctor_set(x_3720, 2, x_3718); -x_3721 = 1; -x_3722 = lean_box(x_3721); -lean_ctor_set(x_3637, 1, x_3722); -lean_ctor_set(x_3637, 0, x_3720); -lean_ctor_set(x_3644, 0, x_3636); -return x_3644; +x_4051 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4051, 0, x_4008); +lean_ctor_set(x_4051, 1, x_4013); +lean_ctor_set(x_4051, 2, x_4019); +x_4052 = lean_array_push(x_4011, x_4051); +x_4053 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4053, 0, x_4008); +lean_ctor_set(x_4053, 1, x_4013); +lean_ctor_set(x_4053, 2, x_4052); +x_4054 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_4055 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4055, 0, x_4003); +lean_ctor_set(x_4055, 1, x_4054); +x_4056 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_4057 = lean_array_push(x_4056, x_4018); +x_4058 = lean_array_push(x_4057, x_4053); +x_4059 = lean_array_push(x_4058, x_4055); +x_4060 = lean_array_push(x_4059, x_3999); +x_4061 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_4062 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4062, 0, x_4008); +lean_ctor_set(x_4062, 1, x_4061); +lean_ctor_set(x_4062, 2, x_4060); +x_4063 = lean_array_push(x_4011, x_4062); +x_4064 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4064, 0, x_4008); +lean_ctor_set(x_4064, 1, x_4013); +lean_ctor_set(x_4064, 2, x_4063); +x_4065 = lean_array_push(x_4011, x_4064); +x_4066 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_4067 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4067, 0, x_4008); +lean_ctor_set(x_4067, 1, x_4066); +lean_ctor_set(x_4067, 2, x_4065); +x_4068 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_4069 = lean_array_push(x_4068, x_4005); +x_4070 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_4071 = lean_array_push(x_4069, x_4070); +x_4072 = lean_array_push(x_4071, x_4070); +x_4073 = lean_array_push(x_4072, x_4014); +x_4074 = lean_array_push(x_4073, x_4016); +x_4075 = lean_array_push(x_4074, x_4067); +x_4076 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_4077 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4077, 0, x_4008); +lean_ctor_set(x_4077, 1, x_4076); +lean_ctor_set(x_4077, 2, x_4075); +x_4078 = 1; +x_4079 = lean_box(x_4078); +lean_ctor_set(x_3994, 1, x_4079); +lean_ctor_set(x_3994, 0, x_4077); +lean_ctor_set(x_4001, 0, x_3993); +return x_4001; } } else { -lean_object* x_3723; lean_object* x_3724; lean_object* x_3725; lean_object* x_3726; lean_object* x_3727; lean_object* x_3728; lean_object* x_3729; lean_object* x_3730; lean_object* x_3731; lean_object* x_3732; lean_object* x_3733; lean_object* x_3734; lean_object* x_3735; lean_object* x_3736; lean_object* x_3737; lean_object* x_3738; lean_object* x_3739; lean_object* x_3740; lean_object* x_3741; lean_object* x_3742; lean_object* x_3743; lean_object* x_3744; lean_object* x_3745; lean_object* x_3746; lean_object* x_3747; lean_object* x_3748; lean_object* x_3749; lean_object* x_3750; lean_object* x_3751; lean_object* x_3752; lean_object* x_3753; lean_object* x_3754; lean_object* x_3755; lean_object* x_3756; lean_object* x_3757; lean_object* x_3758; lean_object* x_3759; lean_object* x_3760; lean_object* x_3761; lean_object* x_3762; lean_object* x_3763; lean_object* x_3764; lean_object* x_3765; lean_object* x_3766; lean_object* x_3767; lean_object* x_3768; uint8_t x_3769; lean_object* x_3770; lean_object* x_3771; -x_3723 = lean_ctor_get(x_3644, 0); -x_3724 = lean_ctor_get(x_3644, 1); -lean_inc(x_3724); -lean_inc(x_3723); -lean_dec(x_3644); -x_3725 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3723); -x_3726 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3726, 0, x_3723); -lean_ctor_set(x_3726, 1, x_3725); -x_3727 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3728 = lean_array_push(x_3727, x_3628); -x_3729 = lean_box(2); -x_3730 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3731 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3731, 0, x_3729); -lean_ctor_set(x_3731, 1, x_3730); -lean_ctor_set(x_3731, 2, x_3728); -x_3732 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3733 = lean_array_push(x_3732, x_3731); -x_3734 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3735 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3735, 0, x_3729); -lean_ctor_set(x_3735, 1, x_3734); -lean_ctor_set(x_3735, 2, x_3733); -x_3736 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3723); -x_3737 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3737, 0, x_3723); -lean_ctor_set(x_3737, 1, x_3736); -x_3738 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3723); -x_3739 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3739, 0, x_3723); -lean_ctor_set(x_3739, 1, x_3738); +lean_object* x_4080; lean_object* x_4081; lean_object* x_4082; lean_object* x_4083; lean_object* x_4084; lean_object* x_4085; lean_object* x_4086; lean_object* x_4087; lean_object* x_4088; lean_object* x_4089; lean_object* x_4090; lean_object* x_4091; lean_object* x_4092; lean_object* x_4093; lean_object* x_4094; lean_object* x_4095; lean_object* x_4096; lean_object* x_4097; lean_object* x_4098; lean_object* x_4099; lean_object* x_4100; lean_object* x_4101; lean_object* x_4102; lean_object* x_4103; lean_object* x_4104; lean_object* x_4105; lean_object* x_4106; lean_object* x_4107; lean_object* x_4108; lean_object* x_4109; lean_object* x_4110; lean_object* x_4111; lean_object* x_4112; lean_object* x_4113; lean_object* x_4114; lean_object* x_4115; lean_object* x_4116; lean_object* x_4117; lean_object* x_4118; lean_object* x_4119; lean_object* x_4120; lean_object* x_4121; lean_object* x_4122; lean_object* x_4123; lean_object* x_4124; lean_object* x_4125; uint8_t x_4126; lean_object* x_4127; lean_object* x_4128; +x_4080 = lean_ctor_get(x_4001, 0); +x_4081 = lean_ctor_get(x_4001, 1); +lean_inc(x_4081); +lean_inc(x_4080); +lean_dec(x_4001); +x_4082 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_4080); +x_4083 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4083, 0, x_4080); +lean_ctor_set(x_4083, 1, x_4082); +x_4084 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_4085 = lean_array_push(x_4084, x_3985); +x_4086 = lean_box(2); +x_4087 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_4088 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4088, 0, x_4086); +lean_ctor_set(x_4088, 1, x_4087); +lean_ctor_set(x_4088, 2, x_4085); +x_4089 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_4090 = lean_array_push(x_4089, x_4088); +x_4091 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_4092 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4092, 0, x_4086); +lean_ctor_set(x_4092, 1, x_4091); +lean_ctor_set(x_4092, 2, x_4090); +x_4093 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_4080); +x_4094 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4094, 0, x_4080); +lean_ctor_set(x_4094, 1, x_4093); +x_4095 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_4080); +x_4096 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4096, 0, x_4080); +lean_ctor_set(x_4096, 1, x_4095); lean_inc(x_14); -x_3740 = lean_array_push(x_3732, x_14); +x_4097 = lean_array_push(x_4089, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); - x_3741 = x_14; + x_4098 = x_14; } else { lean_dec_ref(x_14); - x_3741 = lean_box(0); + x_4098 = lean_box(0); } -x_3742 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3742, 0, x_3729); -lean_ctor_set(x_3742, 1, x_3734); -lean_ctor_set(x_3742, 2, x_3740); -x_3743 = lean_array_push(x_3732, x_3742); -x_3744 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3744, 0, x_3729); -lean_ctor_set(x_3744, 1, x_3734); -lean_ctor_set(x_3744, 2, x_3743); -x_3745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -if (lean_is_scalar(x_3741)) { - x_3746 = lean_alloc_ctor(2, 2, 0); +x_4099 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4099, 0, x_4086); +lean_ctor_set(x_4099, 1, x_4091); +lean_ctor_set(x_4099, 2, x_4097); +x_4100 = lean_array_push(x_4089, x_4099); +x_4101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4101, 0, x_4086); +lean_ctor_set(x_4101, 1, x_4091); +lean_ctor_set(x_4101, 2, x_4100); +x_4102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +if (lean_is_scalar(x_4098)) { + x_4103 = lean_alloc_ctor(2, 2, 0); } else { - x_3746 = x_3741; + x_4103 = x_4098; } -lean_ctor_set(x_3746, 0, x_3723); -lean_ctor_set(x_3746, 1, x_3745); -x_3747 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3748 = lean_array_push(x_3747, x_3739); -x_3749 = lean_array_push(x_3748, x_3744); -x_3750 = lean_array_push(x_3749, x_3746); -x_3751 = lean_array_push(x_3750, x_3642); -x_3752 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3753 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3753, 0, x_3729); -lean_ctor_set(x_3753, 1, x_3752); -lean_ctor_set(x_3753, 2, x_3751); -x_3754 = lean_array_push(x_3732, x_3753); -x_3755 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3755, 0, x_3729); -lean_ctor_set(x_3755, 1, x_3734); -lean_ctor_set(x_3755, 2, x_3754); -x_3756 = lean_array_push(x_3732, x_3755); -x_3757 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3758 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3758, 0, x_3729); -lean_ctor_set(x_3758, 1, x_3757); -lean_ctor_set(x_3758, 2, x_3756); -x_3759 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3760 = lean_array_push(x_3759, x_3726); -x_3761 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3762 = lean_array_push(x_3760, x_3761); -x_3763 = lean_array_push(x_3762, x_3761); -x_3764 = lean_array_push(x_3763, x_3735); -x_3765 = lean_array_push(x_3764, x_3737); -x_3766 = lean_array_push(x_3765, x_3758); -x_3767 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3768 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3768, 0, x_3729); -lean_ctor_set(x_3768, 1, x_3767); -lean_ctor_set(x_3768, 2, x_3766); -x_3769 = 1; -x_3770 = lean_box(x_3769); -lean_ctor_set(x_3637, 1, x_3770); -lean_ctor_set(x_3637, 0, x_3768); -x_3771 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3771, 0, x_3636); -lean_ctor_set(x_3771, 1, x_3724); -return x_3771; +lean_ctor_set(x_4103, 0, x_4080); +lean_ctor_set(x_4103, 1, x_4102); +x_4104 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_4105 = lean_array_push(x_4104, x_4096); +x_4106 = lean_array_push(x_4105, x_4101); +x_4107 = lean_array_push(x_4106, x_4103); +x_4108 = lean_array_push(x_4107, x_3999); +x_4109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_4110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4110, 0, x_4086); +lean_ctor_set(x_4110, 1, x_4109); +lean_ctor_set(x_4110, 2, x_4108); +x_4111 = lean_array_push(x_4089, x_4110); +x_4112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4112, 0, x_4086); +lean_ctor_set(x_4112, 1, x_4091); +lean_ctor_set(x_4112, 2, x_4111); +x_4113 = lean_array_push(x_4089, x_4112); +x_4114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_4115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4115, 0, x_4086); +lean_ctor_set(x_4115, 1, x_4114); +lean_ctor_set(x_4115, 2, x_4113); +x_4116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_4117 = lean_array_push(x_4116, x_4083); +x_4118 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_4119 = lean_array_push(x_4117, x_4118); +x_4120 = lean_array_push(x_4119, x_4118); +x_4121 = lean_array_push(x_4120, x_4092); +x_4122 = lean_array_push(x_4121, x_4094); +x_4123 = lean_array_push(x_4122, x_4115); +x_4124 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_4125 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4125, 0, x_4086); +lean_ctor_set(x_4125, 1, x_4124); +lean_ctor_set(x_4125, 2, x_4123); +x_4126 = 1; +x_4127 = lean_box(x_4126); +lean_ctor_set(x_3994, 1, x_4127); +lean_ctor_set(x_3994, 0, x_4125); +x_4128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4128, 0, x_3993); +lean_ctor_set(x_4128, 1, x_4081); +return x_4128; } } else { -lean_object* x_3772; lean_object* x_3773; lean_object* x_3774; lean_object* x_3775; lean_object* x_3776; lean_object* x_3777; lean_object* x_3778; lean_object* x_3779; lean_object* x_3780; lean_object* x_3781; lean_object* x_3782; lean_object* x_3783; lean_object* x_3784; lean_object* x_3785; lean_object* x_3786; lean_object* x_3787; lean_object* x_3788; lean_object* x_3789; lean_object* x_3790; lean_object* x_3791; lean_object* x_3792; lean_object* x_3793; lean_object* x_3794; lean_object* x_3795; lean_object* x_3796; lean_object* x_3797; lean_object* x_3798; lean_object* x_3799; lean_object* x_3800; lean_object* x_3801; lean_object* x_3802; lean_object* x_3803; lean_object* x_3804; lean_object* x_3805; lean_object* x_3806; lean_object* x_3807; lean_object* x_3808; lean_object* x_3809; lean_object* x_3810; lean_object* x_3811; lean_object* x_3812; lean_object* x_3813; lean_object* x_3814; lean_object* x_3815; lean_object* x_3816; lean_object* x_3817; lean_object* x_3818; lean_object* x_3819; lean_object* x_3820; uint8_t x_3821; lean_object* x_3822; lean_object* x_3823; lean_object* x_3824; -x_3772 = lean_ctor_get(x_3637, 0); -lean_inc(x_3772); -lean_dec(x_3637); -x_3773 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3638); -x_3774 = lean_ctor_get(x_3773, 0); -lean_inc(x_3774); -x_3775 = lean_ctor_get(x_3773, 1); -lean_inc(x_3775); -if (lean_is_exclusive(x_3773)) { - lean_ctor_release(x_3773, 0); - lean_ctor_release(x_3773, 1); - x_3776 = x_3773; +lean_object* x_4129; lean_object* x_4130; lean_object* x_4131; lean_object* x_4132; lean_object* x_4133; lean_object* x_4134; lean_object* x_4135; lean_object* x_4136; lean_object* x_4137; lean_object* x_4138; lean_object* x_4139; lean_object* x_4140; lean_object* x_4141; lean_object* x_4142; lean_object* x_4143; lean_object* x_4144; lean_object* x_4145; lean_object* x_4146; lean_object* x_4147; lean_object* x_4148; lean_object* x_4149; lean_object* x_4150; lean_object* x_4151; lean_object* x_4152; lean_object* x_4153; lean_object* x_4154; lean_object* x_4155; lean_object* x_4156; lean_object* x_4157; lean_object* x_4158; lean_object* x_4159; lean_object* x_4160; lean_object* x_4161; lean_object* x_4162; lean_object* x_4163; lean_object* x_4164; lean_object* x_4165; lean_object* x_4166; lean_object* x_4167; lean_object* x_4168; lean_object* x_4169; lean_object* x_4170; lean_object* x_4171; lean_object* x_4172; lean_object* x_4173; lean_object* x_4174; lean_object* x_4175; lean_object* x_4176; lean_object* x_4177; uint8_t x_4178; lean_object* x_4179; lean_object* x_4180; lean_object* x_4181; +x_4129 = lean_ctor_get(x_3994, 0); +lean_inc(x_4129); +lean_dec(x_3994); +x_4130 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3995); +x_4131 = lean_ctor_get(x_4130, 0); +lean_inc(x_4131); +x_4132 = lean_ctor_get(x_4130, 1); +lean_inc(x_4132); +if (lean_is_exclusive(x_4130)) { + lean_ctor_release(x_4130, 0); + lean_ctor_release(x_4130, 1); + x_4133 = x_4130; } else { - lean_dec_ref(x_3773); - x_3776 = lean_box(0); + lean_dec_ref(x_4130); + x_4133 = lean_box(0); } -x_3777 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3774); -x_3778 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3778, 0, x_3774); -lean_ctor_set(x_3778, 1, x_3777); -x_3779 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3780 = lean_array_push(x_3779, x_3628); -x_3781 = lean_box(2); -x_3782 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3783 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3783, 0, x_3781); -lean_ctor_set(x_3783, 1, x_3782); -lean_ctor_set(x_3783, 2, x_3780); -x_3784 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3785 = lean_array_push(x_3784, x_3783); -x_3786 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3787 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3787, 0, x_3781); -lean_ctor_set(x_3787, 1, x_3786); -lean_ctor_set(x_3787, 2, x_3785); -x_3788 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3774); -x_3789 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3789, 0, x_3774); -lean_ctor_set(x_3789, 1, x_3788); -x_3790 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3774); -x_3791 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3791, 0, x_3774); -lean_ctor_set(x_3791, 1, x_3790); +x_4134 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_4131); +x_4135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4135, 0, x_4131); +lean_ctor_set(x_4135, 1, x_4134); +x_4136 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_4137 = lean_array_push(x_4136, x_3985); +x_4138 = lean_box(2); +x_4139 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_4140 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4140, 0, x_4138); +lean_ctor_set(x_4140, 1, x_4139); +lean_ctor_set(x_4140, 2, x_4137); +x_4141 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_4142 = lean_array_push(x_4141, x_4140); +x_4143 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_4144 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4144, 0, x_4138); +lean_ctor_set(x_4144, 1, x_4143); +lean_ctor_set(x_4144, 2, x_4142); +x_4145 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_4131); +x_4146 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4146, 0, x_4131); +lean_ctor_set(x_4146, 1, x_4145); +x_4147 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_4131); +x_4148 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4148, 0, x_4131); +lean_ctor_set(x_4148, 1, x_4147); lean_inc(x_14); -x_3792 = lean_array_push(x_3784, x_14); +x_4149 = lean_array_push(x_4141, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); - x_3793 = x_14; + x_4150 = x_14; } else { lean_dec_ref(x_14); - x_3793 = lean_box(0); + x_4150 = lean_box(0); } -x_3794 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3794, 0, x_3781); -lean_ctor_set(x_3794, 1, x_3786); -lean_ctor_set(x_3794, 2, x_3792); -x_3795 = lean_array_push(x_3784, x_3794); -x_3796 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3796, 0, x_3781); -lean_ctor_set(x_3796, 1, x_3786); -lean_ctor_set(x_3796, 2, x_3795); -x_3797 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -if (lean_is_scalar(x_3793)) { - x_3798 = lean_alloc_ctor(2, 2, 0); +x_4151 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4151, 0, x_4138); +lean_ctor_set(x_4151, 1, x_4143); +lean_ctor_set(x_4151, 2, x_4149); +x_4152 = lean_array_push(x_4141, x_4151); +x_4153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4153, 0, x_4138); +lean_ctor_set(x_4153, 1, x_4143); +lean_ctor_set(x_4153, 2, x_4152); +x_4154 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +if (lean_is_scalar(x_4150)) { + x_4155 = lean_alloc_ctor(2, 2, 0); } else { - x_3798 = x_3793; + x_4155 = x_4150; } -lean_ctor_set(x_3798, 0, x_3774); -lean_ctor_set(x_3798, 1, x_3797); -x_3799 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3800 = lean_array_push(x_3799, x_3791); -x_3801 = lean_array_push(x_3800, x_3796); -x_3802 = lean_array_push(x_3801, x_3798); -x_3803 = lean_array_push(x_3802, x_3772); -x_3804 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3805 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3805, 0, x_3781); -lean_ctor_set(x_3805, 1, x_3804); -lean_ctor_set(x_3805, 2, x_3803); -x_3806 = lean_array_push(x_3784, x_3805); -x_3807 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3807, 0, x_3781); -lean_ctor_set(x_3807, 1, x_3786); -lean_ctor_set(x_3807, 2, x_3806); -x_3808 = lean_array_push(x_3784, x_3807); -x_3809 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3810 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3810, 0, x_3781); -lean_ctor_set(x_3810, 1, x_3809); -lean_ctor_set(x_3810, 2, x_3808); -x_3811 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3812 = lean_array_push(x_3811, x_3778); -x_3813 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3814 = lean_array_push(x_3812, x_3813); -x_3815 = lean_array_push(x_3814, x_3813); -x_3816 = lean_array_push(x_3815, x_3787); -x_3817 = lean_array_push(x_3816, x_3789); -x_3818 = lean_array_push(x_3817, x_3810); -x_3819 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3820 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3820, 0, x_3781); -lean_ctor_set(x_3820, 1, x_3819); -lean_ctor_set(x_3820, 2, x_3818); -x_3821 = 1; -x_3822 = lean_box(x_3821); -x_3823 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3823, 0, x_3820); -lean_ctor_set(x_3823, 1, x_3822); -lean_ctor_set(x_3636, 1, x_3823); -if (lean_is_scalar(x_3776)) { - x_3824 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4155, 0, x_4131); +lean_ctor_set(x_4155, 1, x_4154); +x_4156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_4157 = lean_array_push(x_4156, x_4148); +x_4158 = lean_array_push(x_4157, x_4153); +x_4159 = lean_array_push(x_4158, x_4155); +x_4160 = lean_array_push(x_4159, x_4129); +x_4161 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_4162 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4162, 0, x_4138); +lean_ctor_set(x_4162, 1, x_4161); +lean_ctor_set(x_4162, 2, x_4160); +x_4163 = lean_array_push(x_4141, x_4162); +x_4164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4164, 0, x_4138); +lean_ctor_set(x_4164, 1, x_4143); +lean_ctor_set(x_4164, 2, x_4163); +x_4165 = lean_array_push(x_4141, x_4164); +x_4166 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_4167 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4167, 0, x_4138); +lean_ctor_set(x_4167, 1, x_4166); +lean_ctor_set(x_4167, 2, x_4165); +x_4168 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_4169 = lean_array_push(x_4168, x_4135); +x_4170 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_4171 = lean_array_push(x_4169, x_4170); +x_4172 = lean_array_push(x_4171, x_4170); +x_4173 = lean_array_push(x_4172, x_4144); +x_4174 = lean_array_push(x_4173, x_4146); +x_4175 = lean_array_push(x_4174, x_4167); +x_4176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_4177 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4177, 0, x_4138); +lean_ctor_set(x_4177, 1, x_4176); +lean_ctor_set(x_4177, 2, x_4175); +x_4178 = 1; +x_4179 = lean_box(x_4178); +x_4180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4180, 0, x_4177); +lean_ctor_set(x_4180, 1, x_4179); +lean_ctor_set(x_3993, 1, x_4180); +if (lean_is_scalar(x_4133)) { + x_4181 = lean_alloc_ctor(0, 2, 0); } else { - x_3824 = x_3776; + x_4181 = x_4133; } -lean_ctor_set(x_3824, 0, x_3636); -lean_ctor_set(x_3824, 1, x_3775); -return x_3824; +lean_ctor_set(x_4181, 0, x_3993); +lean_ctor_set(x_4181, 1, x_4132); +return x_4181; } } else { -lean_object* x_3825; lean_object* x_3826; lean_object* x_3827; lean_object* x_3828; lean_object* x_3829; lean_object* x_3830; lean_object* x_3831; lean_object* x_3832; lean_object* x_3833; lean_object* x_3834; lean_object* x_3835; lean_object* x_3836; lean_object* x_3837; lean_object* x_3838; lean_object* x_3839; lean_object* x_3840; lean_object* x_3841; lean_object* x_3842; lean_object* x_3843; lean_object* x_3844; lean_object* x_3845; lean_object* x_3846; lean_object* x_3847; lean_object* x_3848; lean_object* x_3849; lean_object* x_3850; lean_object* x_3851; lean_object* x_3852; lean_object* x_3853; lean_object* x_3854; lean_object* x_3855; lean_object* x_3856; lean_object* x_3857; lean_object* x_3858; lean_object* x_3859; lean_object* x_3860; lean_object* x_3861; lean_object* x_3862; lean_object* x_3863; lean_object* x_3864; lean_object* x_3865; lean_object* x_3866; lean_object* x_3867; lean_object* x_3868; lean_object* x_3869; lean_object* x_3870; lean_object* x_3871; lean_object* x_3872; lean_object* x_3873; lean_object* x_3874; lean_object* x_3875; uint8_t x_3876; lean_object* x_3877; lean_object* x_3878; lean_object* x_3879; lean_object* x_3880; -x_3825 = lean_ctor_get(x_3636, 0); -lean_inc(x_3825); -lean_dec(x_3636); -x_3826 = lean_ctor_get(x_3637, 0); -lean_inc(x_3826); -if (lean_is_exclusive(x_3637)) { - lean_ctor_release(x_3637, 0); - lean_ctor_release(x_3637, 1); - x_3827 = x_3637; +lean_object* x_4182; lean_object* x_4183; lean_object* x_4184; lean_object* x_4185; lean_object* x_4186; lean_object* x_4187; lean_object* x_4188; lean_object* x_4189; lean_object* x_4190; lean_object* x_4191; lean_object* x_4192; lean_object* x_4193; lean_object* x_4194; lean_object* x_4195; lean_object* x_4196; lean_object* x_4197; lean_object* x_4198; lean_object* x_4199; lean_object* x_4200; lean_object* x_4201; lean_object* x_4202; lean_object* x_4203; lean_object* x_4204; lean_object* x_4205; lean_object* x_4206; lean_object* x_4207; lean_object* x_4208; lean_object* x_4209; lean_object* x_4210; lean_object* x_4211; lean_object* x_4212; lean_object* x_4213; lean_object* x_4214; lean_object* x_4215; lean_object* x_4216; lean_object* x_4217; lean_object* x_4218; lean_object* x_4219; lean_object* x_4220; lean_object* x_4221; lean_object* x_4222; lean_object* x_4223; lean_object* x_4224; lean_object* x_4225; lean_object* x_4226; lean_object* x_4227; lean_object* x_4228; lean_object* x_4229; lean_object* x_4230; lean_object* x_4231; lean_object* x_4232; uint8_t x_4233; lean_object* x_4234; lean_object* x_4235; lean_object* x_4236; lean_object* x_4237; +x_4182 = lean_ctor_get(x_3993, 0); +lean_inc(x_4182); +lean_dec(x_3993); +x_4183 = lean_ctor_get(x_3994, 0); +lean_inc(x_4183); +if (lean_is_exclusive(x_3994)) { + lean_ctor_release(x_3994, 0); + lean_ctor_release(x_3994, 1); + x_4184 = x_3994; } else { - lean_dec_ref(x_3637); - x_3827 = lean_box(0); + lean_dec_ref(x_3994); + x_4184 = lean_box(0); } -x_3828 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3638); -x_3829 = lean_ctor_get(x_3828, 0); -lean_inc(x_3829); -x_3830 = lean_ctor_get(x_3828, 1); -lean_inc(x_3830); -if (lean_is_exclusive(x_3828)) { - lean_ctor_release(x_3828, 0); - lean_ctor_release(x_3828, 1); - x_3831 = x_3828; +x_4185 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3995); +x_4186 = lean_ctor_get(x_4185, 0); +lean_inc(x_4186); +x_4187 = lean_ctor_get(x_4185, 1); +lean_inc(x_4187); +if (lean_is_exclusive(x_4185)) { + lean_ctor_release(x_4185, 0); + lean_ctor_release(x_4185, 1); + x_4188 = x_4185; } else { - lean_dec_ref(x_3828); - x_3831 = lean_box(0); + lean_dec_ref(x_4185); + x_4188 = lean_box(0); } -x_3832 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3829); -x_3833 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3833, 0, x_3829); -lean_ctor_set(x_3833, 1, x_3832); -x_3834 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; -x_3835 = lean_array_push(x_3834, x_3628); -x_3836 = lean_box(2); -x_3837 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -x_3838 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3838, 0, x_3836); -lean_ctor_set(x_3838, 1, x_3837); -lean_ctor_set(x_3838, 2, x_3835); -x_3839 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; -x_3840 = lean_array_push(x_3839, x_3838); -x_3841 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; -x_3842 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3842, 0, x_3836); -lean_ctor_set(x_3842, 1, x_3841); -lean_ctor_set(x_3842, 2, x_3840); -x_3843 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3829); -x_3844 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3844, 0, x_3829); -lean_ctor_set(x_3844, 1, x_3843); -x_3845 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -lean_inc(x_3829); -x_3846 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3846, 0, x_3829); -lean_ctor_set(x_3846, 1, x_3845); +x_4189 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_4186); +x_4190 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4190, 0, x_4186); +lean_ctor_set(x_4190, 1, x_4189); +x_4191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__6; +x_4192 = lean_array_push(x_4191, x_3985); +x_4193 = lean_box(2); +x_4194 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +x_4195 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4195, 0, x_4193); +lean_ctor_set(x_4195, 1, x_4194); +lean_ctor_set(x_4195, 2, x_4192); +x_4196 = l_Lean_Elab_Term_quoteAutoTactic___closed__51; +x_4197 = lean_array_push(x_4196, x_4195); +x_4198 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__2___closed__7; +x_4199 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4199, 0, x_4193); +lean_ctor_set(x_4199, 1, x_4198); +lean_ctor_set(x_4199, 2, x_4197); +x_4200 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_4186); +x_4201 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4201, 0, x_4186); +lean_ctor_set(x_4201, 1, x_4200); +x_4202 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +lean_inc(x_4186); +x_4203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_4203, 0, x_4186); +lean_ctor_set(x_4203, 1, x_4202); lean_inc(x_14); -x_3847 = lean_array_push(x_3839, x_14); +x_4204 = lean_array_push(x_4196, x_14); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); - x_3848 = x_14; + x_4205 = x_14; } else { lean_dec_ref(x_14); - x_3848 = lean_box(0); + x_4205 = lean_box(0); } -x_3849 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3849, 0, x_3836); -lean_ctor_set(x_3849, 1, x_3841); -lean_ctor_set(x_3849, 2, x_3847); -x_3850 = lean_array_push(x_3839, x_3849); -x_3851 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3851, 0, x_3836); -lean_ctor_set(x_3851, 1, x_3841); -lean_ctor_set(x_3851, 2, x_3850); -x_3852 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -if (lean_is_scalar(x_3848)) { - x_3853 = lean_alloc_ctor(2, 2, 0); +x_4206 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4206, 0, x_4193); +lean_ctor_set(x_4206, 1, x_4198); +lean_ctor_set(x_4206, 2, x_4204); +x_4207 = lean_array_push(x_4196, x_4206); +x_4208 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4208, 0, x_4193); +lean_ctor_set(x_4208, 1, x_4198); +lean_ctor_set(x_4208, 2, x_4207); +x_4209 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +if (lean_is_scalar(x_4205)) { + x_4210 = lean_alloc_ctor(2, 2, 0); } else { - x_3853 = x_3848; + x_4210 = x_4205; } -lean_ctor_set(x_3853, 0, x_3829); -lean_ctor_set(x_3853, 1, x_3852); -x_3854 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_3855 = lean_array_push(x_3854, x_3846); -x_3856 = lean_array_push(x_3855, x_3851); -x_3857 = lean_array_push(x_3856, x_3853); -x_3858 = lean_array_push(x_3857, x_3826); -x_3859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -x_3860 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3860, 0, x_3836); -lean_ctor_set(x_3860, 1, x_3859); -lean_ctor_set(x_3860, 2, x_3858); -x_3861 = lean_array_push(x_3839, x_3860); -x_3862 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3862, 0, x_3836); -lean_ctor_set(x_3862, 1, x_3841); -lean_ctor_set(x_3862, 2, x_3861); -x_3863 = lean_array_push(x_3839, x_3862); -x_3864 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -x_3865 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3865, 0, x_3836); -lean_ctor_set(x_3865, 1, x_3864); -lean_ctor_set(x_3865, 2, x_3863); -x_3866 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; -x_3867 = lean_array_push(x_3866, x_3833); -x_3868 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; -x_3869 = lean_array_push(x_3867, x_3868); -x_3870 = lean_array_push(x_3869, x_3868); -x_3871 = lean_array_push(x_3870, x_3842); -x_3872 = lean_array_push(x_3871, x_3844); -x_3873 = lean_array_push(x_3872, x_3865); -x_3874 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3875 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3875, 0, x_3836); -lean_ctor_set(x_3875, 1, x_3874); -lean_ctor_set(x_3875, 2, x_3873); -x_3876 = 1; -x_3877 = lean_box(x_3876); -if (lean_is_scalar(x_3827)) { - x_3878 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4210, 0, x_4186); +lean_ctor_set(x_4210, 1, x_4209); +x_4211 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_4212 = lean_array_push(x_4211, x_4203); +x_4213 = lean_array_push(x_4212, x_4208); +x_4214 = lean_array_push(x_4213, x_4210); +x_4215 = lean_array_push(x_4214, x_4183); +x_4216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +x_4217 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4217, 0, x_4193); +lean_ctor_set(x_4217, 1, x_4216); +lean_ctor_set(x_4217, 2, x_4215); +x_4218 = lean_array_push(x_4196, x_4217); +x_4219 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4219, 0, x_4193); +lean_ctor_set(x_4219, 1, x_4198); +lean_ctor_set(x_4219, 2, x_4218); +x_4220 = lean_array_push(x_4196, x_4219); +x_4221 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +x_4222 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4222, 0, x_4193); +lean_ctor_set(x_4222, 1, x_4221); +lean_ctor_set(x_4222, 2, x_4220); +x_4223 = l_Lean_Elab_Term_expandFunBinders_loop___closed__15; +x_4224 = lean_array_push(x_4223, x_4190); +x_4225 = l_Lean_Elab_Term_expandFunBinders_loop___closed__3; +x_4226 = lean_array_push(x_4224, x_4225); +x_4227 = lean_array_push(x_4226, x_4225); +x_4228 = lean_array_push(x_4227, x_4199); +x_4229 = lean_array_push(x_4228, x_4201); +x_4230 = lean_array_push(x_4229, x_4222); +x_4231 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_4232 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_4232, 0, x_4193); +lean_ctor_set(x_4232, 1, x_4231); +lean_ctor_set(x_4232, 2, x_4230); +x_4233 = 1; +x_4234 = lean_box(x_4233); +if (lean_is_scalar(x_4184)) { + x_4235 = lean_alloc_ctor(0, 2, 0); } else { - x_3878 = x_3827; + x_4235 = x_4184; } -lean_ctor_set(x_3878, 0, x_3875); -lean_ctor_set(x_3878, 1, x_3877); -x_3879 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3879, 0, x_3825); -lean_ctor_set(x_3879, 1, x_3878); -if (lean_is_scalar(x_3831)) { - x_3880 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4235, 0, x_4232); +lean_ctor_set(x_4235, 1, x_4234); +x_4236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4236, 0, x_4182); +lean_ctor_set(x_4236, 1, x_4235); +if (lean_is_scalar(x_4188)) { + x_4237 = lean_alloc_ctor(0, 2, 0); } else { - x_3880 = x_3831; + x_4237 = x_4188; +} +lean_ctor_set(x_4237, 0, x_4236); +lean_ctor_set(x_4237, 1, x_4187); +return x_4237; +} +} +else +{ +uint8_t x_4238; +lean_dec(x_3985); +lean_dec(x_14); +lean_dec(x_5); +x_4238 = !lean_is_exclusive(x_3992); +if (x_4238 == 0) +{ +return x_3992; +} +else +{ +lean_object* x_4239; lean_object* x_4240; lean_object* x_4241; +x_4239 = lean_ctor_get(x_3992, 0); +x_4240 = lean_ctor_get(x_3992, 1); +lean_inc(x_4240); +lean_inc(x_4239); +lean_dec(x_3992); +x_4241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4241, 0, x_4239); +lean_ctor_set(x_4241, 1, x_4240); +return x_4241; } -lean_ctor_set(x_3880, 0, x_3879); -lean_ctor_set(x_3880, 1, x_3830); -return x_3880; } } default: { -lean_object* x_3881; lean_object* x_3882; lean_object* x_3883; lean_object* x_3884; lean_object* x_3885; +lean_object* x_4242; lean_object* x_4243; lean_object* x_4244; lean_object* x_4245; lean_object* x_4246; lean_inc(x_14); -x_3881 = l_Lean_mkHole(x_14); -x_3882 = lean_unsigned_to_nat(1u); -x_3883 = lean_nat_add(x_3, x_3882); +x_4242 = l_Lean_mkHole(x_14); +x_4243 = lean_unsigned_to_nat(1u); +x_4244 = lean_nat_add(x_3, x_4243); lean_dec(x_3); -x_3884 = l_Lean_Elab_Term_mkExplicitBinder(x_14, x_3881); -x_3885 = lean_array_push(x_4, x_3884); -x_3 = x_3883; -x_4 = x_3885; +x_4245 = l_Lean_Elab_Term_mkExplicitBinder(x_14, x_4242); +x_4246 = lean_array_push(x_4, x_4245); +x_3 = x_4244; +x_4 = x_4246; goto _start; } } @@ -16449,6 +17845,55 @@ x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3 return x_7; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6(x_1, x_5, x_6, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7(x_1, x_6, x_7, x_4, x_5); +lean_dec(x_1); +return x_8; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandFunBinders_loop___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -20992,7 +22437,7 @@ return x_17; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_dec(x_1); x_18 = lean_unsigned_to_nat(0u); x_19 = l_Lean_Syntax_getArg(x_9, x_18); @@ -21004,6 +22449,9 @@ lean_dec(x_19); lean_inc(x_2); x_23 = l_Lean_Elab_Term_expandFunBinders(x_22, x_21, x_2, x_3); lean_dec(x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_24, 1); @@ -21142,6 +22590,30 @@ return x_78; } } } +else +{ +uint8_t x_79; +lean_dec(x_2); +x_79 = !lean_is_exclusive(x_23); +if (x_79 == 0) +{ +return x_23; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_23, 0); +x_81 = lean_ctor_get(x_23, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_23); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} } } } @@ -21195,7 +22667,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandFun_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(510u); +x_1 = lean_unsigned_to_nat(522u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21207,7 +22679,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandFun_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(518u); +x_1 = lean_unsigned_to_nat(530u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21235,7 +22707,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandFun_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(510u); +x_1 = lean_unsigned_to_nat(522u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21247,7 +22719,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandFun_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(510u); +x_1 = lean_unsigned_to_nat(522u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23087,7 +24559,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabFun_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(532u); +x_1 = lean_unsigned_to_nat(544u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23099,7 +24571,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabFun_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(545u); +x_1 = lean_unsigned_to_nat(557u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23127,7 +24599,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabFun_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(532u); +x_1 = lean_unsigned_to_nat(544u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23139,7 +24611,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabFun_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(532u); +x_1 = lean_unsigned_to_nat(544u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25325,7 +26797,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(649u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25337,7 +26809,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(650u); +x_1 = lean_unsigned_to_nat(662u); x_2 = lean_unsigned_to_nat(129u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25365,7 +26837,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(649u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25377,7 +26849,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(649u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25492,7 +26964,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(652u); +x_1 = lean_unsigned_to_nat(664u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25504,7 +26976,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(653u); +x_1 = lean_unsigned_to_nat(665u); x_2 = lean_unsigned_to_nat(130u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25532,7 +27004,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(652u); +x_1 = lean_unsigned_to_nat(664u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25544,7 +27016,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(652u); +x_1 = lean_unsigned_to_nat(664u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25660,7 +27132,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(655u); +x_1 = lean_unsigned_to_nat(667u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25672,7 +27144,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(656u); +x_1 = lean_unsigned_to_nat(668u); x_2 = lean_unsigned_to_nat(128u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25700,7 +27172,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(655u); +x_1 = lean_unsigned_to_nat(667u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25712,7 +27184,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(655u); +x_1 = lean_unsigned_to_nat(667u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25828,7 +27300,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(658u); +x_1 = lean_unsigned_to_nat(670u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25840,7 +27312,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(659u); +x_1 = lean_unsigned_to_nat(671u); x_2 = lean_unsigned_to_nat(128u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25868,7 +27340,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(658u); +x_1 = lean_unsigned_to_nat(670u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25880,7 +27352,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(658u); +x_1 = lean_unsigned_to_nat(670u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -25926,7 +27398,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_7060_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_7165_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -26704,7 +28176,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___cl res = l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_7060_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_7165_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index 1adf7eb0e9..f39b7ba98f 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -431,7 +431,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters__ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1___closed__1; @@ -627,6 +626,7 @@ static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__2; LEAN_EXPORT uint8_t l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___lambda__1(lean_object*); static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__1___closed__1; lean_object* l_Std_instInhabitedPersistentArrayNode(lean_object*); +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__6; static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2052____closed__2; uint32_t lean_uint32_of_nat(lean_object*); @@ -20072,7 +20072,7 @@ lean_inc(x_20); lean_dec(x_18); x_21 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1; lean_inc(x_2); -x_22 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_21, x_20, x_2); +x_22 = l_Lean_TagDeclarationExtension_tag(x_21, x_20, x_2); x_23 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__8(x_22, x_3, x_4, x_19); lean_dec(x_4); lean_dec(x_3); diff --git a/stage0/stdlib/Lean/Elab/DeclModifiers.c b/stage0/stdlib/Lean/Elab/DeclModifiers.c index f09dc33317..c38c29b95d 100644 --- a/stage0/stdlib/Lean/Elab/DeclModifiers.c +++ b/stage0/stdlib/Lean/Elab/DeclModifiers.c @@ -152,7 +152,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_checkIfShadowin LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); static lean_object* l_Lean_Elab_instToStringModifiers___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_expandDeclId___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__19; lean_object* l_Lean_Elab_elabDeclAttrs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_instToStringModifiers; @@ -231,6 +230,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId(lean_object*); static lean_object* l_Lean_Elab_instToFormatModifiers___closed__15; static lean_object* l_Lean_Elab_Modifiers_attrs___default___closed__1; uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at_Lean_Elab_instToFormatModifiers___spec__1___closed__5; static lean_object* l_Lean_Elab_instToFormatModifiers___closed__29; lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg(lean_object*, lean_object*, lean_object*); @@ -2735,7 +2735,7 @@ _start: lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_6 = l_Lean_Elab_applyVisibility___rarg___lambda__2___closed__1; lean_inc(x_1); -x_7 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_6, x_5, x_1); +x_7 = l_Lean_TagDeclarationExtension_tag(x_6, x_5, x_1); x_8 = l_Lean_setEnv___rarg(x_2, x_7); x_9 = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___rarg___lambda__1___boxed), 3, 2); lean_closure_set(x_9, 0, x_3); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c index 6a968b88cb..e97a14751c 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c @@ -135,7 +135,6 @@ size_t lean_usize_of_nat(lean_object*); uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__11; lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -192,6 +191,7 @@ static lean_object* l_Lean_Elab_ensureNoRecFn___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_fixLevelParams___spec__2___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_fixLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___spec__11(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); @@ -3532,7 +3532,7 @@ x_32 = lean_ctor_get(x_29, 0); x_33 = lean_ctor_get(x_29, 4); lean_dec(x_33); x_34 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__2; -x_35 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_34, x_32, x_14); +x_35 = l_Lean_TagDeclarationExtension_tag(x_34, x_32, x_14); x_36 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__6; lean_ctor_set(x_29, 4, x_36); lean_ctor_set(x_29, 0, x_35); @@ -3606,7 +3606,7 @@ lean_inc(x_61); lean_inc(x_60); lean_dec(x_29); x_64 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__2; -x_65 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_64, x_60, x_14); +x_65 = l_Lean_TagDeclarationExtension_tag(x_64, x_60, x_14); x_66 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___lambda__4___closed__6; x_67 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_67, 0, x_65); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 49bb27be41..eb0d3fe702 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -791,7 +791,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAu static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_13066____closed__2; uint8_t l_Lean_BinderInfo_isImplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_evalExpr___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_dropTermParens___closed__2; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkSomeContext___closed__2; @@ -1218,6 +1217,7 @@ static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__9; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__14; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Term_withMacroExpansion___spec__2(lean_object*); +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Message_toString(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -49651,7 +49651,7 @@ lean_inc(x_24); lean_dec(x_22); x_25 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Term_expandDeclId___spec__5___closed__1; lean_inc(x_2); -x_26 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_25, x_24, x_2); +x_26 = l_Lean_TagDeclarationExtension_tag(x_25, x_24, x_2); x_27 = l_Lean_setEnv___at_Lean_Elab_Term_evalExpr___spec__4(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_23); lean_dec(x_8); lean_dec(x_7); diff --git a/stage0/stdlib/Lean/Environment.c b/stage0/stdlib/Lean/Environment.c index b7c223b94a..af45e889e5 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -18,7 +18,7 @@ lean_object* l_Lean_initializing(lean_object*); LEAN_EXPORT lean_object* l_List_toStringAux___at_Lean_Environment_displayStats___spec__2(uint8_t, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Environment_hasUnsafe___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__3(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__1; static lean_object* l_Lean_mkMapDeclarationExtension___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_MapDeclarationExtension_insert(lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__2(lean_object*, lean_object*); @@ -27,7 +27,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_isName size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_importModules___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_isNamespace___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__2; LEAN_EXPORT lean_object* l_Lean_instInhabitedEnvExtensionInterface___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType___rarg___closed__1; @@ -35,6 +34,7 @@ static lean_object* l_Lean_instInhabitedEnvironmentHeader___closed__2; LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_setState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_numBuckets___at_Lean_Environment_displayStats___spec__5(lean_object*); static lean_object* l_Lean_mkMapDeclarationExtension___rarg___closed__2; +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__2; LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__2___boxed(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__2; @@ -62,6 +62,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_setImportedEntries static lean_object* l_Lean_Environment_displayStats___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__4___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____lambda__1(lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__1(lean_object*, lean_object*); @@ -75,6 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_Environment_header___default; LEAN_EXPORT lean_object* l_Lean_Environment_imports(lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt(lean_object*); extern lean_object* l_Std_Format_defWidth; +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__6; uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_getState(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux_traverse___at_Lean_mkModuleData___spec__5(lean_object*, lean_object*, lean_object*); @@ -84,12 +86,13 @@ LEAN_EXPORT uint8_t l_Std_PersistentHashMap_containsAux___at_Lean_Environment_co LEAN_EXPORT uint8_t l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_instInhabitedSimplePersistentEnvExtension(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__2; -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__6; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_mkTagDeclarationExtension___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__3(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType(lean_object*); LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_MapDeclarationExtension_contains___spec__1(lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_environment_set_main_module(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*); lean_object* lean_update_env_attributes(lean_object*, lean_object*); @@ -104,7 +107,6 @@ static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed_ lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* lean_read_module_data(lean_object*, lean_object*); lean_object* l_Lean_Name_quickLt___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions(lean_object*, lean_object*, lean_object*, lean_object*); @@ -115,7 +117,6 @@ LEAN_EXPORT lean_object* l_Lean_Environment_allImportedModuleNames___boxed(lean_ extern lean_object* l_instInhabitedNat; LEAN_EXPORT lean_object* l_Lean_EnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_binSearchAux___at_Lean_TagDeclarationExtension_isTagged___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__1; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_getEntriesFor(lean_object*, lean_object*, lean_object*); @@ -123,6 +124,7 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l_Std_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_getState(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__6; +LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__1(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_EnvExtensionInterfaceUnsafe_invalidExtMsg___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__7(lean_object*, size_t, size_t, lean_object*); @@ -131,6 +133,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__9__ LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__4___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insert___at_Lean_Environment_addAux___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedEnvExtensionInterface___lambda__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_TagDeclarationExtension_tag___closed__3; static lean_object* l_Lean_instInhabitedEnvironment___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__2(lean_object*); @@ -154,13 +157,13 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Environment LEAN_EXPORT lean_object* l_Lean_SMap_size___at_Lean_Environment_displayStats___spec__3(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_Environment_throwUnexpectedType___rarg(lean_object*, lean_object*); static lean_object* l_Nat_foldAux___at_Lean_mkModuleData___spec__1___closed__1; +static lean_object* l_Lean_TagDeclarationExtension_tag___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_freeRegions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instMonadEnv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__4(lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_findAtAux___at_Lean_Environment_find_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); uint8_t l_Lean_NameMap_contains___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_modifyState(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_contains___at_Lean_importModules___spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -196,10 +199,11 @@ LEAN_EXPORT uint8_t l_Lean_Environment_isConstructor(lean_object*, lean_object*) static lean_object* l_Lean_Environment_displayStats___closed__7; LEAN_EXPORT lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Environment_displayStats___closed__5; +LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MapDeclarationExtension_insert___rarg___closed__4; LEAN_EXPORT lean_object* l_Std_PersistentHashMap_find_x3f___at_Lean_Environment_find_x3f___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_write_module(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__4; LEAN_EXPORT uint8_t l_Array_binSearchAux___at_Lean_TagDeclarationExtension_isTagged___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SimplePersistentEnvExtension_getEntries(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1(lean_object*, lean_object*, lean_object*); @@ -227,6 +231,7 @@ LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__2_ LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_updateEnvAttributes___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_NameSSet_instInhabitedNameSSet; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____lambda__2(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Environment_0__Lean_getEntriesFor___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Environment_0__Lean_finalizePersistentExtensions_loop___closed__1; @@ -266,8 +271,10 @@ LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension___rarg___lambda__2(lea static lean_object* l_Lean_instInhabitedPersistentEnvExtension___closed__1; LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_MapDeclarationExtension_insert___rarg___closed__1; lean_object* l_Std_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_evalConstCheck(lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_MapDeclarationExtension_contains___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -275,7 +282,7 @@ static lean_object* l_Lean_instInhabitedModuleData___closed__1; LEAN_EXPORT lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_CompactedRegion_isMemoryMapped___boxed(lean_object*); uint8_t lean_compacted_region_is_memory_mapped(size_t); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____lambda__2(lean_object*); +static lean_object* l_Lean_MapDeclarationExtension_insert___rarg___closed__2; LEAN_EXPORT uint8_t l_Lean_SMap_contains___at_Lean_Environment_contains___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_modifyState(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -310,6 +317,7 @@ LEAN_EXPORT uint32_t lean_environment_trust_level(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__4; static lean_object* l_Lean_Environment_evalConstCheck___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_persistentEnvExtensionsRef; LEAN_EXPORT lean_object* l_Lean_mkMapDeclarationExtension(lean_object*); @@ -353,6 +361,7 @@ size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Std_mkHashMap___at_Lean_instInhabitedEnvironment___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedModuleData; extern lean_object* l_Lean_NameSet_empty; +static lean_object* l_Lean_MapDeclarationExtension_insert___rarg___closed__3; lean_object* l_Lean_ConstantInfo_type(lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Environment_find_x3f___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f_x27___at_Lean_Environment_find_x3f___spec__1(lean_object*, lean_object*); @@ -373,6 +382,7 @@ LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___rarg(lean_object*, static lean_object* l_Lean_instInhabitedModuleData___closed__2; LEAN_EXPORT lean_object* l_Lean_mkEmptyEnvironment___boxed(lean_object*, lean_object*); lean_object* lean_kernel_whnf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_TagDeclarationExtension_tag___closed__4; LEAN_EXPORT lean_object* l_Lean_Environment_evalConstCheck___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_RBNode_find___at_Lean_MapDeclarationExtension_find_x3f___spec__1(lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg___closed__2; @@ -381,6 +391,7 @@ static lean_object* l_Lean_instInhabitedEnvironment___closed__2; LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp; uint8_t l_Lean_SMap_contains___at_Lean_NameSSet_contains___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_insertAux_traverse___at_Lean_Environment_addAux___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__2(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_mkTagDeclarationExtension___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___lambda__2___closed__1; @@ -405,12 +416,14 @@ lean_object* l_List_redLength___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToStringImport___closed__1; LEAN_EXPORT lean_object* l_Std_HashMap_numBuckets___at_Lean_Environment_displayStats___spec__6(lean_object*); +static lean_object* l_Lean_TagDeclarationExtension_tag___closed__2; static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___closed__4; LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__3(lean_object*); extern uint8_t l_instInhabitedBool; LEAN_EXPORT lean_object* l_Lean_importModules_importMods(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_EnvExtensionInterfaceUnsafe_mkInitialExtStates___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_TagDeclarationExtension_tag___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_toString___at_Lean_Environment_displayStats___spec__1___closed__2; LEAN_EXPORT lean_object* lean_environment_main_module(lean_object*); @@ -468,7 +481,6 @@ LEAN_EXPORT lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg___la LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_importModules___spec__10(size_t, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instMonadEnv___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_HashMap_insert___at_Lean_importModules___spec__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__2(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlM___at_Lean_mkModuleData___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___closed__3; static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg___closed__1; @@ -480,7 +492,7 @@ static lean_object* l_Lean_Environment_header___default___closed__1; LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtensionDescr_statsFn___default(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2057_(lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtensionState___rarg(lean_object*); static lean_object* l_Lean_instInhabitedEnvExtensionInterface___closed__5; @@ -522,6 +534,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_obje LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Environment_0__Lean_setImportedEntries___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_find_x3f___at_Lean_Environment_getModuleIdxFor_x3f___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__5; lean_object* lean_io_initializing(lean_object*); static lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__1___rarg(lean_object*, lean_object*, lean_object*); @@ -542,12 +555,11 @@ LEAN_EXPORT lean_object* l_Lean_EnvExtension_setState___rarg(lean_object*, lean_ LEAN_EXPORT lean_object* l_Lean_namespacesExt; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_mkModuleData___spec__4(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_EnvExtensionInterfaceUnsafe_mkInitialExtStates___spec__1(size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__3; static lean_object* l_Lean_TagDeclarationExtension_isTagged___closed__1; -LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__1(lean_object*, lean_object*); lean_object* lean_compile_decl(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ImportState_moduleData___default; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_importModules___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__4(lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; @@ -561,7 +573,6 @@ LEAN_EXPORT lean_object* l_Lean_Environment_getModuleIdx_x3f(lean_object*, lean_ LEAN_EXPORT lean_object* l_Std_AssocList_contains___at_Lean_Environment_addAux___spec__7___boxed(lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_registerEnvExtension___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__2___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Environment_addAndCompile___boxed(lean_object*, lean_object*, lean_object*); @@ -584,7 +595,6 @@ LEAN_EXPORT lean_object* l_Lean_EnvironmentHeader_moduleData___default; lean_object* lean_uint32_to_nat(uint32_t); LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint32_t l_Lean_EnvironmentHeader_trustLevel___default; -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__3; static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_modifyState___rarg___closed__2; lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_mkTagDeclarationExtension___closed__3; @@ -601,7 +611,6 @@ LEAN_EXPORT lean_object* l_Lean_instInhabitedPersistentEnvExtension___lambda__1( LEAN_EXPORT lean_object* l_Lean_instInhabitedEnvExtensionState; LEAN_EXPORT lean_object* l_Lean_EnvExtensionStateSpec; LEAN_EXPORT lean_object* lean_environment_mark_quot_init(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__5; lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -6183,12 +6192,77 @@ x_1 = l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension___clos return x_1; } } +static lean_object* _init_l_Lean_TagDeclarationExtension_tag___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("assertion violation: "); +return x_1; +} +} +static lean_object* _init_l_Lean_TagDeclarationExtension_tag___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("env.getModuleIdxFor? declName |>.isNone -- See comment at `TagDeclarationExtension`\n "); +return x_1; +} +} +static lean_object* _init_l_Lean_TagDeclarationExtension_tag___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_TagDeclarationExtension_tag___closed__1; +x_2 = l_Lean_TagDeclarationExtension_tag___closed__2; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_TagDeclarationExtension_tag___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.TagDeclarationExtension.tag"); +return x_1; +} +} +static lean_object* _init_l_Lean_TagDeclarationExtension_tag___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; +x_2 = l_Lean_TagDeclarationExtension_tag___closed__4; +x_3 = lean_unsigned_to_nat(467u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_TagDeclarationExtension_tag___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} LEAN_EXPORT lean_object* l_Lean_TagDeclarationExtension_tag(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_1, x_2, x_3); -return x_4; +lean_inc(x_3); +lean_inc(x_2); +x_4 = l_Lean_Environment_getModuleIdxFor_x3f(x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +x_5 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_6 = l_Lean_TagDeclarationExtension_tag___closed__5; +x_7 = l_panic___at_Lean_EnvExtensionInterfaceUnsafe_setState___spec__1(x_6); +return x_7; +} } } LEAN_EXPORT uint8_t l_Array_binSearchAux___at_Lean_TagDeclarationExtension_isTagged___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -6690,15 +6764,73 @@ x_2 = l_Lean_MapDeclarationExtension_instInhabitedMapDeclarationExtension___clos return x_2; } } +static lean_object* _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("env.getModuleIdxFor? declName |>.isNone -- See comment at `MapDeclarationExtension`\n "); +return x_1; +} +} +static lean_object* _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_TagDeclarationExtension_tag___closed__1; +x_2 = l_Lean_MapDeclarationExtension_insert___rarg___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.MapDeclarationExtension.insert"); +return x_1; +} +} +static lean_object* _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; +x_2 = l_Lean_MapDeclarationExtension_insert___rarg___closed__3; +x_3 = lean_unsigned_to_nat(496u); +x_4 = lean_unsigned_to_nat(2u); +x_5 = l_Lean_MapDeclarationExtension_insert___rarg___closed__2; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} LEAN_EXPORT lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_3); -lean_ctor_set(x_5, 1, x_4); -x_6 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_1, x_2, x_5); -return x_6; +lean_object* x_5; +lean_inc(x_3); +lean_inc(x_2); +x_5 = l_Lean_Environment_getModuleIdxFor_x3f(x_2, x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_3); +lean_ctor_set(x_6, 1, x_4); +x_7 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_1, x_2, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_8 = l_Lean_MapDeclarationExtension_insert___rarg___closed__4; +x_9 = l_panic___at_Lean_EnvExtensionInterfaceUnsafe_setState___spec__1(x_8); +return x_9; +} } } LEAN_EXPORT lean_object* l_Lean_MapDeclarationExtension_insert(lean_object* x_1) { @@ -11015,7 +11147,7 @@ x_7 = l_Lean_withImportModules___rarg(x_1, x_2, x_6, x_4, x_5); return x_7; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -11038,7 +11170,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -11076,7 +11208,7 @@ size_t x_15; size_t x_16; lean_object* x_17; x_15 = 0; x_16 = lean_usize_of_nat(x_7); lean_dec(x_7); -x_17 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__2(x_6, x_15, x_16, x_4); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__2(x_6, x_15, x_16, x_4); lean_dec(x_6); x_2 = x_11; x_4 = x_17; @@ -11090,7 +11222,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -11119,14 +11251,14 @@ size_t x_7; size_t x_8; lean_object* x_9; x_7 = 0; x_8 = lean_usize_of_nat(x_3); lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__3(x_2, x_7, x_8, x_1); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__3(x_2, x_7, x_8, x_1); lean_dec(x_2); return x_9; } } } } -LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__4(lean_object* x_1) { _start: { uint8_t x_2; @@ -11164,7 +11296,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -11173,17 +11305,17 @@ x_4 = l_Lean_SMap_insert___at_Lean_NameSSet_insert___spec__1(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591____lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639____lambda__2(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_SMap_empty___at_Lean_NameSSet_empty___spec__1; -x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__1(x_2, x_1); -x_4 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__4(x_3); +x_3 = l_Lean_mkStateFromImportedEntries___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__1(x_2, x_1); +x_4 = l_Lean_SMap_switch___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__4(x_3); return x_4; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__1() { _start: { lean_object* x_1; @@ -11191,17 +11323,17 @@ x_1 = lean_mk_string("namespaces"); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__3() { _start: { lean_object* x_1; @@ -11210,30 +11342,30 @@ lean_closure_set(x_1, 0, lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4591____lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4639____lambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4591____lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_initFn____x40_Lean_Environment___hyg_4639____lambda__2), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__2; -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__4; -x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__5; -x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__3; +x_1 = l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__2; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__4; +x_3 = l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__5; +x_4 = l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__3; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -11242,16 +11374,16 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4591_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_4639_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__6; +x_2 = l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__6; x_3 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -11259,12 +11391,12 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__2(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__2(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -11272,7 +11404,7 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4591____spec__3(x_1, x_5, x_6, x_4); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_4639____spec__3(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } @@ -13208,6 +13340,16 @@ l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension___closed__1 lean_mark_persistent(l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension___closed__1); l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension = _init_l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension(); lean_mark_persistent(l_Lean_TagDeclarationExtension_instInhabitedTagDeclarationExtension); +l_Lean_TagDeclarationExtension_tag___closed__1 = _init_l_Lean_TagDeclarationExtension_tag___closed__1(); +lean_mark_persistent(l_Lean_TagDeclarationExtension_tag___closed__1); +l_Lean_TagDeclarationExtension_tag___closed__2 = _init_l_Lean_TagDeclarationExtension_tag___closed__2(); +lean_mark_persistent(l_Lean_TagDeclarationExtension_tag___closed__2); +l_Lean_TagDeclarationExtension_tag___closed__3 = _init_l_Lean_TagDeclarationExtension_tag___closed__3(); +lean_mark_persistent(l_Lean_TagDeclarationExtension_tag___closed__3); +l_Lean_TagDeclarationExtension_tag___closed__4 = _init_l_Lean_TagDeclarationExtension_tag___closed__4(); +lean_mark_persistent(l_Lean_TagDeclarationExtension_tag___closed__4); +l_Lean_TagDeclarationExtension_tag___closed__5 = _init_l_Lean_TagDeclarationExtension_tag___closed__5(); +lean_mark_persistent(l_Lean_TagDeclarationExtension_tag___closed__5); l_Lean_TagDeclarationExtension_isTagged___closed__1 = _init_l_Lean_TagDeclarationExtension_isTagged___closed__1(); lean_mark_persistent(l_Lean_TagDeclarationExtension_isTagged___closed__1); l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___closed__1 = _init_l_Array_qsort_sort___at_Lean_mkMapDeclarationExtension___spec__1___rarg___closed__1(); @@ -13218,6 +13360,14 @@ l_Lean_mkMapDeclarationExtension___rarg___closed__2 = _init_l_Lean_mkMapDeclarat lean_mark_persistent(l_Lean_mkMapDeclarationExtension___rarg___closed__2); l_Lean_MapDeclarationExtension_instInhabitedMapDeclarationExtension___closed__1 = _init_l_Lean_MapDeclarationExtension_instInhabitedMapDeclarationExtension___closed__1(); lean_mark_persistent(l_Lean_MapDeclarationExtension_instInhabitedMapDeclarationExtension___closed__1); +l_Lean_MapDeclarationExtension_insert___rarg___closed__1 = _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__1(); +lean_mark_persistent(l_Lean_MapDeclarationExtension_insert___rarg___closed__1); +l_Lean_MapDeclarationExtension_insert___rarg___closed__2 = _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__2(); +lean_mark_persistent(l_Lean_MapDeclarationExtension_insert___rarg___closed__2); +l_Lean_MapDeclarationExtension_insert___rarg___closed__3 = _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__3(); +lean_mark_persistent(l_Lean_MapDeclarationExtension_insert___rarg___closed__3); +l_Lean_MapDeclarationExtension_insert___rarg___closed__4 = _init_l_Lean_MapDeclarationExtension_insert___rarg___closed__4(); +lean_mark_persistent(l_Lean_MapDeclarationExtension_insert___rarg___closed__4); l_Lean_MapDeclarationExtension_find_x3f___rarg___closed__1 = _init_l_Lean_MapDeclarationExtension_find_x3f___rarg___closed__1(); lean_mark_persistent(l_Lean_MapDeclarationExtension_find_x3f___rarg___closed__1); l_Nat_foldAux___at_Lean_mkModuleData___spec__1___closed__1 = _init_l_Nat_foldAux___at_Lean_mkModuleData___spec__1___closed__1(); @@ -13250,19 +13400,19 @@ l_Lean_importModules___closed__1 = _init_l_Lean_importModules___closed__1(); lean_mark_persistent(l_Lean_importModules___closed__1); l_Lean_importModules___closed__2 = _init_l_Lean_importModules___closed__2(); lean_mark_persistent(l_Lean_importModules___closed__2); -l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__1); -l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__2); -l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__3); -l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__4); -l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__5); -l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__6 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4591____closed__6); -if (builtin) {res = l_Lean_initFn____x40_Lean_Environment___hyg_4591_(lean_io_mk_world()); +l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__1 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__1); +l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__2 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__2); +l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__3 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__3); +l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__4 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__4); +l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__5 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__5); +l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__6 = _init_l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Environment___hyg_4639____closed__6); +if (builtin) {res = l_Lean_initFn____x40_Lean_Environment___hyg_4639_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_namespacesExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_namespacesExt); diff --git a/stage0/stdlib/Lean/Modifiers.c b/stage0/stdlib/Lean/Modifiers.c index 1442053ed5..cd2683f6c9 100644 --- a/stage0/stdlib/Lean/Modifiers.c +++ b/stage0/stdlib/Lean/Modifiers.c @@ -30,7 +30,6 @@ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Modifiers___hyg_4_(lean_objec LEAN_EXPORT lean_object* lean_add_protected(lean_object*, lean_object*); static lean_object* l_Lean_addProtected___closed__1; LEAN_EXPORT lean_object* l_Lean_protectedExt; -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isPrivateNameExport___boxed(lean_object*); lean_object* lean_environment_main_module(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); @@ -42,6 +41,7 @@ uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean LEAN_EXPORT lean_object* l_Lean_isProtected___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Modifiers_0__Lean_privatePrefixAux___boxed(lean_object*); static lean_object* l_Lean_privateHeader___closed__2; +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isPrivateNameFromImportedModule___boxed(lean_object*, lean_object*); static lean_object* l_Lean_privateHeader___closed__1; static lean_object* _init_l_Lean_initFn____x40_Lean_Modifiers___hyg_4____closed__1() { @@ -84,7 +84,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_addProtected___closed__1; -x_4 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_3, x_1, x_2); +x_4 = l_Lean_TagDeclarationExtension_tag(x_3, x_1, x_2); return x_4; } } diff --git a/stage0/stdlib/Lean/Server/Completion.c b/stage0/stdlib/Lean/Server/Completion.c index 7df6a140b7..7a806107bb 100644 --- a/stage0/stdlib/Lean/Server/Completion.c +++ b/stage0/stdlib/Lean/Server/Completion.c @@ -295,7 +295,6 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Server_Co LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_Completion_0__Lean_Server_Completion_tacticCompletion___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Std_AssocList_forM___at___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_projectionFnInfoExt; lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_addKeywordCompletionItem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -442,6 +441,7 @@ LEAN_EXPORT lean_object* l_Std_PersistentHashMap_foldlMAux___at_Lean_Server_Comp LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_addNamespaceCompletionItem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_matchAtomic___closed__3; +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_idCompletionCore_visitNamespaces(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_Completion_0__Lean_Server_Completion_mkCompletionItem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_Completion_completeNamespaces___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -523,7 +523,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Server_Completion_addToBlackList___closed__1; -x_4 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_3, x_1, x_2); +x_4 = l_Lean_TagDeclarationExtension_tag(x_3, x_1, x_2); return x_4; } }